@jimp/core
Advanced tools
Comparing version 0.22.1 to 0.22.2
@@ -0,1 +1,17 @@ | ||
# v0.22.2 (Mon Feb 06 2023) | ||
:tada: This release contains work from a new contributor! :tada: | ||
Thank you, Ollie Chick ([@olliechick](https://github.com/olliechick)), for all your work! | ||
#### 🚀 Enhancement | ||
- Change type of mime from string to string|number to fix #990 [#1182](https://github.com/jimp-dev/jimp/pull/1182) ([@olliechick](https://github.com/olliechick)) | ||
#### Authors: 1 | ||
- Ollie Chick ([@olliechick](https://github.com/olliechick)) | ||
--- | ||
# v0.22.1 (Mon Feb 06 2023) | ||
@@ -2,0 +18,0 @@ |
@@ -179,3 +179,3 @@ "use strict"; | ||
* Converts the image to a buffer | ||
* @param {string} mime the mime type of the image buffer to be created | ||
* @param {(string|number)} mime the mime type of the image buffer to be created | ||
* @param {function(Error, Jimp)} cb a Node-style function to call with the buffer as the second argument | ||
@@ -182,0 +182,0 @@ * @returns {Jimp} this for chaining of methods |
@@ -168,3 +168,3 @@ import FileType from "file-type"; | ||
* Converts the image to a buffer | ||
* @param {string} mime the mime type of the image buffer to be created | ||
* @param {(string|number)} mime the mime type of the image buffer to be created | ||
* @param {function(Error, Jimp)} cb a Node-style function to call with the buffer as the second argument | ||
@@ -171,0 +171,0 @@ * @returns {Jimp} this for chaining of methods |
{ | ||
"name": "@jimp/core", | ||
"version": "0.22.1", | ||
"version": "0.22.2", | ||
"description": "Jimp core", | ||
@@ -32,3 +32,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@jimp/utils": "^0.22.1", | ||
"@jimp/utils": "^0.22.2", | ||
"any-base": "^1.1.0", | ||
@@ -46,3 +46,3 @@ "buffer": "^5.2.0", | ||
}, | ||
"gitHead": "67cef20d518920d4e04a7bbb238da76e85b26957" | ||
"gitHead": "4f906c0e4ef04faaa8933e07e7e40c84c5db0e3c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
402119
Updated@jimp/utils@^0.22.2