@vue/runtime-core 3.4.32 → 3.4.33

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-core v3.4.32
2
+ * @vue/runtime-core v3.4.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -7515,8 +7515,6 @@ function createComponentInstance(vnode, parent, suspense) {
7515
7515
  refs: shared.EMPTY_OBJ,
7516
7516
  setupState: shared.EMPTY_OBJ,
7517
7517
  setupContext: null,
7518
- attrsProxy: null,
7519
- slotsProxy: null,
7520
7518
  // suspense related
7521
7519
  suspense,
7522
7520
  suspenseId: suspense ? suspense.pendingId : 0,
@@ -7787,12 +7785,12 @@ const attrsProxyHandlers = {
7787
7785
  }
7788
7786
  } ;
7789
7787
  function getSlotsProxy(instance) {
7790
- return instance.slotsProxy || (instance.slotsProxy = new Proxy(instance.slots, {
7788
+ return new Proxy(instance.slots, {
7791
7789
  get(target, key) {
7792
7790
  reactivity.track(instance, "get", "$slots");
7793
7791
  return target[key];
7794
7792
  }
7795
- }));
7793
+ });
7796
7794
  }
7797
7795
  function createSetupContext(instance) {
7798
7796
  const expose = (exposed) => {
@@ -7820,12 +7818,13 @@ function createSetupContext(instance) {
7820
7818
  };
7821
7819
  {
7822
7820
  let attrsProxy;
7821
+ let slotsProxy;
7823
7822
  return Object.freeze({
7824
7823
  get attrs() {
7825
7824
  return attrsProxy || (attrsProxy = new Proxy(instance.attrs, attrsProxyHandlers));
7826
7825
  },
7827
7826
  get slots() {
7828
- return getSlotsProxy(instance);
7827
+ return slotsProxy || (slotsProxy = getSlotsProxy(instance));
7829
7828
  },
7830
7829
  get emit() {
7831
7830
  return (event, ...args) => instance.emit(event, ...args);
@@ -8118,7 +8117,7 @@ function isMemoSame(cached, memo) {
8118
8117
  return true;
8119
8118
  }
8120
8119
 
8121
- const version = "3.4.32";
8120
+ const version = "3.4.33";
8122
8121
  const warn = warn$1 ;
8123
8122
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
8124
8123
  const devtools = devtools$1 ;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-core v3.4.32
2
+ * @vue/runtime-core v3.4.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -6015,8 +6015,6 @@ function createComponentInstance(vnode, parent, suspense) {
6015
6015
  refs: shared.EMPTY_OBJ,
6016
6016
  setupState: shared.EMPTY_OBJ,
6017
6017
  setupContext: null,
6018
- attrsProxy: null,
6019
- slotsProxy: null,
6020
6018
  // suspense related
6021
6019
  suspense,
6022
6020
  suspenseId: suspense ? suspense.pendingId : 0,
@@ -6303,7 +6301,7 @@ function isMemoSame(cached, memo) {
6303
6301
  return true;
6304
6302
  }
6305
6303
 
6306
- const version = "3.4.32";
6304
+ const version = "3.4.33";
6307
6305
  const warn$1 = shared.NOOP;
6308
6306
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
6309
6307
  const devtools = void 0;
@@ -1133,8 +1133,6 @@ export interface ComponentInternalInstance {
1133
1133
  slots: InternalSlots;
1134
1134
  refs: Data;
1135
1135
  emit: EmitFn;
1136
- attrsProxy: Data | null;
1137
- slotsProxy: Slots | null;
1138
1136
  isMounted: boolean;
1139
1137
  isUnmounted: boolean;
1140
1138
  isDeactivated: boolean;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-core v3.4.32
2
+ * @vue/runtime-core v3.4.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -7570,8 +7570,6 @@ function createComponentInstance(vnode, parent, suspense) {
7570
7570
  refs: EMPTY_OBJ,
7571
7571
  setupState: EMPTY_OBJ,
7572
7572
  setupContext: null,
7573
- attrsProxy: null,
7574
- slotsProxy: null,
7575
7573
  // suspense related
7576
7574
  suspense,
7577
7575
  suspenseId: suspense ? suspense.pendingId : 0,
@@ -7849,12 +7847,12 @@ const attrsProxyHandlers = !!(process.env.NODE_ENV !== "production") ? {
7849
7847
  }
7850
7848
  };
7851
7849
  function getSlotsProxy(instance) {
7852
- return instance.slotsProxy || (instance.slotsProxy = new Proxy(instance.slots, {
7850
+ return new Proxy(instance.slots, {
7853
7851
  get(target, key) {
7854
7852
  track(instance, "get", "$slots");
7855
7853
  return target[key];
7856
7854
  }
7857
- }));
7855
+ });
7858
7856
  }
7859
7857
  function createSetupContext(instance) {
7860
7858
  const expose = (exposed) => {
@@ -7882,12 +7880,13 @@ function createSetupContext(instance) {
7882
7880
  };
7883
7881
  if (!!(process.env.NODE_ENV !== "production")) {
7884
7882
  let attrsProxy;
7883
+ let slotsProxy;
7885
7884
  return Object.freeze({
7886
7885
  get attrs() {
7887
7886
  return attrsProxy || (attrsProxy = new Proxy(instance.attrs, attrsProxyHandlers));
7888
7887
  },
7889
7888
  get slots() {
7890
- return getSlotsProxy(instance);
7889
+ return slotsProxy || (slotsProxy = getSlotsProxy(instance));
7891
7890
  },
7892
7891
  get emit() {
7893
7892
  return (event, ...args) => instance.emit(event, ...args);
@@ -8187,7 +8186,7 @@ function isMemoSame(cached, memo) {
8187
8186
  return true;
8188
8187
  }
8189
8188
 
8190
- const version = "3.4.32";
8189
+ const version = "3.4.33";
8191
8190
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
8192
8191
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
8193
8192
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-core",
3
- "version": "3.4.32",
3
+ "version": "3.4.33",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
48
48
  "dependencies": {
49
- "@vue/shared": "3.4.32",
50
- "@vue/reactivity": "3.4.32"
49
+ "@vue/shared": "3.4.33",
50
+ "@vue/reactivity": "3.4.33"
51
51
  }
52
52
  }