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

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.2 to 1.1.3

coverage/coverage.raw.json

5

digest-fetch-src.js

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

if (this.logger) this.logger.info(`requesting with auth carried`)
const _url = url.replace('//', '')
const isRequest = typeof(url) === 'object' && typeof(url.url) === 'string'
const urlStr = isRequest ? url.url : url
const _url = urlStr.replace('//', '')
const uri = _url.indexOf('/') == -1 ? '/' : _url.slice(_url.indexOf('/'))

@@ -93,0 +96,0 @@ const method = options.method ? options.method.toUpperCase() : 'GET'

4

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

@@ -41,3 +41,3 @@ "main": "digest-fetch-src.js",

"mocha": "^8.1.1",
"node-fetch": "^2.3.0",
"node-fetch": "^2.6.1",
"passport": "^0.4.0",

@@ -44,0 +44,0 @@ "passport-http": "^0.3.0",

Sorry, the diff of this file is not supported yet

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

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