stable

Clone or download

Read-only

chore: request #40478 Introduce internal vue2-dompurify-html lib

This is a limited version of vue-dompurify-html without a compat layer to support both Vue 2 and 3 to be able to continue support as needed. On purpose, only the types of the latest version of Vue 2 are exposed which can cause some type mismatch with older Vue versions. The type of Vue 2.7.16 are closer to the ones available in Vue 3 so it is one more reason to migration :) No functional changes. Change-Id: Id76578188940d9afb49f2be0b699b35a2d217a20

Modified Files

Name
M .eslintrc.js +2 −1 Go to diff View file
A lib/frontend/vue2-dompurify-html/.gitignore +1 −0 Go to diff View file
A lib/frontend/vue2-dompurify-html/README.md +31 −0 Go to diff View file
A lib/frontend/vue2-dompurify-html/package.json +30 −0 Go to diff View file
A lib/frontend/vue2-dompurify-html/pnpm-lock.yaml +117 −0 Go to diff View file
A lib/frontend/vue2-dompurify-html/src/dompurify-html.ts +57 −0 Go to diff View file
A lib/frontend/vue2-dompurify-html/src/index.ts +11 −0 Go to diff View file
A lib/frontend/vue2-dompurify-html/tsconfig.json +7 −0 Go to diff View file
A lib/frontend/vue2-dompurify-html/vite.config.ts +40 −0 Go to diff View file
M plugins/baseline/package.json +1 −1 Go to diff View file
M plugins/baseline/pnpm-lock.yaml +3 −34 Go to diff View file
M plugins/baseline/scripts/baseline/src/index.js +1 −1 Go to diff View file
M plugins/baseline/scripts/baseline/src/support/local-vue.ts +2 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/package.json +1 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/pnpm-lock.yaml +25 −60 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/local-vue-for-test.ts +2 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/index.ts +2 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/package.json +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/pnpm-lock.yaml +3 −30 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/local-vue-for-test.ts +2 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/index.ts +2 −1 Go to diff View file