From b9c22144a65405e755a7969121685f32f4ba5d05 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Fri, 14 Oct 2022 14:34:46 +0800 Subject: [PATCH] chore: bump vite from 3.1.7 to 3.1.8 --- package.json | 2 +- packages/playground/ssr/package.json | 2 +- packages/uni-app-vite/package.json | 2 +- packages/uni-mp-alipay/dist/uni.mp.esm.js | 2 +- packages/uni-mp-baidu/dist/uni.mp.esm.js | 2 +- packages/uni-mp-kuaishou/dist/uni.mp.esm.js | 2 +- packages/uni-mp-lark/dist/uni.mp.esm.js | 2 +- packages/uni-mp-qq/dist/uni.mp.esm.js | 2 +- packages/uni-mp-toutiao/dist/uni.mp.esm.js | 2 +- packages/uni-mp-weixin/dist/uni.mp.esm.js | 2 +- .../uni-quickapp-webview/dist/uni.mp.esm.js | 2 +- packages/vite-plugin-uni/package.json | 4 +- pnpm-lock.yaml | 48 +++++++++---------- scripts/checkVersion.js | 2 +- 14 files changed, 38 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index fb419fce3..b28fa74fd 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "simple-git-hooks": "^2.8.0", "ts-jest": "^27.0.3", "typescript": "^4.8.4", - "vite": "3.1.7", + "vite": "3.1.8", "vue": "3.2.40", "vue-router": "^4.1.5", "yorkie": "^2.0.0" diff --git a/packages/playground/ssr/package.json b/packages/playground/ssr/package.json index 2f614de5f..0dbe9b3bc 100644 --- a/packages/playground/ssr/package.json +++ b/packages/playground/ssr/package.json @@ -21,6 +21,6 @@ "compression": "^1.7.4", "cypress": "^10.7.0", "serve-static": "^1.15.0", - "vite": "3.1.7" + "vite": "3.1.8" } } diff --git a/packages/uni-app-vite/package.json b/packages/uni-app-vite/package.json index 348e839ac..ba6994c18 100644 --- a/packages/uni-app-vite/package.json +++ b/packages/uni-app-vite/package.json @@ -40,7 +40,7 @@ "@vue/compiler-core": "3.2.40", "esbuild": "^0.15.9", "postcss": "^8.4.16", - "vite": "3.1.7", + "vite": "3.1.8", "vue": "3.2.40" } } diff --git a/packages/uni-mp-alipay/dist/uni.mp.esm.js b/packages/uni-mp-alipay/dist/uni.mp.esm.js index efbcda07e..4bc669339 100644 --- a/packages/uni-mp-alipay/dist/uni.mp.esm.js +++ b/packages/uni-mp-alipay/dist/uni.mp.esm.js @@ -491,7 +491,7 @@ function $createComponent(initialVNode, options) { } function $destroyComponent(instance) { if (!$destroyComponentFn) { - $destroyComponentFn = getApp().$vm.$destroyComponent; + $destroyComponentFn = getAppVm().$destroyComponent; } return $destroyComponentFn(instance); } diff --git a/packages/uni-mp-baidu/dist/uni.mp.esm.js b/packages/uni-mp-baidu/dist/uni.mp.esm.js index 6490de0e9..ec6c09830 100644 --- a/packages/uni-mp-baidu/dist/uni.mp.esm.js +++ b/packages/uni-mp-baidu/dist/uni.mp.esm.js @@ -717,7 +717,7 @@ function $createComponent(initialVNode, options) { } function $destroyComponent(instance) { if (!$destroyComponentFn) { - $destroyComponentFn = getApp().$vm.$destroyComponent; + $destroyComponentFn = getAppVm().$destroyComponent; } return $destroyComponentFn(instance); } diff --git a/packages/uni-mp-kuaishou/dist/uni.mp.esm.js b/packages/uni-mp-kuaishou/dist/uni.mp.esm.js index 068ee37bf..e97846374 100644 --- a/packages/uni-mp-kuaishou/dist/uni.mp.esm.js +++ b/packages/uni-mp-kuaishou/dist/uni.mp.esm.js @@ -702,7 +702,7 @@ function $createComponent(initialVNode, options) { } function $destroyComponent(instance) { if (!$destroyComponentFn) { - $destroyComponentFn = getApp().$vm.$destroyComponent; + $destroyComponentFn = getAppVm().$destroyComponent; } return $destroyComponentFn(instance); } diff --git a/packages/uni-mp-lark/dist/uni.mp.esm.js b/packages/uni-mp-lark/dist/uni.mp.esm.js index c9c6bf5c6..3bf5110c1 100644 --- a/packages/uni-mp-lark/dist/uni.mp.esm.js +++ b/packages/uni-mp-lark/dist/uni.mp.esm.js @@ -665,7 +665,7 @@ function $createComponent(initialVNode, options) { } function $destroyComponent(instance) { if (!$destroyComponentFn) { - $destroyComponentFn = getApp().$vm.$destroyComponent; + $destroyComponentFn = getAppVm().$destroyComponent; } return $destroyComponentFn(instance); } diff --git a/packages/uni-mp-qq/dist/uni.mp.esm.js b/packages/uni-mp-qq/dist/uni.mp.esm.js index 616fd33ee..8afea47f7 100644 --- a/packages/uni-mp-qq/dist/uni.mp.esm.js +++ b/packages/uni-mp-qq/dist/uni.mp.esm.js @@ -654,7 +654,7 @@ function $createComponent(initialVNode, options) { } function $destroyComponent(instance) { if (!$destroyComponentFn) { - $destroyComponentFn = getApp().$vm.$destroyComponent; + $destroyComponentFn = getAppVm().$destroyComponent; } return $destroyComponentFn(instance); } diff --git a/packages/uni-mp-toutiao/dist/uni.mp.esm.js b/packages/uni-mp-toutiao/dist/uni.mp.esm.js index 23f762ab3..579af824d 100644 --- a/packages/uni-mp-toutiao/dist/uni.mp.esm.js +++ b/packages/uni-mp-toutiao/dist/uni.mp.esm.js @@ -669,7 +669,7 @@ function $createComponent(initialVNode, options) { } function $destroyComponent(instance) { if (!$destroyComponentFn) { - $destroyComponentFn = getApp().$vm.$destroyComponent; + $destroyComponentFn = getAppVm().$destroyComponent; } return $destroyComponentFn(instance); } diff --git a/packages/uni-mp-weixin/dist/uni.mp.esm.js b/packages/uni-mp-weixin/dist/uni.mp.esm.js index 32e5b5f77..edae8948a 100644 --- a/packages/uni-mp-weixin/dist/uni.mp.esm.js +++ b/packages/uni-mp-weixin/dist/uni.mp.esm.js @@ -666,7 +666,7 @@ function $createComponent(initialVNode, options) { } function $destroyComponent(instance) { if (!$destroyComponentFn) { - $destroyComponentFn = getApp().$vm.$destroyComponent; + $destroyComponentFn = getAppVm().$destroyComponent; } return $destroyComponentFn(instance); } diff --git a/packages/uni-quickapp-webview/dist/uni.mp.esm.js b/packages/uni-quickapp-webview/dist/uni.mp.esm.js index 7d86287db..d742ea8d1 100644 --- a/packages/uni-quickapp-webview/dist/uni.mp.esm.js +++ b/packages/uni-quickapp-webview/dist/uni.mp.esm.js @@ -643,7 +643,7 @@ function $createComponent(initialVNode, options) { } function $destroyComponent(instance) { if (!$destroyComponentFn) { - $destroyComponentFn = getApp().$vm.$destroyComponent; + $destroyComponentFn = getAppVm().$destroyComponent; } return $destroyComponentFn(instance); } diff --git a/packages/vite-plugin-uni/package.json b/packages/vite-plugin-uni/package.json index f540590af..ecf79d0ad 100644 --- a/packages/vite-plugin-uni/package.json +++ b/packages/vite-plugin-uni/package.json @@ -57,11 +57,11 @@ "@types/sass": "^1.16.0", "@vue/babel-plugin-jsx": "^1.1.1", "chokidar": "^3.5.3", - "vite": "3.1.7", + "vite": "3.1.8", "vue": "3.2.40" }, "peerDependencies": { - "vite": "3.1.7" + "vite": "3.1.8" }, "uni-app": { "compilerVersion": "3.6.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8ee7dd632..433542699 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,7 +51,7 @@ importers: simple-git-hooks: ^2.8.0 ts-jest: ^27.0.3 typescript: ^4.8.4 - vite: 3.1.7 + vite: 3.1.8 vue: 3.2.40 vue-router: ^4.1.5 yorkie: ^2.0.0 @@ -73,8 +73,8 @@ importers: '@types/jest': 27.5.2 '@types/node': 17.0.45 '@typescript-eslint/parser': 5.39.0_3rubbgt5ekhqrcgx4uwls3neim - '@vitejs/plugin-vue': 3.1.2_vite@3.1.7+vue@3.2.40 - '@vitejs/plugin-vue-jsx': 2.0.1_vite@3.1.7+vue@3.2.40 + '@vitejs/plugin-vue': 3.1.2_vite@3.1.8+vue@3.2.40 + '@vitejs/plugin-vue-jsx': 2.0.1_vite@3.1.8+vue@3.2.40 '@vue/compiler-sfc': 3.2.40 '@vue/reactivity': 3.2.40 '@vue/runtime-core': 3.2.40 @@ -103,7 +103,7 @@ importers: simple-git-hooks: 2.8.0 ts-jest: 27.1.5_zgo3ukr7wfsrfu7w73hol4lxpy typescript: 4.8.4 - vite: 3.1.7 + vite: 3.1.8 vue: 3.2.40 vue-router: 4.1.5_vue@3.2.40 yorkie: 2.0.0 @@ -117,7 +117,7 @@ importers: compression: ^1.7.4 cypress: ^10.7.0 serve-static: ^1.15.0 - vite: 3.1.7 + vite: 3.1.8 vue: 3.2.40 vue-router: ^4.1.5 vuex: ^4.0.2 @@ -133,7 +133,7 @@ importers: compression: 1.7.4 cypress: 10.9.0 serve-static: 1.15.0 - vite: 3.1.7 + vite: 3.1.8 packages/size-check: specifiers: @@ -236,7 +236,7 @@ importers: picocolors: ^1.0.0 postcss: ^8.4.16 rollup: ~2.78.0 - vite: 3.1.7 + vite: 3.1.8 vue: 3.2.40 dependencies: '@dcloudio/uni-cli-shared': link:../uni-cli-shared @@ -245,7 +245,7 @@ importers: '@dcloudio/uni-shared': link:../uni-shared '@dcloudio/uts': link:../uts '@rollup/pluginutils': 4.2.1 - '@vitejs/plugin-vue': 3.1.2_vite@3.1.7+vue@3.2.40 + '@vitejs/plugin-vue': 3.1.2_vite@3.1.8+vue@3.2.40 '@vue/compiler-dom': 3.2.40 '@vue/compiler-sfc': 3.2.40 debug: 4.3.4 @@ -258,7 +258,7 @@ importers: '@vue/compiler-core': 3.2.40 esbuild: 0.15.10 postcss: 8.4.17 - vite: 3.1.7 + vite: 3.1.8 vue: 3.2.40 packages/uni-app-vue: @@ -900,7 +900,7 @@ importers: jsonc-parser: ^3.0.0 picocolors: ^1.0.0 terser: ^5.4.0 - vite: 3.1.7 + vite: 3.1.8 vue: 3.2.40 dependencies: '@babel/core': 7.19.3 @@ -909,9 +909,9 @@ importers: '@dcloudio/uni-cli-shared': link:../uni-cli-shared '@dcloudio/uni-shared': link:../uni-shared '@rollup/pluginutils': 4.2.1 - '@vitejs/plugin-legacy': 2.2.0_terser@5.15.1+vite@3.1.7 - '@vitejs/plugin-vue': 3.1.2_vite@3.1.7+vue@3.2.40 - '@vitejs/plugin-vue-jsx': 2.0.1_vite@3.1.7+vue@3.2.40 + '@vitejs/plugin-legacy': 2.2.0_terser@5.15.1+vite@3.1.8 + '@vitejs/plugin-vue': 3.1.2_vite@3.1.8+vue@3.2.40 + '@vitejs/plugin-vue-jsx': 2.0.1_vite@3.1.8+vue@3.2.40 '@vue/compiler-core': 3.2.40 '@vue/compiler-dom': 3.2.40 '@vue/compiler-sfc': 3.2.40 @@ -934,7 +934,7 @@ importers: '@types/sass': 1.43.1 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.19.3 chokidar: 3.5.3 - vite: 3.1.7_terser@5.15.1 + vite: 3.1.8_terser@5.15.1 vue: 3.2.40 packages: @@ -3061,7 +3061,7 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /@vitejs/plugin-legacy/2.2.0_terser@5.15.1+vite@3.1.7: + /@vitejs/plugin-legacy/2.2.0_terser@5.15.1+vite@3.1.8: resolution: {integrity: sha512-xkSXZl2LNk0KKyo5CJknNW84mSlmHIClFzsBuFXkX3yBt+Lr8UO/n4QOg2X7+jvurgBRies9FRn3ZvMem+TmIg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3074,10 +3074,10 @@ packages: regenerator-runtime: 0.13.9 systemjs: 6.13.0 terser: 5.15.1 - vite: 3.1.7_terser@5.15.1 + vite: 3.1.8_terser@5.15.1 dev: false - /@vitejs/plugin-vue-jsx/2.0.1_vite@3.1.7+vue@3.2.40: + /@vitejs/plugin-vue-jsx/2.0.1_vite@3.1.8+vue@3.2.40: resolution: {integrity: sha512-lmiR1k9+lrF7LMczO0pxtQ8mOn6XeppJDHxnpxkJQpT5SiKz4SKhKdeNstXaTNuR8qZhUo5X0pJlcocn72Y4Jg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3088,19 +3088,19 @@ packages: '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.19.3 '@babel/plugin-transform-typescript': 7.19.3_@babel+core@7.19.3 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.19.3 - vite: 3.1.7_terser@5.15.1 + vite: 3.1.8_terser@5.15.1 vue: 3.2.40 transitivePeerDependencies: - supports-color - /@vitejs/plugin-vue/3.1.2_vite@3.1.7+vue@3.2.40: + /@vitejs/plugin-vue/3.1.2_vite@3.1.8+vue@3.2.40: resolution: {integrity: sha512-3zxKNlvA3oNaKDYX0NBclgxTQ1xaFdL7PzwF6zj9tGFziKwmBa3Q/6XcJQxudlT81WxDjEhHmevvIC4Orc1LhQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^3.0.0 vue: ^3.2.25 dependencies: - vite: 3.1.7 + vite: 3.1.8 vue: 3.2.40 /@vue/babel-helper-vue-transform-on/1.0.2: @@ -8245,8 +8245,8 @@ packages: extsprintf: 1.3.0 dev: true - /vite/3.1.7: - resolution: {integrity: sha512-5vCAmU4S8lyVdFCInu9M54f/g8qbOMakVw5xJ4pjoaDy5wgy9sLLZkGdSLN52dlsBqh0tBqxjaqqa8LgPqwRAA==} + /vite/3.1.8: + resolution: {integrity: sha512-m7jJe3nufUbuOfotkntGFupinL/fmuTNuQmiVE7cH2IZMuf4UbfbGYMUT3jVWgGYuRVLY9j8NnrRqgw5rr5QTg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -8271,8 +8271,8 @@ packages: optionalDependencies: fsevents: 2.3.2 - /vite/3.1.7_terser@5.15.1: - resolution: {integrity: sha512-5vCAmU4S8lyVdFCInu9M54f/g8qbOMakVw5xJ4pjoaDy5wgy9sLLZkGdSLN52dlsBqh0tBqxjaqqa8LgPqwRAA==} + /vite/3.1.8_terser@5.15.1: + resolution: {integrity: sha512-m7jJe3nufUbuOfotkntGFupinL/fmuTNuQmiVE7cH2IZMuf4UbfbGYMUT3jVWgGYuRVLY9j8NnrRqgw5rr5QTg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: diff --git a/scripts/checkVersion.js b/scripts/checkVersion.js index 191b81168..307d4c349 100644 --- a/scripts/checkVersion.js +++ b/scripts/checkVersion.js @@ -25,7 +25,7 @@ const pkgs = { next: '9.1.9', }, vite: { - latest: '3.1.7', + latest: '3.1.8', }, '@vitejs/plugin-vue': { latest: '3.1.2', -- GitLab