@vue/compat 3.3.0-alpha.1 → 3.3.0-alpha.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 +2 -2
- package/dist/vue.cjs.prod.js +2 -2
- package/dist/vue.esm-browser.js +2 -2
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.esm-bundler.js +19 -13
- package/dist/vue.global.js +2 -2
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +2 -2
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.esm-bundler.js +17 -12
- package/dist/vue.runtime.global.js +2 -2
- package/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +2 -2
|
@@ -1400,7 +1400,7 @@ function popWarningContext() {
|
|
|
1400
1400
|
stack.pop();
|
|
1401
1401
|
}
|
|
1402
1402
|
function warn(msg, ...args) {
|
|
1403
|
-
if (!
|
|
1403
|
+
if (!process.env.NODE_ENV !== "production")
|
|
1404
1404
|
return;
|
|
1405
1405
|
pauseTracking();
|
|
1406
1406
|
const instance = stack.length ? stack[stack.length - 1].component : null;
|
|
@@ -1499,7 +1499,7 @@ function formatProp(key, value, raw) {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
}
|
|
1501
1501
|
function assertNumber(val, type) {
|
|
1502
|
-
if (!
|
|
1502
|
+
if (!process.env.NODE_ENV !== "production")
|
|
1503
1503
|
return;
|
|
1504
1504
|
if (val === void 0) {
|
|
1505
1505
|
return;
|
|
@@ -2188,7 +2188,7 @@ const deprecationData = {
|
|
|
2188
2188
|
const instanceWarned = /* @__PURE__ */ Object.create(null);
|
|
2189
2189
|
const warnCount = /* @__PURE__ */ Object.create(null);
|
|
2190
2190
|
function warnDeprecation(key, instance, ...args) {
|
|
2191
|
-
if (!
|
|
2191
|
+
if (!process.env.NODE_ENV !== "production") {
|
|
2192
2192
|
return;
|
|
2193
2193
|
}
|
|
2194
2194
|
instance = instance || getCurrentInstance();
|
|
@@ -3581,7 +3581,8 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
3581
3581
|
};
|
|
3582
3582
|
}
|
|
3583
3583
|
} else {
|
|
3584
|
-
getter = NOOP
|
|
3584
|
+
getter = NOOP;
|
|
3585
|
+
process.env.NODE_ENV !== "production" && warnInvalidSource(source);
|
|
3585
3586
|
}
|
|
3586
3587
|
if (cb && !deep) {
|
|
3587
3588
|
const baseGetter = getter;
|
|
@@ -3806,7 +3807,7 @@ const BaseTransitionImpl = {
|
|
|
3806
3807
|
}
|
|
3807
3808
|
child = c;
|
|
3808
3809
|
hasFound = true;
|
|
3809
|
-
if (!
|
|
3810
|
+
if (!process.env.NODE_ENV !== "production")
|
|
3810
3811
|
break;
|
|
3811
3812
|
}
|
|
3812
3813
|
}
|
|
@@ -5364,7 +5365,8 @@ const PublicInstanceProxyHandlers = {
|
|
|
5364
5365
|
let cssModule, globalProperties;
|
|
5365
5366
|
if (publicGetter) {
|
|
5366
5367
|
if (key === "$attrs") {
|
|
5367
|
-
track(instance, "get", key)
|
|
5368
|
+
track(instance, "get", key);
|
|
5369
|
+
process.env.NODE_ENV !== "production" && markAttrsAccessed();
|
|
5368
5370
|
}
|
|
5369
5371
|
return publicGetter(instance);
|
|
5370
5372
|
} else if (
|
|
@@ -6624,7 +6626,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6624
6626
|
return vm;
|
|
6625
6627
|
}
|
|
6626
6628
|
}
|
|
6627
|
-
Vue.version = `2.6.14-compat:${"3.3.0-alpha.
|
|
6629
|
+
Vue.version = `2.6.14-compat:${"3.3.0-alpha.2"}`;
|
|
6628
6630
|
Vue.config = singletonApp.config;
|
|
6629
6631
|
Vue.use = (p, ...options) => {
|
|
6630
6632
|
if (p && isFunction(p.install)) {
|
|
@@ -7323,7 +7325,8 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7323
7325
|
}
|
|
7324
7326
|
} else {
|
|
7325
7327
|
if (node.data !== vnode.children) {
|
|
7326
|
-
hasMismatch = true
|
|
7328
|
+
hasMismatch = true;
|
|
7329
|
+
process.env.NODE_ENV !== "production" && warn(
|
|
7327
7330
|
`Hydration text mismatch:
|
|
7328
7331
|
- Client: ${JSON.stringify(node.data)}
|
|
7329
7332
|
- Server: ${JSON.stringify(vnode.children)}`
|
|
@@ -7526,7 +7529,8 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7526
7529
|
}
|
|
7527
7530
|
} else if (shapeFlag & 8) {
|
|
7528
7531
|
if (el.textContent !== vnode.children) {
|
|
7529
|
-
hasMismatch = true
|
|
7532
|
+
hasMismatch = true;
|
|
7533
|
+
process.env.NODE_ENV !== "production" && warn(
|
|
7530
7534
|
`Hydration text content mismatch in <${vnode.type}>:
|
|
7531
7535
|
- Client: ${el.textContent}
|
|
7532
7536
|
- Server: ${vnode.children}`
|
|
@@ -7601,7 +7605,8 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7601
7605
|
}
|
|
7602
7606
|
};
|
|
7603
7607
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
7604
|
-
hasMismatch = true
|
|
7608
|
+
hasMismatch = true;
|
|
7609
|
+
process.env.NODE_ENV !== "production" && warn(
|
|
7605
7610
|
`Hydration node mismatch:
|
|
7606
7611
|
- Client vnode:`,
|
|
7607
7612
|
vnode.type,
|
|
@@ -10455,7 +10460,7 @@ const useSSRContext = () => {
|
|
|
10455
10460
|
};
|
|
10456
10461
|
|
|
10457
10462
|
function initCustomFormatter() {
|
|
10458
|
-
if (!
|
|
10463
|
+
if (!process.env.NODE_ENV !== "production" || typeof window === "undefined") {
|
|
10459
10464
|
return;
|
|
10460
10465
|
}
|
|
10461
10466
|
const vueStyle = { style: "color:#3ba776" };
|
|
@@ -10655,7 +10660,7 @@ function isMemoSame(cached, memo) {
|
|
|
10655
10660
|
return true;
|
|
10656
10661
|
}
|
|
10657
10662
|
|
|
10658
|
-
const version = "3.3.0-alpha.
|
|
10663
|
+
const version = "3.3.0-alpha.2";
|
|
10659
10664
|
const _ssrUtils = {
|
|
10660
10665
|
createComponentInstance,
|
|
10661
10666
|
setupComponent,
|
|
@@ -6581,7 +6581,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6581
6581
|
return vm;
|
|
6582
6582
|
}
|
|
6583
6583
|
}
|
|
6584
|
-
Vue.version = `2.6.14-compat:${"3.3.0-alpha.
|
|
6584
|
+
Vue.version = `2.6.14-compat:${"3.3.0-alpha.2"}`;
|
|
6585
6585
|
Vue.config = singletonApp.config;
|
|
6586
6586
|
Vue.use = (p, ...options) => {
|
|
6587
6587
|
if (p && isFunction(p.install)) {
|
|
@@ -10567,7 +10567,7 @@ Component that was made reactive: `,
|
|
|
10567
10567
|
return true;
|
|
10568
10568
|
}
|
|
10569
10569
|
|
|
10570
|
-
const version = "3.3.0-alpha.
|
|
10570
|
+
const version = "3.3.0-alpha.2";
|
|
10571
10571
|
const ssrUtils = null;
|
|
10572
10572
|
const resolveFilter = resolveFilter$1 ;
|
|
10573
10573
|
const _compatUtils = {
|