[Pkg-javascript-devel] Bug#949615: node-lodash: lodash does not export runInContext()

Xavier Guimard yadd at debian.org
Wed Jan 22 20:16:41 GMT 2020


Package: node-lodash
Version: 4.17.15+dfsg-1
Severity: important

Hi,

our lodash does not export while npm registry one export it. This
affects node-grunt-legacy-util upgrade. To reproduce this, try
node-grunt-legacy-util test from salsa:

$ dh_quilt_patch
$ sh debian/tests/pkg-js/test
(node:1971963) [DEP0016] DeprecationWarning: 'root' is deprecated, use 'global'
Running "nodeunit:util" (nodeunit) task
Fatal error: require(...).runInContext is not a function

Then install lodash from np registry in node_modules and relauch test,
it works.

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list