npm-registry-fetch
Advanced tools
Comparing version 10.0.0 to 10.1.0
@@ -83,2 +83,3 @@ 'use strict' | ||
this.auth = null | ||
this.isBasicAuth = false | ||
if (token) | ||
@@ -91,2 +92,3 @@ this.token = token | ||
this.auth = Buffer.from(`${username}:${p}`, 'utf8').toString('base64') | ||
this.isBasicAuth = true | ||
} | ||
@@ -93,0 +95,0 @@ } |
{ | ||
"name": "npm-registry-fetch", | ||
"version": "10.0.0", | ||
"version": "10.1.0", | ||
"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
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
50450
509
1