@vue/compat 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/compat v3.4.32
2
+ * @vue/compat v3.4.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5194,7 +5194,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5194
5194
  return vm;
5195
5195
  }
5196
5196
  }
5197
- Vue.version = `2.6.14-compat:${"3.4.32"}`;
5197
+ Vue.version = `2.6.14-compat:${"3.4.33"}`;
5198
5198
  Vue.config = singletonApp.config;
5199
5199
  Vue.use = (plugin, ...options) => {
5200
5200
  if (plugin && isFunction(plugin.install)) {
@@ -10836,8 +10836,6 @@ function createComponentInstance(vnode, parent, suspense) {
10836
10836
  refs: EMPTY_OBJ,
10837
10837
  setupState: EMPTY_OBJ,
10838
10838
  setupContext: null,
10839
- attrsProxy: null,
10840
- slotsProxy: null,
10841
10839
  // suspense related
10842
10840
  suspense,
10843
10841
  suspenseId: suspense ? suspense.pendingId : 0,
@@ -11127,12 +11125,12 @@ const attrsProxyHandlers = !!(process.env.NODE_ENV !== "production") ? {
11127
11125
  }
11128
11126
  };
11129
11127
  function getSlotsProxy(instance) {
11130
- return instance.slotsProxy || (instance.slotsProxy = new Proxy(instance.slots, {
11128
+ return new Proxy(instance.slots, {
11131
11129
  get(target, key) {
11132
11130
  track(instance, "get", "$slots");
11133
11131
  return target[key];
11134
11132
  }
11135
- }));
11133
+ });
11136
11134
  }
11137
11135
  function createSetupContext(instance) {
11138
11136
  const expose = (exposed) => {
@@ -11160,12 +11158,13 @@ function createSetupContext(instance) {
11160
11158
  };
11161
11159
  if (!!(process.env.NODE_ENV !== "production")) {
11162
11160
  let attrsProxy;
11161
+ let slotsProxy;
11163
11162
  return Object.freeze({
11164
11163
  get attrs() {
11165
11164
  return attrsProxy || (attrsProxy = new Proxy(instance.attrs, attrsProxyHandlers));
11166
11165
  },
11167
11166
  get slots() {
11168
- return getSlotsProxy(instance);
11167
+ return slotsProxy || (slotsProxy = getSlotsProxy(instance));
11169
11168
  },
11170
11169
  get emit() {
11171
11170
  return (event, ...args) => instance.emit(event, ...args);
@@ -11465,7 +11464,7 @@ function isMemoSame(cached, memo) {
11465
11464
  return true;
11466
11465
  }
11467
11466
 
11468
- const version = "3.4.32";
11467
+ const version = "3.4.33";
11469
11468
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
11470
11469
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11471
11470
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
@@ -12143,7 +12142,7 @@ function compatCoerceAttr(el, key, value, instance = null) {
12143
12142
 
12144
12143
  function patchDOMProp(el, key, value, parentComponent) {
12145
12144
  if (key === "innerHTML" || key === "textContent") {
12146
- if (value === null) return;
12145
+ if (value == null) return;
12147
12146
  el[key] = value;
12148
12147
  return;
12149
12148
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.32
2
+ * @vue/compat v3.4.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5182,7 +5182,7 @@ If this is a native custom element, make sure to exclude it from component resol
5182
5182
  return vm;
5183
5183
  }
5184
5184
  }
5185
- Vue.version = `2.6.14-compat:${"3.4.32"}`;
5185
+ Vue.version = `2.6.14-compat:${"3.4.33"}`;
5186
5186
  Vue.config = singletonApp.config;
5187
5187
  Vue.use = (plugin, ...options) => {
5188
5188
  if (plugin && isFunction(plugin.install)) {
@@ -10747,8 +10747,6 @@ Component that was made reactive: `,
10747
10747
  refs: EMPTY_OBJ,
10748
10748
  setupState: EMPTY_OBJ,
10749
10749
  setupContext: null,
10750
- attrsProxy: null,
10751
- slotsProxy: null,
10752
10750
  // suspense related
10753
10751
  suspense,
10754
10752
  suspenseId: suspense ? suspense.pendingId : 0,
@@ -11017,12 +11015,12 @@ Component that was made reactive: `,
11017
11015
  }
11018
11016
  } ;
11019
11017
  function getSlotsProxy(instance) {
11020
- return instance.slotsProxy || (instance.slotsProxy = new Proxy(instance.slots, {
11018
+ return new Proxy(instance.slots, {
11021
11019
  get(target, key) {
11022
11020
  track(instance, "get", "$slots");
11023
11021
  return target[key];
11024
11022
  }
11025
- }));
11023
+ });
11026
11024
  }
11027
11025
  function createSetupContext(instance) {
11028
11026
  const expose = (exposed) => {
@@ -11050,12 +11048,13 @@ Component that was made reactive: `,
11050
11048
  };
11051
11049
  {
11052
11050
  let attrsProxy;
11051
+ let slotsProxy;
11053
11052
  return Object.freeze({
11054
11053
  get attrs() {
11055
11054
  return attrsProxy || (attrsProxy = new Proxy(instance.attrs, attrsProxyHandlers));
11056
11055
  },
11057
11056
  get slots() {
11058
- return getSlotsProxy(instance);
11057
+ return slotsProxy || (slotsProxy = getSlotsProxy(instance));
11059
11058
  },
11060
11059
  get emit() {
11061
11060
  return (event, ...args) => instance.emit(event, ...args);
@@ -11348,7 +11347,7 @@ Component that was made reactive: `,
11348
11347
  return true;
11349
11348
  }
11350
11349
 
11351
- const version = "3.4.32";
11350
+ const version = "3.4.33";
11352
11351
  const warn = warn$1 ;
11353
11352
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11354
11353
  const devtools = devtools$1 ;
@@ -12010,7 +12009,7 @@ Component that was made reactive: `,
12010
12009
 
12011
12010
  function patchDOMProp(el, key, value, parentComponent) {
12012
12011
  if (key === "innerHTML" || key === "textContent") {
12013
- if (value === null) return;
12012
+ if (value == null) return;
12014
12013
  el[key] = value;
12015
12014
  return;
12016
12015
  }