node-pre-gyp
Advanced tools
Comparing version 0.6.33 to 0.6.34
# node-pre-gyp changelog | ||
## 0.6.34 | ||
- Upgraded deps to latest versions, started using `^` instead of `~` for all deps. | ||
## 0.6.33 | ||
@@ -4,0 +8,0 @@ |
@@ -1234,2 +1234,6 @@ { | ||
}, | ||
"4.8.0": { | ||
"node_abi": 46, | ||
"v8": "4.5" | ||
}, | ||
"5.0.0": { | ||
@@ -1387,2 +1391,6 @@ "node_abi": 47, | ||
}, | ||
"6.10.0": { | ||
"node_abi": 48, | ||
"v8": "5.1" | ||
}, | ||
"7.0.0": { | ||
@@ -1415,3 +1423,23 @@ "node_abi": 51, | ||
"v8": "5.4" | ||
}, | ||
"7.6.0": { | ||
"node_abi": 51, | ||
"v8": "5.5" | ||
}, | ||
"7.7.0": { | ||
"node_abi": 51, | ||
"v8": "5.5" | ||
}, | ||
"7.7.1": { | ||
"node_abi": 51, | ||
"v8": "5.5" | ||
}, | ||
"7.7.2": { | ||
"node_abi": 51, | ||
"v8": "5.5" | ||
}, | ||
"7.7.3": { | ||
"node_abi": 51, | ||
"v8": "5.5" | ||
} | ||
} |
{ | ||
"name": "node-pre-gyp", | ||
"description": "Node.js native addon binary install tool", | ||
"version" : "0.6.33", | ||
"version" : "0.6.34", | ||
"keywords": [ | ||
@@ -23,16 +23,16 @@ "native", | ||
"dependencies": { | ||
"mkdirp": "~0.5.1", | ||
"nopt": "~3.0.6", | ||
"npmlog": "^4.0.1", | ||
"rc": "~1.1.6", | ||
"request": "^2.79.0", | ||
"rimraf": "~2.5.4", | ||
"semver": "~5.3.0", | ||
"tar": "~2.2.1", | ||
"tar-pack": "~3.3.0" | ||
"mkdirp": "^0.5.1", | ||
"nopt": "^4.0.1", | ||
"npmlog": "^4.0.2", | ||
"rc": "^1.1.7", | ||
"request": "^2.81.0", | ||
"rimraf": "^2.6.1", | ||
"semver": "^5.3.0", | ||
"tar": "^2.2.1", | ||
"tar-pack": "^3.4.0" | ||
}, | ||
"devDependencies": { | ||
"aws-sdk": "^2.7.7", | ||
"aws-sdk": "^2.28.0", | ||
"mocha": "^3.2.0", | ||
"retire": "^1.2.10", | ||
"retire": "^1.2.12", | ||
"jshint": "^2.9.4" | ||
@@ -39,0 +39,0 @@ }, |
@@ -109,4 +109,5 @@ # node-pre-gyp | ||
} | ||
"bundledDependencies":["node-pre-gyp"], | ||
"scripts": { | ||
"preinstall": "npm install node-pre-gyp", | ||
"prepublish": "npm ls" | ||
"install": "node-pre-gyp install --fallback-to-build" | ||
@@ -123,2 +124,13 @@ }, | ||
Let's break this down: | ||
- Dependencies need to list `node-pre-gyp` | ||
- Your devDependencies should list `aws-sdk` so that you can run `node-pre-gyp publish` locally or a CI system. We recommend using `devDependencies` only since `aws-sdk` is large and not needed for `node-pre-gyp install` since it only uses http to fetch binaries | ||
- You should add `"bundledDependencies":["node-pre-gyp"]`. This ensures that when you publish your module that the correct version of node-pre-gyp will be included in the `node_modules` folder during publishing. Then when uses install your module `node-pre-gyp` will already be present. Without this your module will not be safely installable for downstream applications that have a depedency on node-pre-gyp in the npm tree (without bundling npm deduping might break the install when node-pre-gyp is moved in flight) | ||
- Your `scripts` section should optionally add `"prepublish": "npm ls"` to ensure the right node-pre-gyp version is bundled before publishing your module. If node-pre-gyp is missing or an old version is present then this will catch that error before you publish a broken package. | ||
- Your `scripts` section should override the `install` target with `"install": "node-pre-gyp install --fallback-to-build"`. This allows node-pre-gyp to be used instead of the default npm behavior of always source compiling with `node-gyp` directly. | ||
- Your package.json should contain a `binary` section describing key properties you provide to allow node-pre-gyp to package optimally. They are detailed below. | ||
Note: in the past we recommended using `"preinstall": "npm install node-pre-gyp"` as an alternative method to avoid needing to bundle. But this does not behave predictably across all npm versions - see https://github.com/mapbox/node-pre-gyp/issues/260 for the details. So we do not recommend using `preinstall` to install `node-pre-gyp`. Instead we recommend bundling. | ||
##### The `binary` object has three required properties | ||
@@ -125,0 +137,0 @@ |
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
120508
30
2759
587
+ Addeddebug@2.6.9(transitive)
+ Addeddeep-extend@0.6.0(transitive)
+ Addedms@2.0.0(transitive)
+ Addednopt@4.0.3(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedosenv@0.1.5(transitive)
+ Addedrc@1.2.8(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedtar-pack@3.4.1(transitive)
- Removedbuffer-shims@1.0.0(transitive)
- Removeddebug@2.2.0(transitive)
- Removeddeep-extend@0.4.2(transitive)
- Removedms@0.7.1(transitive)
- Removednopt@3.0.6(transitive)
- Removedonce@1.3.3(transitive)
- Removedprocess-nextick-args@1.0.7(transitive)
- Removedrc@1.1.7(transitive)
- Removedreadable-stream@2.1.5(transitive)
- Removedrimraf@2.5.4(transitive)
- Removedsemver@5.3.0(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedtar-pack@3.3.0(transitive)
Updatedmkdirp@^0.5.1
Updatednopt@^4.0.1
Updatednpmlog@^4.0.2
Updatedrc@^1.1.7
Updatedrequest@^2.81.0
Updatedrimraf@^2.6.1
Updatedsemver@^5.3.0
Updatedtar@^2.2.1
Updatedtar-pack@^3.4.0