[Pkg-javascript-devel] Bug#1003600: libjs-marked: missing javascript module type in libjs-marked
Gordon Ball
gordon at chronitis.net
Wed Jan 12 13:01:55 GMT 2022
Package: libjs-marked
Version: 4.0.5+ds-5
Severity: important
X-Debbugs-Cc: gordon at chronitis.net
In libjs-marked 0.8.0, /usr/share/javascript/marked/marked.js was a
UMD-type module suitable for browser use.
In libjs-marked 4.0, initially only marked.cjs (a CommonJS module not
suitable for browser use) was shipped. This was subsequently symlinked
as marked.js (and equivalently for a minifed version), but has
essentially a different ABI and cannot be used in the same context.
Installing marked via npm provides `marked.cjs`, `marked.esm.js` and
`marked.umd.js`. Please include at least the `umd` version. Lack of this
breaks jupyter-notebook.
Gordon
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.0-2-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
libjs-marked depends on no packages.
Versions of packages libjs-marked recommends:
ii javascript-common 11+nmu1
libjs-marked suggests no packages.
-- no debconf information
More information about the Pkg-javascript-devel
mailing list