npm-registry-fetch
Advanced tools
Comparing version 4.0.5 to 4.0.6
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="4.0.6"></a> | ||
## [4.0.6](https://github.com/npm/registry-fetch/compare/v4.0.5...v4.0.6) (2020-08-14) | ||
### Bug Fixes | ||
* import URL from url module ([cd35987](https://github.com/npm/registry-fetch/commit/cd35987)) | ||
<a name="4.0.5"></a> | ||
@@ -7,0 +17,0 @@ ## [4.0.5](https://github.com/npm/registry-fetch/compare/v4.0.4...v4.0.5) (2020-06-30) |
@@ -35,3 +35,3 @@ 'use strict' | ||
try { | ||
const URL = require('url') | ||
const { URL } = require('url') | ||
const url = new URL(res.url) | ||
@@ -38,0 +38,0 @@ urlStr = res.url.replace(url.password, '***') |
{ | ||
"name": "npm-registry-fetch", | ||
"version": "4.0.5", | ||
"version": "4.0.6", | ||
"description": "Fetch-based http client for use with npm registry APIs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
45732