@lerna/get-npm-exec-opts
Advanced tools
Comparing version 3.0.0-rc.0 to 3.0.0
@@ -6,2 +6,11 @@ # Change Log | ||
<a name="3.0.0"></a> | ||
# [3.0.0](https://github.com/lerna/lerna/compare/v3.0.0-rc.0...v3.0.0) (2018-08-10) | ||
**Note:** Version bump only for package @lerna/get-npm-exec-opts | ||
<a name="3.0.0-rc.0"></a> | ||
@@ -8,0 +17,0 @@ # [3.0.0-rc.0](https://github.com/lerna/lerna/compare/v3.0.0-beta.21...v3.0.0-rc.0) (2018-07-27) |
@@ -8,16 +8,15 @@ "use strict"; | ||
function getExecOpts(pkg, registry) { | ||
const opts = { | ||
cwd: pkg.location, | ||
pkg, | ||
}; | ||
// execa automatically extends process.env | ||
const env = {}; | ||
if (registry) { | ||
opts.extendEnv = false; | ||
opts.env = Object.assign({}, process.env, { | ||
npm_config_registry: registry, | ||
}); | ||
env.npm_config_registry = registry; | ||
} | ||
log.silly("getExecOpts", opts); | ||
return opts; | ||
log.silly("getExecOpts", pkg.location, registry); | ||
return { | ||
cwd: pkg.location, | ||
env, | ||
pkg, | ||
}; | ||
} |
{ | ||
"name": "@lerna/get-npm-exec-opts", | ||
"version": "3.0.0-rc.0", | ||
"version": "3.0.0", | ||
"description": "An internal Lerna tool", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "1ab24c152d3ff5c2b9453bcaafeb4b5e432b2410" | ||
"gitHead": "0c40a17a7cd4e9acd8e7ec33ffacd1c1acef5dc6" | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3233
0
0
16