Update js dependencies (#25137)

- Update all JS dependencies
- Tweak eslint for more generic globs
- Tested mermaid, pdf, monaco

Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
silverwind 2023-06-08 12:54:31 +02:00 committed by GitHub
parent 0d47b0ab1d
commit 263ed09bbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 281 additions and 259 deletions

View file

@ -29,11 +29,11 @@ globals:
__webpack_public_path__: true __webpack_public_path__: true
overrides: overrides:
- files: ["web_src/**/*.js", "docs/**/*.js"] - files: ["web_src/**/*", "docs/**/*"]
env: env:
browser: true browser: true
node: false node: false
- files: ["web_src/**/*worker.js"] - files: ["web_src/**/*worker.*"]
env: env:
worker: true worker: true
rules: rules:
@ -42,7 +42,7 @@ overrides:
rules: rules:
import/no-unresolved: [0] import/no-unresolved: [0]
import/no-extraneous-dependencies: [0] import/no-extraneous-dependencies: [0]
- files: ["*.config.js"] - files: ["*.config.*"]
rules: rules:
import/no-unused-modules: [0] import/no-unused-modules: [0]

516
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -32,12 +32,12 @@
"jquery.are-you-sure": "1.9.0", "jquery.are-you-sure": "1.9.0",
"katex": "0.16.7", "katex": "0.16.7",
"license-checker-webpack-plugin": "0.2.1", "license-checker-webpack-plugin": "0.2.1",
"mermaid": "10.2.0", "mermaid": "10.2.2",
"mini-css-extract-plugin": "2.7.6", "mini-css-extract-plugin": "2.7.6",
"minimatch": "9.0.1", "minimatch": "9.0.1",
"monaco-editor": "0.38.0", "monaco-editor": "0.39.0",
"monaco-editor-webpack-plugin": "7.0.1", "monaco-editor-webpack-plugin": "7.0.1",
"pdfobject": "2.2.11", "pdfobject": "2.2.12",
"pretty-ms": "8.0.0", "pretty-ms": "8.0.0",
"sortablejs": "1.15.0", "sortablejs": "1.15.0",
"swagger-ui-dist": "4.19.0", "swagger-ui-dist": "4.19.0",
@ -47,10 +47,10 @@
"uint8-to-base64": "0.2.0", "uint8-to-base64": "0.2.0",
"vue": "3.3.4", "vue": "3.3.4",
"vue-bar-graph": "2.0.0", "vue-bar-graph": "2.0.0",
"vue-loader": "17.1.1", "vue-loader": "17.2.2",
"vue3-calendar-heatmap": "2.0.5", "vue3-calendar-heatmap": "2.0.5",
"webpack": "5.84.1", "webpack": "5.86.0",
"webpack-cli": "5.1.1", "webpack-cli": "5.1.4",
"wrap-ansi": "8.1.0" "wrap-ansi": "8.1.0"
}, },
"devDependencies": { "devDependencies": {
@ -59,7 +59,7 @@
"@rollup/pluginutils": "5.0.2", "@rollup/pluginutils": "5.0.2",
"@stoplight/spectral-cli": "6.8.0", "@stoplight/spectral-cli": "6.8.0",
"@vitejs/plugin-vue": "4.2.3", "@vitejs/plugin-vue": "4.2.3",
"eslint": "8.41.0", "eslint": "8.42.0",
"eslint-plugin-array-func": "3.1.8", "eslint-plugin-array-func": "3.1.8",
"eslint-plugin-custom-elements": "0.0.8", "eslint-plugin-custom-elements": "0.0.8",
"eslint-plugin-import": "2.27.5", "eslint-plugin-import": "2.27.5",
@ -74,11 +74,11 @@
"jsdom": "22.1.0", "jsdom": "22.1.0",
"markdownlint-cli": "0.34.0", "markdownlint-cli": "0.34.0",
"postcss-html": "1.5.0", "postcss-html": "1.5.0",
"stylelint": "15.6.2", "stylelint": "15.7.0",
"stylelint-declaration-strict-value": "1.9.2", "stylelint-declaration-strict-value": "1.9.2",
"svgo": "3.0.2", "svgo": "3.0.2",
"updates": "14.1.1", "updates": "14.1.1",
"vitest": "0.31.1" "vitest": "0.32.0"
}, },
"browserslist": [ "browserslist": [
"defaults", "defaults",