Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lerna/get-npm-exec-opts

Package Overview
Dependencies
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/get-npm-exec-opts - npm Package Compare versions

Comparing version 3.0.0-rc.0 to 3.0.0

9

CHANGELOG.md

@@ -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)

19

get-npm-exec-opts.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc