@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
|
@@ -121,7 +121,7 @@ function normalizeStyle(value) {
|
|
|
121
121
|
}
|
|
122
122
|
const listDelimiterRE = /;(?![^(]*\))/g;
|
|
123
123
|
const propertyDelimiterRE = /:([^]+)/;
|
|
124
|
-
const styleCommentRE =
|
|
124
|
+
const styleCommentRE = /\/\*[^]*?\*\//g;
|
|
125
125
|
function parseStringStyle(cssText) {
|
|
126
126
|
const ret = {};
|
|
127
127
|
cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
|
|
@@ -1428,7 +1428,7 @@ function popWarningContext() {
|
|
|
1428
1428
|
stack.pop();
|
|
1429
1429
|
}
|
|
1430
1430
|
function warn(msg, ...args) {
|
|
1431
|
-
if (!process.env.NODE_ENV !== "production")
|
|
1431
|
+
if (!(process.env.NODE_ENV !== "production"))
|
|
1432
1432
|
return;
|
|
1433
1433
|
pauseTracking();
|
|
1434
1434
|
const instance = stack.length ? stack[stack.length - 1].component : null;
|
|
@@ -1527,7 +1527,7 @@ function formatProp(key, value, raw) {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
1529
1529
|
function assertNumber(val, type) {
|
|
1530
|
-
if (!process.env.NODE_ENV !== "production")
|
|
1530
|
+
if (!(process.env.NODE_ENV !== "production"))
|
|
1531
1531
|
return;
|
|
1532
1532
|
if (val === void 0) {
|
|
1533
1533
|
return;
|
|
@@ -2218,7 +2218,7 @@ const deprecationData = {
|
|
|
2218
2218
|
const instanceWarned = /* @__PURE__ */ Object.create(null);
|
|
2219
2219
|
const warnCount = /* @__PURE__ */ Object.create(null);
|
|
2220
2220
|
function warnDeprecation(key, instance, ...args) {
|
|
2221
|
-
if (!process.env.NODE_ENV !== "production") {
|
|
2221
|
+
if (!(process.env.NODE_ENV !== "production")) {
|
|
2222
2222
|
return;
|
|
2223
2223
|
}
|
|
2224
2224
|
instance = instance || getCurrentInstance();
|
|
@@ -3639,8 +3639,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
3639
3639
|
};
|
|
3640
3640
|
}
|
|
3641
3641
|
} else {
|
|
3642
|
-
getter = NOOP;
|
|
3643
|
-
process.env.NODE_ENV !== "production" && warnInvalidSource(source);
|
|
3642
|
+
getter = NOOP(process.env.NODE_ENV !== "production") && warnInvalidSource(source);
|
|
3644
3643
|
}
|
|
3645
3644
|
if (cb && !deep) {
|
|
3646
3645
|
const baseGetter = getter;
|
|
@@ -3927,7 +3926,7 @@ const BaseTransitionImpl = {
|
|
|
3927
3926
|
}
|
|
3928
3927
|
child = c;
|
|
3929
3928
|
hasFound = true;
|
|
3930
|
-
if (!process.env.NODE_ENV !== "production")
|
|
3929
|
+
if (!(process.env.NODE_ENV !== "production"))
|
|
3931
3930
|
break;
|
|
3932
3931
|
}
|
|
3933
3932
|
}
|
|
@@ -5389,8 +5388,7 @@ const PublicInstanceProxyHandlers = {
|
|
|
5389
5388
|
let cssModule, globalProperties;
|
|
5390
5389
|
if (publicGetter) {
|
|
5391
5390
|
if (key === "$attrs") {
|
|
5392
|
-
track(instance, "get", key);
|
|
5393
|
-
process.env.NODE_ENV !== "production" && markAttrsAccessed();
|
|
5391
|
+
track(instance, "get", key)(process.env.NODE_ENV !== "production") && markAttrsAccessed();
|
|
5394
5392
|
} else if (process.env.NODE_ENV !== "production" && key === "$slots") {
|
|
5395
5393
|
track(instance, "get", key);
|
|
5396
5394
|
}
|
|
@@ -6238,7 +6236,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6238
6236
|
return vm;
|
|
6239
6237
|
}
|
|
6240
6238
|
}
|
|
6241
|
-
Vue.version = `2.6.14-compat:${"3.3.
|
|
6239
|
+
Vue.version = `2.6.14-compat:${"3.3.3"}`;
|
|
6242
6240
|
Vue.config = singletonApp.config;
|
|
6243
6241
|
Vue.use = (p, ...options) => {
|
|
6244
6242
|
if (p && isFunction(p.install)) {
|
|
@@ -7559,8 +7557,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7559
7557
|
}
|
|
7560
7558
|
} else {
|
|
7561
7559
|
if (node.data !== vnode.children) {
|
|
7562
|
-
hasMismatch = true
|
|
7563
|
-
process.env.NODE_ENV !== "production" && warn(
|
|
7560
|
+
hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
|
|
7564
7561
|
`Hydration text mismatch:
|
|
7565
7562
|
- Client: ${JSON.stringify(node.data)}
|
|
7566
7563
|
- Server: ${JSON.stringify(vnode.children)}`
|
|
@@ -7763,8 +7760,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7763
7760
|
}
|
|
7764
7761
|
} else if (shapeFlag & 8) {
|
|
7765
7762
|
if (el.textContent !== vnode.children) {
|
|
7766
|
-
hasMismatch = true
|
|
7767
|
-
process.env.NODE_ENV !== "production" && warn(
|
|
7763
|
+
hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
|
|
7768
7764
|
`Hydration text content mismatch in <${vnode.type}>:
|
|
7769
7765
|
- Client: ${el.textContent}
|
|
7770
7766
|
- Server: ${vnode.children}`
|
|
@@ -7839,8 +7835,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7839
7835
|
}
|
|
7840
7836
|
};
|
|
7841
7837
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
7842
|
-
hasMismatch = true
|
|
7843
|
-
process.env.NODE_ENV !== "production" && warn(
|
|
7838
|
+
hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
|
|
7844
7839
|
`Hydration node mismatch:
|
|
7845
7840
|
- Client vnode:`,
|
|
7846
7841
|
vnode.type,
|
|
@@ -10632,7 +10627,7 @@ const useSSRContext = () => {
|
|
|
10632
10627
|
};
|
|
10633
10628
|
|
|
10634
10629
|
function initCustomFormatter() {
|
|
10635
|
-
if (!process.env.NODE_ENV !== "production" || typeof window === "undefined") {
|
|
10630
|
+
if (!(process.env.NODE_ENV !== "production") || typeof window === "undefined") {
|
|
10636
10631
|
return;
|
|
10637
10632
|
}
|
|
10638
10633
|
const vueStyle = { style: "color:#3ba776" };
|
|
@@ -10832,7 +10827,7 @@ function isMemoSame(cached, memo) {
|
|
|
10832
10827
|
return true;
|
|
10833
10828
|
}
|
|
10834
10829
|
|
|
10835
|
-
const version = "3.3.
|
|
10830
|
+
const version = "3.3.3";
|
|
10836
10831
|
const _ssrUtils = {
|
|
10837
10832
|
createComponentInstance,
|
|
10838
10833
|
setupComponent,
|
|
@@ -124,7 +124,7 @@ var Vue = (function () {
|
|
|
124
124
|
}
|
|
125
125
|
const listDelimiterRE = /;(?![^(]*\))/g;
|
|
126
126
|
const propertyDelimiterRE = /:([^]+)/;
|
|
127
|
-
const styleCommentRE =
|
|
127
|
+
const styleCommentRE = /\/\*[^]*?\*\//g;
|
|
128
128
|
function parseStringStyle(cssText) {
|
|
129
129
|
const ret = {};
|
|
130
130
|
cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
|
|
@@ -6193,7 +6193,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6193
6193
|
return vm;
|
|
6194
6194
|
}
|
|
6195
6195
|
}
|
|
6196
|
-
Vue.version = `2.6.14-compat:${"3.3.
|
|
6196
|
+
Vue.version = `2.6.14-compat:${"3.3.3"}`;
|
|
6197
6197
|
Vue.config = singletonApp.config;
|
|
6198
6198
|
Vue.use = (p, ...options) => {
|
|
6199
6199
|
if (p && isFunction(p.install)) {
|
|
@@ -10716,7 +10716,7 @@ Component that was made reactive: `,
|
|
|
10716
10716
|
return true;
|
|
10717
10717
|
}
|
|
10718
10718
|
|
|
10719
|
-
const version = "3.3.
|
|
10719
|
+
const version = "3.3.3";
|
|
10720
10720
|
const ssrUtils = null;
|
|
10721
10721
|
const resolveFilter = resolveFilter$1 ;
|
|
10722
10722
|
const _compatUtils = {
|