Socket
Socket
Sign inDemoInstall

@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.16.0 to 4.0.0

24

CHANGELOG.md

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

# [4.0.0](https://github.com/lerna/lerna/compare/v3.22.1...v4.0.0) (2021-02-10)
### Features
* **deps:** Bump dependencies ([affed1c](https://github.com/lerna/lerna/commit/affed1ce0fce91f01b0a9eafe357db2d985b974f))
* **deps:** pify@^5.0.0 ([6b34452](https://github.com/lerna/lerna/commit/6b3445219f0f022411a7cb282b0ba39a072e2ef2))
* Drop support for Node v6.x & v8.x ([ff4bb4d](https://github.com/lerna/lerna/commit/ff4bb4da215555e3bb136f5af09b5cbc631e57bb))
### BREAKING CHANGES
* Node v6.x & v8.x are no longer supported. Please upgrade to the latest LTS release.
Here's the gnarly one-liner I used to make these changes:
```
npx lerna exec --concurrency 1 --stream -- 'json -I -f package.json -e '"'"'this.engines=this.engines||{};this.engines.node=">= 10.18.0"'"'"
```
(requires `npm i -g json` beforehand)
# [3.16.0](https://github.com/lerna/lerna/compare/v3.15.0...v3.16.0) (2019-07-18)

@@ -8,0 +32,0 @@

14

lib/conf.js

@@ -62,4 +62,4 @@ "use strict";

Object.keys(env)
.filter(x => /^npm_config_/i.test(x))
.forEach(x => {
.filter((x) => /^npm_config_/i.test(x))
.forEach((x) => {
if (!env[x]) {

@@ -88,3 +88,3 @@ return;

enumerable: true,
set: prefix => {
set: (prefix) => {
const g = this.get("global");

@@ -101,3 +101,3 @@ this[g ? "globalPrefix" : "localPrefix"] = prefix;

enumerable: true,
set: prefix => {
set: (prefix) => {
this.set("prefix", prefix);

@@ -112,3 +112,3 @@ },

enumerable: true,
set: prefix => {
set: (prefix) => {
p = prefix;

@@ -143,4 +143,4 @@ },

.split(delim)
.filter(x => Boolean(x.trim()))
.map(x => x.trimLeft() + delim);
.filter((x) => Boolean(x.trim()))
.map((x) => x.trimLeft() + delim);

@@ -147,0 +147,0 @@ this.set("ca", output);

{
"name": "@lerna/npm-conf",
"version": "3.16.0",
"version": "4.0.0",
"description": "Vendored npm-conf with updates",

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

"engines": {
"node": ">= 6.9.0"
"node": ">= 10.18.0"
},

@@ -40,6 +40,6 @@ "publishConfig": {

"dependencies": {
"config-chain": "^1.1.11",
"pify": "^4.0.1"
"config-chain": "^1.1.12",
"pify": "^5.0.0"
},
"gitHead": "8ca18bedecf4f141c6242a099086e84b2ced72de"
"gitHead": "4582c476e07dddddd6b2e3ab6e7f52c1f9eed59a"
}
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