@vue/compat 3.3.2 → 3.3.3
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 +3 -3
- package/dist/vue.cjs.prod.js +3 -3
- package/dist/vue.esm-browser.js +3 -3
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.esm-bundler.js +14 -20
- package/dist/vue.global.js +3 -3
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +3 -3
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.esm-bundler.js +13 -18
- package/dist/vue.runtime.global.js +3 -3
- package/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +2 -2
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -184,7 +184,7 @@ function normalizeStyle(value) {
|
|
|
184
184
|
}
|
|
185
185
|
const listDelimiterRE = /;(?![^(]*\))/g;
|
|
186
186
|
const propertyDelimiterRE = /:([^]+)/;
|
|
187
|
-
const styleCommentRE =
|
|
187
|
+
const styleCommentRE = /\/\*[^]*?\*\//g;
|
|
188
188
|
function parseStringStyle(cssText) {
|
|
189
189
|
const ret = {};
|
|
190
190
|
cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
|
|
@@ -1493,7 +1493,7 @@ function popWarningContext() {
|
|
|
1493
1493
|
stack.pop();
|
|
1494
1494
|
}
|
|
1495
1495
|
function warn(msg, ...args) {
|
|
1496
|
-
if (!process.env.NODE_ENV !== "production")
|
|
1496
|
+
if (!(process.env.NODE_ENV !== "production"))
|
|
1497
1497
|
return;
|
|
1498
1498
|
pauseTracking();
|
|
1499
1499
|
const instance = stack.length ? stack[stack.length - 1].component : null;
|
|
@@ -1592,7 +1592,7 @@ function formatProp(key, value, raw) {
|
|
|
1592
1592
|
}
|
|
1593
1593
|
}
|
|
1594
1594
|
function assertNumber(val, type) {
|
|
1595
|
-
if (!process.env.NODE_ENV !== "production")
|
|
1595
|
+
if (!(process.env.NODE_ENV !== "production"))
|
|
1596
1596
|
return;
|
|
1597
1597
|
if (val === void 0) {
|
|
1598
1598
|
return;
|
|
@@ -2283,7 +2283,7 @@ const deprecationData$1 = {
|
|
|
2283
2283
|
const instanceWarned = /* @__PURE__ */ Object.create(null);
|
|
2284
2284
|
const warnCount = /* @__PURE__ */ Object.create(null);
|
|
2285
2285
|
function warnDeprecation$1(key, instance, ...args) {
|
|
2286
|
-
if (!process.env.NODE_ENV !== "production") {
|
|
2286
|
+
if (!(process.env.NODE_ENV !== "production")) {
|
|
2287
2287
|
return;
|
|
2288
2288
|
}
|
|
2289
2289
|
instance = instance || getCurrentInstance();
|
|
@@ -3704,8 +3704,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
3704
3704
|
};
|
|
3705
3705
|
}
|
|
3706
3706
|
} else {
|
|
3707
|
-
getter = NOOP;
|
|
3708
|
-
process.env.NODE_ENV !== "production" && warnInvalidSource(source);
|
|
3707
|
+
getter = NOOP(process.env.NODE_ENV !== "production") && warnInvalidSource(source);
|
|
3709
3708
|
}
|
|
3710
3709
|
if (cb && !deep) {
|
|
3711
3710
|
const baseGetter = getter;
|
|
@@ -3992,7 +3991,7 @@ const BaseTransitionImpl = {
|
|
|
3992
3991
|
}
|
|
3993
3992
|
child = c;
|
|
3994
3993
|
hasFound = true;
|
|
3995
|
-
if (!process.env.NODE_ENV !== "production")
|
|
3994
|
+
if (!(process.env.NODE_ENV !== "production"))
|
|
3996
3995
|
break;
|
|
3997
3996
|
}
|
|
3998
3997
|
}
|
|
@@ -5454,8 +5453,7 @@ const PublicInstanceProxyHandlers = {
|
|
|
5454
5453
|
let cssModule, globalProperties;
|
|
5455
5454
|
if (publicGetter) {
|
|
5456
5455
|
if (key === "$attrs") {
|
|
5457
|
-
track(instance, "get", key);
|
|
5458
|
-
process.env.NODE_ENV !== "production" && markAttrsAccessed();
|
|
5456
|
+
track(instance, "get", key)(process.env.NODE_ENV !== "production") && markAttrsAccessed();
|
|
5459
5457
|
} else if (process.env.NODE_ENV !== "production" && key === "$slots") {
|
|
5460
5458
|
track(instance, "get", key);
|
|
5461
5459
|
}
|
|
@@ -6303,7 +6301,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6303
6301
|
return vm;
|
|
6304
6302
|
}
|
|
6305
6303
|
}
|
|
6306
|
-
Vue.version = `2.6.14-compat:${"3.3.
|
|
6304
|
+
Vue.version = `2.6.14-compat:${"3.3.3"}`;
|
|
6307
6305
|
Vue.config = singletonApp.config;
|
|
6308
6306
|
Vue.use = (p, ...options) => {
|
|
6309
6307
|
if (p && isFunction(p.install)) {
|
|
@@ -7624,8 +7622,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7624
7622
|
}
|
|
7625
7623
|
} else {
|
|
7626
7624
|
if (node.data !== vnode.children) {
|
|
7627
|
-
hasMismatch = true
|
|
7628
|
-
process.env.NODE_ENV !== "production" && warn(
|
|
7625
|
+
hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
|
|
7629
7626
|
`Hydration text mismatch:
|
|
7630
7627
|
- Client: ${JSON.stringify(node.data)}
|
|
7631
7628
|
- Server: ${JSON.stringify(vnode.children)}`
|
|
@@ -7828,8 +7825,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7828
7825
|
}
|
|
7829
7826
|
} else if (shapeFlag & 8) {
|
|
7830
7827
|
if (el.textContent !== vnode.children) {
|
|
7831
|
-
hasMismatch = true
|
|
7832
|
-
process.env.NODE_ENV !== "production" && warn(
|
|
7828
|
+
hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
|
|
7833
7829
|
`Hydration text content mismatch in <${vnode.type}>:
|
|
7834
7830
|
- Client: ${el.textContent}
|
|
7835
7831
|
- Server: ${vnode.children}`
|
|
@@ -7904,8 +7900,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7904
7900
|
}
|
|
7905
7901
|
};
|
|
7906
7902
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
7907
|
-
hasMismatch = true
|
|
7908
|
-
process.env.NODE_ENV !== "production" && warn(
|
|
7903
|
+
hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
|
|
7909
7904
|
`Hydration node mismatch:
|
|
7910
7905
|
- Client vnode:`,
|
|
7911
7906
|
vnode.type,
|
|
@@ -10697,7 +10692,7 @@ const useSSRContext = () => {
|
|
|
10697
10692
|
};
|
|
10698
10693
|
|
|
10699
10694
|
function initCustomFormatter() {
|
|
10700
|
-
if (!process.env.NODE_ENV !== "production" || typeof window === "undefined") {
|
|
10695
|
+
if (!(process.env.NODE_ENV !== "production") || typeof window === "undefined") {
|
|
10701
10696
|
return;
|
|
10702
10697
|
}
|
|
10703
10698
|
const vueStyle = { style: "color:#3ba776" };
|
|
@@ -10897,7 +10892,7 @@ function isMemoSame(cached, memo) {
|
|
|
10897
10892
|
return true;
|
|
10898
10893
|
}
|
|
10899
10894
|
|
|
10900
|
-
const version = "3.3.
|
|
10895
|
+
const version = "3.3.3";
|
|
10901
10896
|
const _ssrUtils = {
|
|
10902
10897
|
createComponentInstance,
|
|
10903
10898
|
setupComponent,
|
|
@@ -15382,8 +15377,7 @@ function processIf(node, dir, context, processCodegen) {
|
|
|
15382
15377
|
while (i-- >= -1) {
|
|
15383
15378
|
const sibling = siblings[i];
|
|
15384
15379
|
if (sibling && sibling.type === 3) {
|
|
15385
|
-
context.removeNode(sibling);
|
|
15386
|
-
process.env.NODE_ENV !== "production" && comments.unshift(sibling);
|
|
15380
|
+
context.removeNode(sibling)(process.env.NODE_ENV !== "production") && comments.unshift(sibling);
|
|
15387
15381
|
continue;
|
|
15388
15382
|
}
|
|
15389
15383
|
if (sibling && sibling.type === 2 && !sibling.content.trim().length) {
|
package/dist/vue.global.js
CHANGED
|
@@ -187,7 +187,7 @@ var Vue = (function () {
|
|
|
187
187
|
}
|
|
188
188
|
const listDelimiterRE = /;(?![^(]*\))/g;
|
|
189
189
|
const propertyDelimiterRE = /:([^]+)/;
|
|
190
|
-
const styleCommentRE =
|
|
190
|
+
const styleCommentRE = /\/\*[^]*?\*\//g;
|
|
191
191
|
function parseStringStyle(cssText) {
|
|
192
192
|
const ret = {};
|
|
193
193
|
cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
|
|
@@ -6258,7 +6258,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6258
6258
|
return vm;
|
|
6259
6259
|
}
|
|
6260
6260
|
}
|
|
6261
|
-
Vue.version = `2.6.14-compat:${"3.3.
|
|
6261
|
+
Vue.version = `2.6.14-compat:${"3.3.3"}`;
|
|
6262
6262
|
Vue.config = singletonApp.config;
|
|
6263
6263
|
Vue.use = (p, ...options) => {
|
|
6264
6264
|
if (p && isFunction(p.install)) {
|
|
@@ -10781,7 +10781,7 @@ Component that was made reactive: `,
|
|
|
10781
10781
|
return true;
|
|
10782
10782
|
}
|
|
10783
10783
|
|
|
10784
|
-
const version = "3.3.
|
|
10784
|
+
const version = "3.3.3";
|
|
10785
10785
|
const ssrUtils = null;
|
|
10786
10786
|
const resolveFilter = resolveFilter$1 ;
|
|
10787
10787
|
const _compatUtils = {
|