@vue/runtime-core 3.2.23 → 3.2.24

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.
@@ -2570,7 +2570,7 @@ function setFullProps(instance, rawProps, props, attrs) {
2570
2570
  }
2571
2571
  }
2572
2572
  else if (!isEmitListener(instance.emitsOptions, key)) {
2573
- if (value !== attrs[key]) {
2573
+ if (!(key in attrs) || value !== attrs[key]) {
2574
2574
  attrs[key] = value;
2575
2575
  hasAttrsChanged = true;
2576
2576
  }
@@ -7566,7 +7566,7 @@ function isMemoSame(cached, memo) {
7566
7566
  }
7567
7567
 
7568
7568
  // Core API ------------------------------------------------------------------
7569
- const version = "3.2.23";
7569
+ const version = "3.2.24";
7570
7570
  const _ssrUtils = {
7571
7571
  createComponentInstance,
7572
7572
  setupComponent,
@@ -2081,7 +2081,7 @@ function setFullProps(instance, rawProps, props, attrs) {
2081
2081
  }
2082
2082
  }
2083
2083
  else if (!isEmitListener(instance.emitsOptions, key)) {
2084
- if (value !== attrs[key]) {
2084
+ if (!(key in attrs) || value !== attrs[key]) {
2085
2085
  attrs[key] = value;
2086
2086
  hasAttrsChanged = true;
2087
2087
  }
@@ -6035,7 +6035,7 @@ function isMemoSame(cached, memo) {
6035
6035
  }
6036
6036
 
6037
6037
  // Core API ------------------------------------------------------------------
6038
- const version = "3.2.23";
6038
+ const version = "3.2.24";
6039
6039
  const _ssrUtils = {
6040
6040
  createComponentInstance,
6041
6041
  setupComponent,
@@ -674,7 +674,7 @@ export declare function defineEmits<TypeEmit>(): TypeEmit;
674
674
  * This is only usable inside `<script setup>`, is compiled away in the
675
675
  * output and should **not** be actually called at runtime.
676
676
  */
677
- export declare function defineExpose(exposed?: Record<string, any>): void;
677
+ export declare function defineExpose<Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed): void;
678
678
 
679
679
  /**
680
680
  * Vue `<script setup>` compiler macro for declaring component props. The
@@ -877,6 +877,7 @@ export declare interface FunctionalComponent<P = {}, E extends EmitsOptions = {}
877
877
  emits?: E | (keyof E)[];
878
878
  inheritAttrs?: boolean;
879
879
  displayName?: string;
880
+ compatConfig?: CompatConfig;
880
881
  }
881
882
 
882
883
  export declare type FunctionDirective<T = any, V = any> = DirectiveHook<T, any, V>;
@@ -2577,7 +2577,7 @@ function setFullProps(instance, rawProps, props, attrs) {
2577
2577
  }
2578
2578
  }
2579
2579
  else if (!isEmitListener(instance.emitsOptions, key)) {
2580
- if (value !== attrs[key]) {
2580
+ if (!(key in attrs) || value !== attrs[key]) {
2581
2581
  attrs[key] = value;
2582
2582
  hasAttrsChanged = true;
2583
2583
  }
@@ -7662,7 +7662,7 @@ function isMemoSame(cached, memo) {
7662
7662
  }
7663
7663
 
7664
7664
  // Core API ------------------------------------------------------------------
7665
- const version = "3.2.23";
7665
+ const version = "3.2.24";
7666
7666
  const _ssrUtils = {
7667
7667
  createComponentInstance,
7668
7668
  setupComponent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-core",
3
- "version": "3.2.23",
3
+ "version": "3.2.24",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-core#readme",
34
34
  "dependencies": {
35
- "@vue/shared": "3.2.23",
36
- "@vue/reactivity": "3.2.23"
35
+ "@vue/shared": "3.2.24",
36
+ "@vue/reactivity": "3.2.24"
37
37
  }
38
38
  }