diff --git a/core/assets/package-lock.json b/core/assets/package-lock.json index 790b88b3e..deded35a6 100644 --- a/core/assets/package-lock.json +++ b/core/assets/package-lock.json @@ -13,7 +13,7 @@ "lodash": "^4.17.21", "pdfjs-dist": "^3.11.174", "stringify": "^5.2.0", - "trix": "^2.1.4" + "trix": "^2.1.9" }, "devDependencies": { "prettier": "2.7.1", @@ -45,6 +45,12 @@ "node-pre-gyp": "bin/node-pre-gyp" } }, + "node_modules/@types/trusted-types": { + "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/abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -266,6 +272,14 @@ "node": ">=8" } }, + "node_modules/dompurify": { + "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/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -912,9 +926,12 @@ "optional": true }, "node_modules/trix": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/trix/-/trix-2.1.4.tgz", - "integrity": "sha512-f0AGnqBV8J2qW+fCtVU71JmvzjcxnO5Xbbd6Cl2KrHVRpgXKDqNGTmDmQzNHWU7T2OgtwHwvNiN+OIf3Z3KmHQ==" + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/trix/-/trix-2.1.9.tgz", + "integrity": "sha512-Hm02gmsFLjQ+gcFNUW0iwGibYpQpklBCnBUj4z5013W+q6eiZPA9d9HmeJK8jd+BMbqMq7OsVEGclrBrbl4MJw==", + "dependencies": { + "dompurify": "^3.2.0" + } }, "node_modules/uglify-js": { "version": "3.0.28", diff --git a/core/assets/package.json b/core/assets/package.json index adf042ee4..6c726c858 100644 --- a/core/assets/package.json +++ b/core/assets/package.json @@ -11,7 +11,7 @@ "lodash": "^4.17.21", "pdfjs-dist": "^3.11.174", "stringify": "^5.2.0", - "trix": "^2.1.4" + "trix": "^2.1.9" }, "devDependencies": { "prettier": "2.7.1",