New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wonderful-fetch

Package Overview
Dependencies
Maintainers
0
Versions
39
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.3.1 to 1.3.2

8

dist/index.js

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

var SOURCE = 'library';
var VERSION = '1.3.1';
var VERSION = '1.3.2';

@@ -31,5 +31,7 @@ function WonderfulFetch(url, options) {

// Fix url
url = url || options.url;
// Fix options
options = options || {};
url = url || options.url;
options.timeout = options.timeout || 60000;

@@ -281,3 +283,3 @@ options.tries = typeof options.tries === 'undefined' ? 1 : options.tries;

var type = res.headers.get('content-type');
var ext = mime.extension(type)
var ext = (mime.extension(type) || '')
.replace('jpeg', 'jpg')

@@ -284,0 +286,0 @@ // .replace('tiff', 'tif')

{
"name": "wonderful-fetch",
"version": "1.3.1",
"version": "1.3.2",
"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