Package: node-sourcemap-codec
Version: 1.4.5-1
Severity: important
While running rollup directly as ES module,
$ node --experimental-modules bin/src/index.js (node:19295)
ExperimentalWarning: The ESM module loader is experimental.
file:///home/praveen/forge/node-rollup/src/Module.js:17
import { encode } from 'sourcemap-codec';
^^^^^^ SyntaxError: The requested module
'sourcemap-codec' does not provide an export named 'encode' at
ModuleJob._instantiate (internal/modules/esm/module_job.js:93:21)
at async ModuleJob.run (internal/modules/esm/module_job.js:108:20)
at async Loader.import
(internal/modules/esm/loader.js:134:24)
Even though upstream node module provide ES module and package.json has a
"module" entry, Debian package does not ship ES module.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel