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 0.1.1 to 0.1.2

coverage/coverage.json

4

digest-fetch-src.js

@@ -64,6 +64,6 @@ const canRequire = typeof(require) == 'function'

async parseAuth (data) {
const h = data.headers.get("www-authenticate")
const h = data.headers['www-authenticate']
this.lastAuth = h
if (h.length < 5) {
if (!h || h.length < 5) {
this.hasAuth = false

@@ -70,0 +70,0 @@ return

{
"name": "digest-fetch",
"version": "0.1.1",
"version": "0.1.2",
"description": "digest auth request plugin for fetch/node-fetch",

@@ -31,2 +31,4 @@ "main": "digest-fetch-src.js",

"eslint": "^5.9.0",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^5.2.0",
"node-fetch": "^2.3.0",

@@ -33,0 +35,0 @@ "webpack": "^4.26.1",

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