Comparing version 5.0.0 to 5.0.1
@@ -0,1 +1,7 @@ | ||
v5.0.1 2019-06-20 | ||
================= | ||
* [[`e3861722ed`](https://github.com/nodejs/node-gyp/commit/e3861722ed)] - **doc**: document --jobs max (David Sanders) [#1770](https://github.com/nodejs/node-gyp/pull/1770) | ||
* [[`1cfdb28886`](https://github.com/nodejs/node-gyp/commit/1cfdb28886)] - **lib**: reintroduce support for iojs file naming for releases \>= 1 && \< 4 (Samuel Attard) [#1777](https://github.com/nodejs/node-gyp/pull/1777) | ||
v5.0.0 2019-06-13 | ||
@@ -2,0 +8,0 @@ ================= |
@@ -20,2 +20,3 @@ var semver = require('semver') | ||
, isDefaultVersion | ||
, isNamedForLegacyIojs | ||
, name | ||
@@ -45,7 +46,13 @@ , distBaseUrl | ||
// v3 onward, has process.release | ||
name = defaultRelease.name | ||
name = defaultRelease.name.replace(/io\.js/, 'iojs') // remove the '.' for directory naming purposes | ||
} else { | ||
// old node or alternative --target= | ||
// semver.satisfies() doesn't like prerelease tags so test major directly | ||
name = 'node' | ||
isNamedForLegacyIojs = versionSemver.major >= 1 && versionSemver.major < 4 | ||
// isNamedForLegacyIojs is required to support Electron < 4 (in particular Electron 3) | ||
// as previously this logic was used to ensure "iojs" was used to download iojs releases | ||
// and "node" for node releases. Unfortunately the logic was broad enough that electron@3 | ||
// published release assets as "iojs" so that the node-gyp logic worked. Once Electron@3 has | ||
// been EOL for a while (late 2019) we should remove this hack. | ||
name = isNamedForLegacyIojs ? 'iojs' : 'node' | ||
} | ||
@@ -52,0 +59,0 @@ |
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"installVersion": 9, | ||
@@ -17,0 +17,0 @@ "author": "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)", |
@@ -165,3 +165,3 @@ # `node-gyp` - Node.js native addon build tool | ||
|:----------------------------------|:------------------------------------------ | ||
| `-j n`, `--jobs n` | Run `make` in parallel | ||
| `-j n`, `--jobs n` | Run `make` in parallel. The value `max` will use all available CPU cores | ||
| `--target=v6.2.1` | Node.js version to build for (default is `process.version`) | ||
@@ -168,0 +168,0 @@ | `--silly`, `--loglevel=silly` | Log all progress to console |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1716950
3883