Merge pull request #8562 from abernix/abernix/201704-update-core-deps

[1.4.3.x-series] Update Node.js, npm, node-gyp, node-pre-gyp.
This commit is contained in:
Jesse Rosenberger
2017-04-05 10:49:24 +03:00
committed by GitHub
5 changed files with 21 additions and 7 deletions

View File

@@ -1,5 +1,16 @@
## v.NEXT
* Node has been upgraded to version 4.8.1.
* The `npm` npm package has been upgraded to version 4.4.4.
It should be noted that this version reduces extra noise
previously included in some npm errors.
* The `node-gyp` npm package has been upgraded to 3.6.0 which
adds support for VS2017 on Windows.
* The `node-pre-gyp` npm package has been updated to 0.6.36.
* Thanks to the outstanding efforts of @sethmurphy18, the `minifier-js`
package now uses [Babili](https://github.com/babel/babili) instead of
[UglifyJS](https://github.com/mishoo/UglifyJS2), resolving numerous

View File

@@ -6,8 +6,8 @@ set -u
UNAME=$(uname)
ARCH=$(uname -m)
MONGO_VERSION=3.2.12
NODE_VERSION=4.8.0
NPM_VERSION=4.3.0
NODE_VERSION=4.8.1
NPM_VERSION=4.4.4
if [ "$UNAME" == "Linux" ] ; then
if [ "$ARCH" != "i686" -a "$ARCH" != "x86_64" ] ; then

View File

@@ -11,9 +11,9 @@ 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.3.0",
"node-gyp": "3.5.0",
"node-pre-gyp": "0.6.33",
npm: "4.4.4",
"node-gyp": "3.6.0",
"node-pre-gyp": "0.6.34",
"meteor-babel": "0.19.1",
"meteor-promise": "0.8.0",
fibers: "1.0.15",

View File

@@ -77,6 +77,9 @@ exports.getEnv = function (options) {
var env = Object.create(process.env);
// Make sure notifications to update npm aren't presented to the user.
env.NPM_CONFIG_NO_UPDATE_NOTIFIER = true;
// Make sure `meteor npm install --global ...` installs into
// dev_bundle/lib/node_modules by default.
if (! env.NPM_CONFIG_PREFIX) {

View File

@@ -2244,8 +2244,8 @@ class ServerTarget extends JsImageTarget {
serverPkgJson.scripts = serverPkgJson.scripts || {};
serverPkgJson.scripts.install = "node npm-rebuild.js";
serverPkgJson.dependencies["node-gyp"] = "3.5.0";
serverPkgJson.dependencies["node-pre-gyp"] = "0.6.33";
serverPkgJson.dependencies["node-gyp"] = "3.6.0";
serverPkgJson.dependencies["node-pre-gyp"] = "0.6.34";
builder.write('package.json', {
data: new Buffer(