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

wonderful-fetch

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wonderful-fetch - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

13

dist/index.js

@@ -23,3 +23,3 @@ (function (root, factory) {

var SOURCE = 'library';
var VERSION = '1.1.2';
var VERSION = '1.1.3';

@@ -127,7 +127,8 @@ function WonderfulFetch(url, options) {

if (!isError) {
return;
}
// Add bm-properties to error object
if (
(key === 'bm-properties' || options.attachResponseHeaders)
&& isError
) {
if (key === 'bm-properties') {
try {

@@ -140,2 +141,4 @@ Object.keys(headers[key]).forEach(function (k) {

}
} else if (options.attachResponseHeaders) {
result[key] = headers[key];
}

@@ -142,0 +145,0 @@ });

{
"name": "wonderful-fetch",
"version": "1.1.2",
"version": "1.1.3",
"description": "A wrapper around fetch.",

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

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