From 877dfe112c32cd4912d20a07532c73f9fd40302a Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Wed, 21 Jun 2017 19:44:27 -0400 Subject: [PATCH] Update npm to version 5.0.3. --- History.md | 7 +++++++ scripts/build-dev-bundle-common.sh | 2 +- scripts/dev-bundle-tool-package.js | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/History.md b/History.md index 86bb85a32d..c57cabfa88 100644 --- a/History.md +++ b/History.md @@ -2,6 +2,13 @@ * Node has been upgraded to version 8.1.2. +* The `npm` npm package has been upgraded to version 5.0.3, a major + upgrade from 4.6.1, requiring internal updates to dependency management + logic for Meteor packages that use `Npm.depends`. While these changes + should be backwards-compatible for existing Meteor packages, if you are + the maintainer of any packages, you should pay close attention to your + `npm-shrinkwrap.json` files when first using this version of `npm`. + * The `node-gyp` npm package has been upgraded to version 3.6.2. * The `node-pre-gyp` npm package has been updated to version 0.6.36. diff --git a/scripts/build-dev-bundle-common.sh b/scripts/build-dev-bundle-common.sh index de0b8cda4d..4bebbee324 100644 --- a/scripts/build-dev-bundle-common.sh +++ b/scripts/build-dev-bundle-common.sh @@ -7,7 +7,7 @@ UNAME=$(uname) ARCH=$(uname -m) MONGO_VERSION=3.2.12 NODE_VERSION=8.1.2 -NPM_VERSION=4.6.1 +NPM_VERSION=5.0.3 if [ "$UNAME" == "Linux" ] ; then if [ "$ARCH" != "i686" -a "$ARCH" != "x86_64" ] ; then diff --git a/scripts/dev-bundle-tool-package.js b/scripts/dev-bundle-tool-package.js index 92e629c6e3..7d2fbfdea9 100644 --- a/scripts/dev-bundle-tool-package.js +++ b/scripts/dev-bundle-tool-package.js @@ -11,7 +11,7 @@ var packageJson = { dependencies: { // Explicit dependency because we are replacing it with a bundled version // and we want to make sure there are no dependencies on a higher version - npm: "4.6.1", + npm: "5.0.3", "node-gyp": "3.6.2", "node-pre-gyp": "0.6.36", "meteor-babel": "0.21.5",