@vue/compat 3.4.4 → 3.4.5

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.
@@ -4001,10 +4001,11 @@ function doWatch(source, cb, {
4001
4001
  scheduler = () => queueJob(job);
4002
4002
  }
4003
4003
  const effect = new ReactiveEffect(getter, NOOP, scheduler);
4004
+ const scope = getCurrentScope();
4004
4005
  const unwatch = () => {
4005
4006
  effect.stop();
4006
- if (instance && instance.scope) {
4007
- remove(instance.scope.effects, effect);
4007
+ if (scope) {
4008
+ remove(scope.effects, effect);
4008
4009
  }
4009
4010
  };
4010
4011
  if (!!(process.env.NODE_ENV !== "production")) {
@@ -6496,7 +6497,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6496
6497
  return vm;
6497
6498
  }
6498
6499
  }
6499
- Vue.version = `2.6.14-compat:${"3.4.4"}`;
6500
+ Vue.version = `2.6.14-compat:${"3.4.5"}`;
6500
6501
  Vue.config = singletonApp.config;
6501
6502
  Vue.use = (p, ...options) => {
6502
6503
  if (p && isFunction(p.install)) {
@@ -11283,7 +11284,7 @@ function isMemoSame(cached, memo) {
11283
11284
  return true;
11284
11285
  }
11285
11286
 
11286
- const version = "3.4.4";
11287
+ const version = "3.4.5";
11287
11288
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
11288
11289
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11289
11290
  const devtools = !!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__ ? devtools$1 : void 0;
@@ -3972,10 +3972,11 @@ If this is a native custom element, make sure to exclude it from component resol
3972
3972
  scheduler = () => queueJob(job);
3973
3973
  }
3974
3974
  const effect = new ReactiveEffect(getter, NOOP, scheduler);
3975
+ const scope = getCurrentScope();
3975
3976
  const unwatch = () => {
3976
3977
  effect.stop();
3977
- if (instance && instance.scope) {
3978
- remove(instance.scope.effects, effect);
3978
+ if (scope) {
3979
+ remove(scope.effects, effect);
3979
3980
  }
3980
3981
  };
3981
3982
  {
@@ -6455,7 +6456,7 @@ If this is a native custom element, make sure to exclude it from component resol
6455
6456
  return vm;
6456
6457
  }
6457
6458
  }
6458
- Vue.version = `2.6.14-compat:${"3.4.4"}`;
6459
+ Vue.version = `2.6.14-compat:${"3.4.5"}`;
6459
6460
  Vue.config = singletonApp.config;
6460
6461
  Vue.use = (p, ...options) => {
6461
6462
  if (p && isFunction(p.install)) {
@@ -11158,7 +11159,7 @@ Component that was made reactive: `,
11158
11159
  return true;
11159
11160
  }
11160
11161
 
11161
- const version = "3.4.4";
11162
+ const version = "3.4.5";
11162
11163
  const warn = warn$1 ;
11163
11164
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11164
11165
  const devtools = devtools$1 ;