diff --git a/package.json b/package.json index b4863a8..a98a800 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "shiki": "^0.14.1", "simple-git-hooks": "^2.8.1", "taze": "^0.9.1", - "typescript": "^5.0.2", + "typescript": "^4.9.5", "unocss": "^0.50.6", "unplugin-auto-import": "^0.15.2", "unplugin-vue-components": "^0.24.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 969bec3..3995324 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,7 +28,7 @@ specifiers: shiki: ^0.14.1 simple-git-hooks: ^2.8.1 taze: ^0.9.1 - typescript: ^5.0.2 + typescript: ^4.9.5 unocss: ^0.50.6 unplugin-auto-import: ^0.15.2 unplugin-vue-components: ^0.24.1 @@ -57,14 +57,14 @@ dependencies: '@vueuse/core': 9.13.0_vue@3.2.47 '@vueuse/head': 1.1.23_vue@3.2.47 nprogress: 0.2.0 - pinia: 2.0.33_p4srtwdgezcoeovfcc2yxzvaue + pinia: 2.0.33_hmuptsblhheur2tugfgucj7gc4 vue: 3.2.47 vue-demi: 0.13.11_vue@3.2.47 vue-i18n: 9.2.2_vue@3.2.47 vue-router: 4.1.6_vue@3.2.47 devDependencies: - '@antfu/eslint-config': 0.37.0_j4766f7ecgqbon3u7zlxn5zszu + '@antfu/eslint-config': 0.37.0_vgl77cfdswitgr47lm5swmv43m '@iconify-json/carbon': 1.1.16 '@intlify/unplugin-vue-i18n': 0.10.0_vue-i18n@9.2.2 '@types/markdown-it-link-attributes': 3.0.1 @@ -86,7 +86,7 @@ devDependencies: shiki: 0.14.1 simple-git-hooks: 2.8.1 taze: 0.9.1 - typescript: 5.0.2 + typescript: 4.9.5 unocss: 0.50.6_vite@4.2.1 unplugin-auto-import: 0.15.2_@vueuse+core@9.13.0 unplugin-vue-components: 0.24.1_vue@3.2.47 @@ -104,7 +104,7 @@ devDependencies: vite-ssg: 0.22.1_5yp5ffmexyoplwevzih2hx4gpy vite-ssg-sitemap: 0.4.3 vitest: 0.29.7 - vue-tsc: 1.2.0_typescript@5.0.2 + vue-tsc: 1.2.0_typescript@4.9.5 packages: @@ -116,13 +116,13 @@ packages: '@jridgewell/trace-mapping': 0.3.17 dev: true - /@antfu/eslint-config-basic/0.37.0_5dw4dhas3occx2squkfiuu45qi: + /@antfu/eslint-config-basic/0.37.0_haq6ulc3vui3hbw2ow7npojefi: resolution: {integrity: sha512-iBj6qjAOQr+WMhK38lfR2/xdIY81qUk4i6tHhwmcxXi4GEf2HF6I4Cgeu9SyIlTxOw8AP1CVqdUNzUbmYSaMZg==} peerDependencies: eslint: '>=7.4.0' dependencies: eslint: 8.36.0 - eslint-plugin-antfu: 0.37.0_j4766f7ecgqbon3u7zlxn5zszu + eslint-plugin-antfu: 0.37.0_vgl77cfdswitgr47lm5swmv43m eslint-plugin-eslint-comments: 3.2.0_eslint@8.36.0 eslint-plugin-html: 7.1.0 eslint-plugin-import: 2.27.5_a7er6olmtneep4uytpot6gt7wu @@ -145,18 +145,18 @@ packages: - typescript dev: true - /@antfu/eslint-config-ts/0.37.0_j4766f7ecgqbon3u7zlxn5zszu: + /@antfu/eslint-config-ts/0.37.0_vgl77cfdswitgr47lm5swmv43m: resolution: {integrity: sha512-+ZS0UE7qa6EzFe0JgCSqdi/IRGQlUj/kOjvwsHCXVK1A02ZW2p0fEKzCpNAz1NJK9nkqhyvNHX+gNOTQsPMbeQ==} peerDependencies: eslint: '>=7.4.0' typescript: '>=3.9' dependencies: - '@antfu/eslint-config-basic': 0.37.0_5dw4dhas3occx2squkfiuu45qi - '@typescript-eslint/eslint-plugin': 5.55.0_qsnvknysi52qtaxqdyqyohkcku - '@typescript-eslint/parser': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu + '@antfu/eslint-config-basic': 0.37.0_haq6ulc3vui3hbw2ow7npojefi + '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m eslint: 8.36.0 - eslint-plugin-jest: 27.2.1_6ijeciauhuaefmxnwfqfqlk4ki - typescript: 5.0.2 + eslint-plugin-jest: 27.2.1_77hzc3m4z2zccvz4y3m32ao6om + typescript: 4.9.5 transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -164,13 +164,13 @@ packages: - supports-color dev: true - /@antfu/eslint-config-vue/0.37.0_5dw4dhas3occx2squkfiuu45qi: + /@antfu/eslint-config-vue/0.37.0_haq6ulc3vui3hbw2ow7npojefi: resolution: {integrity: sha512-d7n4+7f6YMizE1HDEOtIBJGruFuIeqrNF+ZjHM8o6+isMrJkvdjVx6nHtHVtoWNYW6jiRJ5AW+nkfo2aoNGUyA==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-basic': 0.37.0_5dw4dhas3occx2squkfiuu45qi - '@antfu/eslint-config-ts': 0.37.0_j4766f7ecgqbon3u7zlxn5zszu + '@antfu/eslint-config-basic': 0.37.0_haq6ulc3vui3hbw2ow7npojefi + '@antfu/eslint-config-ts': 0.37.0_vgl77cfdswitgr47lm5swmv43m eslint: 8.36.0 eslint-plugin-vue: 9.9.0_eslint@8.36.0 local-pkg: 0.4.3 @@ -184,14 +184,14 @@ packages: - typescript dev: true - /@antfu/eslint-config/0.37.0_j4766f7ecgqbon3u7zlxn5zszu: + /@antfu/eslint-config/0.37.0_vgl77cfdswitgr47lm5swmv43m: resolution: {integrity: sha512-Kq12dCBSYNV/wuoX35ijs8aNjdF9FiSp3GbiGh2Y8sPtM6NbJc5LA3ixWz0PcA/byHf1VPVisDZcPqISjic/zA==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-vue': 0.37.0_5dw4dhas3occx2squkfiuu45qi - '@typescript-eslint/eslint-plugin': 5.55.0_qsnvknysi52qtaxqdyqyohkcku - '@typescript-eslint/parser': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu + '@antfu/eslint-config-vue': 0.37.0_haq6ulc3vui3hbw2ow7npojefi + '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m eslint: 8.36.0 eslint-plugin-eslint-comments: 3.2.0_eslint@8.36.0 eslint-plugin-html: 7.1.0 @@ -2332,7 +2332,7 @@ packages: dev: true optional: true - /@typescript-eslint/eslint-plugin/5.55.0_qsnvknysi52qtaxqdyqyohkcku: + /@typescript-eslint/eslint-plugin/5.55.0_342y7v4tc7ytrrysmit6jo4wri: resolution: {integrity: sha512-IZGc50rtbjk+xp5YQoJvmMPmJEYoC53SiKPXyqWfv15XoD2Y5Kju6zN0DwlmaGJp1Iw33JsWJcQ7nw0lGCGjVg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2344,23 +2344,23 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.4.0 - '@typescript-eslint/parser': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m '@typescript-eslint/scope-manager': 5.55.0 - '@typescript-eslint/type-utils': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu - '@typescript-eslint/utils': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu + '@typescript-eslint/type-utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m + '@typescript-eslint/utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m debug: 4.3.4 eslint: 8.36.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 natural-compare-lite: 1.4.0 semver: 7.3.8 - tsutils: 3.21.0_typescript@5.0.2 - typescript: 5.0.2 + tsutils: 3.21.0_typescript@4.9.5 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.55.0_j4766f7ecgqbon3u7zlxn5zszu: + /@typescript-eslint/parser/5.55.0_vgl77cfdswitgr47lm5swmv43m: resolution: {integrity: sha512-ppvmeF7hvdhUUZWSd2EEWfzcFkjJzgNQzVST22nzg958CR+sphy8A6K7LXQZd6V75m1VKjp+J4g/PCEfSCmzhw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2372,10 +2372,10 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.55.0 '@typescript-eslint/types': 5.55.0 - '@typescript-eslint/typescript-estree': 5.55.0_typescript@5.0.2 + '@typescript-eslint/typescript-estree': 5.55.0_typescript@4.9.5 debug: 4.3.4 eslint: 8.36.0 - typescript: 5.0.2 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true @@ -2388,7 +2388,7 @@ packages: '@typescript-eslint/visitor-keys': 5.55.0 dev: true - /@typescript-eslint/type-utils/5.55.0_j4766f7ecgqbon3u7zlxn5zszu: + /@typescript-eslint/type-utils/5.55.0_vgl77cfdswitgr47lm5swmv43m: resolution: {integrity: sha512-ObqxBgHIXj8rBNm0yh8oORFrICcJuZPZTqtAFh0oZQyr5DnAHZWfyw54RwpEEH+fD8suZaI0YxvWu5tYE/WswA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2398,12 +2398,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.55.0_typescript@5.0.2 - '@typescript-eslint/utils': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu + '@typescript-eslint/typescript-estree': 5.55.0_typescript@4.9.5 + '@typescript-eslint/utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m debug: 4.3.4 eslint: 8.36.0 - tsutils: 3.21.0_typescript@5.0.2 - typescript: 5.0.2 + tsutils: 3.21.0_typescript@4.9.5 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true @@ -2413,7 +2413,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.55.0_typescript@5.0.2: + /@typescript-eslint/typescript-estree/5.55.0_typescript@4.9.5: resolution: {integrity: sha512-I7X4A9ovA8gdpWMpr7b1BN9eEbvlEtWhQvpxp/yogt48fy9Lj3iE3ild/1H3jKBBIYj5YYJmS2+9ystVhC7eaQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2428,13 +2428,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.8 - tsutils: 3.21.0_typescript@5.0.2 - typescript: 5.0.2 + tsutils: 3.21.0_typescript@4.9.5 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.55.0_j4766f7ecgqbon3u7zlxn5zszu: + /@typescript-eslint/utils/5.55.0_vgl77cfdswitgr47lm5swmv43m: resolution: {integrity: sha512-FkW+i2pQKcpDC3AY6DU54yl8Lfl14FVGYDgBTyGKB75cCwV3KpkpTMFi9d9j2WAJ4271LR2HeC5SEWF/CZmmfw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2445,7 +2445,7 @@ packages: '@types/semver': 7.3.13 '@typescript-eslint/scope-manager': 5.55.0 '@typescript-eslint/types': 5.55.0 - '@typescript-eslint/typescript-estree': 5.55.0_typescript@5.0.2 + '@typescript-eslint/typescript-estree': 5.55.0_typescript@4.9.5 eslint: 8.36.0 eslint-scope: 5.1.1 semver: 7.3.8 @@ -3071,7 +3071,7 @@ packages: '@vue-macros/define-props': 1.0.2_vue@3.2.47 '@vue-macros/short-vmodel': 1.2.3_vue@3.2.47 muggle-string: 0.2.2 - vue-tsc: 1.2.0_typescript@5.0.2 + vue-tsc: 1.2.0_typescript@4.9.5 transitivePeerDependencies: - '@vue-macros/reactivity-transform' - rollup @@ -4933,7 +4933,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m debug: 3.2.7 eslint: 8.36.0 eslint-import-resolver-node: 0.3.7 @@ -4941,10 +4941,10 @@ packages: - supports-color dev: true - /eslint-plugin-antfu/0.37.0_j4766f7ecgqbon3u7zlxn5zszu: + /eslint-plugin-antfu/0.37.0_vgl77cfdswitgr47lm5swmv43m: resolution: {integrity: sha512-Tekr9S4fkrmH88RS5XHvs3gQwQIn/2As8gYePzrPHTQEQF00pIx0sa1eQrhmvN50ubUG4WkZnpx/uR3073jLeg==} dependencies: - '@typescript-eslint/utils': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu + '@typescript-eslint/utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m transitivePeerDependencies: - eslint - supports-color @@ -4998,7 +4998,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 @@ -5021,7 +5021,7 @@ packages: - supports-color dev: true - /eslint-plugin-jest/27.2.1_6ijeciauhuaefmxnwfqfqlk4ki: + /eslint-plugin-jest/27.2.1_77hzc3m4z2zccvz4y3m32ao6om: resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -5034,8 +5034,8 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.55.0_qsnvknysi52qtaxqdyqyohkcku - '@typescript-eslint/utils': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu + '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri + '@typescript-eslint/utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m eslint: 8.36.0 transitivePeerDependencies: - supports-color @@ -5132,7 +5132,7 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.55.0_qsnvknysi52qtaxqdyqyohkcku + '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri eslint: 8.36.0 eslint-rule-composer: 0.3.0 dev: true @@ -7767,7 +7767,7 @@ packages: engines: {node: '>=0.10.0'} dev: true - /pinia/2.0.33_p4srtwdgezcoeovfcc2yxzvaue: + /pinia/2.0.33_hmuptsblhheur2tugfgucj7gc4: resolution: {integrity: sha512-HOj1yVV2itw6rNIrR2f7+MirGNxhORjrULL8GWgRwXsGSvEqIQ+SE0MYt6cwtpegzCda3i+rVTZM+AM7CG+kRg==} peerDependencies: '@vue/composition-api': ^1.4.0 @@ -7780,7 +7780,7 @@ packages: optional: true dependencies: '@vue/devtools-api': 6.5.0 - typescript: 5.0.2 + typescript: 4.9.5 vue: 3.2.47 vue-demi: 0.13.11_vue@3.2.47 dev: false @@ -8948,14 +8948,14 @@ packages: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} dev: true - /tsutils/3.21.0_typescript@5.0.2: + /tsutils/3.21.0_typescript@4.9.5: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 5.0.2 + typescript: 4.9.5 dev: true /tsx/3.12.1: @@ -9039,9 +9039,9 @@ packages: is-typed-array: 1.1.10 dev: true - /typescript/5.0.2: - resolution: {integrity: sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==} - engines: {node: '>=12.20'} + /typescript/4.9.5: + resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} + engines: {node: '>=4.2.0'} hasBin: true /uc.micro/1.0.6: @@ -9816,7 +9816,7 @@ packages: he: 1.2.0 dev: true - /vue-tsc/1.2.0_typescript@5.0.2: + /vue-tsc/1.2.0_typescript@4.9.5: resolution: {integrity: sha512-rIlzqdrhyPYyLG9zxsVRa+JEseeS9s8F2BbVVVWRRsTZvJO2BbhLEb2HW3MY+DFma0378tnIqs+vfTzbcQtRFw==} hasBin: true peerDependencies: @@ -9824,7 +9824,7 @@ packages: dependencies: '@volar/vue-language-core': 1.2.0 '@volar/vue-typescript': 1.2.0 - typescript: 5.0.2 + typescript: 4.9.5 dev: true /vue/3.2.47: