From bcb33cce888b9eae1d9521af439e5adc68809304 Mon Sep 17 00:00:00 2001 From: Pierre <63404022+0-Pierre@users.noreply.github.com> Date: Wed, 2 Apr 2025 18:58:40 +0200 Subject: [PATCH] fix: include missing dompurify dependency in package.json and pnpm-lock.yaml --- package.json | 3 +-- pnpm-lock.yaml | 17 +++++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index e29883958..0a660d86b 100644 --- a/package.json +++ b/package.json @@ -128,6 +128,7 @@ "@types/cookie-parser": "1.4.3", "@types/country-flag-icons": "1.2.0", "@types/csurf": "1.11.2", + "@types/dompurify": "^3.2.0", "@types/email-templates": "8.0.4", "@types/express": "4.17.17", "@types/express-session": "1.17.6", @@ -156,7 +157,6 @@ "cy-mobile-commands": "0.3.0", "cypress": "14.1.0", "cz-conventional-changelog": "3.3.0", - "dompurify": "^3.2.4", "eslint": "8.35.0", "eslint-config-next": "^14.2.4", "eslint-config-prettier": "8.6.0", @@ -167,7 +167,6 @@ "eslint-plugin-react": "7.32.2", "eslint-plugin-react-hooks": "4.6.0", "husky": "8.0.3", - "jsdom": "^26.0.0", "lint-staged": "13.1.2", "nodemon": "3.1.9", "postcss": "8.4.31", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f4a0096a..075c2763f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -288,6 +288,9 @@ importers: '@types/csurf': specifier: 1.11.2 version: 1.11.2 + '@types/dompurify': + specifier: ^3.2.0 + version: 3.2.0 '@types/email-templates': specifier: 8.0.4 version: 8.0.4(encoding@0.1.13) @@ -372,9 +375,6 @@ importers: cz-conventional-changelog: specifier: 3.3.0 version: 3.3.0(@types/node@22.10.5)(typescript@4.9.5) - dompurify: - specifier: ^3.2.4 - version: 3.2.4 eslint: specifier: 8.35.0 version: 8.35.0 @@ -405,9 +405,6 @@ importers: husky: specifier: 8.0.3 version: 8.0.3 - jsdom: - specifier: ^26.0.0 - version: 26.0.0 lint-staged: specifier: 13.1.2 version: 13.1.2(enquirer@2.4.1) @@ -3207,6 +3204,10 @@ packages: '@types/debug@4.1.12': resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} + '@types/dompurify@3.2.0': + resolution: {integrity: sha512-Fgg31wv9QbLDA0SpTOXO3MaxySc4DKGLi8sna4/Utjo4r3ZRPdCt4UQee8BWr+Q5z21yifghREPJGYaEOEIACg==} + deprecated: This is a stub types definition. dompurify provides its own type definitions, so you do not need this installed. + '@types/email-templates@8.0.4': resolution: {integrity: sha512-HYvVoyG8qS6PrimZZOS4wMrtQ9MelKEl0sOpi4zVpz2Ds74v+UvWckIFz3NyGyTwAR1okMbwJkApgR2GL/ALjg==} @@ -13336,6 +13337,10 @@ snapshots: dependencies: '@types/ms': 0.7.34 + '@types/dompurify@3.2.0': + dependencies: + dompurify: 3.2.4 + '@types/email-templates@8.0.4(encoding@0.1.13)': dependencies: '@types/html-to-text': 9.0.4