@npmcli/config
Advanced tools
Comparing version 6.1.1 to 6.1.2
@@ -485,4 +485,5 @@ // TODO: set the scope config from package.json or explicit cli config | ||
} else if (problem.action === 'rename') { | ||
const old = this.get(problem.from, problem.where) | ||
this.set(problem.to, old, problem.where) | ||
const raw = this.data.get(problem.where).raw?.[problem.from] | ||
const calculated = this.get(problem.from, problem.where) | ||
this.set(problem.to, raw || calculated, problem.where) | ||
this.delete(problem.from, problem.where) | ||
@@ -489,0 +490,0 @@ } |
{ | ||
"name": "@npmcli/config", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"files": [ | ||
@@ -36,3 +36,3 @@ "bin/", | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.11.0", | ||
"@npmcli/template-oss": "4.11.1", | ||
"tap": "^16.3.2" | ||
@@ -54,4 +54,4 @@ }, | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.11.0" | ||
"version": "4.11.1" | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
50703
1115
1