@vue/compat 3.6.0-beta.1 → 3.6.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue.cjs.js +17 -12
- package/dist/vue.cjs.prod.js +17 -11
- package/dist/vue.esm-browser.js +16 -10
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +16 -10
- package/dist/vue.global.js +16 -10
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +16 -10
- package/dist/vue.runtime.esm-browser.prod.js +5 -5
- package/dist/vue.runtime.esm-bundler.js +16 -10
- package/dist/vue.runtime.global.js +16 -10
- package/dist/vue.runtime.global.prod.js +5 -5
- package/package.json +2 -2
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-beta.
|
|
2
|
+
* @vue/compat v3.6.0-beta.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -2466,7 +2466,6 @@ function warn$1(msg, ...args) {
|
|
|
2466
2466
|
instance,
|
|
2467
2467
|
11,
|
|
2468
2468
|
[
|
|
2469
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
2470
2469
|
msg + args.map((a) => {
|
|
2471
2470
|
var _a, _b;
|
|
2472
2471
|
return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
|
|
@@ -3096,7 +3095,6 @@ function setDevtoolsHook$1(hook, target) {
|
|
|
3096
3095
|
// (#4815)
|
|
3097
3096
|
typeof window !== "undefined" && // some envs mock window but not fully
|
|
3098
3097
|
window.HTMLElement && // also exclude jsdom
|
|
3099
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
3100
3098
|
!((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes("jsdom"))
|
|
3101
3099
|
) {
|
|
3102
3100
|
const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];
|
|
@@ -5590,9 +5588,17 @@ function isMismatchAllowed(el, allowedType) {
|
|
|
5590
5588
|
}
|
|
5591
5589
|
}
|
|
5592
5590
|
|
|
5593
|
-
|
|
5594
|
-
|
|
5591
|
+
let requestIdleCallback;
|
|
5592
|
+
let cancelIdleCallback;
|
|
5593
|
+
function ensureIdleCallbacks() {
|
|
5594
|
+
if (!requestIdleCallback) {
|
|
5595
|
+
const g = getGlobalThis();
|
|
5596
|
+
requestIdleCallback = g.requestIdleCallback || ((cb) => setTimeout(cb, 1));
|
|
5597
|
+
cancelIdleCallback = g.cancelIdleCallback || ((id) => clearTimeout(id));
|
|
5598
|
+
}
|
|
5599
|
+
}
|
|
5595
5600
|
const hydrateOnIdle = (timeout = 1e4) => (hydrate) => {
|
|
5601
|
+
ensureIdleCallbacks();
|
|
5596
5602
|
const id = requestIdleCallback(hydrate, { timeout });
|
|
5597
5603
|
return () => cancelIdleCallback(id);
|
|
5598
5604
|
};
|
|
@@ -7886,7 +7892,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7886
7892
|
return vm;
|
|
7887
7893
|
}
|
|
7888
7894
|
}
|
|
7889
|
-
Vue.version = `2.6.14-compat:${"3.6.0-beta.
|
|
7895
|
+
Vue.version = `2.6.14-compat:${"3.6.0-beta.2"}`;
|
|
7890
7896
|
Vue.config = singletonApp.config;
|
|
7891
7897
|
Vue.use = (plugin, ...options) => {
|
|
7892
7898
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -12059,7 +12065,7 @@ function hydrateSuspense(node, vnode, parentComponent, parentSuspense, namespace
|
|
|
12059
12065
|
parentSuspense,
|
|
12060
12066
|
parentComponent,
|
|
12061
12067
|
node.parentNode,
|
|
12062
|
-
//
|
|
12068
|
+
// oxlint-disable-next-line no-restricted-globals
|
|
12063
12069
|
document.createElement("div"),
|
|
12064
12070
|
null,
|
|
12065
12071
|
namespace,
|
|
@@ -12622,7 +12628,7 @@ const setCurrentInstance = (instance, scope = instance !== null ? instance.scope
|
|
|
12622
12628
|
simpleSetCurrentInstance(instance);
|
|
12623
12629
|
}
|
|
12624
12630
|
};
|
|
12625
|
-
const internalOptions = ["ce", "type"];
|
|
12631
|
+
const internalOptions = ["ce", "type", "uid"];
|
|
12626
12632
|
const useInstanceOption = (key, silent = false) => {
|
|
12627
12633
|
const instance = getCurrentGenericInstance();
|
|
12628
12634
|
if (!instance) {
|
|
@@ -12642,7 +12648,7 @@ const useInstanceOption = (key, silent = false) => {
|
|
|
12642
12648
|
return { hasInstance: true, value: instance[key] };
|
|
12643
12649
|
};
|
|
12644
12650
|
|
|
12645
|
-
const emptyAppContext = createAppContext();
|
|
12651
|
+
const emptyAppContext = /* @__PURE__ */ createAppContext();
|
|
12646
12652
|
let uid = 0;
|
|
12647
12653
|
function nextUid() {
|
|
12648
12654
|
return uid++;
|
|
@@ -13303,7 +13309,7 @@ function isMemoSame(cached, memo) {
|
|
|
13303
13309
|
return true;
|
|
13304
13310
|
}
|
|
13305
13311
|
|
|
13306
|
-
const version = "3.6.0-beta.
|
|
13312
|
+
const version = "3.6.0-beta.2";
|
|
13307
13313
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
13308
13314
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
13309
13315
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
package/dist/vue.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-beta.
|
|
2
|
+
* @vue/compat v3.6.0-beta.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -2454,7 +2454,6 @@ var Vue = (function () {
|
|
|
2454
2454
|
instance,
|
|
2455
2455
|
11,
|
|
2456
2456
|
[
|
|
2457
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
2458
2457
|
msg + args.map((a) => {
|
|
2459
2458
|
var _a, _b;
|
|
2460
2459
|
return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
|
|
@@ -3079,7 +3078,6 @@ var Vue = (function () {
|
|
|
3079
3078
|
// (#4815)
|
|
3080
3079
|
typeof window !== "undefined" && // some envs mock window but not fully
|
|
3081
3080
|
window.HTMLElement && // also exclude jsdom
|
|
3082
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
3083
3081
|
!((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes("jsdom"))
|
|
3084
3082
|
) {
|
|
3085
3083
|
const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];
|
|
@@ -5518,9 +5516,17 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
5518
5516
|
}
|
|
5519
5517
|
}
|
|
5520
5518
|
|
|
5521
|
-
|
|
5522
|
-
|
|
5519
|
+
let requestIdleCallback;
|
|
5520
|
+
let cancelIdleCallback;
|
|
5521
|
+
function ensureIdleCallbacks() {
|
|
5522
|
+
if (!requestIdleCallback) {
|
|
5523
|
+
const g = getGlobalThis();
|
|
5524
|
+
requestIdleCallback = g.requestIdleCallback || ((cb) => setTimeout(cb, 1));
|
|
5525
|
+
cancelIdleCallback = g.cancelIdleCallback || ((id) => clearTimeout(id));
|
|
5526
|
+
}
|
|
5527
|
+
}
|
|
5523
5528
|
const hydrateOnIdle = (timeout = 1e4) => (hydrate) => {
|
|
5529
|
+
ensureIdleCallbacks();
|
|
5524
5530
|
const id = requestIdleCallback(hydrate, { timeout });
|
|
5525
5531
|
return () => cancelIdleCallback(id);
|
|
5526
5532
|
};
|
|
@@ -7803,7 +7809,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
7803
7809
|
return vm;
|
|
7804
7810
|
}
|
|
7805
7811
|
}
|
|
7806
|
-
Vue.version = `2.6.14-compat:${"3.6.0-beta.
|
|
7812
|
+
Vue.version = `2.6.14-compat:${"3.6.0-beta.2"}`;
|
|
7807
7813
|
Vue.config = singletonApp.config;
|
|
7808
7814
|
Vue.use = (plugin, ...options) => {
|
|
7809
7815
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -11933,7 +11939,7 @@ app.use(vaporInteropPlugin)
|
|
|
11933
11939
|
parentSuspense,
|
|
11934
11940
|
parentComponent,
|
|
11935
11941
|
node.parentNode,
|
|
11936
|
-
//
|
|
11942
|
+
// oxlint-disable-next-line no-restricted-globals
|
|
11937
11943
|
document.createElement("div"),
|
|
11938
11944
|
null,
|
|
11939
11945
|
namespace,
|
|
@@ -12484,7 +12490,7 @@ Component that was made reactive: `,
|
|
|
12484
12490
|
simpleSetCurrentInstance(instance);
|
|
12485
12491
|
}
|
|
12486
12492
|
};
|
|
12487
|
-
const internalOptions = ["ce", "type"];
|
|
12493
|
+
const internalOptions = ["ce", "type", "uid"];
|
|
12488
12494
|
const useInstanceOption = (key, silent = false) => {
|
|
12489
12495
|
const instance = getCurrentGenericInstance();
|
|
12490
12496
|
if (!instance) {
|
|
@@ -12504,7 +12510,7 @@ Component that was made reactive: `,
|
|
|
12504
12510
|
return { hasInstance: true, value: instance[key] };
|
|
12505
12511
|
};
|
|
12506
12512
|
|
|
12507
|
-
const emptyAppContext = createAppContext();
|
|
12513
|
+
const emptyAppContext = /* @__PURE__ */ createAppContext();
|
|
12508
12514
|
let uid = 0;
|
|
12509
12515
|
function createComponentInstance(vnode, parent, suspense) {
|
|
12510
12516
|
const type = vnode.type;
|
|
@@ -13146,7 +13152,7 @@ Component that was made reactive: `,
|
|
|
13146
13152
|
return true;
|
|
13147
13153
|
}
|
|
13148
13154
|
|
|
13149
|
-
const version = "3.6.0-beta.
|
|
13155
|
+
const version = "3.6.0-beta.2";
|
|
13150
13156
|
const warn = warn$1 ;
|
|
13151
13157
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
13152
13158
|
const devtools = devtools$1 ;
|