Update JS dependencies, fix lint (#18389)

- Update all JS dependencies, including a security issue in mermaid
- Fix new linter errors related to value-keyword-case
- Tested Mermaid and Swagger

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
silverwind 2022-02-01 10:21:08 -08:00 committed by GitHub
parent 367894adc8
commit 99e1e30b0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 391 additions and 361 deletions

732
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -10,7 +10,7 @@
"@claviska/jquery-minicolors": "2.3.6", "@claviska/jquery-minicolors": "2.3.6",
"@primer/octicons": "16.2.0", "@primer/octicons": "16.2.0",
"add-asset-webpack-plugin": "2.0.1", "add-asset-webpack-plugin": "2.0.1",
"codemirror": "5.65.0", "codemirror": "5.65.1",
"css-loader": "6.5.1", "css-loader": "6.5.1",
"dropzone": "6.0.0-beta.2", "dropzone": "6.0.0-beta.2",
"easymde": "2.16.1", "easymde": "2.16.1",
@ -23,13 +23,13 @@
"less": "4.1.2", "less": "4.1.2",
"less-loader": "10.2.0", "less-loader": "10.2.0",
"license-checker-webpack-plugin": "0.2.1", "license-checker-webpack-plugin": "0.2.1",
"mermaid": "8.13.9", "mermaid": "8.13.10",
"mini-css-extract-plugin": "2.5.2", "mini-css-extract-plugin": "2.5.2",
"monaco-editor": "0.31.1", "monaco-editor": "0.31.1",
"monaco-editor-webpack-plugin": "7.0.1", "monaco-editor-webpack-plugin": "7.0.1",
"pretty-ms": "7.0.1", "pretty-ms": "7.0.1",
"sortablejs": "1.14.0", "sortablejs": "1.14.0",
"swagger-ui-dist": "4.1.3", "swagger-ui-dist": "4.2.1",
"tributejs": "5.1.3", "tributejs": "5.1.3",
"uint8-to-base64": "0.2.0", "uint8-to-base64": "0.2.0",
"vue": "2.6.14", "vue": "2.6.14",
@ -37,8 +37,8 @@
"vue-calendar-heatmap": "0.8.4", "vue-calendar-heatmap": "0.8.4",
"vue-loader": "15.9.8", "vue-loader": "15.9.8",
"vue-template-compiler": "2.6.14", "vue-template-compiler": "2.6.14",
"webpack": "5.66.0", "webpack": "5.67.0",
"webpack-cli": "4.9.1", "webpack-cli": "4.9.2",
"workbox-routing": "6.4.2", "workbox-routing": "6.4.2",
"workbox-strategies": "6.4.2", "workbox-strategies": "6.4.2",
"worker-loader": "3.0.8", "worker-loader": "3.0.8",
@ -55,7 +55,7 @@
"jest-extended": "1.2.0", "jest-extended": "1.2.0",
"jest-raw-loader": "1.0.1", "jest-raw-loader": "1.0.1",
"postcss-less": "6.0.0", "postcss-less": "6.0.0",
"stylelint": "14.2.0", "stylelint": "14.3.0",
"stylelint-config-standard": "24.0.0", "stylelint-config-standard": "24.0.0",
"svgo": "2.8.0", "svgo": "2.8.0",
"updates": "13.0.0" "updates": "13.0.0"

View file

@ -3039,7 +3039,7 @@ td.blob-excerpt {
} }
.file-info-entry + .file-info-entry { .file-info-entry + .file-info-entry {
border-left: 1px solid currentColor; border-left: 1px solid currentcolor;
margin-left: 8px; margin-left: 8px;
padding-left: 8px; padding-left: 8px;
} }

View file

@ -1,7 +1,7 @@
.svg { .svg {
display: inline-block; display: inline-block;
vertical-align: text-top; vertical-align: text-top;
fill: currentColor; fill: currentcolor;
.middle & { .middle & {
vertical-align: middle; vertical-align: middle;

View file

@ -17,7 +17,7 @@
} }
text { text {
fill: currentColor !important; fill: currentcolor !important;
} }
.total-contributions { .total-contributions {

View file

@ -26,6 +26,6 @@ body {
.swagger-back-link svg { .swagger-back-link svg {
color: inherit; color: inherit;
fill: currentColor; fill: currentcolor;
margin-right: .5rem; margin-right: .5rem;
} }