From 6bdadb2a9360154fc0b5f7dd3220de4b8ba8050f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=A4KayJayDee?= Date: Wed, 14 Sep 2022 18:28:19 +0200 Subject: [PATCH] Fix jimp vulnerability --- package.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bdfc924..2dfa6a6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "discord-image-generation", - "version": "1.4.13", - "description": "discord-image-generation is a powerfull module that allow you to generate awesome images.", + "version": "1.4.14", + "description": "discord-image-generation is a powerful module that allow you to generate awesome images.", "main": "src/index.js", "types": "typings/index.d.ts", "scripts": { @@ -33,8 +33,13 @@ "drawing" ], "dependencies": { - "canvas": "^2.6.1", + "canvas": "^2.10.1", "gifencoder": "^2.0.1", - "jimp": "^0.16.1" + "jimp": "^0.16.0" + }, + "overrides": { + "jimp": { + "jpeg-js": "^0.4.4" + } } }