Socket
Socket
Sign inDemoInstall

digest-fetch

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digest-fetch - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

9

digest-fetch-src.js

@@ -76,3 +76,6 @@ /// !-----------------------------------------------------------------------------------------------------------

_options.headers = _options.headers || {}
_options.headers.Authorization = auth
_options.headers.Authorization = auth;
if (typeof(_options.headers.set) == 'function') {
_options.headers.set('Authorization', auth)
}

@@ -126,2 +129,6 @@ if (this.logger) this.logger.debug(options)

options.headers.Authorization = digest
if (typeof(options.headers.set) == 'function') {
options.headers.set('Authorization', digest)
}
if (this.logger) this.logger.debug(options)

@@ -128,0 +135,0 @@

2

package.json
{
"name": "digest-fetch",
"version": "1.1.5",
"version": "1.1.6",
"description": "digest auth request plugin for fetch/node-fetch also support http basic auth authentication",

@@ -5,0 +5,0 @@ "main": "digest-fetch-src.js",

Sorry, the diff of this file is too big to display

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