wonderful-fetch
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -25,3 +25,3 @@ (function (root, factory) { | ||
var SOURCE = 'library'; | ||
var VERSION = '1.1.7'; | ||
var VERSION = '1.1.8'; | ||
@@ -197,3 +197,6 @@ function WonderfulFetch(url, options) { | ||
var type = res.headers.get('content-type'); | ||
var ext = mime.extension(type); | ||
var ext = mime.extension(type) | ||
.replace('jpeg', 'jpg') | ||
// .replace('tiff', 'tif') | ||
// .replace('svg+xml', 'svg'); | ||
@@ -200,0 +203,0 @@ // Create directory if it doesn't exist |
{ | ||
"name": "wonderful-fetch", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "A wrapper around fetch.", | ||
@@ -37,2 +37,2 @@ "main": "./dist/index.js", | ||
} | ||
} | ||
} |
19370
254