diff --git a/.eslintrc.js b/.eslintrc.js index 14703401..d2c7e0f6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,8 +19,8 @@ module.exports = { ], rules: { 'no-unused-vars': 'off', - 'import/extensions': ['error', 'never'], - 'import/no-extraneous-dependencies': [2, { devDependencies: true }], + 'import/extensions': 'off', + 'import/no-extraneous-dependencies': 'off', 'import/no-unresolved': 0, 'no-shadow': 0, 'import/prefer-default-export': 0, diff --git a/package.json b/package.json index 25d5fd11..04d7b84e 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "*.{vue,js,jsx,ts,tsx}": "eslint --fix" }, "dependencies": { - "@vueuse/core": "^5.3.0", + "@vueuse/core": "^6.0.0", "axios": "^0.21.1", "dayjs": "^1.10.6", "element-plus": "^1.0.2-beta.70", @@ -29,14 +29,14 @@ "devDependencies": { "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", - "@iconify/json": "^1.1.387", + "@iconify/json": "^1.1.388", "@types/nprogress": "^0.2.0", "@types/qs": "^6.9.7", "@types/smoothscroll-polyfill": "^0.3.1", - "@typescript-eslint/eslint-plugin": "^4.29.1", - "@typescript-eslint/parser": "^4.29.1", + "@typescript-eslint/eslint-plugin": "^4.29.2", + "@typescript-eslint/parser": "^4.29.2", "@vitejs/plugin-vue": "^1.4.0", - "@vue/compiler-sfc": "^3.2.2", + "@vue/compiler-sfc": "^3.2.3", "@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-typescript": "^7.0.0", "commitizen": "^4.2.4", @@ -54,9 +54,9 @@ "patch-package": "^6.4.7", "postinstall-postinstall": "^2.1.0", "prettier": "^2.3.2", - "sass": "^1.37.5", + "sass": "^1.38.0", "typescript": "^4.3.5", - "vite": "^2.4.4", + "vite": "^2.5.0", "vite-plugin-components": "^0.13.2", "vite-plugin-html": "^2.0.7", "vite-plugin-icons": "^0.6.5", diff --git a/src/App.vue b/src/App.vue index baf104cd..77c543d1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,8 +1,6 @@ diff --git a/src/enum/route.ts b/src/enum/route.ts new file mode 100644 index 00000000..840d0503 --- /dev/null +++ b/src/enum/route.ts @@ -0,0 +1 @@ +export enum EnumRoutes {} diff --git a/src/main.ts b/src/main.ts index c17d1323..fcaed446 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,5 +1,6 @@ import { createApp } from 'vue'; import App from './App.vue'; +import { setupRouter } from './router'; import { setupSmoothScroll, setupElementPlus } from './plugins'; import 'virtual:windi.css'; import './styles/css/global.css'; @@ -7,5 +8,6 @@ import './styles/css/global.css'; const app = createApp(App); setupSmoothScroll(); setupElementPlus(app); +setupRouter(app); app.mount('#app'); diff --git a/src/router/index.ts b/src/router/index.ts index e69de29b..8489c751 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -0,0 +1,18 @@ +import { createRouter, createWebHistory } from 'vue-router'; +import type { App } from 'vue'; +import type { RouteRecordRaw } from 'vue-router'; +import { customRoutes } from './routes'; +import createRouterGuide from './permission'; + +const routes: Array = [...customRoutes]; + +const router = createRouter({ + history: createWebHistory(), + routes +}); + +createRouterGuide(router); + +export function setupRouter(app: App) { + app.use(router); +} diff --git a/src/router/permission.ts b/src/router/permission.ts new file mode 100644 index 00000000..c46b2510 --- /dev/null +++ b/src/router/permission.ts @@ -0,0 +1,16 @@ +import type { Router } from 'vue-router'; +import { NProgress } from '@/plugins'; + +/** + * 路由守卫函数 + * @param router - 路由实例 + */ +export default function createRouterGuide(router: Router) { + router.beforeEach((to, from, next) => { + NProgress.start(); + next(); + }); + router.afterEach(() => { + NProgress.done(); + }); +} diff --git a/src/router/routes.ts b/src/router/routes.ts new file mode 100644 index 00000000..47b93bc3 --- /dev/null +++ b/src/router/routes.ts @@ -0,0 +1,22 @@ +import type { RouteRecordRaw } from 'vue-router'; + +/** + * 自定义路由 + */ +export const customRoutes: Array = [ + { + name: 'root', + path: '/', + redirect: 'home' + }, + { + name: 'home', + path: '/home', + component: () => import('@/views/home/index.vue') + }, + { + name: 'system', + path: '/system', + component: () => import('@/views/system/index.vue') + } +]; diff --git a/src/views/home/index.vue b/src/views/home/index.vue new file mode 100644 index 00000000..ef337e96 --- /dev/null +++ b/src/views/home/index.vue @@ -0,0 +1,6 @@ + + + + diff --git a/src/views/system/index.vue b/src/views/system/index.vue new file mode 100644 index 00000000..b426f528 --- /dev/null +++ b/src/views/system/index.vue @@ -0,0 +1,6 @@ + + + + diff --git a/yarn.lock b/yarn.lock index b849857e..8146dbe0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -281,10 +281,10 @@ resolved "https://registry.npm.taobao.org/@iconify/json-tools/download/@iconify/json-tools-1.0.10.tgz#d9a7050dbbe8bb29d684d4b3f9446ed2d0bea3cc" integrity sha1-2acFDbvouynWhNSz+URu0tC+o8w= -"@iconify/json@^1.1.387": - version "1.1.387" - resolved "https://registry.nlark.com/@iconify/json/download/@iconify/json-1.1.387.tgz#9dcca88573783c8aa25d2186c4f0aff79e8c1005" - integrity sha1-ncyohXN4PIqiXSGGxPCv956MEAU= +"@iconify/json@^1.1.388": + version "1.1.388" + resolved "https://registry.nlark.com/@iconify/json/download/@iconify/json-1.1.388.tgz#d78c2d6d7ab19862da15a2f01c3c150f0a6b4a87" + integrity sha1-14wtbXqxmGLaFaLwHDwVDwprSoc= "@nodelib/fs.scandir@2.1.4": version "2.1.4" @@ -370,73 +370,73 @@ resolved "https://registry.nlark.com/@types/throttle-debounce/download/@types/throttle-debounce-2.1.0.tgz?cache=0&sync_timestamp=1621243798725&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fthrottle-debounce%2Fdownload%2F%40types%2Fthrottle-debounce-2.1.0.tgz#1c3df624bfc4b62f992d3012b84c56d41eab3776" integrity sha1-HD32JL/Eti+ZLTASuExW1B6rN3Y= -"@typescript-eslint/eslint-plugin@^4.29.1": - version "4.29.1" - resolved "https://registry.nlark.com/@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-4.29.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Feslint-plugin%2Fdownload%2F%40typescript-eslint%2Feslint-plugin-4.29.1.tgz#808d206e2278e809292b5de752a91105da85860b" - integrity sha1-gI0gbiJ46AkpK13nUqkRBdqFhgs= +"@typescript-eslint/eslint-plugin@^4.29.2": + version "4.29.2" + resolved "https://registry.nlark.com/@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-4.29.2.tgz?cache=0&sync_timestamp=1629146668258&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Feslint-plugin%2Fdownload%2F%40typescript-eslint%2Feslint-plugin-4.29.2.tgz#f54dc0a32b8f61c6024ab8755da05363b733838d" + integrity sha1-9U3AoyuPYcYCSrh1XaBTY7czg40= dependencies: - "@typescript-eslint/experimental-utils" "4.29.1" - "@typescript-eslint/scope-manager" "4.29.1" + "@typescript-eslint/experimental-utils" "4.29.2" + "@typescript-eslint/scope-manager" "4.29.2" debug "^4.3.1" functional-red-black-tree "^1.0.1" regexpp "^3.1.0" semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@4.29.1": - version "4.29.1" - resolved "https://registry.nlark.com/@typescript-eslint/experimental-utils/download/@typescript-eslint/experimental-utils-4.29.1.tgz?cache=0&sync_timestamp=1628529563546&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Fexperimental-utils%2Fdownload%2F%40typescript-eslint%2Fexperimental-utils-4.29.1.tgz#0af2b17b0296b60c6b207f11062119fa9c5a8994" - integrity sha1-CvKxewKWtgxrIH8RBiEZ+pxaiZQ= +"@typescript-eslint/experimental-utils@4.29.2": + version "4.29.2" + resolved "https://registry.nlark.com/@typescript-eslint/experimental-utils/download/@typescript-eslint/experimental-utils-4.29.2.tgz?cache=0&sync_timestamp=1629146454807&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Fexperimental-utils%2Fdownload%2F%40typescript-eslint%2Fexperimental-utils-4.29.2.tgz#5f67fb5c5757ef2cb3be64817468ba35c9d4e3b7" + integrity sha1-X2f7XFdX7yyzvmSBdGi6NcnU47c= dependencies: "@types/json-schema" "^7.0.7" - "@typescript-eslint/scope-manager" "4.29.1" - "@typescript-eslint/types" "4.29.1" - "@typescript-eslint/typescript-estree" "4.29.1" + "@typescript-eslint/scope-manager" "4.29.2" + "@typescript-eslint/types" "4.29.2" + "@typescript-eslint/typescript-estree" "4.29.2" eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/parser@^4.29.1": - version "4.29.1" - resolved "https://registry.nlark.com/@typescript-eslint/parser/download/@typescript-eslint/parser-4.29.1.tgz#17dfbb45c9032ffa0fe15881d20fbc2a4bdeb02d" - integrity sha1-F9+7RckDL/oP4ViB0g+8KkvesC0= +"@typescript-eslint/parser@^4.29.2": + version "4.29.2" + resolved "https://registry.nlark.com/@typescript-eslint/parser/download/@typescript-eslint/parser-4.29.2.tgz?cache=0&sync_timestamp=1629146445355&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Fparser%2Fdownload%2F%40typescript-eslint%2Fparser-4.29.2.tgz#1c7744f4c27aeb74610c955d3dce9250e95c370a" + integrity sha1-HHdE9MJ663RhDJVdPc6SUOlcNwo= dependencies: - "@typescript-eslint/scope-manager" "4.29.1" - "@typescript-eslint/types" "4.29.1" - "@typescript-eslint/typescript-estree" "4.29.1" + "@typescript-eslint/scope-manager" "4.29.2" + "@typescript-eslint/types" "4.29.2" + "@typescript-eslint/typescript-estree" "4.29.2" debug "^4.3.1" -"@typescript-eslint/scope-manager@4.29.1": - version "4.29.1" - resolved "https://registry.nlark.com/@typescript-eslint/scope-manager/download/@typescript-eslint/scope-manager-4.29.1.tgz?cache=0&sync_timestamp=1628529549324&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Fscope-manager%2Fdownload%2F%40typescript-eslint%2Fscope-manager-4.29.1.tgz#f25da25bc6512812efa2ce5ebd36619d68e61358" - integrity sha1-8l2iW8ZRKBLvos5evTZhnWjmE1g= +"@typescript-eslint/scope-manager@4.29.2": + version "4.29.2" + resolved "https://registry.nlark.com/@typescript-eslint/scope-manager/download/@typescript-eslint/scope-manager-4.29.2.tgz?cache=0&sync_timestamp=1629146455374&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Fscope-manager%2Fdownload%2F%40typescript-eslint%2Fscope-manager-4.29.2.tgz#442b0f029d981fa402942715b1718ac7fcd5aa1b" + integrity sha1-RCsPAp2YH6QClCcVsXGKx/zVqhs= dependencies: - "@typescript-eslint/types" "4.29.1" - "@typescript-eslint/visitor-keys" "4.29.1" + "@typescript-eslint/types" "4.29.2" + "@typescript-eslint/visitor-keys" "4.29.2" -"@typescript-eslint/types@4.29.1": - version "4.29.1" - resolved "https://registry.nlark.com/@typescript-eslint/types/download/@typescript-eslint/types-4.29.1.tgz?cache=0&sync_timestamp=1628529548201&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Ftypes%2Fdownload%2F%40typescript-eslint%2Ftypes-4.29.1.tgz#94cce6cf7cc83451df03339cda99d326be2feaf5" - integrity sha1-lMzmz3zINFHfAzOc2pnTJr4v6vU= +"@typescript-eslint/types@4.29.2": + version "4.29.2" + resolved "https://registry.nlark.com/@typescript-eslint/types/download/@typescript-eslint/types-4.29.2.tgz#fc0489c6b89773f99109fb0aa0aaddff21f52fcd" + integrity sha1-/ASJxriXc/mRCfsKoKrd/yH1L80= -"@typescript-eslint/typescript-estree@4.29.1": - version "4.29.1" - resolved "https://registry.nlark.com/@typescript-eslint/typescript-estree/download/@typescript-eslint/typescript-estree-4.29.1.tgz#7b32a25ff8e51f2671ccc6b26cdbee3b1e6c5e7f" - integrity sha1-ezKiX/jlHyZxzMaybNvuOx5sXn8= +"@typescript-eslint/typescript-estree@4.29.2": + version "4.29.2" + resolved "https://registry.nlark.com/@typescript-eslint/typescript-estree/download/@typescript-eslint/typescript-estree-4.29.2.tgz#a0ea8b98b274adbb2577100ba545ddf8bf7dc219" + integrity sha1-oOqLmLJ0rbsldxALpUXd+L99whk= dependencies: - "@typescript-eslint/types" "4.29.1" - "@typescript-eslint/visitor-keys" "4.29.1" + "@typescript-eslint/types" "4.29.2" + "@typescript-eslint/visitor-keys" "4.29.2" debug "^4.3.1" globby "^11.0.3" is-glob "^4.0.1" semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/visitor-keys@4.29.1": - version "4.29.1" - resolved "https://registry.nlark.com/@typescript-eslint/visitor-keys/download/@typescript-eslint/visitor-keys-4.29.1.tgz?cache=0&sync_timestamp=1628529549137&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Fvisitor-keys%2Fdownload%2F%40typescript-eslint%2Fvisitor-keys-4.29.1.tgz#0615be8b55721f5e854f3ee99f1a714f2d093e5d" - integrity sha1-BhW+i1VyH16FTz7pnxpxTy0JPl0= +"@typescript-eslint/visitor-keys@4.29.2": + version "4.29.2" + resolved "https://registry.nlark.com/@typescript-eslint/visitor-keys/download/@typescript-eslint/visitor-keys-4.29.2.tgz#d2da7341f3519486f50655159f4e5ecdcb2cd1df" + integrity sha1-0tpzQfNRlIb1BlUVn05ezcss0d8= dependencies: - "@typescript-eslint/types" "4.29.1" + "@typescript-eslint/types" "4.29.2" eslint-visitor-keys "^2.0.0" "@vitejs/plugin-vue@^1.4.0": @@ -508,6 +508,17 @@ estree-walker "^2.0.1" source-map "^0.6.1" +"@vue/compiler-core@3.2.3": + version "3.2.3" + resolved "https://registry.nlark.com/@vue/compiler-core/download/@vue/compiler-core-3.2.3.tgz?cache=0&sync_timestamp=1629152880758&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vue%2Fcompiler-core%2Fdownload%2F%40vue%2Fcompiler-core-3.2.3.tgz#96aa6692ad3819127f9f6256757f67f1c400ceb4" + integrity sha1-lqpmkq04GRJ/n2JWdX9n8cQAzrQ= + dependencies: + "@babel/parser" "^7.12.0" + "@babel/types" "^7.12.0" + "@vue/shared" "3.2.3" + estree-walker "^2.0.1" + source-map "^0.6.1" + "@vue/compiler-dom@3.2.2", "@vue/compiler-dom@^3.2.2": version "3.2.2" resolved "https://registry.nlark.com/@vue/compiler-dom/download/@vue/compiler-dom-3.2.2.tgz?cache=0&sync_timestamp=1628696486067&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vue%2Fcompiler-dom%2Fdownload%2F%40vue%2Fcompiler-dom-3.2.2.tgz#26e198498746c53047c3744d26fc95e670692ab7" @@ -516,6 +527,14 @@ "@vue/compiler-core" "3.2.2" "@vue/shared" "3.2.2" +"@vue/compiler-dom@3.2.3": + version "3.2.3" + resolved "https://registry.nlark.com/@vue/compiler-dom/download/@vue/compiler-dom-3.2.3.tgz?cache=0&sync_timestamp=1629152881732&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vue%2Fcompiler-dom%2Fdownload%2F%40vue%2Fcompiler-dom-3.2.3.tgz#2576959b979dd8a765171943cfa5409437eb1e80" + integrity sha1-JXaVm5ed2KdlFxlDz6VAlDfrHoA= + dependencies: + "@vue/compiler-core" "3.2.3" + "@vue/shared" "3.2.3" + "@vue/compiler-sfc@^3.2.2": version "3.2.2" resolved "https://registry.nlark.com/@vue/compiler-sfc/download/@vue/compiler-sfc-3.2.2.tgz#5b7b13b07689be8e4880d856f72d1be500785be9" @@ -539,6 +558,29 @@ postcss-selector-parser "^6.0.4" source-map "^0.6.1" +"@vue/compiler-sfc@^3.2.3": + version "3.2.3" + resolved "https://registry.nlark.com/@vue/compiler-sfc/download/@vue/compiler-sfc-3.2.3.tgz?cache=0&sync_timestamp=1629152902123&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vue%2Fcompiler-sfc%2Fdownload%2F%40vue%2Fcompiler-sfc-3.2.3.tgz#49195959e168cd7fbecb6c46badb5756b8edaf10" + integrity sha1-SRlZWeFozX++y2xGuttXVrjtrxA= + dependencies: + "@babel/parser" "^7.13.9" + "@babel/types" "^7.13.0" + "@types/estree" "^0.0.48" + "@vue/compiler-core" "3.2.3" + "@vue/compiler-dom" "3.2.3" + "@vue/compiler-ssr" "3.2.3" + "@vue/shared" "3.2.3" + consolidate "^0.16.0" + estree-walker "^2.0.1" + hash-sum "^2.0.0" + lru-cache "^5.1.1" + magic-string "^0.25.7" + merge-source-map "^1.1.0" + postcss "^8.1.10" + postcss-modules "^4.0.0" + postcss-selector-parser "^6.0.4" + source-map "^0.6.1" + "@vue/compiler-ssr@3.2.2": version "3.2.2" resolved "https://registry.nlark.com/@vue/compiler-ssr/download/@vue/compiler-ssr-3.2.2.tgz#633bb8e01f00a969c35ca12db32be7fe4c7185a9" @@ -547,6 +589,14 @@ "@vue/compiler-dom" "3.2.2" "@vue/shared" "3.2.2" +"@vue/compiler-ssr@3.2.3": + version "3.2.3" + resolved "https://registry.nlark.com/@vue/compiler-ssr/download/@vue/compiler-ssr-3.2.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vue%2Fcompiler-ssr%2Fdownload%2F%40vue%2Fcompiler-ssr-3.2.3.tgz#75518e43e52c3d50db2e06cbdf37b981d3b4e711" + integrity sha1-dVGOQ+UsPVDbLgbL3ze5gdO05xE= + dependencies: + "@vue/compiler-dom" "3.2.3" + "@vue/shared" "3.2.3" + "@vue/devtools-api@^6.0.0-beta.14", "@vue/devtools-api@^6.0.0-beta.15": version "6.0.0-beta.15" resolved "https://registry.nlark.com/@vue/devtools-api/download/@vue/devtools-api-6.0.0-beta.15.tgz#ad7cb384e062f165bcf9c83732125bffbc2ad83d" @@ -595,18 +645,23 @@ resolved "https://registry.nlark.com/@vue/shared/download/@vue/shared-3.2.2.tgz#6104185ebd57af5a14ac51c1f491b2205fc24054" integrity sha1-YQQYXr1Xr1oUrFHB9JGyIF/CQFQ= -"@vueuse/core@^5.3.0": - version "5.3.0" - resolved "https://registry.nlark.com/@vueuse/core/download/@vueuse/core-5.3.0.tgz#d8c6e939e18089afa224fab6e443fae2bdb57a51" - integrity sha1-2MbpOeGAia+iJPq25EP64r21elE= +"@vue/shared@3.2.3": + version "3.2.3" + resolved "https://registry.nlark.com/@vue/shared/download/@vue/shared-3.2.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vue%2Fshared%2Fdownload%2F%40vue%2Fshared-3.2.3.tgz#89e338a5524450c876d3512b4cc6ba80a4205e2c" + integrity sha1-ieM4pVJEUMh201ErTMa6gKQgXiw= + +"@vueuse/core@^6.0.0": + version "6.0.0" + resolved "https://registry.nlark.com/@vueuse/core/download/@vueuse/core-6.0.0.tgz#ebb6ad380682adc6c7d6c3be4f3e4003543845fd" + integrity sha1-67atOAaCrcbH1sO+Tz5AA1Q4Rf0= dependencies: - "@vueuse/shared" "5.3.0" + "@vueuse/shared" "6.0.0" vue-demi "*" -"@vueuse/shared@5.3.0": - version "5.3.0" - resolved "https://registry.nlark.com/@vueuse/shared/download/@vueuse/shared-5.3.0.tgz#2b9583f80f1284242f808925e7e141310e400e45" - integrity sha1-K5WD+A8ShCQvgIkl5+FBMQ5ADkU= +"@vueuse/shared@6.0.0": + version "6.0.0" + resolved "https://registry.nlark.com/@vueuse/shared/download/@vueuse/shared-6.0.0.tgz#e6b8804541a1853615db3dd869d07653b244451f" + integrity sha1-5riARUGhhTYV2z3YadB2U7JERR8= dependencies: vue-demi "*" @@ -1524,10 +1579,10 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -esbuild@^0.12.8: - version "0.12.15" - resolved "https://registry.nlark.com/esbuild/download/esbuild-0.12.15.tgz?cache=0&sync_timestamp=1625545660518&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fesbuild%2Fdownload%2Fesbuild-0.12.15.tgz#9d99cf39aeb2188265c5983e983e236829f08af0" - integrity sha1-nZnPOa6yGIJlxZg+mD4jaCnwivA= +esbuild@^0.12.17: + version "0.12.20" + resolved "https://registry.nlark.com/esbuild/download/esbuild-0.12.20.tgz?cache=0&sync_timestamp=1628812720534&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fesbuild%2Fdownload%2Fesbuild-0.12.20.tgz#4d3c9d83c99a4031e027b42a4c398c23b6827cb0" + integrity sha1-TTydg8maQDHgJ7QqTDmMI7aCfLA= escalade@^3.1.1: version "3.1.1" @@ -3754,10 +3809,10 @@ safe-buffer@~5.2.0: resolved "https://registry.nlark.com/safer-buffer/download/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo= -sass@^1.37.5: - version "1.37.5" - resolved "https://registry.nlark.com/sass/download/sass-1.37.5.tgz?cache=0&sync_timestamp=1628041580070&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsass%2Fdownload%2Fsass-1.37.5.tgz#f6838351f7cc814c4fcfe1d9a20e0cabbd1e7b3c" - integrity sha1-9oODUffMgUxPz+HZog4Mq70eezw= +sass@^1.38.0: + version "1.38.0" + resolved "https://registry.nlark.com/sass/download/sass-1.38.0.tgz#2f3e60a1efdcdc910586fa79dc89d3399a145b4f" + integrity sha1-Lz5goe/c3JEFhvp53InTOZoUW08= dependencies: chokidar ">=3.0.0 <4.0.0" @@ -4326,12 +4381,12 @@ vite-plugin-windicss@^1.2.7: debug "^4.3.2" windicss "^3.1.6" -vite@^2.4.4: - version "2.4.4" - resolved "https://registry.nlark.com/vite/download/vite-2.4.4.tgz?cache=0&sync_timestamp=1628530655989&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvite%2Fdownload%2Fvite-2.4.4.tgz#8c402a07ad45f168f6eb5428bead38f3e4363e47" - integrity sha1-jEAqB61F8Wj261Qovq048+Q2Pkc= +vite@^2.5.0: + version "2.5.0" + resolved "https://registry.nlark.com/vite/download/vite-2.5.0.tgz#111ba3679432d426e44566acf480005a7914cbd6" + integrity sha1-ERujZ5Qy1CbkRWas9IAAWnkUy9Y= dependencies: - esbuild "^0.12.8" + esbuild "^0.12.17" postcss "^8.3.6" resolve "^1.20.0" rollup "^2.38.5"