summaryrefslogtreecommitdiffstats
path: root/package-lock.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-02-16 04:28:29 +0100
committerGitHub <noreply@github.com>2022-02-16 11:28:29 +0800
commit616146f90400bcf80671410c04926d9dc1f11257 (patch)
tree4f6e4d932cfc802ab088a075a967ad7d71c0819a /package-lock.json
parent1eb6bb9028afb6de155b80a43c8438d843bbe826 (diff)
downloadgitea-616146f90400bcf80671410c04926d9dc1f11257.tar.gz
gitea-616146f90400bcf80671410c04926d9dc1f11257.zip
Various Mermaid improvements (#18776)
* Various Mermaid improvments - Render into iframe for improved security - Use built-in dark theme instead of color inversion - Remove flexbox attributes, resulting in more consistent size rendering - Update API usage and update to latest version * restart ci * misc tweaks * remove unneccesary declaration * make it work without allow-same-origin, add loading=lazy * remove loading attribute, does not seem to work * rename variable * skip roundtrip to DOM for rendering * don't guess chart height * update comment to make it clear it's intentional * tweak * replace deprecated 'scrolling' property * remove unused css file Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'package-lock.json')
-rw-r--r--package-lock.json30
1 files changed, 15 insertions, 15 deletions
diff --git a/package-lock.json b/package-lock.json
index e14de9b68d..0f4500e23b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -23,7 +23,7 @@
"less": "4.1.2",
"less-loader": "10.2.0",
"license-checker-webpack-plugin": "0.2.1",
- "mermaid": "8.13.10",
+ "mermaid": "8.14.0",
"mini-css-extract-plugin": "2.5.3",
"monaco-editor": "0.32.1",
"monaco-editor-webpack-plugin": "7.0.1",
@@ -3466,9 +3466,9 @@
}
},
"node_modules/dompurify": {
- "version": "2.3.4",
- "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.4.tgz",
- "integrity": "sha512-6BVcgOAVFXjI0JTjEvZy901Rghm+7fDQOrNIcxB4+gdhj6Kwp6T9VBhBY/AbagKHJocRkDYGd6wvI+p4/10xtQ=="
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.5.tgz",
+ "integrity": "sha512-kD+f8qEaa42+mjdOpKeztu9Mfx5bv9gVLO6K9jRx4uGvh6Wv06Srn4jr1wPNY2OOUGGSKHNFN+A8MA3v0E0QAQ=="
},
"node_modules/domutils": {
"version": "2.8.0",
@@ -6751,15 +6751,15 @@
}
},
"node_modules/mermaid": {
- "version": "8.13.10",
- "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.13.10.tgz",
- "integrity": "sha512-2ANep359uML87+wiYaWSu83eg9Qc0xCLnNJdCh100m4v0orS3fp8SScsZLcDSElRGHi+1zuVJsEEVEWH05+COQ==",
+ "version": "8.14.0",
+ "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.14.0.tgz",
+ "integrity": "sha512-ITSHjwVaby1Li738sxhF48sLTxcNyUAoWfoqyztL1f7J6JOLpHOuQPNLBb6lxGPUA0u7xP9IRULgvod0dKu35A==",
"dependencies": {
"@braintree/sanitize-url": "^3.1.0",
"d3": "^7.0.0",
"dagre": "^0.8.5",
"dagre-d3": "^0.6.4",
- "dompurify": "2.3.4",
+ "dompurify": "2.3.5",
"graphlib": "^2.1.8",
"khroma": "^1.4.1",
"moment-mini": "^2.24.0",
@@ -12526,9 +12526,9 @@
}
},
"dompurify": {
- "version": "2.3.4",
- "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.4.tgz",
- "integrity": "sha512-6BVcgOAVFXjI0JTjEvZy901Rghm+7fDQOrNIcxB4+gdhj6Kwp6T9VBhBY/AbagKHJocRkDYGd6wvI+p4/10xtQ=="
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.5.tgz",
+ "integrity": "sha512-kD+f8qEaa42+mjdOpKeztu9Mfx5bv9gVLO6K9jRx4uGvh6Wv06Srn4jr1wPNY2OOUGGSKHNFN+A8MA3v0E0QAQ=="
},
"domutils": {
"version": "2.8.0",
@@ -14898,15 +14898,15 @@
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="
},
"mermaid": {
- "version": "8.13.10",
- "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.13.10.tgz",
- "integrity": "sha512-2ANep359uML87+wiYaWSu83eg9Qc0xCLnNJdCh100m4v0orS3fp8SScsZLcDSElRGHi+1zuVJsEEVEWH05+COQ==",
+ "version": "8.14.0",
+ "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.14.0.tgz",
+ "integrity": "sha512-ITSHjwVaby1Li738sxhF48sLTxcNyUAoWfoqyztL1f7J6JOLpHOuQPNLBb6lxGPUA0u7xP9IRULgvod0dKu35A==",
"requires": {
"@braintree/sanitize-url": "^3.1.0",
"d3": "^7.0.0",
"dagre": "^0.8.5",
"dagre-d3": "^0.6.4",
- "dompurify": "2.3.4",
+ "dompurify": "2.3.5",
"graphlib": "^2.1.8",
"khroma": "^1.4.1",
"moment-mini": "^2.24.0",