vue 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 +1 -1
- package/dist/vue.cjs.prod.js +1 -1
- package/dist/vue.esm-browser.js +12 -9
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +1 -1
- package/dist/vue.global.js +12 -9
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +12 -9
- package/dist/vue.runtime.esm-browser.prod.js +5 -5
- package/dist/vue.runtime.esm-bundler.js +1 -1
- package/dist/vue.runtime.global.js +12 -9
- package/dist/vue.runtime.global.prod.js +5 -5
- package/package.json +6 -6
package/dist/vue.esm-bundler.js
CHANGED
package/dist/vue.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.4.
|
|
2
|
+
* vue v3.4.23
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -4625,7 +4625,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4625
4625
|
let cssModule, globalProperties;
|
|
4626
4626
|
if (publicGetter) {
|
|
4627
4627
|
if (key === "$attrs") {
|
|
4628
|
-
track(instance, "get",
|
|
4628
|
+
track(instance.attrs, "get", "");
|
|
4629
4629
|
markAttrsAccessed();
|
|
4630
4630
|
} else if (key === "$slots") {
|
|
4631
4631
|
track(instance, "get", key);
|
|
@@ -5550,10 +5550,13 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
5550
5550
|
return !!(currentInstance || currentRenderingInstance || currentApp);
|
|
5551
5551
|
}
|
|
5552
5552
|
|
|
5553
|
-
const
|
|
5553
|
+
const internalObjectProto = /* @__PURE__ */ Object.create(null);
|
|
5554
|
+
const createInternalObject = () => Object.create(internalObjectProto);
|
|
5555
|
+
const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
5556
|
+
|
|
5554
5557
|
function initProps(instance, rawProps, isStateful, isSSR = false) {
|
|
5555
5558
|
const props = {};
|
|
5556
|
-
const attrs =
|
|
5559
|
+
const attrs = createInternalObject();
|
|
5557
5560
|
instance.propsDefaults = /* @__PURE__ */ Object.create(null);
|
|
5558
5561
|
setFullProps(instance, rawProps, props, attrs);
|
|
5559
5562
|
for (const key in instance.propsOptions[0]) {
|
|
@@ -6008,10 +6011,10 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
6008
6011
|
} else {
|
|
6009
6012
|
normalizeObjectSlots(
|
|
6010
6013
|
children,
|
|
6011
|
-
instance.slots =
|
|
6014
|
+
instance.slots = createInternalObject());
|
|
6012
6015
|
}
|
|
6013
6016
|
} else {
|
|
6014
|
-
instance.slots =
|
|
6017
|
+
instance.slots = createInternalObject();
|
|
6015
6018
|
if (children) {
|
|
6016
6019
|
normalizeVNodeSlots(instance, children);
|
|
6017
6020
|
}
|
|
@@ -8754,7 +8757,7 @@ Component that was made reactive: `,
|
|
|
8754
8757
|
function guardReactiveProps(props) {
|
|
8755
8758
|
if (!props)
|
|
8756
8759
|
return null;
|
|
8757
|
-
return isProxy(props) ||
|
|
8760
|
+
return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
|
|
8758
8761
|
}
|
|
8759
8762
|
function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
8760
8763
|
const { props, ref, patchFlag, children } = vnode;
|
|
@@ -8859,7 +8862,7 @@ Component that was made reactive: `,
|
|
|
8859
8862
|
} else {
|
|
8860
8863
|
type = 32;
|
|
8861
8864
|
const slotFlag = children._;
|
|
8862
|
-
if (!slotFlag) {
|
|
8865
|
+
if (!slotFlag && !isInternalObject(children)) {
|
|
8863
8866
|
children._ctx = currentRenderingInstance;
|
|
8864
8867
|
} else if (slotFlag === 3 && currentRenderingInstance) {
|
|
8865
8868
|
if (currentRenderingInstance.slots._ === 1) {
|
|
@@ -9608,7 +9611,7 @@ Component that was made reactive: `,
|
|
|
9608
9611
|
return true;
|
|
9609
9612
|
}
|
|
9610
9613
|
|
|
9611
|
-
const version = "3.4.
|
|
9614
|
+
const version = "3.4.23";
|
|
9612
9615
|
const warn = warn$1 ;
|
|
9613
9616
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
9614
9617
|
const devtools = devtools$1 ;
|