@vue/runtime-core 3.2.43 → 3.2.44

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.
@@ -1792,10 +1792,11 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = sh
1792
1792
  callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
1793
1793
  newValue,
1794
1794
  // pass undefined as the old value when it's changed for the first time
1795
- oldValue === INITIAL_WATCHER_VALUE ||
1796
- (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
1797
- ? []
1798
- : oldValue,
1795
+ oldValue === INITIAL_WATCHER_VALUE
1796
+ ? undefined
1797
+ : (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
1798
+ ? []
1799
+ : oldValue,
1799
1800
  onCleanup
1800
1801
  ]);
1801
1802
  oldValue = newValue;
@@ -7808,7 +7809,7 @@ function isMemoSame(cached, memo) {
7808
7809
  }
7809
7810
 
7810
7811
  // Core API ------------------------------------------------------------------
7811
- const version = "3.2.43";
7812
+ const version = "3.2.44";
7812
7813
  const _ssrUtils = {
7813
7814
  createComponentInstance,
7814
7815
  setupComponent,
@@ -1212,10 +1212,11 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = sh
1212
1212
  callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
1213
1213
  newValue,
1214
1214
  // pass undefined as the old value when it's changed for the first time
1215
- oldValue === INITIAL_WATCHER_VALUE ||
1216
- (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
1217
- ? []
1218
- : oldValue,
1215
+ oldValue === INITIAL_WATCHER_VALUE
1216
+ ? undefined
1217
+ : (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
1218
+ ? []
1219
+ : oldValue,
1219
1220
  onCleanup
1220
1221
  ]);
1221
1222
  oldValue = newValue;
@@ -6088,7 +6089,7 @@ function isMemoSame(cached, memo) {
6088
6089
  }
6089
6090
 
6090
6091
  // Core API ------------------------------------------------------------------
6091
- const version = "3.2.43";
6092
+ const version = "3.2.44";
6092
6093
  const _ssrUtils = {
6093
6094
  createComponentInstance,
6094
6095
  setupComponent,
@@ -1800,10 +1800,11 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
1800
1800
  callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
1801
1801
  newValue,
1802
1802
  // pass undefined as the old value when it's changed for the first time
1803
- oldValue === INITIAL_WATCHER_VALUE ||
1804
- (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
1805
- ? []
1806
- : oldValue,
1803
+ oldValue === INITIAL_WATCHER_VALUE
1804
+ ? undefined
1805
+ : (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
1806
+ ? []
1807
+ : oldValue,
1807
1808
  onCleanup
1808
1809
  ]);
1809
1810
  oldValue = newValue;
@@ -7897,7 +7898,7 @@ function isMemoSame(cached, memo) {
7897
7898
  }
7898
7899
 
7899
7900
  // Core API ------------------------------------------------------------------
7900
- const version = "3.2.43";
7901
+ const version = "3.2.44";
7901
7902
  const _ssrUtils = {
7902
7903
  createComponentInstance,
7903
7904
  setupComponent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-core",
3
- "version": "3.2.43",
3
+ "version": "3.2.44",
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/core/tree/main/packages/runtime-core#readme",
34
34
  "dependencies": {
35
- "@vue/shared": "3.2.43",
36
- "@vue/reactivity": "3.2.43"
35
+ "@vue/shared": "3.2.44",
36
+ "@vue/reactivity": "3.2.44"
37
37
  }
38
38
  }