@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.
@@ -4066,10 +4066,11 @@ function doWatch(source, cb, {
4066
4066
  scheduler = () => queueJob(job);
4067
4067
  }
4068
4068
  const effect = new ReactiveEffect(getter, NOOP, scheduler);
4069
+ const scope = getCurrentScope();
4069
4070
  const unwatch = () => {
4070
4071
  effect.stop();
4071
- if (instance && instance.scope) {
4072
- remove(instance.scope.effects, effect);
4072
+ if (scope) {
4073
+ remove(scope.effects, effect);
4073
4074
  }
4074
4075
  };
4075
4076
  if (!!(process.env.NODE_ENV !== "production")) {
@@ -6561,7 +6562,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6561
6562
  return vm;
6562
6563
  }
6563
6564
  }
6564
- Vue.version = `2.6.14-compat:${"3.4.4"}`;
6565
+ Vue.version = `2.6.14-compat:${"3.4.5"}`;
6565
6566
  Vue.config = singletonApp.config;
6566
6567
  Vue.use = (p, ...options) => {
6567
6568
  if (p && isFunction(p.install)) {
@@ -11348,7 +11349,7 @@ function isMemoSame(cached, memo) {
11348
11349
  return true;
11349
11350
  }
11350
11351
 
11351
- const version = "3.4.4";
11352
+ const version = "3.4.5";
11352
11353
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
11353
11354
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11354
11355
  const devtools = !!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__ ? devtools$1 : void 0;
@@ -4037,10 +4037,11 @@ If this is a native custom element, make sure to exclude it from component resol
4037
4037
  scheduler = () => queueJob(job);
4038
4038
  }
4039
4039
  const effect = new ReactiveEffect(getter, NOOP, scheduler);
4040
+ const scope = getCurrentScope();
4040
4041
  const unwatch = () => {
4041
4042
  effect.stop();
4042
- if (instance && instance.scope) {
4043
- remove(instance.scope.effects, effect);
4043
+ if (scope) {
4044
+ remove(scope.effects, effect);
4044
4045
  }
4045
4046
  };
4046
4047
  {
@@ -6520,7 +6521,7 @@ If this is a native custom element, make sure to exclude it from component resol
6520
6521
  return vm;
6521
6522
  }
6522
6523
  }
6523
- Vue.version = `2.6.14-compat:${"3.4.4"}`;
6524
+ Vue.version = `2.6.14-compat:${"3.4.5"}`;
6524
6525
  Vue.config = singletonApp.config;
6525
6526
  Vue.use = (p, ...options) => {
6526
6527
  if (p && isFunction(p.install)) {
@@ -11223,7 +11224,7 @@ Component that was made reactive: `,
11223
11224
  return true;
11224
11225
  }
11225
11226
 
11226
- const version = "3.4.4";
11227
+ const version = "3.4.5";
11227
11228
  const warn = warn$1 ;
11228
11229
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11229
11230
  const devtools = devtools$1 ;