Comparing version 2.0.6 to 2.0.7
@@ -5,2 +5,6 @@ # Change Log | ||
## [2.0.7] - 2018-03-23 | ||
### Fixed | ||
- Install process on non-npm package managers | ||
## [2.0.6] - 2018-03-16 | ||
@@ -226,2 +230,3 @@ ### Added | ||
[2.0.7]: https://github.com/MayhemYDG/iltorb/compare/v2.0.6...v2.0.7 | ||
[2.0.6]: https://github.com/MayhemYDG/iltorb/compare/v2.0.5...v2.0.6 | ||
@@ -228,0 +233,0 @@ [2.0.5]: https://github.com/MayhemYDG/iltorb/compare/v2.0.4...v2.0.5 |
{ | ||
"name": "iltorb", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "Brotli compression/decompression with native bindings", | ||
@@ -38,7 +38,7 @@ "homepage": "https://github.com/MayhemYDG/iltorb", | ||
"dependencies": { | ||
"detect-libc": "^1.0.3", | ||
"nan": "^2.8.0", | ||
"node-gyp": "^3.6.2", | ||
"npmlog": "^4.1.2", | ||
"prebuild-install": "^2.3.0" | ||
"prebuild-install": "^2.3.0", | ||
"which-pm-runs": "^1.0.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
@@ -14,5 +14,5 @@ #!/usr/bin/env node | ||
const path = require('path'); | ||
const libc = require('detect-libc'); | ||
const prebuildRC = require('prebuild-install/rc'); | ||
const prebuildDL = require('prebuild-install/download'); | ||
const whichPM = require('which-pm-runs'); | ||
const log = require('npmlog'); | ||
@@ -24,2 +24,5 @@ const pkg = require(path.resolve(__dirname, '../package.json')); | ||
const pm = whichPM(); | ||
const npm = !pm || pm.name === 'npm'; | ||
if (conf.verbose) { | ||
@@ -32,2 +35,5 @@ log.level = 'verbose'; | ||
log.warn('install', 'prebuilt binaries may be out of date!') | ||
} else if (!npm && /node_modules/.test(process.cwd())) { | ||
// This is a NOOP conditional that is used to handle certain situations where | ||
// the PM may build from source instead of attempting to download the binary. | ||
} else if (!(typeof pkg._from === 'string')) { | ||
@@ -34,0 +40,0 @@ log.info('install', 'installing standalone, skipping download.') |
Sorry, the diff of this file is not supported yet
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
1944418
292
+ Addedwhich-pm-runs@^1.0.0
- Removeddetect-libc@^1.0.3