Commit bd00846
authored
Replaced monaco-editor bundled dompurify with 3.2.4 version (#242522)
## Summary
`kbn-ui-shared-deps-src` embeds DOMPurify 3.0.5 instead of 3.2.4 because
Monaco Editor bundles its own DOMPurify 3.0.5. `@kbn/monaco` imports
from `monaco-editor`, which includes a bundled DOMPurify 3.0.5 at
`node_modules/monaco-editor/esm/vs/base/browser/dompurify/dompurify.js`
## How to test
Build and check that we have embedded DOMPurify 3.2.4
```grep -a "@license DOMPurify" kibana/target/build/src/platform/packages/private/kbn-ui-shared-deps-src/shared_built_assets/kbn-ui-shared-deps-src.js```
### Checklist
- [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.1 parent 57a3dc7 commit bd00846
1 file changed
Lines changed: 8 additions & 0 deletions
File tree
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
157 | 165 | | |
158 | 166 | | |
0 commit comments