Socket
Socket
Sign inDemoInstall

npm-registry-client

Package Overview
Dependencies
98
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.2 to 8.1.0

4

lib/request.js

@@ -119,6 +119,8 @@ module.exports = regRequest

var useCorgi = params.fullMetadata == null ? false : !params.fullMetadata
var opts = this.initialize(
parsed,
params.method,
'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*',
useCorgi ? 'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*' : 'application/json',
headers

@@ -125,0 +127,0 @@ )

@@ -5,3 +5,3 @@ {

"description": "Client for the npm registry",
"version": "8.0.2",
"version": "8.1.0",
"repository": {

@@ -8,0 +8,0 @@ "url": "https://github.com/npm/npm-registry-client.git"

@@ -180,2 +180,4 @@ # npm-registry-client

* `auth` {Credentials} Optional.
* `fullMetadata` {Boolean} If true, don't attempt to fetch filtered
("corgi") registry metadata. (default: false)
* `cb` {Function}

@@ -182,0 +184,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc