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

npm-registry-fetch

Package Overview
Dependencies
Maintainers
5
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 8.0.3 to 8.1.0

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [8.1.0](https://github.com/npm/registry-fetch/compare/v8.0.3...v8.1.0) (2020-05-20)
### Features
* add npm-command HTTP header ([1bb4eb2](https://github.com/npm/registry-fetch/commit/1bb4eb2c66ee8a0dc62558bdcff1b548e2bb9820))
### [8.0.3](https://github.com/npm/registry-fetch/compare/v8.0.2...v8.0.3) (2020-05-13)

@@ -7,0 +14,0 @@

4

index.js

@@ -189,2 +189,6 @@ 'use strict'

if (opts.npmCommand) {
headers['npm-command'] = opts.npmCommand
}
const auth = getAuth(registry, opts)

@@ -191,0 +195,0 @@ // If a tarball is hosted on a different place than the manifest, only send

2

package.json
{
"name": "npm-registry-fetch",
"version": "8.0.3",
"version": "8.1.0",
"description": "Fetch-based http client for use with npm registry APIs",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -401,2 +401,11 @@ # npm-registry-fetch

##### <a name="opts-npmCommand"></a> `opts.npmCommand`
* Type: String
* Default: null
If provided, it will be sent in the `npm-command` header. This yeader is
used by the npm registry to identify the npm command that caused this
request to be made.
##### <a name="opts-offline"></a> `opts.offline`

@@ -403,0 +412,0 @@

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