From af10ea6b2d45074b3241bc69973581736e9d6e4e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 Nov 2024 06:18:01 +0000 Subject: [PATCH] fix: upgrade @prisma/client from 5.1.1 to 5.21.0 Snyk has created this PR to upgrade @prisma/client from 5.1.1 to 5.21.0. See this package in npm: @prisma/client See this project in Snyk: https://app.snyk.io/org/ajile-in/project/892c7fb7-c901-4398-99bf-2724ed833596?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 68 ++++++++++++++++++++++++++++------------------- package.json | 2 +- 2 files changed, 41 insertions(+), 29 deletions(-) mode change 100755 => 100644 package.json diff --git a/package-lock.json b/package-lock.json index 510772f69..e55369c71 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "@nestjs/swagger": "^7.1.6", "@nestjs/typeorm": "^10.0.0", "@nestjs/websockets": "^10.1.3", - "@prisma/client": "^5.1.1", + "@prisma/client": "^5.21.0", "@sendgrid/mail": "^7.7.0", "@supabase/supabase-js": "^2.32.0", "@types/async-retry": "^1.4.5", @@ -60,10 +60,12 @@ "multer": "1.4.5-lts.1", "nanoid": "^4.0.2", "nats": "^2.15.1", + "nestjs-rate-limiter": "^3.1.0", "nestjs-supabase-auth": "^1.0.9", "nestjs-typeorm-paginate": "^4.0.4", "node-html-to-image": "^4.0.0", "node-qpdf2": "^2.0.0", + "p-limit": "^3.0.0", "papaparse": "^5.4.1", "passport": "^0.6.0", "passport-jwt": "^4.0.1", @@ -2293,13 +2295,11 @@ } }, "node_modules/@prisma/client": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.1.1.tgz", - "integrity": "sha512-fxcCeK5pMQGcgCqCrWsi+I2rpIbk0rAhdrN+ke7f34tIrgPwA68ensrpin+9+fZvuV2OtzHmuipwduSY6HswdA==", + "version": "5.21.0", + "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.21.0.tgz", + "integrity": "sha512-Qf2YleB3dsCRXiKSQZ+j0aF5E+ojpfqF8ExXaNAWBbAhKapMduwNvgo13K2pEuTiQq8voG2aQPQnxjsO9fOpTQ==", "hasInstallScript": true, - "dependencies": { - "@prisma/engines-version": "5.1.1-1.6a3747c37ff169c90047725a05a6ef02e32ac97e" - }, + "license": "Apache-2.0", "engines": { "node": ">=16.13" }, @@ -2319,11 +2319,6 @@ "devOptional": true, "hasInstallScript": true }, - "node_modules/@prisma/engines-version": { - "version": "5.1.1-1.6a3747c37ff169c90047725a05a6ef02e32ac97e", - "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.1.1-1.6a3747c37ff169c90047725a05a6ef02e32ac97e.tgz", - "integrity": "sha512-owZqbY/wucbr65bXJ/ljrHPgQU5xXTSkmcE/JcbqE1kusuAXV/TLN3/exmz21SZ5rJ7WDkyk70J2G/n68iogbQ==" - }, "node_modules/@puppeteer/browsers": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.8.0.tgz", @@ -10100,6 +10095,15 @@ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" }, + "node_modules/nestjs-rate-limiter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/nestjs-rate-limiter/-/nestjs-rate-limiter-3.1.0.tgz", + "integrity": "sha512-Qwr6daFvNppy038rs0iCQzX/uC3/czCC/2jATcETLIvyFmcBgySOMg7HGEquPKUZDX9lbc06Tn9L6U3QZS13HQ==", + "license": "MIT", + "dependencies": { + "rate-limiter-flexible": "2.1.10" + } + }, "node_modules/nestjs-supabase-auth": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/nestjs-supabase-auth/-/nestjs-supabase-auth-1.0.9.tgz", @@ -10706,7 +10710,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, "dependencies": { "yocto-queue": "^0.1.0" }, @@ -11823,6 +11826,12 @@ "node": ">= 0.6" } }, + "node_modules/rate-limiter-flexible": { + "version": "2.1.10", + "resolved": "https://registry.npmjs.org/rate-limiter-flexible/-/rate-limiter-flexible-2.1.10.tgz", + "integrity": "sha512-Pa+8TPD4xYaiCUB5K4a/+j2FHDUe4HP1g49JmKEmkOkhqPaeVqxJsZuuVaza/svSCOT+V73vtsyBiSFK/e1yXw==", + "license": "ISC" + }, "node_modules/raw-body": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", @@ -14696,7 +14705,6 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, "engines": { "node": ">=10" }, @@ -16234,12 +16242,10 @@ } }, "@prisma/client": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.1.1.tgz", - "integrity": "sha512-fxcCeK5pMQGcgCqCrWsi+I2rpIbk0rAhdrN+ke7f34tIrgPwA68ensrpin+9+fZvuV2OtzHmuipwduSY6HswdA==", - "requires": { - "@prisma/engines-version": "5.1.1-1.6a3747c37ff169c90047725a05a6ef02e32ac97e" - } + "version": "5.21.0", + "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.21.0.tgz", + "integrity": "sha512-Qf2YleB3dsCRXiKSQZ+j0aF5E+ojpfqF8ExXaNAWBbAhKapMduwNvgo13K2pEuTiQq8voG2aQPQnxjsO9fOpTQ==", + "requires": {} }, "@prisma/engines": { "version": "5.1.1", @@ -16247,11 +16253,6 @@ "integrity": "sha512-NV/4nVNWFZSJCCIA3HIFJbbDKO/NARc9ej0tX5S9k2EVbkrFJC4Xt9b0u4rNZWL4V+F5LAjvta8vzEUw0rw+HA==", "devOptional": true }, - "@prisma/engines-version": { - "version": "5.1.1-1.6a3747c37ff169c90047725a05a6ef02e32ac97e", - "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.1.1-1.6a3747c37ff169c90047725a05a6ef02e32ac97e.tgz", - "integrity": "sha512-owZqbY/wucbr65bXJ/ljrHPgQU5xXTSkmcE/JcbqE1kusuAXV/TLN3/exmz21SZ5rJ7WDkyk70J2G/n68iogbQ==" - }, "@puppeteer/browsers": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.8.0.tgz", @@ -22146,6 +22147,14 @@ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" }, + "nestjs-rate-limiter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/nestjs-rate-limiter/-/nestjs-rate-limiter-3.1.0.tgz", + "integrity": "sha512-Qwr6daFvNppy038rs0iCQzX/uC3/czCC/2jATcETLIvyFmcBgySOMg7HGEquPKUZDX9lbc06Tn9L6U3QZS13HQ==", + "requires": { + "rate-limiter-flexible": "2.1.10" + } + }, "nestjs-supabase-auth": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/nestjs-supabase-auth/-/nestjs-supabase-auth-1.0.9.tgz", @@ -22575,7 +22584,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, "requires": { "yocto-queue": "^0.1.0" } @@ -23391,6 +23399,11 @@ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" }, + "rate-limiter-flexible": { + "version": "2.1.10", + "resolved": "https://registry.npmjs.org/rate-limiter-flexible/-/rate-limiter-flexible-2.1.10.tgz", + "integrity": "sha512-Pa+8TPD4xYaiCUB5K4a/+j2FHDUe4HP1g49JmKEmkOkhqPaeVqxJsZuuVaza/svSCOT+V73vtsyBiSFK/e1yXw==" + }, "raw-body": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", @@ -25490,8 +25503,7 @@ "yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" } } } diff --git a/package.json b/package.json old mode 100755 new mode 100644 index 0bcff02b8..427753d29 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@nestjs/swagger": "^7.1.6", "@nestjs/typeorm": "^10.0.0", "@nestjs/websockets": "^10.1.3", - "@prisma/client": "^5.1.1", + "@prisma/client": "^5.21.0", "@sendgrid/mail": "^7.7.0", "@supabase/supabase-js": "^2.32.0", "@types/async-retry": "^1.4.5",