@npmcli/arborist
Advanced tools
Comparing version 7.4.1 to 7.4.2
@@ -15,3 +15,3 @@ // mixin implementing the buildIdealTree method | ||
const log = require('proc-log') | ||
const { cleanUrl } = require('npm-registry-fetch') | ||
const { redact } = require('@npmcli/redact') | ||
@@ -1217,3 +1217,3 @@ const { | ||
} else { | ||
const cleanRawSpec = cleanUrl(spec.rawSpec) | ||
const cleanRawSpec = redact(spec.rawSpec) | ||
log.silly('fetch manifest', spec.raw.replace(spec.rawSpec, cleanRawSpec)) | ||
@@ -1220,0 +1220,0 @@ const o = { |
@@ -12,3 +12,3 @@ // Given a dep, a node that depends on it, and the edge representing that | ||
const log = require('proc-log') | ||
const { cleanUrl } = require('npm-registry-fetch') | ||
const { redact } = require('@npmcli/redact') | ||
const deepestNestingTarget = require('./deepest-nesting-target.js') | ||
@@ -192,3 +192,3 @@ const CanPlaceDep = require('./can-place-dep.js') | ||
`for: ${this.edge.from.package._id || this.edge.from.location}`, | ||
`want: ${cleanUrl(this.edge.spec || '*')}` | ||
`want: ${redact(this.edge.spec || '*')}` | ||
) | ||
@@ -195,0 +195,0 @@ |
{ | ||
"name": "@npmcli/arborist", | ||
"version": "7.4.1", | ||
"version": "7.4.2", | ||
"description": "Manage node_modules trees", | ||
@@ -15,2 +15,3 @@ "dependencies": { | ||
"@npmcli/query": "^3.1.0", | ||
"@npmcli/redact": "^1.1.0", | ||
"@npmcli/run-script": "^7.0.2", | ||
@@ -17,0 +18,0 @@ "bin-links": "^4.0.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
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
459796
17
34
+ Added@npmcli/redact@^1.1.0