diff --git a/frontend/package-lock.json b/frontend/package-lock.json index df2daa9e3..e2bcac360 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -14,7 +14,7 @@ "@reduxjs/toolkit": "^1.6.0", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.0.0", - "@types/dompurify": "^2.2.1", + "@types/dompurify": "^3.2.0", "@types/node": "^14.17.4", "@types/pubsub-js": "^1.8.2", "@types/react": "^17.0.13", @@ -24,7 +24,7 @@ "@types/semver": "^7.3.6", "@types/yup": "^0.29.12", "cross-env": "^7.0.3", - "dompurify": "^2.2.9", + "dompurify": "^3.2.3", "downshift": "^6.1.3", "formik": "^2.2.9", "formik-material-ui": "^3.0.1", @@ -10805,11 +10805,12 @@ "integrity": "sha512-HNB/9GHqu7Fo8AQiugyJbv6ZxYz58wef0esl4Mv828w1ZKpAshw/uFWVDUcIB9KKFeFKoxS3cHY07FFgtTRZ1g==" }, "node_modules/@types/dompurify": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-2.2.2.tgz", - "integrity": "sha512-8nNWfAa8/oZjH3OLY5Wsxu9ueo0NwVUotIi353g0P2+N5BuTLJyAVOnF4xBUY0NyFUGJHY05o1pO2bqLto+lmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-3.2.0.tgz", + "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.", "dependencies": { - "@types/trusted-types": "*" + "dompurify": "*" } }, "node_modules/@types/eslint": { @@ -11160,9 +11161,10 @@ } }, "node_modules/@types/trusted-types": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.0.tgz", - "integrity": "sha512-I8MnZqNXsOLHsU111oHbn3khtvKMi5Bn4qVFsIWSJcCP1KKDiXX5AEw8UPk0nSopeC+Hvxt6yAy1/a5PailFqg==" + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "optional": true }, "node_modules/@types/uglify-js": { "version": "3.13.0", @@ -16759,9 +16761,12 @@ ] }, "node_modules/dompurify": { - "version": "2.2.9", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.2.9.tgz", - "integrity": "sha512-+9MqacuigMIZ+1+EwoEltogyWGFTJZWU3258Rupxs+2CGs4H914G9er6pZbsme/bvb5L67o2rade9n21e4RW/w==" + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.3.tgz", + "integrity": "sha512-U1U5Hzc2MO0oW3DF+G9qYN0aT7atAou4AgI0XjWz061nyBPbdxkfdhfy5uMgGn6+oLFCfn44ZGbdDqCzVmlOWA==", + "optionalDependencies": { + "@types/trusted-types": "^2.0.7" + } }, "node_modules/domutils": { "version": "1.7.0", @@ -43596,11 +43601,11 @@ "integrity": "sha512-HNB/9GHqu7Fo8AQiugyJbv6ZxYz58wef0esl4Mv828w1ZKpAshw/uFWVDUcIB9KKFeFKoxS3cHY07FFgtTRZ1g==" }, "@types/dompurify": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-2.2.2.tgz", - "integrity": "sha512-8nNWfAa8/oZjH3OLY5Wsxu9ueo0NwVUotIi353g0P2+N5BuTLJyAVOnF4xBUY0NyFUGJHY05o1pO2bqLto+lmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-3.2.0.tgz", + "integrity": "sha512-Fgg31wv9QbLDA0SpTOXO3MaxySc4DKGLi8sna4/Utjo4r3ZRPdCt4UQee8BWr+Q5z21yifghREPJGYaEOEIACg==", "requires": { - "@types/trusted-types": "*" + "dompurify": "*" } }, "@types/eslint": { @@ -43953,9 +43958,10 @@ } }, "@types/trusted-types": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.0.tgz", - "integrity": "sha512-I8MnZqNXsOLHsU111oHbn3khtvKMi5Bn4qVFsIWSJcCP1KKDiXX5AEw8UPk0nSopeC+Hvxt6yAy1/a5PailFqg==" + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "optional": true }, "@types/uglify-js": { "version": "3.13.0", @@ -48315,9 +48321,12 @@ } }, "dompurify": { - "version": "2.2.9", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.2.9.tgz", - "integrity": "sha512-+9MqacuigMIZ+1+EwoEltogyWGFTJZWU3258Rupxs+2CGs4H914G9er6pZbsme/bvb5L67o2rade9n21e4RW/w==" + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.3.tgz", + "integrity": "sha512-U1U5Hzc2MO0oW3DF+G9qYN0aT7atAou4AgI0XjWz061nyBPbdxkfdhfy5uMgGn6+oLFCfn44ZGbdDqCzVmlOWA==", + "requires": { + "@types/trusted-types": "^2.0.7" + } }, "domutils": { "version": "1.7.0", diff --git a/frontend/package.json b/frontend/package.json index 3eb618f31..0397ee24d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -15,7 +15,7 @@ "@reduxjs/toolkit": "^1.6.0", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.0.0", - "@types/dompurify": "^2.2.1", + "@types/dompurify": "^3.2.0", "@types/node": "^14.17.4", "@types/pubsub-js": "^1.8.2", "@types/react": "^17.0.13", @@ -25,7 +25,7 @@ "@types/semver": "^7.3.6", "@types/yup": "^0.29.12", "cross-env": "^7.0.3", - "dompurify": "^2.2.9", + "dompurify": "^3.2.3", "downshift": "^6.1.3", "formik": "^2.2.9", "formik-material-ui": "^3.0.1",