diff --git a/login-workflow/package.json b/login-workflow/package.json index f55843f9..95e16b52 100644 --- a/login-workflow/package.json +++ b/login-workflow/package.json @@ -28,7 +28,7 @@ "dependencies": { "@okta/okta-auth-js": "^7.7.0", "@okta/okta-react": "^6.9.0", - "dompurify": "^3.1.7", + "dompurify": "^2.2.9", "i18next-browser-languagedetector": "^8.0.0" }, "peerDependencies": { @@ -86,7 +86,7 @@ "@testing-library/react": "^13.3.0", "@testing-library/user-event": "^14.4.3", "@types/color": "^3.0.1", - "@types/dompurify": "^3.0.5", + "@types/dompurify": "^2.2.2", "@types/jest": "^27.4.1", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", diff --git a/login-workflow/yarn.lock b/login-workflow/yarn.lock index 276539e1..42bbc6dc 100644 --- a/login-workflow/yarn.lock +++ b/login-workflow/yarn.lock @@ -2066,12 +2066,12 @@ dependencies: "@types/color-convert" "*" -"@types/dompurify@^3.0.5": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@types/dompurify/-/dompurify-3.2.0.tgz#56610bf3e4250df57744d61fbd95422e07dfb840" - integrity sha512-Fgg31wv9QbLDA0SpTOXO3MaxySc4DKGLi8sna4/Utjo4r3ZRPdCt4UQee8BWr+Q5z21yifghREPJGYaEOEIACg== +"@types/dompurify@^2.2.2": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@types/dompurify/-/dompurify-2.4.0.tgz#fd9706392a88e0e0e6d367f3588482d817df0ab9" + integrity sha512-IDBwO5IZhrKvHFUl+clZxgf3hn2b/lU6H1KaBShPkQyGJUQ0xwebezIPSuiyGwfz1UzJWQl4M7BDxtHtCCPlTg== dependencies: - dompurify "*" + "@types/trusted-types" "*" "@types/graceful-fs@^4.1.3": version "4.1.9" @@ -2217,7 +2217,7 @@ resolved "https://registry.yarnpkg.com/@types/triple-beam/-/triple-beam-1.3.5.tgz#74fef9ffbaa198eb8b588be029f38b00299caa2c" integrity sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw== -"@types/trusted-types@^2.0.7": +"@types/trusted-types@*": version "2.0.7" resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.7.tgz#baccb07a970b91707df3a3e8ba6896c57ead2d11" integrity sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw== @@ -3915,12 +3915,10 @@ domexception@^4.0.0: dependencies: webidl-conversions "^7.0.0" -dompurify@*, dompurify@^3.1.7: - version "3.2.1" - resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.2.1.tgz#d480972aeb1a59eb8ac47cba95558fbd72a0127b" - integrity sha512-NBHEsc0/kzRYQd+AY6HR6B/IgsqzBABrqJbpCDQII/OK6h7B7LXzweZTDsqSW2LkTRpoxf18YUP+YjGySk6B3w== - optionalDependencies: - "@types/trusted-types" "^2.0.7" +dompurify@^2.2.9: + version "2.5.7" + resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-2.5.7.tgz#6e0d36b9177db5a99f18ade1f28579db5ab839d7" + integrity sha512-2q4bEI+coQM8f5ez7kt2xclg1XsecaV9ASJk/54vwlfRRNQfDqJz2pzQ8t0Ix/ToBpXlVjrRIx7pFC/o8itG2Q== dot-prop@^5.2.0: version "5.3.0"