Fix jimp vulnerability

main
Mr¤KayJayDee 2 years ago
parent 0f1df7238e
commit 6bdadb2a93

@ -1,7 +1,7 @@
{ {
"name": "discord-image-generation", "name": "discord-image-generation",
"version": "1.4.13", "version": "1.4.14",
"description": "discord-image-generation is a powerfull module that allow you to generate awesome images.", "description": "discord-image-generation is a powerful module that allow you to generate awesome images.",
"main": "src/index.js", "main": "src/index.js",
"types": "typings/index.d.ts", "types": "typings/index.d.ts",
"scripts": { "scripts": {
@ -33,8 +33,13 @@
"drawing" "drawing"
], ],
"dependencies": { "dependencies": {
"canvas": "^2.6.1", "canvas": "^2.10.1",
"gifencoder": "^2.0.1", "gifencoder": "^2.0.1",
"jimp": "^0.16.1" "jimp": "^0.16.0"
},
"overrides": {
"jimp": {
"jpeg-js": "^0.4.4"
}
} }
} }

Loading…
Cancel
Save