Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-registry-fetch

Package Overview
Dependencies
Maintainers
6
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-registry-fetch - npm Package Compare versions

Comparing version 4.0.6 to 4.0.7

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="4.0.7"></a>
## [4.0.7](https://github.com/npm/registry-fetch/compare/v4.0.6...v4.0.7) (2020-08-17)
### Bug Fixes
* correct password redaction ([110032b](https://github.com/npm/registry-fetch/commit/110032b))
<a name="4.0.6"></a>

@@ -7,0 +17,0 @@ ## [4.0.6](https://github.com/npm/registry-fetch/compare/v4.0.5...v4.0.6) (2020-08-14)

7

check-response.js

@@ -35,5 +35,8 @@ 'use strict'

try {
const { URL } = require('url')
const URL = require('url').URL
const url = new URL(res.url)
urlStr = res.url.replace(url.password, '***')
if (url.password) {
url.password = '***'
}
urlStr = url.toString()
} catch (er) {

@@ -40,0 +43,0 @@ urlStr = res.url

{
"name": "npm-registry-fetch",
"version": "4.0.6",
"version": "4.0.7",
"description": "Fetch-based http client for use with npm registry APIs",

@@ -16,3 +16,3 @@ "main": "index.js",

"postrelease": "npm publish && git push --follow-tags",
"pretest": "standard",
"posttest": "standard",
"release": "standard-version -s",

@@ -19,0 +19,0 @@ "test": "tap -J --coverage test/*.js",

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