[Pkg-javascript-devel] npm 6.0.1 some progress

Diane Trout diane at ghic.org
Wed May 23 07:26:45 BST 2018


Hi,

I was mucking around with building npm 6.0.1 and filtering out more
things in node_modules that I can find close enough versions in Debian.

I thought you all might be interested in I found only two source is
missing lintian errors. (Though there's still 57 directories in the
root node_modules directory)

E: npm source: source-is-missing node_modules/columnify/columnify.js
line length is 267 characters (>256)
E: npm source: source-is-missing node_modules/unique-filename/coverage/ 
line length is 17568 characters (>512)

I didn't find any .min.js files after the filtering and I also quickly
skimmed all the js files with:

find node_modules -name '*.js' | xargs head | less

I didn't see anything other than coverage/prettify.js that was
minified. It turned out that columnify.js appears to be readable, but
has some long comments.

The upstream repository for unique-filename doesn't have the coverage
directory in unique-filename

npm
https://github.com/npm/npm/tree/latest/node_modules/unique-filename

unique-filename repository
https://github.com/npm/unique-filename

I need to sleep now, but it might be interesting to try npm with the
node_modules/unique-filename/coverage directory removed.

I have built npm using node-tar from experimental, and basic commands
like npm list, npm search, npm show appear to work. I want to try
rebuilding bokehjs after I strip out the strangely placed coverage
directory.

Diane



More information about the Pkg-javascript-devel mailing list