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

@lerna/npm-conf

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/npm-conf - npm Package Compare versions

Comparing version 3.0.0 to 3.4.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [3.4.1](https://github.com/lerna/lerna/compare/v3.4.0...v3.4.1) (2018-10-04)
### Bug Fixes
* **npm-conf:** Do not overwrite defaults with undefined cli keys ([25af71d](https://github.com/lerna/lerna/commit/25af71d))
<a name="3.0.0"></a>

@@ -8,0 +19,0 @@ # [3.0.0](https://github.com/lerna/lerna/compare/v3.0.0-rc.0...v3.0.0) (2018-08-10)

14

lib/npm-conf.js

@@ -17,3 +17,15 @@ "use strict";

conf.add(Object.assign({}, opts), "cli");
// prevent keys with undefined values from obscuring defaults
const cleanOpts = opts
? Object.keys(opts).reduce((acc, key) => {
if (opts && opts[key] !== undefined) {
// eslint-disable-next-line no-param-reassign
acc[key] = opts[key];
}
return acc;
}, {})
: {};
conf.add(cleanOpts, "cli");
conf.addEnv();

@@ -20,0 +32,0 @@ conf.loadPrefix();

4

package.json
{
"name": "@lerna/npm-conf",
"version": "3.0.0",
"version": "3.4.1",
"description": "Vendored npm-conf with updates",

@@ -41,3 +41,3 @@ "keywords": [

},
"gitHead": "0c40a17a7cd4e9acd8e7ec33ffacd1c1acef5dc6"
"gitHead": "05a27a6d579fdc962f0e0588585b9fb7d0a453b7"
}

Sorry, the diff of this file is not supported yet

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