@jimp/core
Advanced tools
Comparing version 0.8.1-canary.786.262.0 to 0.8.1-canary.789.301.0
@@ -167,2 +167,7 @@ "use strict"; | ||
if ('headers' in response && 'location' in response.headers) { | ||
options.url = response.headers.location; | ||
return loadFromURL(options, cb); | ||
} | ||
if (_typeof(data) === 'object' && Buffer.isBuffer(data)) { | ||
@@ -169,0 +174,0 @@ return cb(null, data); |
@@ -85,2 +85,7 @@ function isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
if ('headers' in response && 'location' in response.headers) { | ||
options.url = response.headers.location; | ||
return loadFromURL(options, cb); | ||
} | ||
if (_typeof(data) === 'object' && Buffer.isBuffer(data)) { | ||
@@ -87,0 +92,0 @@ return cb(null, data); |
{ | ||
"name": "@jimp/core", | ||
"version": "0.8.1-canary.786.262.0", | ||
"version": "0.8.1-canary.789.301.0", | ||
"description": "Jimp core", | ||
"main": "dist/index.js", | ||
"module": "es/index.js", | ||
"types": "types/index.d.ts", | ||
"types": "index.d.ts", | ||
"files": [ | ||
@@ -36,3 +36,3 @@ "dist", | ||
"dependencies": { | ||
"@jimp/utils": "0.8.1-canary.786.262.0", | ||
"@jimp/utils": "0.8.1-canary.789.301.0", | ||
"any-base": "^1.1.0", | ||
@@ -56,3 +56,3 @@ "buffer": "^5.2.0", | ||
}, | ||
"gitHead": "b0d5448f47e49a8ee4992dc53166a8ee32c8ee19" | ||
"gitHead": "b74e13e54badf24f2df94e7e1d1a6c960aab8ff6" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
390805
40
3788
+ Added@jimp/utils@0.8.1-canary.789.301.0(transitive)
- Removed@jimp/utils@0.8.1-canary.786.262.0(transitive)