deps: upgraded to node-gyp@3.0.3 in npm
authorKat Marchán <kzm@sykosomatic.org>
Sat, 19 Sep 2015 01:09:51 +0000 (18:09 -0700)
committerJeremiah Senkpiel <fishrock123@rocketmail.com>
Sun, 20 Sep 2015 17:31:28 +0000 (10:31 -0700)
PR-URL: https://github.com/nodejs/node/pull/2958
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
14 files changed:
deps/npm/node_modules/.bin/node-gyp [new symlink]
deps/npm/node_modules/node-gyp/CHANGELOG.md
deps/npm/node_modules/node-gyp/README.md
deps/npm/node_modules/node-gyp/lib/process-release.js
deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json
deps/npm/node_modules/node-gyp/node_modules/minimatch/package.json
deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/.jshintrc [new file with mode: 0644]
deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/.jshintrc [new file with mode: 0644]
deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/package.json
deps/npm/node_modules/node-gyp/node_modules/path-array/package.json
deps/npm/node_modules/node-gyp/node_modules/tar/package.json
deps/npm/node_modules/node-gyp/package.json
deps/npm/node_modules/node-gyp/test/test-process-release.js
deps/npm/package.json

diff --git a/deps/npm/node_modules/.bin/node-gyp b/deps/npm/node_modules/.bin/node-gyp
new file mode 120000 (symlink)
index 0000000..9b31a4f
--- /dev/null
@@ -0,0 +1 @@
+../node-gyp/bin/node-gyp.js
\ No newline at end of file
index 0c88cbf..4c8cc36 100644 (file)
@@ -1,3 +1,12 @@
+v3.0.3 2015-09-14
+
+* [[`ad827cda30`](https://github.com/nodejs/node-gyp/commit/ad827cda30)] - tarballUrl global and && when checking for iojs (Lars-Magnus Skog) [#729](https://github.com/nodejs/node-gyp/pull/729)
+
+v3.0.2 2015-09-12
+
+* [[`6e8c3bf3c6`](https://github.com/nodejs/node-gyp/commit/6e8c3bf3c6)] - add back support for passing additional cmdline args (Rod Vagg) [#723](https://github.com/nodejs/node-gyp/pull/723)
+* [[`ff82f2f3b9`](https://github.com/nodejs/node-gyp/commit/ff82f2f3b9)] - fixed broken link in docs to Visual Studio 2013 download (simon-p-r) [#722](https://github.com/nodejs/node-gyp/pull/722)
+
 v3.0.1 2015-09-08
 
 * [[`846337e36b`](https://github.com/nodejs/node-gyp/commit/846337e36b)] - normalise versions for target == this comparison (Rod Vagg) [#716](https://github.com/nodejs/node-gyp/pull/716)
index 71f1f6b..779dc6a 100644 (file)
@@ -187,6 +187,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 [windows-python]: http://www.python.org/getit/windows
 [windows-python-v2.7.3]: http://www.python.org/download/releases/2.7.3#download
-[msvc2013]: http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs
+[msvc2013]: http://www.microsoft.com/en-gb/download/details.aspx?id=44914
 [win7sdk]: http://www.microsoft.com/en-us/download/details.aspx?id=8279
 [compiler update for the Windows SDK 7.1]: http://www.microsoft.com/en-us/download/details.aspx?id=4422
index 2da45eb..2a574f4 100644 (file)
@@ -10,7 +10,7 @@ var semver = require('semver')
 // file names. Inputs come from command-line switches (--target, --dist-url),
 // `process.version` and `process.release` where it exists.
 function processRelease (argv, gyp, defaultVersion, defaultRelease) {
-  var version = argv[0] || gyp.opts.target || defaultVersion
+  var version = (semver.valid(argv[0]) && argv[0]) || gyp.opts.target || defaultVersion
     , versionSemver = semver.parse(version)
     , overrideDistUrl = gyp.opts['dist-url'] || gyp.opts.disturl
     , isDefaultVersion
@@ -20,6 +20,7 @@ function processRelease (argv, gyp, defaultVersion, defaultRelease) {
     , baseUrl
     , libUrl32
     , libUrl64
+    , tarballUrl
 
   if (!versionSemver) {
     // not a valid semver string, nothing we can do
@@ -42,7 +43,7 @@ function processRelease (argv, gyp, defaultVersion, defaultRelease) {
   } else {
     // old node or alternative --target=
     // semver.satisfies() doesn't like prerelease tags so test major directly
-    isIojs = versionSemver.major >= 1 & versionSemver.major < 4
+    isIojs = versionSemver.major >= 1 && versionSemver.major < 4
     name = isIojs ? 'iojs' : 'node'
   }
 
index ed21c51..8bf46cc 100644 (file)
@@ -53,5 +53,6 @@
     "tarball": "http://registry.npmjs.org/minimatch/-/minimatch-1.0.0.tgz"
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-1.0.0.tgz"
+  "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-1.0.0.tgz",
+  "readme": "ERROR: No README data found!"
 }
diff --git a/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/.jshintrc b/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/.jshintrc
new file mode 100644 (file)
index 0000000..182e34d
--- /dev/null
@@ -0,0 +1,4 @@
+{
+  "asi": true,
+  "laxcomma": true
+}
diff --git a/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/.jshintrc b/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/.jshintrc
new file mode 100644 (file)
index 0000000..299877f
--- /dev/null
@@ -0,0 +1,3 @@
+{
+  "laxbreak": true
+}
index 8ed83ab..6ba9df7 100644 (file)
@@ -53,5 +53,6 @@
     "tarball": "http://registry.npmjs.org/array-index/-/array-index-0.1.1.tgz"
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/array-index/-/array-index-0.1.1.tgz"
+  "_resolved": "https://registry.npmjs.org/array-index/-/array-index-0.1.1.tgz",
+  "readme": "ERROR: No README data found!"
 }
index ad8edc9..41d2548 100644 (file)
@@ -51,5 +51,6 @@
     "tarball": "http://registry.npmjs.org/path-array/-/path-array-1.0.0.tgz"
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/path-array/-/path-array-1.0.0.tgz"
+  "_resolved": "https://registry.npmjs.org/path-array/-/path-array-1.0.0.tgz",
+  "readme": "ERROR: No README data found!"
 }
index 5aa78ae..7fab539 100644 (file)
@@ -56,5 +56,6 @@
     "tarball": "http://registry.npmjs.org/tar/-/tar-1.0.3.tgz"
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/tar/-/tar-1.0.3.tgz"
+  "_resolved": "https://registry.npmjs.org/tar/-/tar-1.0.3.tgz",
+  "readme": "ERROR: No README data found!"
 }
index f7638d4..76fc168 100644 (file)
@@ -11,7 +11,7 @@
     "bindings",
     "gyp"
   ],
-  "version": "3.0.1",
+  "version": "3.0.3",
   "installVersion": 9,
   "author": {
     "name": "Nathan Rajlich",
   "scripts": {
     "test": "tape test/test-*"
   },
-  "gitHead": "112afb4466eafe8bf9d7c72cfac94222d952c370",
+  "gitHead": "d6b03851d366c7fa78e7d2f57c61bb074ea45ea3",
   "bugs": {
     "url": "https://github.com/nodejs/node-gyp/issues"
   },
   "homepage": "https://github.com/nodejs/node-gyp",
-  "_id": "node-gyp@3.0.1",
-  "_shasum": "597a2069786a443add5eecffc160f5d6c7045cd7",
-  "_from": "node-gyp@3.0.1",
+  "_id": "node-gyp@3.0.3",
+  "_shasum": "9b004219f4fa9efbfd78c5fc674aa12e58fb8694",
+  "_from": "node-gyp@3.0.3",
   "_npmVersion": "2.14.2",
-  "_nodeVersion": "4.0.0-rc.4",
+  "_nodeVersion": "4.0.0",
   "_npmUser": {
     "name": "rvagg",
     "email": "rod@vagg.org"
     }
   ],
   "dist": {
-    "shasum": "597a2069786a443add5eecffc160f5d6c7045cd7",
-    "tarball": "http://registry.npmjs.org/node-gyp/-/node-gyp-3.0.1.tgz"
+    "shasum": "9b004219f4fa9efbfd78c5fc674aa12e58fb8694",
+    "tarball": "http://registry.npmjs.org/node-gyp/-/node-gyp-3.0.3.tgz"
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.0.1.tgz"
+  "_resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.0.3.tgz",
+  "readme": "ERROR: No README data found!"
 }
index c0fbbf6..33655ab 100644 (file)
@@ -421,3 +421,30 @@ test('test process release - process.release ~ node@4.0.0-rc.4 passed as argv[0]
   })
 })
 
+
+test('test process release - process.release ~ node@4.0.0-rc.4 - bogus string passed as argv[0]', function (t) {
+  t.plan(2)
+
+  // additional arguments can be passed in on the commandline that should be ignored if they
+  // are not specifying a valid version @ position 0
+  var release = processRelease([ 'this is no version!' ], { opts: {} }, 'v4.0.0-rc.4', {
+    name: 'node',
+    headersUrl: 'https://nodejs.org/download/rc/v4.0.0-rc.4/node-v4.0.0-rc.4-headers.tar.gz'
+  })
+
+  t.equal(release.semver.version, '4.0.0-rc.4')
+  delete release.semver
+
+  t.deepEqual(release, {
+    version: '4.0.0-rc.4',
+    name: 'node',
+    baseUrl: 'https://nodejs.org/download/rc/v4.0.0-rc.4/',
+    tarballUrl: 'https://nodejs.org/download/rc/v4.0.0-rc.4/node-v4.0.0-rc.4-headers.tar.gz',
+    shasumsUrl: 'https://nodejs.org/download/rc/v4.0.0-rc.4/SHASUMS256.txt',
+    versionDir: '4.0.0-rc.4',
+    libUrl32: 'https://nodejs.org/download/rc/v4.0.0-rc.4/win-x86/node.lib',
+    libUrl64: 'https://nodejs.org/download/rc/v4.0.0-rc.4/win-x64/node.lib',
+    libPath32: 'win-x86/node.lib',
+    libPath64: 'win-x64/node.lib'
+  })
+})
index 04f04b7..706307f 100644 (file)
@@ -62,7 +62,7 @@
     "lru-cache": "~2.6.5",
     "minimatch": "~2.0.10",
     "mkdirp": "~0.5.1",
-    "node-gyp": "~3.0.1",
+    "node-gyp": "~3.0.3",
     "nopt": "~3.0.4",
     "normalize-git-url": "~3.0.1",
     "normalize-package-data": "~2.3.2",