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

build(deps): bump vue from 3.1.0-beta.2 to 3.1.0-beta.3

上级 e9b60c00
......@@ -16,18 +16,18 @@
"@dcloudio/uni-h5-vue": "../../uni-h5-vue",
"@dcloudio/uni-i18n": "../../uni-i18n",
"@dcloudio/uni-shared": "../../uni-shared",
"@vue/shared": "^3.1.0-beta.2",
"@vue/shared": "^3.1.0-beta.3",
"vue": "../../uni-h5-vue"
},
"devDependencies": {
"@dcloudio/uni-cli-shared": "../../uni-cli-shared",
"@dcloudio/vite-plugin-uni": "../../vite-plugin-uni",
"@vitejs/plugin-vue": "^1.2.2",
"@vue/compiler-sfc": "^3.1.0-beta.2",
"@vue/server-renderer": "^3.1.0-beta.2",
"@vue/compiler-sfc": "^3.1.0-beta.3",
"@vue/server-renderer": "^3.1.0-beta.3",
"compression": "^1.7.4",
"cypress": "^7.3.0",
"serve-static": "^1.14.1",
"vite": "^2.3.0"
"vite": "^2.3.2"
}
}
......@@ -8,14 +8,14 @@
integrity sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==
"@babel/parser@^7.12.0", "@babel/parser@^7.13.9":
version "7.14.1"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.1.tgz#1bd644b5db3f5797c4479d89ec1817fe02b84c47"
integrity sha512-muUGEKu8E/ftMTPlNp+mc6zL3E9zKWmF5sDHZ5MSsoTP9Wyz64AhEf9kD08xYJ7w6Hdcu8H550ircnPyWSIF0Q==
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.2.tgz#0c1680aa44ad4605b16cbdcc5c341a61bde9c746"
integrity sha512-IoVDIHpsgE/fu7eXBeRWt8zLbDrSvD7H1gpomOkPpBoEN8KCruCqSDdqo8dddwQQrui30KSvQBaMUOJiuFu6QQ==
"@babel/types@^7.12.0", "@babel/types@^7.13.0":
version "7.14.1"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.1.tgz#095bd12f1c08ab63eff6e8f7745fa7c9cc15a9db"
integrity sha512-S13Qe85fzLs3gYRUnrpyeIrBJIMYv33qSTg1qoBwiG6nPKwUWAD9odSzWhEedpwOIzSEI6gbdQIWEMiCI42iBA==
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.2.tgz#4208ae003107ef8a057ea8333e56eb64d2f6a2c3"
integrity sha512-SdjAG/3DikRHpUOjxZgnkbR11xUlyDMUFJdvnIgZEE16mqmY0BINMmc4//JMJglEmn6i7sq6p+mGrFWyZ98EEw==
dependencies:
"@babel/helper-validator-identifier" "^7.14.0"
to-fast-properties "^2.0.0"
......@@ -175,14 +175,14 @@
integrity sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==
"@types/node@*":
version "15.0.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.2.tgz#51e9c0920d1b45936ea04341aa3e2e58d339fb67"
integrity sha512-p68+a+KoxpoB47015IeYZYRrdqMUcpbK8re/zpFB8Ld46LHC1lPEbp3EXgkEhAYEcPvjJF6ZO+869SQ0aH1dcA==
version "15.0.3"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.3.tgz#ee09fcaac513576474c327da5818d421b98db88a"
integrity sha512-/WbxFeBU+0F79z9RdEOXH4CsDga+ibi5M8uEYr91u3CkT/pdWcV8MCook+4wDPnZBexRdwWS+PiVZ2xJviAzcQ==
"@types/node@^14.14.31":
version "14.14.44"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.44.tgz#df7503e6002847b834371c004b372529f3f85215"
integrity sha512-+gaugz6Oce6ZInfI/tK4Pq5wIIkJMEJUu92RB3Eu93mtj4wjjjz9EB5mLp5s1pSsLXdC/CPut/xF20ZzAQJbTA==
version "14.14.45"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.45.tgz#ec2dfb5566ff814d061aef7e141575aedba245cf"
integrity sha512-DssMqTV9UnnoxDWu959sDLZzfvqCF0qDNRjaWeYSui9xkFe61kKo4l1TWNTQONpuXEm+gLMRvdlzvNHBamzmEw==
"@types/sinonjs__fake-timers@^6.0.2":
version "6.0.2"
......@@ -199,36 +199,36 @@
resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-1.2.2.tgz#b0038fc11b9099f4cd01fcbf0ee419adda417b52"
integrity sha512-5BI2WFfs/Z0pAV4S/IQf1oH3bmFYlL5ATMBHgTt1Lf7hAnfpNd5oUAAs6hZPfk3QhvyUQgtk0rJBlabwNFcBJQ==
"@vue/compiler-core@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.1.0-beta.2.tgz#fa66626d621801676d11fd28e05ca43f88c67b2f"
integrity sha512-HLd5kCiZojcbcu4+PqD22XKkmqvo3XuM7xRAst3y0KXMlmCnkHIK7Z5mmogPjf/xBBZllWl2CIy9+bR7wrdDSA==
"@vue/compiler-core@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.1.0-beta.3.tgz#87fdac4c56f2a9a4182d930c70fc77f1efd8db45"
integrity sha512-4oviMm56Bk/PWDDqOx0DM5RsYMkMGmP54iK9cC8tG4vUTU2YagR4Suh7TJhidy1+SlBVGgujPwiOHtR8ehN1yQ==
dependencies:
"@babel/parser" "^7.12.0"
"@babel/types" "^7.12.0"
"@vue/shared" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.3"
estree-walker "^2.0.1"
source-map "^0.6.1"
"@vue/compiler-dom@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.1.0-beta.2.tgz#4c415102e20b3f54f733dd47d299f396bd0026ca"
integrity sha512-FgGCZyaJZ81eCydc6IY0u79DVt09vURYKj95bgQJo07doHW0tHptz9N3zRudfhA0VjoXuRMeDoKHMHuxI1rVHA==
"@vue/compiler-dom@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.1.0-beta.3.tgz#2f17427de9c51046ff6d186f5a8100813084e9c1"
integrity sha512-eN5fg6WLKauhX/vo7iiTsS7ITUXjkYRWl+KNRz94QeqmDkXKeK0f322u867tUtPZedO0bXnMt35VaBV6swJUEA==
dependencies:
"@vue/compiler-core" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/compiler-core" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
"@vue/compiler-sfc@^3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.1.0-beta.2.tgz#445b13a577545ca7c347ff59e66ee3e48fe307e5"
integrity sha512-LmCCGJoqX8N5hkBzFQkwrXCgZQdMzsQNuB16CmlsehBomQNfv1MDNaBexU9yUMC6OIn3Be/6ZN7Tg/MlhpSQTw==
"@vue/compiler-sfc@^3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.1.0-beta.3.tgz#67da747d4aa5025c9b2b48222ac76713e95ce887"
integrity sha512-rEGYgsjC+iLzkgV1FQnhPERzYjSkmdkv9/nySdUHtKPwN/rex9Z/Yq1d8MmMJ627UyoGusg/A2VRtcN4eUfE6w==
dependencies:
"@babel/parser" "^7.13.9"
"@babel/types" "^7.13.0"
"@vue/compiler-core" "3.1.0-beta.2"
"@vue/compiler-dom" "3.1.0-beta.2"
"@vue/compiler-ssr" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/compiler-core" "3.1.0-beta.3"
"@vue/compiler-dom" "3.1.0-beta.3"
"@vue/compiler-ssr" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
consolidate "^0.16.0"
estree-walker "^2.0.1"
hash-sum "^2.0.0"
......@@ -240,26 +240,26 @@
postcss-selector-parser "^6.0.4"
source-map "^0.6.1"
"@vue/compiler-ssr@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.1.0-beta.2.tgz#cb37aeebc891565563344d9de6d14909b85c9306"
integrity sha512-so6oRJnRAQUzTT/e+RmsjbVx1nixkp1VQjFtRVaeeWM+foW7aYcXWQYIodMrK8u7gobyvE0vMpXL2+frEG8QOw==
"@vue/compiler-ssr@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.1.0-beta.3.tgz#7d8a061546f9a4cd48c21f3f8b14da2817e3379e"
integrity sha512-hoKitlYjftlEQfq2l+GglkdTrtpO4xL+mZqGqnjHiyrDNtfr/iiklHn4ISbFc8oLsJMNDF3rGH0fxxGQQaB7RQ==
dependencies:
"@vue/compiler-dom" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/compiler-dom" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
"@vue/server-renderer@^3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.1.0-beta.2.tgz#fcaa8c7a67dba62d74f3ce5534cada6dc70fdb7e"
integrity sha512-q7akXQl+y5JKBlRs6ehR2WlPStObr/7IiIpR+s7S3jnxpEYhXEorH/z+CVkvWIU3nCk1Kvkyl97Igj+WNmtSqA==
"@vue/server-renderer@^3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.1.0-beta.3.tgz#d30d467965165c6e68dd76044d3315f55d61fc0d"
integrity sha512-WQFnWOLHN6NUi8T8yZRaPcR3Q0yHtGiQp0/igTQB9PG/0xtQkhOhtwOw5o7fHu3Wm6E3XSQ+4uEsIZhriq9znw==
dependencies:
"@vue/compiler-ssr" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/compiler-ssr" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
"@vue/shared@3.1.0-beta.2", "@vue/shared@^3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.0-beta.2.tgz#1189078bbf081c3f19e98709c27cbbafbfcdc6f7"
integrity sha512-PZNk03DalUOn3f5Egf/pcaINPLwpcwshjo4PuMXV/76PBfHvKxvkVhCL+aYDfY/9ZeKH+H0hQ00otuAFRLjlKw==
"@vue/shared@3.1.0-beta.3", "@vue/shared@^3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.0-beta.3.tgz#649a15552a8160d0f51ef7a23f442537e8b805f0"
integrity sha512-zYrNcrpA2Ini2o3XoS6M9w82lyjRudvB8CmCEZ8/orLWXmDOtvQVT+5wRGSOQmWyFGa3ljwxsbhU0bY1PsFvJQ==
accepts@~1.3.5, accepts@~1.3.7:
version "1.3.7"
......@@ -862,7 +862,7 @@ end-of-stream@^1.1.0:
dependencies:
once "^1.4.0"
esbuild@^0.11.19:
esbuild@^0.11.20:
version "0.11.20"
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.11.20.tgz#7cefa1aee8b372c184e42457885f7ce5d3e62a1e"
integrity sha512-QOZrVpN/Yz74xfat0H6euSgn3RnwLevY1mJTEXneukz1ln9qB+ieaerRMzSeETpz/UJWsBMzRVR/andBht5WKw==
......@@ -2448,12 +2448,12 @@ verror@1.10.0:
core-util-is "1.0.2"
extsprintf "^1.2.0"
vite@^2.3.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/vite/-/vite-2.3.1.tgz#0786c2e097a744f122ae8c0319d0a6910b32d41c"
integrity sha512-yvcLclv/G0syHL+bBtahdaymH0x6La8kbTlnAssRH+XFvDNb8VPRruHhILCCmZgtx6Zu/UKNFTQnQ4Gk/omyUA==
vite@^2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/vite/-/vite-2.3.2.tgz#cfac76b04d4dee1c7303b55f563b5b62d32f41fe"
integrity sha512-QhLdOompDrfkyryCNTts9HE+eJhvhN9ibKNJ5Q8DpQai+6nOsuIlaveZNg67e1O/2QaWqXeBo82eHnAs1De2bQ==
dependencies:
esbuild "^0.11.19"
esbuild "^0.11.20"
postcss "^8.2.10"
resolve "^1.19.0"
rollup "^2.38.5"
......
......@@ -253,9 +253,7 @@ function createGetter(isReadonly = false, shallow = false) {
return Reflect.get(arrayInstrumentations, key, receiver);
}
const res = Reflect.get(target, key, receiver);
if (shared.isSymbol(key)
? builtInSymbols.has(key)
: isNonTrackableKeys(key)) {
if (shared.isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
return res;
}
if (!isReadonly) {
......@@ -1656,13 +1654,13 @@ const deprecationData = {
`\n\n configureCompat({ ${"ATTR_FALSE_VALUE" /* ATTR_FALSE_VALUE */}: false })\n`,
link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`
},
["ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */]: {
["ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */]: {
message: (name, value, coerced) => `Enumerated attribute "${name}" with v-bind value \`${value}\` will ` +
`${value === null ? `be removed` : `render the value as-is`} instead of coercing the value to "${coerced}" in Vue 3. ` +
`Always use explicit "true" or "false" values for enumerated attributes. ` +
`If the usage is intended, ` +
`you can disable the compat behavior and suppress this warning with:` +
`\n\n configureCompat({ ${"ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */}: false })\n`,
`\n\n configureCompat({ ${"ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */}: false })\n`,
link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`
},
["TRANSITION_CLASSES" /* TRANSITION_CLASSES */]: {
......@@ -3439,7 +3437,8 @@ const KeepAliveImpl = {
if (!sharedContext.renderer) {
return () => slots.default && slots.default()[0]; // fixed by xxxxxx
}
if (props.cache && props.max) { // fixed by xxxxxx
if (props.cache && props.max) {
// fixed by xxxxxx
warn('The `max` prop will be ignored if you provide a custom caching strategy');
}
const cache = props.cache || new Cache(props.max);
......@@ -3871,7 +3870,7 @@ function applyOptions(instance, options, deferredData = [], deferredWatch = [],
// state
data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions,
// lifecycle
beforeMount, mounted, beforeUpdate, updated, beforeActivate, activated, beforeDeactivate, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
// public API
expose } = options;
const publicThis = instance.proxy;
......@@ -4037,48 +4036,24 @@ function applyOptions(instance, options, deferredData = [], deferredWatch = [],
if (!asMixin) {
callSyncHook('created', "c" /* CREATED */, options, instance, globalMixins);
}
if (beforeMount) {
onBeforeMount(beforeMount.bind(publicThis));
}
if (mounted) {
onMounted(mounted.bind(publicThis));
}
if (beforeUpdate) {
onBeforeUpdate(beforeUpdate.bind(publicThis));
}
if (updated) {
onUpdated(updated.bind(publicThis));
}
if (beforeActivate) {
onBeforeActivate(beforeActivate.bind(publicThis));
}
if (activated) {
onActivated(activated.bind(publicThis));
}
if (beforeDeactivate) {
onBeforeDeactivate(beforeDeactivate.bind(publicThis));
}
if (deactivated) {
onDeactivated(deactivated.bind(publicThis));
}
if (errorCaptured) {
onErrorCaptured(errorCaptured.bind(publicThis));
}
if (renderTracked) {
onRenderTracked(renderTracked.bind(publicThis));
}
if (renderTriggered) {
onRenderTriggered(renderTriggered.bind(publicThis));
}
if (beforeUnmount) {
onBeforeUnmount(beforeUnmount.bind(publicThis));
}
if (unmounted) {
onUnmounted(unmounted.bind(publicThis));
}
if (serverPrefetch) {
onServerPrefetch(serverPrefetch.bind(publicThis));
}
function registerLifecycleHook(register, hook) {
// Array lifecycle hooks are only present in the compat build
if (hook) {
register(hook.bind(publicThis));
}
}
registerLifecycleHook(onBeforeMount, beforeMount);
registerLifecycleHook(onMounted, mounted);
registerLifecycleHook(onBeforeUpdate, beforeUpdate);
registerLifecycleHook(onUpdated, updated);
registerLifecycleHook(onActivated, activated);
registerLifecycleHook(onDeactivated, deactivated);
registerLifecycleHook(onErrorCaptured, errorCaptured);
registerLifecycleHook(onRenderTracked, renderTracked);
registerLifecycleHook(onRenderTriggered, renderTriggered);
registerLifecycleHook(onBeforeUnmount, beforeUnmount);
registerLifecycleHook(onUnmounted, unmounted);
registerLifecycleHook(onServerPrefetch, serverPrefetch);
if (shared.isArray(expose)) {
if (!asMixin) {
if (expose.length) {
......@@ -8413,7 +8388,7 @@ function initCustomFormatter() {
}
// Core API ------------------------------------------------------------------
const version = "3.1.0-beta.2";
const version = "3.1.0-beta.3";
const _ssrUtils = {
createComponentInstance,
setupComponent,
......
......@@ -720,9 +720,7 @@ function createGetter(isReadonly = false, shallow = false) {
return Reflect.get(arrayInstrumentations, key, receiver);
}
const res = Reflect.get(target, key, receiver);
if (isSymbol(key)
? builtInSymbols.has(key)
: isNonTrackableKeys(key)) {
if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
return res;
}
if (!isReadonly) {
......@@ -2124,13 +2122,13 @@ const deprecationData = {
`\n\n configureCompat({ ${"ATTR_FALSE_VALUE" /* ATTR_FALSE_VALUE */}: false })\n`,
link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`
},
["ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */]: {
["ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */]: {
message: (name, value, coerced) => `Enumerated attribute "${name}" with v-bind value \`${value}\` will ` +
`${value === null ? `be removed` : `render the value as-is`} instead of coercing the value to "${coerced}" in Vue 3. ` +
`Always use explicit "true" or "false" values for enumerated attributes. ` +
`If the usage is intended, ` +
`you can disable the compat behavior and suppress this warning with:` +
`\n\n configureCompat({ ${"ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */}: false })\n`,
`\n\n configureCompat({ ${"ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */}: false })\n`,
link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`
},
["TRANSITION_CLASSES" /* TRANSITION_CLASSES */]: {
......@@ -4581,7 +4579,7 @@ function applyOptions(instance, options, deferredData = [], deferredWatch = [],
// state
data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions,
// lifecycle
beforeMount, mounted, beforeUpdate, updated, beforeActivate, activated, beforeDeactivate, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
// public API
expose } = options;
const publicThis = instance.proxy;
......@@ -4750,56 +4748,35 @@ function applyOptions(instance, options, deferredData = [], deferredWatch = [],
if (!asMixin) {
callSyncHook('created', "c" /* CREATED */, options, instance, globalMixins);
}
if (beforeMount) {
onBeforeMount(beforeMount.bind(publicThis));
}
if (mounted) {
onMounted(mounted.bind(publicThis));
}
if (beforeUpdate) {
onBeforeUpdate(beforeUpdate.bind(publicThis));
}
if (updated) {
onUpdated(updated.bind(publicThis));
}
if (beforeActivate) {
onBeforeActivate(beforeActivate.bind(publicThis));
}
if (activated) {
onActivated(activated.bind(publicThis));
}
if (beforeDeactivate) {
onBeforeDeactivate(beforeDeactivate.bind(publicThis));
}
if (deactivated) {
onDeactivated(deactivated.bind(publicThis));
}
if (errorCaptured) {
onErrorCaptured(errorCaptured.bind(publicThis));
}
if (renderTracked) {
onRenderTracked(renderTracked.bind(publicThis));
}
if (renderTriggered) {
onRenderTriggered(renderTriggered.bind(publicThis));
}
if (beforeUnmount) {
onBeforeUnmount(beforeUnmount.bind(publicThis));
}
if (unmounted) {
onUnmounted(unmounted.bind(publicThis));
}
if (serverPrefetch) {
onServerPrefetch(serverPrefetch.bind(publicThis));
}
function registerLifecycleHook(register, hook) {
// Array lifecycle hooks are only present in the compat build
if (isArray(hook)) {
hook.forEach(_hook => register(_hook.bind(publicThis)));
}
else if (hook) {
register(hook.bind(publicThis));
}
}
registerLifecycleHook(onBeforeMount, beforeMount);
registerLifecycleHook(onMounted, mounted);
registerLifecycleHook(onBeforeUpdate, beforeUpdate);
registerLifecycleHook(onUpdated, updated);
registerLifecycleHook(onActivated, activated);
registerLifecycleHook(onDeactivated, deactivated);
registerLifecycleHook(onErrorCaptured, errorCaptured);
registerLifecycleHook(onRenderTracked, renderTracked);
registerLifecycleHook(onRenderTriggered, renderTriggered);
registerLifecycleHook(onBeforeUnmount, beforeUnmount);
registerLifecycleHook(onUnmounted, unmounted);
registerLifecycleHook(onServerPrefetch, serverPrefetch);
{
if (beforeDestroy &&
softAssertCompatEnabled("OPTIONS_BEFORE_DESTROY" /* OPTIONS_BEFORE_DESTROY */, instance)) {
onBeforeUnmount(beforeDestroy.bind(publicThis));
registerLifecycleHook(onBeforeUnmount, beforeDestroy);
}
if (destroyed &&
softAssertCompatEnabled("OPTIONS_DESTROYED" /* OPTIONS_DESTROYED */, instance)) {
onUnmounted(destroyed.bind(publicThis));
registerLifecycleHook(onUnmounted, destroyed);
}
}
if (isArray(expose)) {
......@@ -5747,8 +5724,11 @@ const legacyOptionMergeStrats = {
// on the watch-specific behavior, just expose the object merge strat.
watch: mergeObjectOptions
};
function toArray(target) {
return isArray(target) ? target : target ? [target] : [];
}
function mergeHook(to, from) {
return Array.from(new Set([...(isArray(to) ? to : to ? [to] : []), from]));
return Array.from(new Set([...toArray(to), ...toArray(from)]));
}
function mergeObjectOptions(to, from) {
return to ? extend(extend(Object.create(null), to), from) : from;
......@@ -5784,7 +5764,7 @@ function createCompatVue(createApp, createSingletonApp) {
return vm;
}
}
Vue.version = "3.1.0-beta.2";
Vue.version = "3.1.0-beta.3";
Vue.config = singletonApp.config;
Vue.use = (p, ...options) => {
if (p && isFunction(p.install)) {
......@@ -10419,7 +10399,7 @@ function initCustomFormatter() {
}
// Core API ------------------------------------------------------------------
const version = "3.1.0-beta.2";
const version = "3.1.0-beta.3";
/**
* SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
* @internal
......@@ -10666,7 +10646,7 @@ function compatCoerceAttr(el, key, value, instance = null) {
? 'true'
: null;
if (v2CocercedValue &&
compatUtils.softAssertCompatEnabled("ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */, instance, key, value, v2CocercedValue)) {
compatUtils.softAssertCompatEnabled("ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */, instance, key, value, v2CocercedValue)) {
el.setAttribute(key, v2CocercedValue);
return true;
}
......@@ -16631,6 +16611,13 @@ const transformText = (node, context) => {
(node.type === 0 /* ROOT */ ||
(node.type === 1 /* ELEMENT */ &&
node.tagType === 0 /* ELEMENT */ &&
// #3756
// custom directives can potentially add DOM elements arbitrarily,
// we need to avoid setting textContent of the element at runtime
// to avoid accidentally overwriting the DOM elements added
// by the user through custom directives.
!node.props.find(p => p.type === 7 /* DIRECTIVE */ &&
!context.directiveTransforms[p.name]) &&
// in compat mode, <template> tags with no special directives
// will be rendered as a fragment so its children must be
// converted into vnodes.
......
......@@ -615,9 +615,7 @@ function createGetter(isReadonly = false, shallow = false) {
return Reflect.get(arrayInstrumentations, key, receiver);
}
const res = Reflect.get(target, key, receiver);
if (isSymbol(key)
? builtInSymbols.has(key)
: isNonTrackableKeys(key)) {
if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
return res;
}
if (!isReadonly) {
......@@ -2027,13 +2025,13 @@ const deprecationData = {
`\n\n configureCompat({ ${"ATTR_FALSE_VALUE" /* ATTR_FALSE_VALUE */}: false })\n`,
link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`
},
["ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */]: {
["ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */]: {
message: (name, value, coerced) => `Enumerated attribute "${name}" with v-bind value \`${value}\` will ` +
`${value === null ? `be removed` : `render the value as-is`} instead of coercing the value to "${coerced}" in Vue 3. ` +
`Always use explicit "true" or "false" values for enumerated attributes. ` +
`If the usage is intended, ` +
`you can disable the compat behavior and suppress this warning with:` +
`\n\n configureCompat({ ${"ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */}: false })\n`,
`\n\n configureCompat({ ${"ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */}: false })\n`,
link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`
},
["TRANSITION_CLASSES" /* TRANSITION_CLASSES */]: {
......@@ -4505,7 +4503,7 @@ function applyOptions(instance, options, deferredData = [], deferredWatch = [],
// state
data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions,
// lifecycle
beforeMount, mounted, beforeUpdate, updated, beforeActivate, activated, beforeDeactivate, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
// public API
expose } = options;
const publicThis = instance.proxy;
......@@ -4678,56 +4676,35 @@ function applyOptions(instance, options, deferredData = [], deferredWatch = [],
if (!asMixin) {
callSyncHook('created', "c" /* CREATED */, options, instance, globalMixins);
}
if (beforeMount) {
onBeforeMount(beforeMount.bind(publicThis));
}
if (mounted) {
onMounted(mounted.bind(publicThis));
}
if (beforeUpdate) {
onBeforeUpdate(beforeUpdate.bind(publicThis));
}
if (updated) {
onUpdated(updated.bind(publicThis));
}
if (beforeActivate) {
onBeforeActivate(beforeActivate.bind(publicThis));
}
if (activated) {
onActivated(activated.bind(publicThis));
}
if (beforeDeactivate) {
onBeforeDeactivate(beforeDeactivate.bind(publicThis));
}
if (deactivated) {
onDeactivated(deactivated.bind(publicThis));
}
if (errorCaptured) {
onErrorCaptured(errorCaptured.bind(publicThis));
}
if (renderTracked) {
onRenderTracked(renderTracked.bind(publicThis));
}
if (renderTriggered) {
onRenderTriggered(renderTriggered.bind(publicThis));
}
if (beforeUnmount) {
onBeforeUnmount(beforeUnmount.bind(publicThis));
}
if (unmounted) {
onUnmounted(unmounted.bind(publicThis));
}
if (serverPrefetch) {
onServerPrefetch(serverPrefetch.bind(publicThis));
}
function registerLifecycleHook(register, hook) {
// Array lifecycle hooks are only present in the compat build
if (isArray(hook)) {
hook.forEach(_hook => register(_hook.bind(publicThis)));
}
else if (hook) {
register(hook.bind(publicThis));
}
}
registerLifecycleHook(onBeforeMount, beforeMount);
registerLifecycleHook(onMounted, mounted);
registerLifecycleHook(onBeforeUpdate, beforeUpdate);
registerLifecycleHook(onUpdated, updated);
registerLifecycleHook(onActivated, activated);
registerLifecycleHook(onDeactivated, deactivated);
registerLifecycleHook(onErrorCaptured, errorCaptured);
registerLifecycleHook(onRenderTracked, renderTracked);
registerLifecycleHook(onRenderTriggered, renderTriggered);
registerLifecycleHook(onBeforeUnmount, beforeUnmount);
registerLifecycleHook(onUnmounted, unmounted);
registerLifecycleHook(onServerPrefetch, serverPrefetch);
{
if (beforeDestroy &&
softAssertCompatEnabled("OPTIONS_BEFORE_DESTROY" /* OPTIONS_BEFORE_DESTROY */, instance)) {
onBeforeUnmount(beforeDestroy.bind(publicThis));
registerLifecycleHook(onBeforeUnmount, beforeDestroy);
}
if (destroyed &&
softAssertCompatEnabled("OPTIONS_DESTROYED" /* OPTIONS_DESTROYED */, instance)) {
onUnmounted(destroyed.bind(publicThis));
registerLifecycleHook(onUnmounted, destroyed);
}
}
if (isArray(expose)) {
......@@ -5679,8 +5656,11 @@ const legacyOptionMergeStrats = {
// on the watch-specific behavior, just expose the object merge strat.
watch: mergeObjectOptions
};
function toArray(target) {
return isArray(target) ? target : target ? [target] : [];
}
function mergeHook(to, from) {
return Array.from(new Set([...(isArray(to) ? to : to ? [to] : []), from]));
return Array.from(new Set([...toArray(to), ...toArray(from)]));
}
function mergeObjectOptions(to, from) {
return to ? extend(extend(Object.create(null), to), from) : from;
......@@ -5716,7 +5696,7 @@ function createCompatVue(createApp, createSingletonApp) {
return vm;
}
}
Vue.version = "3.1.0-beta.2";
Vue.version = "3.1.0-beta.3";
Vue.config = singletonApp.config;
Vue.use = (p, ...options) => {
if (p && isFunction(p.install)) {
......@@ -10440,7 +10420,7 @@ function initCustomFormatter() {
}
// Core API ------------------------------------------------------------------
const version = "3.1.0-beta.2";
const version = "3.1.0-beta.3";
const _ssrUtils = {
createComponentInstance,
setupComponent,
......@@ -10695,7 +10675,7 @@ function compatCoerceAttr(el, key, value, instance = null) {
? 'true'
: null;
if (v2CocercedValue &&
compatUtils.softAssertCompatEnabled("ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */, instance, key, value, v2CocercedValue)) {
compatUtils.softAssertCompatEnabled("ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */, instance, key, value, v2CocercedValue)) {
el.setAttribute(key, v2CocercedValue);
return true;
}
......@@ -16030,6 +16010,13 @@ const transformText = (node, context) => {
(node.type === 0 /* ROOT */ ||
(node.type === 1 /* ELEMENT */ &&
node.tagType === 0 /* ELEMENT */ &&
// #3756
// custom directives can potentially add DOM elements arbitrarily,
// we need to avoid setting textContent of the element at runtime
// to avoid accidentally overwriting the DOM elements added
// by the user through custom directives.
!node.props.find(p => p.type === 7 /* DIRECTIVE */ &&
!context.directiveTransforms[p.name]) &&
// in compat mode, <template> tags with no special directives
// will be rendered as a fragment so its children must be
// converted into vnodes.
......
......@@ -250,9 +250,7 @@ function createGetter(isReadonly = false, shallow = false) {
return Reflect.get(arrayInstrumentations, key, receiver);
}
const res = Reflect.get(target, key, receiver);
if (isSymbol(key)
? builtInSymbols.has(key)
: isNonTrackableKeys(key)) {
if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
return res;
}
if (!isReadonly) {
......@@ -1662,13 +1660,13 @@ const deprecationData = {
`\n\n configureCompat({ ${"ATTR_FALSE_VALUE" /* ATTR_FALSE_VALUE */}: false })\n`,
link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`
},
["ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */]: {
["ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */]: {
message: (name, value, coerced) => `Enumerated attribute "${name}" with v-bind value \`${value}\` will ` +
`${value === null ? `be removed` : `render the value as-is`} instead of coercing the value to "${coerced}" in Vue 3. ` +
`Always use explicit "true" or "false" values for enumerated attributes. ` +
`If the usage is intended, ` +
`you can disable the compat behavior and suppress this warning with:` +
`\n\n configureCompat({ ${"ATTR_ENUMERATED_COERSION" /* ATTR_ENUMERATED_COERSION */}: false })\n`,
`\n\n configureCompat({ ${"ATTR_ENUMERATED_COERCION" /* ATTR_ENUMERATED_COERCION */}: false })\n`,
link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`
},
["TRANSITION_CLASSES" /* TRANSITION_CLASSES */]: {
......@@ -3431,7 +3429,8 @@ const KeepAliveImpl = {
if (!sharedContext.renderer) {
return () => slots.default && slots.default()[0]; // fixed by xxxxxx
}
if ((process.env.NODE_ENV !== 'production') && props.cache && props.max) { // fixed by xxxxxx
if ((process.env.NODE_ENV !== 'production') && props.cache && props.max) {
// fixed by xxxxxx
warn('The `max` prop will be ignored if you provide a custom caching strategy');
}
const cache = props.cache || new Cache(props.max);
......@@ -3863,7 +3862,7 @@ function applyOptions(instance, options, deferredData = [], deferredWatch = [],
// state
data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions,
// lifecycle
beforeMount, mounted, beforeUpdate, updated, beforeActivate, activated, beforeDeactivate, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
// public API
expose } = options;
const publicThis = instance.proxy;
......@@ -4033,48 +4032,24 @@ function applyOptions(instance, options, deferredData = [], deferredWatch = [],
if (!asMixin) {
callSyncHook('created', "c" /* CREATED */, options, instance, globalMixins);
}
if (beforeMount) {
onBeforeMount(beforeMount.bind(publicThis));
}
if (mounted) {
onMounted(mounted.bind(publicThis));
}
if (beforeUpdate) {
onBeforeUpdate(beforeUpdate.bind(publicThis));
}
if (updated) {
onUpdated(updated.bind(publicThis));
}
if (beforeActivate) {
onBeforeActivate(beforeActivate.bind(publicThis));
}
if (activated) {
onActivated(activated.bind(publicThis));
}
if (beforeDeactivate) {
onBeforeDeactivate(beforeDeactivate.bind(publicThis));
}
if (deactivated) {
onDeactivated(deactivated.bind(publicThis));
}
if (errorCaptured) {
onErrorCaptured(errorCaptured.bind(publicThis));
}
if (renderTracked) {
onRenderTracked(renderTracked.bind(publicThis));
}
if (renderTriggered) {
onRenderTriggered(renderTriggered.bind(publicThis));
}
if (beforeUnmount) {
onBeforeUnmount(beforeUnmount.bind(publicThis));
}
if (unmounted) {
onUnmounted(unmounted.bind(publicThis));
}
if (serverPrefetch) {
onServerPrefetch(serverPrefetch.bind(publicThis));
}
function registerLifecycleHook(register, hook) {
// Array lifecycle hooks are only present in the compat build
if (hook) {
register(hook.bind(publicThis));
}
}
registerLifecycleHook(onBeforeMount, beforeMount);
registerLifecycleHook(onMounted, mounted);
registerLifecycleHook(onBeforeUpdate, beforeUpdate);
registerLifecycleHook(onUpdated, updated);
registerLifecycleHook(onActivated, activated);
registerLifecycleHook(onDeactivated, deactivated);
registerLifecycleHook(onErrorCaptured, errorCaptured);
registerLifecycleHook(onRenderTracked, renderTracked);
registerLifecycleHook(onRenderTriggered, renderTriggered);
registerLifecycleHook(onBeforeUnmount, beforeUnmount);
registerLifecycleHook(onUnmounted, unmounted);
registerLifecycleHook(onServerPrefetch, serverPrefetch);
if (isArray(expose)) {
if (!asMixin) {
if (expose.length) {
......@@ -8469,7 +8444,7 @@ function initCustomFormatter() {
}
// Core API ------------------------------------------------------------------
const version = "3.1.0-beta.2";
const version = "3.1.0-beta.3";
/**
* SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
* @internal
......
......@@ -27,5 +27,9 @@
"safe-area-insets": "^1.4.1",
"vue-router": "^4.0.6",
"xmlhttprequest": "^1.8.0"
},
"peerDependencies": {
"@vue/shared": "^3.1.0-beta.3",
"vue-router": "^4.0.6"
}
}
......@@ -41,9 +41,9 @@
},
"peerDependencies": {
"@vitejs/plugin-vue": "^1.2.2",
"@vue/compiler-sfc": "^3.1.0-beta.2",
"@vue/server-renderer": "^3.1.0-beta.2",
"@vue/shared": "^3.1.0-beta.2",
"@vue/compiler-sfc": "^3.1.0-beta.3",
"@vue/server-renderer": "^3.1.0-beta.3",
"@vue/shared": "^3.1.0-beta.3",
"vite": "^2.3.0"
},
"devDependencies": {
......
......@@ -22,19 +22,19 @@
integrity sha512-vu9V3uMM/1o5Hl5OekMUowo3FqXLJSw+s+66nt0fSWVWTtmosdzn45JHOB3cPtZoe6CTBDzvSw0RdOY85Q37+Q==
"@babel/core@^7.1.0", "@babel/core@^7.12.10", "@babel/core@^7.7.5":
version "7.14.0"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.0.tgz#47299ff3ec8d111b493f1a9d04bf88c04e728d88"
integrity sha512-8YqpRig5NmIHlMLw09zMlPTvUVMILjqCOtVgu+TVNWEBvy9b5I3RRyhqnrV4hjgEK7n8P9OqvkWJAFmEL6Wwfw==
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.2.tgz#54e45334ffc0172048e5c93ded36461d3ad4c417"
integrity sha512-OgC1mON+l4U4B4wiohJlQNUU3H73mpTyYY3j/c8U9dr9UagGGSm+WFpzjy/YLdoyjiG++c1kIDgxCo/mLwQJeQ==
dependencies:
"@babel/code-frame" "^7.12.13"
"@babel/generator" "^7.14.0"
"@babel/generator" "^7.14.2"
"@babel/helper-compilation-targets" "^7.13.16"
"@babel/helper-module-transforms" "^7.14.0"
"@babel/helper-module-transforms" "^7.14.2"
"@babel/helpers" "^7.14.0"
"@babel/parser" "^7.14.0"
"@babel/parser" "^7.14.2"
"@babel/template" "^7.12.13"
"@babel/traverse" "^7.14.0"
"@babel/types" "^7.14.0"
"@babel/traverse" "^7.14.2"
"@babel/types" "^7.14.2"
convert-source-map "^1.7.0"
debug "^4.1.0"
gensync "^1.0.0-beta.2"
......@@ -42,12 +42,12 @@
semver "^6.3.0"
source-map "^0.5.0"
"@babel/generator@^7.14.0":
version "7.14.1"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.1.tgz#1f99331babd65700183628da186f36f63d615c93"
integrity sha512-TMGhsXMXCP/O1WtQmZjpEYDhCYC9vFhayWZPJSZCGkPJgUqX0rF0wwtrYvnzVxIjcF80tkUertXVk5cwqi5cAQ==
"@babel/generator@^7.14.2":
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.2.tgz#d5773e8b557d421fd6ce0d5efa5fd7fc22567c30"
integrity sha512-OnADYbKrffDVai5qcpkMxQ7caomHOoEwjkouqnN2QhydAjowFAZcsdecFIRUBdb+ZcruwYE4ythYmF1UBZU5xQ==
dependencies:
"@babel/types" "^7.14.1"
"@babel/types" "^7.14.2"
jsesc "^2.5.1"
source-map "^0.5.0"
......@@ -69,25 +69,25 @@
semver "^6.3.0"
"@babel/helper-create-class-features-plugin@^7.13.0":
version "7.14.1"
resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.1.tgz#1fe11b376f3c41650ad9fedc665b0068722ea76c"
integrity sha512-r8rsUahG4ywm0QpGcCrLaUSOuNAISR3IZCg4Fx05Ozq31aCUrQsTLH6KPxy0N5ULoQ4Sn9qjNdGNtbPWAC6hYg==
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.2.tgz#4e455b0329af29c2d3ad254b5dd5aed34595385d"
integrity sha512-6YctwVsmlkchxfGUogvVrrhzyD3grFJyluj5JgDlQrwfMLJSt5tdAzFZfPf4H2Xoi5YLcQ6BxfJlaOBHuctyIw==
dependencies:
"@babel/helper-annotate-as-pure" "^7.12.13"
"@babel/helper-function-name" "^7.12.13"
"@babel/helper-function-name" "^7.14.2"
"@babel/helper-member-expression-to-functions" "^7.13.12"
"@babel/helper-optimise-call-expression" "^7.12.13"
"@babel/helper-replace-supers" "^7.13.12"
"@babel/helper-split-export-declaration" "^7.12.13"
"@babel/helper-function-name@^7.12.13":
version "7.12.13"
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz#93ad656db3c3c2232559fd7b2c3dbdcbe0eb377a"
integrity sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==
"@babel/helper-function-name@^7.14.2":
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.14.2.tgz#397688b590760b6ef7725b5f0860c82427ebaac2"
integrity sha512-NYZlkZRydxw+YT56IlhIcS8PAhb+FEUiOzuhFTfqDyPmzAhRge6ua0dQYT/Uh0t/EDHq05/i+e5M2d4XvjgarQ==
dependencies:
"@babel/helper-get-function-arity" "^7.12.13"
"@babel/template" "^7.12.13"
"@babel/types" "^7.12.13"
"@babel/types" "^7.14.2"
"@babel/helper-get-function-arity@^7.12.13":
version "7.12.13"
......@@ -110,10 +110,10 @@
dependencies:
"@babel/types" "^7.13.12"
"@babel/helper-module-transforms@^7.14.0":
version "7.14.0"
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.14.0.tgz#8fcf78be220156f22633ee204ea81f73f826a8ad"
integrity sha512-L40t9bxIuGOfpIGA3HNkJhU9qYrf4y5A5LUSw7rGMSn+pcG8dfJ0g6Zval6YJGd2nEjI7oP00fRdnhLKndx6bw==
"@babel/helper-module-transforms@^7.14.2":
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.14.2.tgz#ac1cc30ee47b945e3e0c4db12fa0c5389509dfe5"
integrity sha512-OznJUda/soKXv0XhpvzGWDnml4Qnwp16GN+D/kZIdLsWoHj05kyu8Rm5kXmMef+rVJZ0+4pSGLkeixdqNUATDA==
dependencies:
"@babel/helper-module-imports" "^7.13.12"
"@babel/helper-replace-supers" "^7.13.12"
......@@ -121,8 +121,8 @@
"@babel/helper-split-export-declaration" "^7.12.13"
"@babel/helper-validator-identifier" "^7.14.0"
"@babel/template" "^7.12.13"
"@babel/traverse" "^7.14.0"
"@babel/types" "^7.14.0"
"@babel/traverse" "^7.14.2"
"@babel/types" "^7.14.2"
"@babel/helper-optimise-call-expression@^7.12.13":
version "7.12.13"
......@@ -188,10 +188,10 @@
chalk "^2.0.0"
js-tokens "^4.0.0"
"@babel/parser@^7.1.0", "@babel/parser@^7.12.0", "@babel/parser@^7.12.13", "@babel/parser@^7.13.9", "@babel/parser@^7.14.0":
version "7.14.1"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.1.tgz#1bd644b5db3f5797c4479d89ec1817fe02b84c47"
integrity sha512-muUGEKu8E/ftMTPlNp+mc6zL3E9zKWmF5sDHZ5MSsoTP9Wyz64AhEf9kD08xYJ7w6Hdcu8H550ircnPyWSIF0Q==
"@babel/parser@^7.1.0", "@babel/parser@^7.12.0", "@babel/parser@^7.12.13", "@babel/parser@^7.13.9", "@babel/parser@^7.14.2":
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.2.tgz#0c1680aa44ad4605b16cbdcc5c341a61bde9c746"
integrity sha512-IoVDIHpsgE/fu7eXBeRWt8zLbDrSvD7H1gpomOkPpBoEN8KCruCqSDdqo8dddwQQrui30KSvQBaMUOJiuFu6QQ==
"@babel/plugin-syntax-async-generators@^7.8.4":
version "7.8.4"
......@@ -309,24 +309,24 @@
"@babel/parser" "^7.12.13"
"@babel/types" "^7.12.13"
"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.0":
version "7.14.0"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.0.tgz#cea0dc8ae7e2b1dec65f512f39f3483e8cc95aef"
integrity sha512-dZ/a371EE5XNhTHomvtuLTUyx6UEoJmYX+DT5zBCQN3McHemsuIaKKYqsc/fs26BEkHs/lBZy0J571LP5z9kQA==
"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.0", "@babel/traverse@^7.14.2":
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.2.tgz#9201a8d912723a831c2679c7ebbf2fe1416d765b"
integrity sha512-TsdRgvBFHMyHOOzcP9S6QU0QQtjxlRpEYOy3mcCO5RgmC305ki42aSAmfZEMSSYBla2oZ9BMqYlncBaKmD/7iA==
dependencies:
"@babel/code-frame" "^7.12.13"
"@babel/generator" "^7.14.0"
"@babel/helper-function-name" "^7.12.13"
"@babel/generator" "^7.14.2"
"@babel/helper-function-name" "^7.14.2"
"@babel/helper-split-export-declaration" "^7.12.13"
"@babel/parser" "^7.14.0"
"@babel/types" "^7.14.0"
"@babel/parser" "^7.14.2"
"@babel/types" "^7.14.2"
debug "^4.1.0"
globals "^11.1.0"
"@babel/types@^7.0.0", "@babel/types@^7.12.0", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.14.0", "@babel/types@^7.14.1", "@babel/types@^7.3.0", "@babel/types@^7.3.3":
version "7.14.1"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.1.tgz#095bd12f1c08ab63eff6e8f7745fa7c9cc15a9db"
integrity sha512-S13Qe85fzLs3gYRUnrpyeIrBJIMYv33qSTg1qoBwiG6nPKwUWAD9odSzWhEedpwOIzSEI6gbdQIWEMiCI42iBA==
"@babel/types@^7.0.0", "@babel/types@^7.12.0", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.14.0", "@babel/types@^7.14.2", "@babel/types@^7.3.0", "@babel/types@^7.3.3":
version "7.14.2"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.2.tgz#4208ae003107ef8a057ea8333e56eb64d2f6a2c3"
integrity sha512-SdjAG/3DikRHpUOjxZgnkbR11xUlyDMUFJdvnIgZEE16mqmY0BINMmc4//JMJglEmn6i7sq6p+mGrFWyZ98EEw==
dependencies:
"@babel/helper-validator-identifier" "^7.14.0"
to-fast-properties "^2.0.0"
......@@ -918,9 +918,9 @@
integrity sha512-e3sW4oEH0qS1QxSfX7PT6xIi5qk/YSMsrB9Lq8EtkhQBZB+bKyfkP+jpLJRySanvBhAQPSv2PEBe81M8Iy/7yg==
"@types/node@*":
version "15.0.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.2.tgz#51e9c0920d1b45936ea04341aa3e2e58d339fb67"
integrity sha512-p68+a+KoxpoB47015IeYZYRrdqMUcpbK8re/zpFB8Ld46LHC1lPEbp3EXgkEhAYEcPvjJF6ZO+869SQ0aH1dcA==
version "15.0.3"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.3.tgz#ee09fcaac513576474c327da5818d421b98db88a"
integrity sha512-/WbxFeBU+0F79z9RdEOXH4CsDga+ibi5M8uEYr91u3CkT/pdWcV8MCook+4wDPnZBexRdwWS+PiVZ2xJviAzcQ==
"@types/node@10.17.13":
version "10.17.13"
......@@ -928,9 +928,9 @@
integrity sha512-pMCcqU2zT4TjqYFrWtYHKal7Sl30Ims6ulZ4UFXxI4xbtQqK/qqKwkDoBFCfooRqqmRu9vY3xaJRwxSh673aYg==
"@types/node@^14.14.20":
version "14.14.44"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.44.tgz#df7503e6002847b834371c004b372529f3f85215"
integrity sha512-+gaugz6Oce6ZInfI/tK4Pq5wIIkJMEJUu92RB3Eu93mtj4wjjjz9EB5mLp5s1pSsLXdC/CPut/xF20ZzAQJbTA==
version "14.14.45"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.45.tgz#ec2dfb5566ff814d061aef7e141575aedba245cf"
integrity sha512-DssMqTV9UnnoxDWu959sDLZzfvqCF0qDNRjaWeYSui9xkFe61kKo4l1TWNTQONpuXEm+gLMRvdlzvNHBamzmEw==
"@types/normalize-package-data@^2.4.0":
version "2.4.0"
......@@ -1096,36 +1096,36 @@
html-tags "^3.1.0"
svg-tags "^1.0.0"
"@vue/compiler-core@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.1.0-beta.2.tgz#fa66626d621801676d11fd28e05ca43f88c67b2f"
integrity sha512-HLd5kCiZojcbcu4+PqD22XKkmqvo3XuM7xRAst3y0KXMlmCnkHIK7Z5mmogPjf/xBBZllWl2CIy9+bR7wrdDSA==
"@vue/compiler-core@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.1.0-beta.3.tgz#87fdac4c56f2a9a4182d930c70fc77f1efd8db45"
integrity sha512-4oviMm56Bk/PWDDqOx0DM5RsYMkMGmP54iK9cC8tG4vUTU2YagR4Suh7TJhidy1+SlBVGgujPwiOHtR8ehN1yQ==
dependencies:
"@babel/parser" "^7.12.0"
"@babel/types" "^7.12.0"
"@vue/shared" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.3"
estree-walker "^2.0.1"
source-map "^0.6.1"
"@vue/compiler-dom@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.1.0-beta.2.tgz#4c415102e20b3f54f733dd47d299f396bd0026ca"
integrity sha512-FgGCZyaJZ81eCydc6IY0u79DVt09vURYKj95bgQJo07doHW0tHptz9N3zRudfhA0VjoXuRMeDoKHMHuxI1rVHA==
"@vue/compiler-dom@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.1.0-beta.3.tgz#2f17427de9c51046ff6d186f5a8100813084e9c1"
integrity sha512-eN5fg6WLKauhX/vo7iiTsS7ITUXjkYRWl+KNRz94QeqmDkXKeK0f322u867tUtPZedO0bXnMt35VaBV6swJUEA==
dependencies:
"@vue/compiler-core" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/compiler-core" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
"@vue/compiler-sfc@^3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.1.0-beta.2.tgz#445b13a577545ca7c347ff59e66ee3e48fe307e5"
integrity sha512-LmCCGJoqX8N5hkBzFQkwrXCgZQdMzsQNuB16CmlsehBomQNfv1MDNaBexU9yUMC6OIn3Be/6ZN7Tg/MlhpSQTw==
"@vue/compiler-sfc@^3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.1.0-beta.3.tgz#67da747d4aa5025c9b2b48222ac76713e95ce887"
integrity sha512-rEGYgsjC+iLzkgV1FQnhPERzYjSkmdkv9/nySdUHtKPwN/rex9Z/Yq1d8MmMJ627UyoGusg/A2VRtcN4eUfE6w==
dependencies:
"@babel/parser" "^7.13.9"
"@babel/types" "^7.13.0"
"@vue/compiler-core" "3.1.0-beta.2"
"@vue/compiler-dom" "3.1.0-beta.2"
"@vue/compiler-ssr" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/compiler-core" "3.1.0-beta.3"
"@vue/compiler-dom" "3.1.0-beta.3"
"@vue/compiler-ssr" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
consolidate "^0.16.0"
estree-walker "^2.0.1"
hash-sum "^2.0.0"
......@@ -1137,42 +1137,42 @@
postcss-selector-parser "^6.0.4"
source-map "^0.6.1"
"@vue/compiler-ssr@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.1.0-beta.2.tgz#cb37aeebc891565563344d9de6d14909b85c9306"
integrity sha512-so6oRJnRAQUzTT/e+RmsjbVx1nixkp1VQjFtRVaeeWM+foW7aYcXWQYIodMrK8u7gobyvE0vMpXL2+frEG8QOw==
"@vue/compiler-ssr@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.1.0-beta.3.tgz#7d8a061546f9a4cd48c21f3f8b14da2817e3379e"
integrity sha512-hoKitlYjftlEQfq2l+GglkdTrtpO4xL+mZqGqnjHiyrDNtfr/iiklHn4ISbFc8oLsJMNDF3rGH0fxxGQQaB7RQ==
dependencies:
"@vue/compiler-dom" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/compiler-dom" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
"@vue/reactivity@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.1.0-beta.2.tgz#fd4acc6b65e7ed1aa28dc85a78a67389c396c616"
integrity sha512-vyP7sZZguSSDXdJ+rK/4+JNBHbmoPkmfQAPmIq1IGEfoA0SHuG4Rd8Ehtrm2LDtMSh2a1gPNjRQrmMffFddhsQ==
"@vue/reactivity@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.1.0-beta.3.tgz#94328652d2f76c691332806b9ff205847c7f956b"
integrity sha512-zA5m8IajiNbIrDiha8HaEzxqTcT0ZmcQkUoAwPK7exq70Z+AD4eemIWnXFiAaf+Mi8pePQ0dk0sITcWgXGo/pQ==
dependencies:
"@vue/shared" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.3"
"@vue/runtime-core@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.1.0-beta.2.tgz#abb1c0e606002fc6ac08cc1af8eaf17ebd9caa2b"
integrity sha512-adcboyG3NJEMgf3TBKYWAwTkN4UyMHJI1TRbUkh60t9m0QOH7cuNIDKtrEoy4XTCtH0mVfJ0P7Vob+axOMKB/A==
"@vue/runtime-core@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.1.0-beta.3.tgz#1c360e12c0f8016c227a9df46d5b13158cdbdc14"
integrity sha512-/GzufgW/y3O2ZHtvKoBqWCLXj13u5qGBFN4cPY2mbazHxyVCqX+FplVj/PI2wo02txzoJtH3/BXbC151fCx/Gg==
dependencies:
"@vue/reactivity" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/reactivity" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
"@vue/runtime-dom@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.1.0-beta.2.tgz#ddace09673677db312b09aa099a876b1d76bd9e9"
integrity sha512-LIJEJ/tR5l0bJwyPrbo7c/VFk9lVYkm0X7NowfWHL12aJfdigLNlu1t+jzUvZSt3noQdz8yKYP/zWrjOoLHvqg==
"@vue/runtime-dom@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.1.0-beta.3.tgz#83bca683010df26eac2b2b3544d0e52134b3ee41"
integrity sha512-s5W/6G8VQNEoTTLSb7cZ0uTWum8K5Sx5AFc0tRvUi2VyXJbgHUB/pN6SNvi3qsTbgSrYPG7kKWnhoxCZCBUwrA==
dependencies:
"@vue/runtime-core" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/runtime-core" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
csstype "^2.6.8"
"@vue/shared@3.1.0-beta.2":
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.0-beta.2.tgz#1189078bbf081c3f19e98709c27cbbafbfcdc6f7"
integrity sha512-PZNk03DalUOn3f5Egf/pcaINPLwpcwshjo4PuMXV/76PBfHvKxvkVhCL+aYDfY/9ZeKH+H0hQ00otuAFRLjlKw==
"@vue/shared@3.1.0-beta.3":
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.0-beta.3.tgz#649a15552a8160d0f51ef7a23f442537e8b805f0"
integrity sha512-zYrNcrpA2Ini2o3XoS6M9w82lyjRudvB8CmCEZ8/orLWXmDOtvQVT+5wRGSOQmWyFGa3ljwxsbhU0bY1PsFvJQ==
abab@^2.0.3, abab@^2.0.5:
version "2.0.5"
......@@ -2318,7 +2318,7 @@ error-ex@^1.3.1:
dependencies:
is-arrayish "^0.2.1"
esbuild@^0.11.19:
esbuild@^0.11.20:
version "0.11.20"
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.11.20.tgz#7cefa1aee8b372c184e42457885f7ce5d3e62a1e"
integrity sha512-QOZrVpN/Yz74xfat0H6euSgn3RnwLevY1mJTEXneukz1ln9qB+ieaerRMzSeETpz/UJWsBMzRVR/andBht5WKw==
......@@ -6309,12 +6309,12 @@ verror@1.10.0:
core-util-is "1.0.2"
extsprintf "^1.2.0"
vite@^2.3.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/vite/-/vite-2.3.1.tgz#0786c2e097a744f122ae8c0319d0a6910b32d41c"
integrity sha512-yvcLclv/G0syHL+bBtahdaymH0x6La8kbTlnAssRH+XFvDNb8VPRruHhILCCmZgtx6Zu/UKNFTQnQ4Gk/omyUA==
vite@^2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/vite/-/vite-2.3.2.tgz#cfac76b04d4dee1c7303b55f563b5b62d32f41fe"
integrity sha512-QhLdOompDrfkyryCNTts9HE+eJhvhN9ibKNJ5Q8DpQai+6nOsuIlaveZNg67e1O/2QaWqXeBo82eHnAs1De2bQ==
dependencies:
esbuild "^0.11.19"
esbuild "^0.11.20"
postcss "^8.2.10"
resolve "^1.19.0"
rollup "^2.38.5"
......@@ -6331,14 +6331,14 @@ vue-router@^4.0.6:
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.0.6.tgz#91750db507d26642f225b0ec6064568e5fe448d6"
integrity sha512-Y04llmK2PyaESj+N33VxLjGCUDuv9t4q2OpItEGU7POZiuQZaugV6cJpE6Qm1sVFtxufodLKN2y2dQl9nk0Reg==
vue@^3.1.0-beta.2:
version "3.1.0-beta.2"
resolved "https://registry.yarnpkg.com/vue/-/vue-3.1.0-beta.2.tgz#5d9a67c41e75d45cc1facea096d1a2f8483d024c"
integrity sha512-kjvIWSiB4TVujOho/dQEwcOuZNtdw+pk/qF9qGpzJ9EoSq2TlF5FvUCCX8ZGslM1iQperlYftRWmiNrPUJCDYA==
vue@^3.1.0-beta.3:
version "3.1.0-beta.3"
resolved "https://registry.yarnpkg.com/vue/-/vue-3.1.0-beta.3.tgz#ed7d944b3d276cbdcda8993f73833a05a182bd13"
integrity sha512-Um1HjcgTBs65/imtgxKJEfFV00UaAAxbTTpuWlTfHeKd2wSyvoMMvQdiwL+GuEeKzgG0pZomZ8z2otekcLkmCA==
dependencies:
"@vue/compiler-dom" "3.1.0-beta.2"
"@vue/runtime-dom" "3.1.0-beta.2"
"@vue/shared" "3.1.0-beta.2"
"@vue/compiler-dom" "3.1.0-beta.3"
"@vue/runtime-dom" "3.1.0-beta.3"
"@vue/shared" "3.1.0-beta.3"
w3c-hr-time@^1.0.2:
version "1.0.2"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册