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
35
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.10 to 1.1.11

11

dist/index.js

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

var SOURCE = 'library';
var VERSION = '1.1.10';
var VERSION = '1.1.11';

@@ -91,2 +91,11 @@ function WonderfulFetch(url, options) {

// FormData Headers
// if (bodyIsFormData) {
// config.headers['Content-Type'] = 'multipart/form-data';
// Object.keys(options.body.getHeaders()).forEach(function (key) {
// config.headers[key] = options.body.getHeaders()[key];
// console.log('+++key', key, config.headers[key]);
// });
// }
// GET requests should not have a body or content type

@@ -93,0 +102,0 @@ if (config.method === 'get') {

4

package.json
{
"name": "wonderful-fetch",
"version": "1.1.10",
"version": "1.1.11",
"description": "A wrapper around fetch.",

@@ -36,3 +36,3 @@ "main": "./dist/index.js",

"mocha": "^8.4.0",
"prepare-package": "^1.1.3"
"prepare-package": "^1.1.5"
},

@@ -39,0 +39,0 @@ "preparePackage": {

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