Skip to content

Conversation

@targos
Copy link
Member

This includes three npm releases, one of which is pretty big (5.4.0).

Changes of Note

  • Significant performance boost for installations from cache (~10%+)
  • A number of bugfixes for important and severe bugs affecting
    installation on all supported platforms, but particularly noticeable
    on Windows.
  • More Windows-related fixes for npx.
  • #17844
    Make package-lock.json sorting locale-agnostic. This will cause
    some users to see seemingly spurious diffs on their pkglocks if
    they were using previous versions of npm5, because, for example,
    JSONStream is sorted into a different location. This is fine and
    will go away as people upgrade.

Changelogs

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

@targostargos added the npm Issues and PRs related to the npm client dependency or the npm registry. label Sep 25, 2017
@targostargos mentioned this pull request Sep 25, 2017
2 tasks
@bzoz
Copy link
Contributor

bzoz commented Sep 25, 2017

Looks like this will fix #15095

@targostargos added the notable-change PRs with changes that should be highlighted in changelogs. label Sep 25, 2017
@bricss
Copy link
Contributor

I can confirm that it will definitely fix #15095

@gibfahn
Copy link
Member

cc/ @nodejs/npm , would be good to get @zkat and @iarna to give this a look (AIUI it's #15486 (comment) but for 8.x).

@targos did you manage to run make test-npm on this? It should work on Darwin/Linux, but in my experience (not up to date) you get the odd test failure.

@targos
Copy link
MemberAuthor

@gibfahnmake test-npm seems to block on

> [email protected] test-node /home/mzasso/git/nodejs/node-v8/test-npm > tap --timeout 240 "test/tap/*.js" "test/network/*.js" "test/broken-under-nyc*/*.js" Reading TAP data from stdin (use "-" argument to suppress) 

CPU is not working

@gibfahn
Copy link
Member

You could try the js one:

./node tools/test-npm-package --install deps/npm test

Or I could just land #11540 and we could run it through CI. Really needs some more reviews, but 🤷‍♂️ .

FWIW that output usually means that tap didn't find any files. Chances are the directory didn't get set up properly, you can just look through the bash script, it just copies deps/npm to test-npm and then does an npm install && npm test on it.

@targos
Copy link
MemberAuthor

I tried test-npm-package and manual run. Both also hang. It's weird because I don't have this issue with a fresh clone of the npm repo.

@iarna
Copy link
Member

I'm ok with 5.4.2 going in (previous 5.4 releases weren't stable enough for me to feel comfortable).

I'll take a look at the tests, this should be pretty straight forward. The blocking happens when tap is given an empty list of tests (it falls back to reading them from STDIN, which results in the process never doing anything).

@gibfahn
Copy link
Member

@targos the version of npm in your PR doesn't seem to have a test directory, which I assume is why the test is hanging.

See https://github.com/targos/node/tree/npm-5.4.2-v8.x/deps/npm
cf: https://github.com/nodejs/node/tree/master/deps/npm

@targos
Copy link
MemberAuthor

OK. That makes sense... Then the issue is that npm doesn't include the test directory anymore in the release tarball.

@targos
Copy link
MemberAuthor

This is because the version of npm-packlist present in npm 5.4.2 ignores the test directory. This has been reverted in npm/npm-packlist#3 and should be OK in the next version of npm.
@iarna do you know when the release is scheduled?

This includes three npm releases, one of which is pretty big (5.4.0). Changes of Note * Significant performance boost for installations from cache (~10%+) * A number of bugfixes for important and severe bugs affecting installation on all supported platforms, but particularly noticeable on Windows. * More Windows-related fixes for `npx`. * [nodejs#17844](npm/npm#17844) Make package-lock.json sorting locale-agnostic. This will cause some users to see seemingly spurious diffs on their pkglocks if they were using previous versions of npm5, because, for example, `JSONStream` is sorted into a different location. This is fine and will go away as people upgrade. Changelogs * [`v5.4.0`](https://github.com/npm/npm/releases/tag/v5.4.0) * [`v5.4.1`](https://github.com/npm/npm/releases/tag/v5.4.1) * [`v5.4.2`](https://github.com/npm/npm/releases/tag/v5.4.2)
@MylesBorins
Copy link
Contributor

landed in 547fe58

MylesBorins added a commit that referenced this pull request Oct 11, 2017
Notable Changes: * deps: * update npm to 5.4.2 #15600 * upgrade libuv to 1.15.0 #15745 * update V8 to 6.1.534.42 #15393 * dgram: * support for setting dgram socket buffer size #13623 * fs: * add support O_DSYNC file open constant #15451 * util: * deprecate obj.inspect for custom inspection #15631 * tools, build: * there is a fancy new macOS installer #15179 * Added new collaborator * bmeurer - Benedikt Meurer - https://github.com/bmeurer * kfarnung - Kyle Farnung - https://github.com/kfarnung PR-URL: #15762
@MylesBorinsMylesBorins mentioned this pull request Oct 11, 2017
MylesBorins added a commit that referenced this pull request Oct 11, 2017
Notable Changes: * deps: * update npm to 5.4.2 #15600 * upgrade libuv to 1.15.0 #15745 * update V8 to 6.1.534.42 #15393 * dgram: * support for setting dgram socket buffer size #13623 * fs: * add support O_DSYNC file open constant #15451 * util: * deprecate obj.inspect for custom inspection #15631 * tools, build: * there is a fancy new macOS installer #15179 * Added new collaborator * bmeurer - Benedikt Meurer - https://github.com/bmeurer * kfarnung - Kyle Farnung - https://github.com/kfarnung PR-URL: #15762
addaleax pushed a commit to addaleax/ayo that referenced this pull request Oct 12, 2017
Notable Changes: * deps: * update npm to 5.4.2 nodejs/node#15600 * upgrade libuv to 1.15.0 nodejs/node#15745 * update V8 to 6.1.534.42 nodejs/node#15393 * dgram: * support for setting dgram socket buffer size nodejs/node#13623 * fs: * add support O_DSYNC file open constant nodejs/node#15451 * util: * deprecate obj.inspect for custom inspection nodejs/node#15631 * tools, build: * there is a fancy new macOS installer nodejs/node#15179 * Added new collaborator * bmeurer - Benedikt Meurer - https://github.com/bmeurer * kfarnung - Kyle Farnung - https://github.com/kfarnung PR-URL: nodejs/node#15762
@targostargos deleted the npm-5.4.2-v8.x branch October 23, 2017 12:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notable-changePRs with changes that should be highlighted in changelogs.npmIssues and PRs related to the npm client dependency or the npm registry.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@targos@bzoz@bricss@gibfahn@iarna@MylesBorins@nodejs-github-bot