[Pkg-javascript-devel] npm 6.0.1 some progress
Jérémy Lal
kapouer at melix.org
Wed May 23 10:38:16 BST 2018
2018-05-23 8:26 GMT+02:00 Diane Trout <diane at ghic.org>:
> 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.
>
Many thanks for your work.
Note that recent versions of npm, including 6.0.1 failed to install many
modules,
displaying ERR_STREAM_WRITE_AFTER_END.
npm at 6.1.0 will fix this and is announced to be released in a few days.
Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20180523/a05eed85/attachment.html>
More information about the Pkg-javascript-devel
mailing list