From 35aa86bbff80e164b2aeb0e9c6ad07e946989e71 Mon Sep 17 00:00:00 2001 From: Isomer Admin <60170571+isomeradmin@users.noreply.github.com> Date: Tue, 14 May 2024 10:46:51 +0800 Subject: [PATCH] deps: upgrade dompurify and @types/dompurify (#1299) Co-authored-by: dcshzj <27919917+dcshzj@users.noreply.github.com> --- package-lock.json | 11 ++++++----- package.json | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1c296e330..cca0c8d09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,6 @@ "@octokit/rest": "^18.12.0", "@opengovsg/formsg-sdk": "^0.11.0", "@opengovsg/sgid-client": "^2.0.0", - "@types/dompurify": "^3.0.5", "auto-bind": "^4.0.0", "aws-lambda": "^1.0.7", "aws-sdk": "^2.1619.0", @@ -39,7 +38,7 @@ "crypto-js": "^4.2.0", "dd-trace": "5.9.0", "debug": "~2.6.9", - "dompurify": "^3.0.9", + "dompurify": "^3.1.3", "dotenv": "^16.4.5", "eventsource": "^2.0.2", "exponential-backoff": "^3.1.0", @@ -100,6 +99,7 @@ "@types/convict": "^6.1.1", "@types/cookie-parser": "^1.4.3", "@types/cors": "^2.8.17", + "@types/dompurify": "^3.0.5", "@types/express": "^4.17.13", "@types/express-session": "^1.17.5", "@types/jest": "^27.4.1", @@ -4809,6 +4809,7 @@ "version": "3.0.5", "resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-3.0.5.tgz", "integrity": "sha512-1Wg0g3BtQF7sSb27fJQAKck1HECM6zV1EB66j8JH9i3LCjYabJa0FSdiSgsD5K/RbrsR0SiraKacLB+T8ZVYAg==", + "dev": true, "dependencies": { "@types/trusted-types": "*" } @@ -8460,9 +8461,9 @@ } }, "node_modules/dompurify": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.0.9.tgz", - "integrity": "sha512-uyb4NDIvQ3hRn6NiC+SIFaP4mJ/MdXlvtunaqK9Bn6dD3RuB/1S/gasEjDHD8eiaqdSael2vBv+hOs7Y+jhYOQ==" + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.3.tgz", + "integrity": "sha512-5sOWYSNPaxz6o2MUPvtyxTTqR4D3L77pr5rUQoWgD5ROQtVIZQgJkXbo1DLlK3vj11YGw5+LnF4SYti4gZmwng==" }, "node_modules/dotenv": { "version": "16.4.5", diff --git a/package.json b/package.json index 37e32c00b..2e122f51d 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,6 @@ "@octokit/rest": "^18.12.0", "@opengovsg/formsg-sdk": "^0.11.0", "@opengovsg/sgid-client": "^2.0.0", - "@types/dompurify": "^3.0.5", "auto-bind": "^4.0.0", "aws-lambda": "^1.0.7", "aws-sdk": "^2.1619.0", @@ -60,7 +59,7 @@ "crypto-js": "^4.2.0", "dd-trace": "5.9.0", "debug": "~2.6.9", - "dompurify": "^3.0.9", + "dompurify": "^3.1.3", "dotenv": "^16.4.5", "eventsource": "^2.0.2", "exponential-backoff": "^3.1.0", @@ -121,6 +120,7 @@ "@types/convict": "^6.1.1", "@types/cookie-parser": "^1.4.3", "@types/cors": "^2.8.17", + "@types/dompurify": "^3.0.5", "@types/express": "^4.17.13", "@types/express-session": "^1.17.5", "@types/jest": "^27.4.1",