npm-registry-fetch
Advanced tools
Comparing version 16.1.0 to 16.2.0
@@ -7,3 +7,3 @@ 'use strict' | ||
const log = require('proc-log') | ||
const cleanUrl = require('./clean-url.js') | ||
const { redact: cleanUrl } = require('@npmcli/redact') | ||
@@ -10,0 +10,0 @@ /* eslint-disable-next-line max-len */ |
@@ -13,2 +13,3 @@ 'use strict' | ||
const { Minipass } = require('minipass') | ||
const { redact: cleanUrl } = require('@npmcli/redact') | ||
@@ -250,2 +251,4 @@ const defaultOpts = require('./default-opts.js') | ||
module.exports.cleanUrl = require('./clean-url.js') | ||
// export cleanUrl to avoid a breaking change | ||
// TODO: next semver major remove this. Consumers should use @npmcli/redact instead | ||
module.exports.cleanUrl = cleanUrl |
{ | ||
"name": "npm-registry-fetch", | ||
"version": "16.1.0", | ||
"version": "16.2.0", | ||
"description": "Fetch-based http client for use with npm registry APIs", | ||
@@ -12,3 +12,3 @@ "main": "lib", | ||
"eslint": "eslint", | ||
"lint": "eslint \"**/*.js\"", | ||
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"", | ||
"lintfix": "npm run lint -- --fix", | ||
@@ -35,2 +35,3 @@ "test": "tap", | ||
"dependencies": { | ||
"@npmcli/redact": "^1.1.0", | ||
"make-fetch-happen": "^13.0.0", | ||
@@ -46,3 +47,3 @@ "minipass": "^7.0.2", | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.19.0", | ||
"@npmcli/template-oss": "4.21.3", | ||
"cacache": "^18.0.0", | ||
@@ -67,5 +68,5 @@ "nock": "^13.2.4", | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.19.0", | ||
"version": "4.21.3", | ||
"publish": "true" | ||
} | ||
} |
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
39324
8
8
571
+ Added@npmcli/redact@^1.1.0
+ Added@npmcli/redact@1.1.0(transitive)