prebuild-install
Advanced tools
Comparing version 6.1.0 to 6.1.1
@@ -5,3 +5,2 @@ #!/usr/bin/env node | ||
var fs = require('fs') | ||
var whichPmRuns = require('which-pm-runs') | ||
var napi = require('napi-build-utils') | ||
@@ -46,9 +45,5 @@ | ||
var pm = whichPmRuns() | ||
var isNpm = !pm || pm.name === 'npm' | ||
var origin = util.packageOrigin(process.env, pkg) | ||
if (!isNpm && /node_modules/.test(process.cwd())) { | ||
// From yarn repository | ||
} else if (opts.force) { | ||
if (opts.force) { | ||
log.warn('install', 'prebuilt binaries enforced with --force!') | ||
@@ -55,0 +50,0 @@ log.warn('install', 'prebuilt binaries may be out of date!') |
# Changelog | ||
## [6.1.1] - 2021-04-04 | ||
### Fixed | ||
- Support `force` & `buildFromSource` options in yarn ([#140](https://github.com/prebuild/prebuild-install/issues/140)) ([`8cb1ced`](https://github.com/prebuild/prebuild-install/commit/8cb1ced)) (João Moreno) | ||
- Bump `node-abi` to prevent dedupe (closes [#135](https://github.com/prebuild/prebuild-install/issues/135)) ([`2950fb2`](https://github.com/prebuild/prebuild-install/commit/2950fb2)) (Vincent Weevers) | ||
## [6.1.0] - 2021-04-03 | ||
@@ -39,2 +46,4 @@ | ||
[6.1.1]: https://github.com/prebuild/prebuild-install/compare/v6.1.0...v6.1.1 | ||
[6.1.0]: https://github.com/prebuild/prebuild-install/compare/v6.0.1...v6.1.0 | ||
@@ -41,0 +50,0 @@ |
{ | ||
"name": "prebuild-install", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "A command line tool to easily install prebuilt binaries for multiple version of node/iojs on a specific platform", | ||
@@ -29,3 +29,3 @@ "scripts": { | ||
"napi-build-utils": "^1.0.1", | ||
"node-abi": "^2.7.0", | ||
"node-abi": "^2.21.0", | ||
"noop-logger": "^0.1.1", | ||
@@ -37,4 +37,3 @@ "npmlog": "^4.0.1", | ||
"tar-fs": "^2.0.0", | ||
"tunnel-agent": "^0.6.0", | ||
"which-pm-runs": "^1.0.0" | ||
"tunnel-agent": "^0.6.0" | ||
}, | ||
@@ -41,0 +40,0 @@ "devDependencies": { |
28618
14
455
- Removedwhich-pm-runs@^1.0.0
- Removedwhich-pm-runs@1.1.0(transitive)
Updatednode-abi@^2.21.0