提交 3b27dbae 编写于 作者: fxy060608's avatar fxy060608

chore: bump typescript from 4.9.3 to 4.9.4

上级 ebf42838
......@@ -741,7 +741,6 @@ function createVueComponent(mpType, mpInstance, vueOptions, parent) {
});
}
// @ts-ignore
function initCreatePage() {
return function createPage(vueOptions) {
vueOptions = vueOptions.default || vueOptions;
......
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { isArray, hasOwn, isFunction, extend, isPlainObject, isObject } from '@vue/shared';
import { ref, nextTick, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, getExposeProxy, pruneComponentPropsCache } from 'vue';
import { ref, nextTick, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, devtoolsComponentRemoved, devtoolsComponentAdded, getExposeProxy, pruneComponentPropsCache } from 'vue';
import { normalizeLocale, LOCALE_EN } from '@dcloudio/uni-i18n';
const MP_METHODS = [
......@@ -624,6 +624,10 @@ function parseComponent(vueOptions, { parse, mocks, isPage, initRelation, handle
lifetimes: initLifetimes({ mocks, isPage, initRelation, vueOptions }),
pageLifetimes: {
show() {
if (process.env.NODE_ENV !== 'production') {
devtoolsComponentRemoved(this.$vm.$);
devtoolsComponentAdded(this.$vm.$);
}
this.$vm && this.$vm.$callHook('onPageShow');
},
hide() {
......
......@@ -51,7 +51,7 @@ importers:
simple-git-hooks: ^2.8.0
terser: ^5.4.0
ts-jest: ^29.0.3
typescript: ^4.9.3
typescript: ^4.9.4
vite: 3.2.5
vue: 3.2.45
vue-router: ^4.1.6
......@@ -73,7 +73,7 @@ importers:
'@rollup/plugin-strip': 2.1.0_rollup@2.79.1
'@types/jest': 29.2.3
'@types/node': 18.11.9
'@typescript-eslint/parser': 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a
'@typescript-eslint/parser': 5.44.0_wy4udjehnvkneqnogzx5kughki
'@vitejs/plugin-vue': 3.2.0_vite@3.2.5+vue@3.2.45
'@vitejs/plugin-vue-jsx': 2.1.1_vite@3.2.5+vue@3.2.45
'@vue/compiler-sfc': 3.2.45
......@@ -98,13 +98,13 @@ importers:
rollup-plugin-node-builtins: 2.1.2
rollup-plugin-node-globals: 1.4.0
rollup-plugin-terser: 7.0.2_rollup@2.79.1
rollup-plugin-typescript2: 0.29.0_k35zwyycrckt5xfsejji7kbwn4
rollup-plugin-typescript2: 0.29.0_ntuob3xud5wukob6phfmz2mbyy
rollup-plugin-vue: 6.0.0_@vue+compiler-sfc@3.2.45
semver: 7.3.8
simple-git-hooks: 2.8.1
terser: 5.15.1
ts-jest: 29.0.3_c5lclmmvqlgvy4zamtxd3isbo4
typescript: 4.9.3
ts-jest: 29.0.3_bbi6pqpg6is5w2iihfmkutkpfa
typescript: 4.9.4
vite: 3.2.5_vt5mbdnyaskrzqlb5l6kjsnhi4
vue: 3.2.45
vue-router: 4.1.6_vue@3.2.45
......@@ -3030,7 +3030,7 @@ packages:
dev: true
optional: true
/@typescript-eslint/parser/5.44.0_hsf322ms6xhhd4b5ne6lb74y4a:
/@typescript-eslint/parser/5.44.0_wy4udjehnvkneqnogzx5kughki:
resolution: {integrity: sha512-H7LCqbZnKqkkgQHaKLGC6KUjt3pjJDx8ETDqmwncyb6PuoigYajyAwBGz08VU/l86dZWZgI4zm5k2VaKqayYyA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
......@@ -3042,10 +3042,10 @@ packages:
dependencies:
'@typescript-eslint/scope-manager': 5.44.0
'@typescript-eslint/types': 5.44.0
'@typescript-eslint/typescript-estree': 5.44.0_typescript@4.9.3
'@typescript-eslint/typescript-estree': 5.44.0_typescript@4.9.4
debug: 4.3.4
eslint: 8.28.0
typescript: 4.9.3
typescript: 4.9.4
transitivePeerDependencies:
- supports-color
dev: true
......@@ -3063,7 +3063,7 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
/@typescript-eslint/typescript-estree/5.44.0_typescript@4.9.3:
/@typescript-eslint/typescript-estree/5.44.0_typescript@4.9.4:
resolution: {integrity: sha512-M6Jr+RM7M5zeRj2maSfsZK2660HKAJawv4Ud0xT+yauyvgrsHu276VtXlKDFnEmhG+nVEd0fYZNXGoAgxwDWJw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
......@@ -3078,8 +3078,8 @@ packages:
globby: 11.1.0
is-glob: 4.0.3
semver: 7.3.8
tsutils: 3.21.0_typescript@4.9.3
typescript: 4.9.3
tsutils: 3.21.0_typescript@4.9.4
typescript: 4.9.4
transitivePeerDependencies:
- supports-color
dev: true
......@@ -3130,7 +3130,7 @@ packages:
vite: ^3.0.0
vue: ^3.2.25
dependencies:
vite: 3.2.5
vite: 3.2.5_vt5mbdnyaskrzqlb5l6kjsnhi4
vue: 3.2.45
/@vue/babel-helper-vue-transform-on/1.0.2:
......@@ -7422,7 +7422,7 @@ packages:
terser: 5.15.1
dev: true
/rollup-plugin-typescript2/0.29.0_k35zwyycrckt5xfsejji7kbwn4:
/rollup-plugin-typescript2/0.29.0_ntuob3xud5wukob6phfmz2mbyy:
resolution: {integrity: sha512-YytahBSZCIjn/elFugEGQR5qTsVhxhUwGZIsA9TmrSsC88qroGo65O5HZP/TTArH2dm0vUmYWhKchhwi2wL9bw==}
peerDependencies:
rollup: '>=1.26.3'
......@@ -7434,7 +7434,7 @@ packages:
resolve: 1.17.0
rollup: 2.79.1
tslib: 2.0.1
typescript: 4.9.3
typescript: 4.9.4
dev: true
/rollup-plugin-vue/6.0.0_@vue+compiler-sfc@3.2.45:
......@@ -7908,7 +7908,7 @@ packages:
punycode: 2.1.1
dev: true
/ts-jest/29.0.3_c5lclmmvqlgvy4zamtxd3isbo4:
/ts-jest/29.0.3_bbi6pqpg6is5w2iihfmkutkpfa:
resolution: {integrity: sha512-Ibygvmuyq1qp/z3yTh9QTwVVAbFdDy/+4BtIQR2sp6baF2SJU/8CKK/hhnGIDY2L90Az2jIqTwZPnN2p+BweiQ==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
hasBin: true
......@@ -7939,7 +7939,7 @@ packages:
lodash.memoize: 4.1.2
make-error: 1.3.6
semver: 7.3.8
typescript: 4.9.3
typescript: 4.9.4
yargs-parser: 21.1.1
dev: true
......@@ -7955,14 +7955,14 @@ packages:
resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==}
dev: true
/tsutils/3.21.0_typescript@4.9.3:
/tsutils/3.21.0_typescript@4.9.4:
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: 4.9.3
typescript: 4.9.4
dev: true
/tunnel-agent/0.6.0:
......@@ -8019,8 +8019,8 @@ packages:
hasBin: true
dev: true
/typescript/4.9.3:
resolution: {integrity: sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==}
/typescript/4.9.4:
resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==}
engines: {node: '>=4.2.0'}
hasBin: true
dev: true
......@@ -8158,6 +8158,7 @@ packages:
rollup: 2.79.1
optionalDependencies:
fsevents: 2.3.2
dev: true
/vite/3.2.5_terser@5.15.1:
resolution: {integrity: sha512-4mVEpXpSOgrssFZAOmGIr85wPHKvaDAcXqxVxVRZhljkJOMZi1ibLibzjLHzJvcok8BMguLc7g1W6W/GqZbLdQ==}
......
......@@ -37,7 +37,7 @@ const pkgs = {
latest: '2.3.1',
},
'@dcloudio/types': {
next: '3.0.17',
next: '3.2.0',
},
autoprefixer: {
latest: '10.4.13',
......@@ -46,7 +46,7 @@ const pkgs = {
latest: '3.4.0',
},
typescript: {
latest: '4.9.3',
latest: '4.9.4',
},
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册