From d08312817a582d6aa0e20a56e8bded67c05ca708 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 17 Mar 2025 05:17:35 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-PRISMJS-9055448 --- package-lock.json | 11 ++++++----- package.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index ae403ebf..048ed25f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,7 +66,7 @@ "isomorphic-dompurify": "^2.16.0", "lowlight": "^3.1.0", "lucide-react": "^0.451.0", - "nanoid": "^5.0.9", + "nanoid": "^5.0.7", "next": "^14.2.21", "next-auth": "^4.24.9", "next-safe-action": "^7.9.4", @@ -75,7 +75,7 @@ "pg": "^8.12.0", "postgres": "^3.4.4", "posthog-js": "^1.180.0", - "prismjs": "^1.29.0", + "prismjs": "^1.30.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-highlight-words": "^0.20.0", @@ -16834,9 +16834,10 @@ "integrity": "sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==" }, "node_modules/prismjs": { - "version": "1.29.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", - "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==", + "version": "1.30.0", + "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz", + "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==", + "license": "MIT", "engines": { "node": ">=6" } diff --git a/package.json b/package.json index 326d7747..46234385 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "pg": "^8.12.0", "postgres": "^3.4.4", "posthog-js": "^1.180.0", - "prismjs": "^1.29.0", + "prismjs": "^1.30.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-highlight-words": "^0.20.0",