@vue/compat 3.4.22 → 3.4.23
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 +13 -10
- package/dist/vue.cjs.prod.js +13 -10
- package/dist/vue.esm-browser.js +13 -10
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +13 -10
- package/dist/vue.global.js +13 -10
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +13 -10
- package/dist/vue.runtime.esm-browser.prod.js +5 -5
- package/dist/vue.runtime.esm-bundler.js +13 -10
- package/dist/vue.runtime.global.js +13 -10
- package/dist/vue.runtime.global.prod.js +5 -5
- package/package.json +2 -2
package/dist/vue.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.23
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -5807,7 +5807,7 @@ const PublicInstanceProxyHandlers = {
|
|
|
5807
5807
|
let cssModule, globalProperties;
|
|
5808
5808
|
if (publicGetter) {
|
|
5809
5809
|
if (key === "$attrs") {
|
|
5810
|
-
track(instance, "get",
|
|
5810
|
+
track(instance.attrs, "get", "");
|
|
5811
5811
|
markAttrsAccessed();
|
|
5812
5812
|
} else if (key === "$slots") {
|
|
5813
5813
|
track(instance, "get", key);
|
|
@@ -6619,7 +6619,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6619
6619
|
return vm;
|
|
6620
6620
|
}
|
|
6621
6621
|
}
|
|
6622
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6622
|
+
Vue.version = `2.6.14-compat:${"3.4.23"}`;
|
|
6623
6623
|
Vue.config = singletonApp.config;
|
|
6624
6624
|
Vue.use = (p, ...options) => {
|
|
6625
6625
|
if (p && isFunction(p.install)) {
|
|
@@ -7256,10 +7256,13 @@ function shouldSkipAttr(key, instance) {
|
|
|
7256
7256
|
return false;
|
|
7257
7257
|
}
|
|
7258
7258
|
|
|
7259
|
-
const
|
|
7259
|
+
const internalObjectProto = /* @__PURE__ */ Object.create(null);
|
|
7260
|
+
const createInternalObject = () => Object.create(internalObjectProto);
|
|
7261
|
+
const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
7262
|
+
|
|
7260
7263
|
function initProps(instance, rawProps, isStateful, isSSR = false) {
|
|
7261
7264
|
const props = {};
|
|
7262
|
-
const attrs =
|
|
7265
|
+
const attrs = createInternalObject();
|
|
7263
7266
|
instance.propsDefaults = /* @__PURE__ */ Object.create(null);
|
|
7264
7267
|
setFullProps(instance, rawProps, props, attrs);
|
|
7265
7268
|
for (const key in instance.propsOptions[0]) {
|
|
@@ -7743,12 +7746,12 @@ const initSlots = (instance, children) => {
|
|
|
7743
7746
|
} else {
|
|
7744
7747
|
normalizeObjectSlots(
|
|
7745
7748
|
children,
|
|
7746
|
-
instance.slots =
|
|
7749
|
+
instance.slots = createInternalObject(),
|
|
7747
7750
|
instance
|
|
7748
7751
|
);
|
|
7749
7752
|
}
|
|
7750
7753
|
} else {
|
|
7751
|
-
instance.slots =
|
|
7754
|
+
instance.slots = createInternalObject();
|
|
7752
7755
|
if (children) {
|
|
7753
7756
|
normalizeVNodeSlots(instance, children);
|
|
7754
7757
|
}
|
|
@@ -10583,7 +10586,7 @@ Component that was made reactive: `,
|
|
|
10583
10586
|
function guardReactiveProps(props) {
|
|
10584
10587
|
if (!props)
|
|
10585
10588
|
return null;
|
|
10586
|
-
return isProxy(props) ||
|
|
10589
|
+
return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
|
|
10587
10590
|
}
|
|
10588
10591
|
function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
10589
10592
|
const { props, ref, patchFlag, children } = vnode;
|
|
@@ -10691,7 +10694,7 @@ function normalizeChildren(vnode, children) {
|
|
|
10691
10694
|
} else {
|
|
10692
10695
|
type = 32;
|
|
10693
10696
|
const slotFlag = children._;
|
|
10694
|
-
if (!slotFlag) {
|
|
10697
|
+
if (!slotFlag && !isInternalObject(children)) {
|
|
10695
10698
|
children._ctx = currentRenderingInstance;
|
|
10696
10699
|
} else if (slotFlag === 3 && currentRenderingInstance) {
|
|
10697
10700
|
if (currentRenderingInstance.slots._ === 1) {
|
|
@@ -11469,7 +11472,7 @@ function isMemoSame(cached, memo) {
|
|
|
11469
11472
|
return true;
|
|
11470
11473
|
}
|
|
11471
11474
|
|
|
11472
|
-
const version = "3.4.
|
|
11475
|
+
const version = "3.4.23";
|
|
11473
11476
|
const warn = warn$1 ;
|
|
11474
11477
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11475
11478
|
const devtools = devtools$1 ;
|
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.23
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -4702,7 +4702,7 @@ const PublicInstanceProxyHandlers = {
|
|
|
4702
4702
|
let cssModule, globalProperties;
|
|
4703
4703
|
if (publicGetter) {
|
|
4704
4704
|
if (key === "$attrs") {
|
|
4705
|
-
track(instance, "get",
|
|
4705
|
+
track(instance.attrs, "get", "");
|
|
4706
4706
|
}
|
|
4707
4707
|
return publicGetter(instance);
|
|
4708
4708
|
} else if (
|
|
@@ -5275,7 +5275,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
5275
5275
|
return vm;
|
|
5276
5276
|
}
|
|
5277
5277
|
}
|
|
5278
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
5278
|
+
Vue.version = `2.6.14-compat:${"3.4.23"}`;
|
|
5279
5279
|
Vue.config = singletonApp.config;
|
|
5280
5280
|
Vue.use = (p, ...options) => {
|
|
5281
5281
|
if (p && isFunction(p.install)) {
|
|
@@ -5802,10 +5802,13 @@ function shouldSkipAttr(key, instance) {
|
|
|
5802
5802
|
return false;
|
|
5803
5803
|
}
|
|
5804
5804
|
|
|
5805
|
-
const
|
|
5805
|
+
const internalObjectProto = /* @__PURE__ */ Object.create(null);
|
|
5806
|
+
const createInternalObject = () => Object.create(internalObjectProto);
|
|
5807
|
+
const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
5808
|
+
|
|
5806
5809
|
function initProps(instance, rawProps, isStateful, isSSR = false) {
|
|
5807
5810
|
const props = {};
|
|
5808
|
-
const attrs =
|
|
5811
|
+
const attrs = createInternalObject();
|
|
5809
5812
|
instance.propsDefaults = /* @__PURE__ */ Object.create(null);
|
|
5810
5813
|
setFullProps(instance, rawProps, props, attrs);
|
|
5811
5814
|
for (const key in instance.propsOptions[0]) {
|
|
@@ -6151,10 +6154,10 @@ const initSlots = (instance, children) => {
|
|
|
6151
6154
|
} else {
|
|
6152
6155
|
normalizeObjectSlots(
|
|
6153
6156
|
children,
|
|
6154
|
-
instance.slots =
|
|
6157
|
+
instance.slots = createInternalObject());
|
|
6155
6158
|
}
|
|
6156
6159
|
} else {
|
|
6157
|
-
instance.slots =
|
|
6160
|
+
instance.slots = createInternalObject();
|
|
6158
6161
|
if (children) {
|
|
6159
6162
|
normalizeVNodeSlots(instance, children);
|
|
6160
6163
|
}
|
|
@@ -8581,7 +8584,7 @@ function _createVNode(type, props = null, children = null, patchFlag = 0, dynami
|
|
|
8581
8584
|
function guardReactiveProps(props) {
|
|
8582
8585
|
if (!props)
|
|
8583
8586
|
return null;
|
|
8584
|
-
return isProxy(props) ||
|
|
8587
|
+
return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
|
|
8585
8588
|
}
|
|
8586
8589
|
function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
8587
8590
|
const { props, ref, patchFlag, children } = vnode;
|
|
@@ -8682,7 +8685,7 @@ function normalizeChildren(vnode, children) {
|
|
|
8682
8685
|
} else {
|
|
8683
8686
|
type = 32;
|
|
8684
8687
|
const slotFlag = children._;
|
|
8685
|
-
if (!slotFlag) {
|
|
8688
|
+
if (!slotFlag && !isInternalObject(children)) {
|
|
8686
8689
|
children._ctx = currentRenderingInstance;
|
|
8687
8690
|
} else if (slotFlag === 3 && currentRenderingInstance) {
|
|
8688
8691
|
if (currentRenderingInstance.slots._ === 1) {
|
|
@@ -9135,7 +9138,7 @@ function isMemoSame(cached, memo) {
|
|
|
9135
9138
|
return true;
|
|
9136
9139
|
}
|
|
9137
9140
|
|
|
9138
|
-
const version = "3.4.
|
|
9141
|
+
const version = "3.4.23";
|
|
9139
9142
|
const warn$1 = NOOP;
|
|
9140
9143
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
9141
9144
|
const devtools = void 0;
|
package/dist/vue.esm-browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.23
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -5729,7 +5729,7 @@ const PublicInstanceProxyHandlers = {
|
|
|
5729
5729
|
let cssModule, globalProperties;
|
|
5730
5730
|
if (publicGetter) {
|
|
5731
5731
|
if (key === "$attrs") {
|
|
5732
|
-
track(instance, "get",
|
|
5732
|
+
track(instance.attrs, "get", "");
|
|
5733
5733
|
markAttrsAccessed();
|
|
5734
5734
|
} else if (key === "$slots") {
|
|
5735
5735
|
track(instance, "get", key);
|
|
@@ -6541,7 +6541,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6541
6541
|
return vm;
|
|
6542
6542
|
}
|
|
6543
6543
|
}
|
|
6544
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6544
|
+
Vue.version = `2.6.14-compat:${"3.4.23"}`;
|
|
6545
6545
|
Vue.config = singletonApp.config;
|
|
6546
6546
|
Vue.use = (p, ...options) => {
|
|
6547
6547
|
if (p && isFunction(p.install)) {
|
|
@@ -7178,10 +7178,13 @@ function shouldSkipAttr(key, instance) {
|
|
|
7178
7178
|
return false;
|
|
7179
7179
|
}
|
|
7180
7180
|
|
|
7181
|
-
const
|
|
7181
|
+
const internalObjectProto = /* @__PURE__ */ Object.create(null);
|
|
7182
|
+
const createInternalObject = () => Object.create(internalObjectProto);
|
|
7183
|
+
const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
7184
|
+
|
|
7182
7185
|
function initProps(instance, rawProps, isStateful, isSSR = false) {
|
|
7183
7186
|
const props = {};
|
|
7184
|
-
const attrs =
|
|
7187
|
+
const attrs = createInternalObject();
|
|
7185
7188
|
instance.propsDefaults = /* @__PURE__ */ Object.create(null);
|
|
7186
7189
|
setFullProps(instance, rawProps, props, attrs);
|
|
7187
7190
|
for (const key in instance.propsOptions[0]) {
|
|
@@ -7665,12 +7668,12 @@ const initSlots = (instance, children) => {
|
|
|
7665
7668
|
} else {
|
|
7666
7669
|
normalizeObjectSlots(
|
|
7667
7670
|
children,
|
|
7668
|
-
instance.slots =
|
|
7671
|
+
instance.slots = createInternalObject(),
|
|
7669
7672
|
instance
|
|
7670
7673
|
);
|
|
7671
7674
|
}
|
|
7672
7675
|
} else {
|
|
7673
|
-
instance.slots =
|
|
7676
|
+
instance.slots = createInternalObject();
|
|
7674
7677
|
if (children) {
|
|
7675
7678
|
normalizeVNodeSlots(instance, children);
|
|
7676
7679
|
}
|
|
@@ -10505,7 +10508,7 @@ Component that was made reactive: `,
|
|
|
10505
10508
|
function guardReactiveProps(props) {
|
|
10506
10509
|
if (!props)
|
|
10507
10510
|
return null;
|
|
10508
|
-
return isProxy(props) ||
|
|
10511
|
+
return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
|
|
10509
10512
|
}
|
|
10510
10513
|
function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
10511
10514
|
const { props, ref, patchFlag, children } = vnode;
|
|
@@ -10613,7 +10616,7 @@ function normalizeChildren(vnode, children) {
|
|
|
10613
10616
|
} else {
|
|
10614
10617
|
type = 32;
|
|
10615
10618
|
const slotFlag = children._;
|
|
10616
|
-
if (!slotFlag) {
|
|
10619
|
+
if (!slotFlag && !isInternalObject(children)) {
|
|
10617
10620
|
children._ctx = currentRenderingInstance;
|
|
10618
10621
|
} else if (slotFlag === 3 && currentRenderingInstance) {
|
|
10619
10622
|
if (currentRenderingInstance.slots._ === 1) {
|
|
@@ -11374,7 +11377,7 @@ function isMemoSame(cached, memo) {
|
|
|
11374
11377
|
return true;
|
|
11375
11378
|
}
|
|
11376
11379
|
|
|
11377
|
-
const version = "3.4.
|
|
11380
|
+
const version = "3.4.23";
|
|
11378
11381
|
const warn = warn$1 ;
|
|
11379
11382
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11380
11383
|
const devtools = devtools$1 ;
|