@jimp/core
Advanced tools
Comparing version 0.17.4 to 0.17.5
@@ -0,1 +1,14 @@ | ||
# v0.17.5 (Sat Feb 04 2023) | ||
#### 🐛 Bug Fix | ||
- Fix dos attack vulnerable [#1136](https://github.com/jimp-dev/jimp/pull/1136) ([@sjoerd108](https://github.com/sjoerd108) [@hipstersmoothie](https://github.com/hipstersmoothie)) | ||
#### Authors: 2 | ||
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) | ||
- Sjoerd ([@sjoerd108](https://github.com/sjoerd108)) | ||
--- | ||
# v0.17.4 (Sat Feb 04 2023) | ||
@@ -2,0 +15,0 @@ |
@@ -44,13 +44,19 @@ "use strict"; | ||
p(_objectSpread({ | ||
var allOptions = _objectSpread({ | ||
compression: true | ||
}, options), function (err, res) { | ||
if (err === null) { | ||
cb(null, res, res.body); | ||
} else { | ||
cb(err); | ||
} | ||
}); | ||
}, options); | ||
try { | ||
p(allOptions, function (err, res) { | ||
if (err) { | ||
cb(err); | ||
} else { | ||
cb(null, res, res.body); | ||
} | ||
}); | ||
} catch (error) { | ||
cb(error); | ||
} | ||
}; | ||
} | ||
//# sourceMappingURL=request.js.map |
{ | ||
"name": "@jimp/core", | ||
"version": "0.17.4", | ||
"version": "0.17.5", | ||
"description": "Jimp core", | ||
@@ -32,3 +32,3 @@ "main": "dist/index.js", | ||
"@babel/runtime": "^7.7.2", | ||
"@jimp/utils": "^0.17.4", | ||
"@jimp/utils": "^0.17.5", | ||
"any-base": "^1.1.0", | ||
@@ -49,3 +49,3 @@ "buffer": "^5.2.0", | ||
}, | ||
"gitHead": "c73ee78d5686337a6046c309368473698feb9f5a" | ||
"gitHead": "de36d7c895dbf2aa403186c21258c8710c6b5708" | ||
} |
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
222379
2402
Updated@jimp/utils@^0.17.5