From e72d209551f02ff17322b1af1b392afef2b55794 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 Nov 2024 15:01:00 +0000 Subject: [PATCH] fix: upgrade body-parser from 2.0.0 to 2.0.1 Snyk has created this PR to upgrade body-parser from 2.0.0 to 2.0.1. See this package in npm: body-parser See this project in Snyk: https://app.snyk.io/org/skanda890/project/09a0f87d-42dc-4121-9ccc-dee76074766d?utm_source=github&utm_medium=referral&page=upgrade-pr --- code-compiler/package-lock.json | 68 ++------------------------------- code-compiler/package.json | 2 +- 2 files changed, 5 insertions(+), 65 deletions(-) diff --git a/code-compiler/package-lock.json b/code-compiler/package-lock.json index 5983deb51..5081220c0 100644 --- a/code-compiler/package-lock.json +++ b/code-compiler/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "body-parser": "^2.0.0", + "body-parser": "^2.0.1", "compile-run": "^2.3.4", "express": "^5.0.1" } @@ -51,9 +51,9 @@ "integrity": "sha512-zPMVc3ZYlGLNk4mpK1NzP2wg0ml9t7fUgDsayR5Y5rSzxQilzR9FGu/EH2jQOcKSAeAfWeylyW8juy3OkWRvNA==" }, "node_modules/body-parser": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.0.0.tgz", - "integrity": "sha512-Dp+ktxd2u4GkMLJoVvSKLiEDsRRKvbTorW0k66C1Z2aI9X1xKoOIueI4Au7zmMS2yi3ECwdXRHclk/VjvrczDA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.0.1.tgz", + "integrity": "sha512-PagxbjvuPH6tv0f/kdVbFGcb79D236SLcDTs6DrQ7GizJ88S1UWP4nMXFEo/I4fdhGRGabvFfFjVGm3M7U8JwA==", "license": "MIT", "dependencies": { "bytes": "3.1.2", @@ -286,66 +286,6 @@ "node": ">= 18" } }, - "node_modules/express/node_modules/body-parser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.0.1.tgz", - "integrity": "sha512-PagxbjvuPH6tv0f/kdVbFGcb79D236SLcDTs6DrQ7GizJ88S1UWP4nMXFEo/I4fdhGRGabvFfFjVGm3M7U8JwA==", - "dependencies": { - "bytes": "3.1.2", - "content-type": "~1.0.5", - "debug": "3.1.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.5.2", - "on-finished": "2.4.1", - "qs": "6.13.0", - "raw-body": "^3.0.0", - "type-is": "~1.6.18", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/express/node_modules/body-parser/node_modules/debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/body-parser/node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/express/node_modules/body-parser/node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/express/node_modules/body-parser/node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/express/node_modules/debug": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", diff --git a/code-compiler/package.json b/code-compiler/package.json index c4c846289..c74d333eb 100644 --- a/code-compiler/package.json +++ b/code-compiler/package.json @@ -7,7 +7,7 @@ "start": "node server.js" }, "dependencies": { - "body-parser": "^2.0.0", + "body-parser": "^2.0.1", "compile-run": "^2.3.4", "express": "^5.0.1" },