@vue/compat 3.2.42 → 3.2.43

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.
@@ -1614,6 +1614,8 @@ function popWarningContext() {
1614
1614
  stack.pop();
1615
1615
  }
1616
1616
  function warn$1(msg, ...args) {
1617
+ if (!(process.env.NODE_ENV !== 'production'))
1618
+ return;
1617
1619
  // avoid props formatting or warn handler tracking deps that might be mutated
1618
1620
  // during patch, leading to infinite recursion.
1619
1621
  pauseTracking();
@@ -3967,7 +3969,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
3967
3969
  // pass undefined as the old value when it's changed for the first time
3968
3970
  oldValue === INITIAL_WATCHER_VALUE ||
3969
3971
  (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
3970
- ? undefined
3972
+ ? []
3971
3973
  : oldValue,
3972
3974
  onCleanup
3973
3975
  ]);
@@ -7250,7 +7252,7 @@ function createCompatVue(createApp, createSingletonApp) {
7250
7252
  return vm;
7251
7253
  }
7252
7254
  }
7253
- Vue.version = `2.6.14-compat:${"3.2.42"}`;
7255
+ Vue.version = `2.6.14-compat:${"3.2.43"}`;
7254
7256
  Vue.config = singletonApp.config;
7255
7257
  Vue.use = (p, ...options) => {
7256
7258
  if (p && isFunction(p.install)) {
@@ -11110,8 +11112,9 @@ const useSSRContext = () => {
11110
11112
  {
11111
11113
  const ctx = inject(ssrContextKey);
11112
11114
  if (!ctx) {
11113
- warn$1(`Server rendering context not provided. Make sure to only call ` +
11114
- `useSSRContext() conditionally in the server build.`);
11115
+ (process.env.NODE_ENV !== 'production') &&
11116
+ warn$1(`Server rendering context not provided. Make sure to only call ` +
11117
+ `useSSRContext() conditionally in the server build.`);
11115
11118
  }
11116
11119
  return ctx;
11117
11120
  }
@@ -11334,7 +11337,7 @@ function isMemoSame(cached, memo) {
11334
11337
  }
11335
11338
 
11336
11339
  // Core API ------------------------------------------------------------------
11337
- const version = "3.2.42";
11340
+ const version = "3.2.43";
11338
11341
  const _ssrUtils = {
11339
11342
  createComponentInstance,
11340
11343
  setupComponent,
@@ -3917,7 +3917,7 @@ var Vue = (function () {
3917
3917
  // pass undefined as the old value when it's changed for the first time
3918
3918
  oldValue === INITIAL_WATCHER_VALUE ||
3919
3919
  (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
3920
- ? undefined
3920
+ ? []
3921
3921
  : oldValue,
3922
3922
  onCleanup
3923
3923
  ]);
@@ -7175,7 +7175,7 @@ var Vue = (function () {
7175
7175
  return vm;
7176
7176
  }
7177
7177
  }
7178
- Vue.version = `2.6.14-compat:${"3.2.42"}`;
7178
+ Vue.version = `2.6.14-compat:${"3.2.43"}`;
7179
7179
  Vue.config = singletonApp.config;
7180
7180
  Vue.use = (p, ...options) => {
7181
7181
  if (p && isFunction(p.install)) {
@@ -11182,7 +11182,7 @@ var Vue = (function () {
11182
11182
  }
11183
11183
 
11184
11184
  // Core API ------------------------------------------------------------------
11185
- const version = "3.2.42";
11185
+ const version = "3.2.43";
11186
11186
  /**
11187
11187
  * SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
11188
11188
  * @internal