build(deps): bump up dependencies to fix CVEs (#408)

This commit is contained in:
Fine0830 2024-08-26 12:13:03 +08:00 committed by GitHub
parent ddcc49cb42
commit a5073dd3d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 974 additions and 2423 deletions

View File

@ -17,35 +17,10 @@
module.exports = { module.exports = {
ignores: [(commit) => commit.includes("init")], ignores: [(commit) => commit.includes("init")],
extends: ["@commitlint/config-conventional"],
rules: { rules: {
"body-leading-blank": [2, "always"], "body-leading-blank": [2, "always"],
"footer-leading-blank": [1, "always"], "footer-leading-blank": [1, "always"],
"header-max-length": [2, "always", 108], "header-max-length": [2, "always", 108],
"subject-empty": [2, "never"],
"type-empty": [2, "never"],
"subject-case": [0], "subject-case": [0],
"type-enum": [
2,
"always",
[
"feat",
"fix",
"perf",
"style",
"docs",
"test",
"refactor",
"build",
"ci",
"chore",
"revert",
"wip",
"workflow",
"types",
"release",
"merge",
],
],
}, },
}; };

3281
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -72,13 +72,13 @@
"stylelint-config-standard": "^33.0.0", "stylelint-config-standard": "^33.0.0",
"stylelint-order": "^6.0.3", "stylelint-order": "^6.0.3",
"typescript": "~4.7.4", "typescript": "~4.7.4",
"unplugin-auto-import": "^0.7.0", "unplugin-auto-import": "^0.18.2",
"unplugin-vue-components": "^0.19.2", "unplugin-vue-components": "^0.27.3",
"vite": "^4.5.3", "vite": "^4.5.3",
"vite-plugin-monaco-editor": "^1.1.0", "vite-plugin-monaco-editor": "^1.1.0",
"vite-plugin-svg-icons": "^2.0.1", "vite-plugin-svg-icons": "^2.0.1",
"vitest": "^0.25.6", "vitest": "^0.25.6",
"vue-tsc": "^1.0.12" "vue-tsc": "^1.8.27"
}, },
"browserslist": [ "browserslist": [
"> 1%", "> 1%",
@ -98,10 +98,7 @@
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [ "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
"prettier --write" "prettier --write"
], ],
"package.json": [ "package.json, *.md": [
"prettier --write"
],
"*.md": [
"prettier --write" "prettier --write"
] ]
} }

View File

@ -1,52 +1,9 @@
// Generated by 'unplugin-auto-import' /* eslint-disable */
// We suggest you to commit this file into source control /* prettier-ignore */
declare global { // @ts-nocheck
const computed: typeof import('vue')['computed'] // noinspection JSUnusedGlobalSymbols
const createApp: typeof import('vue')['createApp'] // Generated by unplugin-auto-import
const customRef: typeof import('vue')['customRef']
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
const defineComponent: typeof import('vue')['defineComponent']
const effectScope: typeof import('vue')['effectScope']
const EffectScope: typeof import('vue')['EffectScope']
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
const getCurrentScope: typeof import('vue')['getCurrentScope']
const h: typeof import('vue')['h']
const inject: typeof import('vue')['inject']
const isReadonly: typeof import('vue')['isReadonly']
const isRef: typeof import('vue')['isRef']
const markRaw: typeof import('vue')['markRaw']
const nextTick: typeof import('vue')['nextTick']
const onActivated: typeof import('vue')['onActivated']
const onBeforeMount: typeof import('vue')['onBeforeMount']
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
const onDeactivated: typeof import('vue')['onDeactivated']
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
const onMounted: typeof import('vue')['onMounted']
const onRenderTracked: typeof import('vue')['onRenderTracked']
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
const onScopeDispose: typeof import('vue')['onScopeDispose']
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
const onUnmounted: typeof import('vue')['onUnmounted']
const onUpdated: typeof import('vue')['onUpdated']
const provide: typeof import('vue')['provide']
const reactive: typeof import('vue')['reactive']
const readonly: typeof import('vue')['readonly']
const ref: typeof import('vue')['ref']
const resolveComponent: typeof import('vue')['resolveComponent']
const shallowReactive: typeof import('vue')['shallowReactive']
const shallowReadonly: typeof import('vue')['shallowReadonly']
const shallowRef: typeof import('vue')['shallowRef']
const toRaw: typeof import('vue')['toRaw']
const toRef: typeof import('vue')['toRef']
const toRefs: typeof import('vue')['toRefs']
const triggerRef: typeof import('vue')['triggerRef']
const unref: typeof import('vue')['unref']
const useAttrs: typeof import('vue')['useAttrs']
const useCssModule: typeof import('vue')['useCssModule']
const useCssVars: typeof import('vue')['useCssVars']
const useSlots: typeof import('vue')['useSlots']
const watch: typeof import('vue')['watch']
const watchEffect: typeof import('vue')['watchEffect']
}
export {} export {}
declare global {
}

View File

@ -1,9 +1,11 @@
// generated by unplugin-vue-components /* eslint-disable */
// We suggest you to commit this file into source control // @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399 // Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core' export {}
declare module '@vue/runtime-core' { /* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
DateCalendar: typeof import('./../components/DateCalendar.vue')['default'] DateCalendar: typeof import('./../components/DateCalendar.vue')['default']
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb'] ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
@ -42,7 +44,6 @@ declare module '@vue/runtime-core' {
ElTooltip: typeof import('element-plus/es')['ElTooltip'] ElTooltip: typeof import('element-plus/es')['ElTooltip']
Graph: typeof import('./../components/Graph.vue')['default'] Graph: typeof import('./../components/Graph.vue')['default']
Icon: typeof import('./../components/Icon.vue')['default'] Icon: typeof import('./../components/Icon.vue')['default']
Loading: typeof import('element-plus/es')['ElLoadingDirective']
Radio: typeof import('./../components/Radio.vue')['default'] Radio: typeof import('./../components/Radio.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink'] RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView'] RouterView: typeof import('vue-router')['RouterView']
@ -51,6 +52,7 @@ declare module '@vue/runtime-core' {
Tags: typeof import('./../components/Tags.vue')['default'] Tags: typeof import('./../components/Tags.vue')['default']
TimePicker: typeof import('./../components/TimePicker.vue')['default'] TimePicker: typeof import('./../components/TimePicker.vue')['default']
} }
export interface ComponentCustomProperties {
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
}
} }
export {}

View File

@ -37,7 +37,6 @@ export default ({ mode }: ConfigEnv): UserConfig => {
vueJsx(), vueJsx(),
monacoEditorPlugin({}), monacoEditorPlugin({}),
AutoImport({ AutoImport({
imports: ["vue"],
resolvers: [ElementPlusResolver()], resolvers: [ElementPlusResolver()],
dts: path.resolve(__dirname, "./src/types/auto-imports.d.ts"), dts: path.resolve(__dirname, "./src/types/auto-imports.d.ts"),
}), }),