@vue/compat 3.3.0-alpha.1 → 3.3.0-alpha.2

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.
@@ -1465,7 +1465,7 @@ function popWarningContext() {
1465
1465
  stack.pop();
1466
1466
  }
1467
1467
  function warn(msg, ...args) {
1468
- if (!(process.env.NODE_ENV !== "production"))
1468
+ if (!process.env.NODE_ENV !== "production")
1469
1469
  return;
1470
1470
  pauseTracking();
1471
1471
  const instance = stack.length ? stack[stack.length - 1].component : null;
@@ -1564,7 +1564,7 @@ function formatProp(key, value, raw) {
1564
1564
  }
1565
1565
  }
1566
1566
  function assertNumber(val, type) {
1567
- if (!(process.env.NODE_ENV !== "production"))
1567
+ if (!process.env.NODE_ENV !== "production")
1568
1568
  return;
1569
1569
  if (val === void 0) {
1570
1570
  return;
@@ -2253,7 +2253,7 @@ const deprecationData$1 = {
2253
2253
  const instanceWarned = /* @__PURE__ */ Object.create(null);
2254
2254
  const warnCount = /* @__PURE__ */ Object.create(null);
2255
2255
  function warnDeprecation$1(key, instance, ...args) {
2256
- if (!(process.env.NODE_ENV !== "production")) {
2256
+ if (!process.env.NODE_ENV !== "production") {
2257
2257
  return;
2258
2258
  }
2259
2259
  instance = instance || getCurrentInstance();
@@ -3646,7 +3646,8 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
3646
3646
  };
3647
3647
  }
3648
3648
  } else {
3649
- getter = NOOP(process.env.NODE_ENV !== "production") && warnInvalidSource(source);
3649
+ getter = NOOP;
3650
+ process.env.NODE_ENV !== "production" && warnInvalidSource(source);
3650
3651
  }
3651
3652
  if (cb && !deep) {
3652
3653
  const baseGetter = getter;
@@ -3871,7 +3872,7 @@ const BaseTransitionImpl = {
3871
3872
  }
3872
3873
  child = c;
3873
3874
  hasFound = true;
3874
- if (!(process.env.NODE_ENV !== "production"))
3875
+ if (!process.env.NODE_ENV !== "production")
3875
3876
  break;
3876
3877
  }
3877
3878
  }
@@ -5429,7 +5430,8 @@ const PublicInstanceProxyHandlers = {
5429
5430
  let cssModule, globalProperties;
5430
5431
  if (publicGetter) {
5431
5432
  if (key === "$attrs") {
5432
- track(instance, "get", key)(process.env.NODE_ENV !== "production") && markAttrsAccessed();
5433
+ track(instance, "get", key);
5434
+ process.env.NODE_ENV !== "production" && markAttrsAccessed();
5433
5435
  }
5434
5436
  return publicGetter(instance);
5435
5437
  } else if (
@@ -6689,7 +6691,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6689
6691
  return vm;
6690
6692
  }
6691
6693
  }
6692
- Vue.version = `2.6.14-compat:${"3.3.0-alpha.1"}`;
6694
+ Vue.version = `2.6.14-compat:${"3.3.0-alpha.2"}`;
6693
6695
  Vue.config = singletonApp.config;
6694
6696
  Vue.use = (p, ...options) => {
6695
6697
  if (p && isFunction(p.install)) {
@@ -7388,7 +7390,8 @@ function createHydrationFunctions(rendererInternals) {
7388
7390
  }
7389
7391
  } else {
7390
7392
  if (node.data !== vnode.children) {
7391
- hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
7393
+ hasMismatch = true;
7394
+ process.env.NODE_ENV !== "production" && warn(
7392
7395
  `Hydration text mismatch:
7393
7396
  - Client: ${JSON.stringify(node.data)}
7394
7397
  - Server: ${JSON.stringify(vnode.children)}`
@@ -7591,7 +7594,8 @@ function createHydrationFunctions(rendererInternals) {
7591
7594
  }
7592
7595
  } else if (shapeFlag & 8) {
7593
7596
  if (el.textContent !== vnode.children) {
7594
- hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
7597
+ hasMismatch = true;
7598
+ process.env.NODE_ENV !== "production" && warn(
7595
7599
  `Hydration text content mismatch in <${vnode.type}>:
7596
7600
  - Client: ${el.textContent}
7597
7601
  - Server: ${vnode.children}`
@@ -7666,7 +7670,8 @@ function createHydrationFunctions(rendererInternals) {
7666
7670
  }
7667
7671
  };
7668
7672
  const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
7669
- hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
7673
+ hasMismatch = true;
7674
+ process.env.NODE_ENV !== "production" && warn(
7670
7675
  `Hydration node mismatch:
7671
7676
  - Client vnode:`,
7672
7677
  vnode.type,
@@ -10520,7 +10525,7 @@ const useSSRContext = () => {
10520
10525
  };
10521
10526
 
10522
10527
  function initCustomFormatter() {
10523
- if (!(process.env.NODE_ENV !== "production") || typeof window === "undefined") {
10528
+ if (!process.env.NODE_ENV !== "production" || typeof window === "undefined") {
10524
10529
  return;
10525
10530
  }
10526
10531
  const vueStyle = { style: "color:#3ba776" };
@@ -10720,7 +10725,7 @@ function isMemoSame(cached, memo) {
10720
10725
  return true;
10721
10726
  }
10722
10727
 
10723
- const version = "3.3.0-alpha.1";
10728
+ const version = "3.3.0-alpha.2";
10724
10729
  const _ssrUtils = {
10725
10730
  createComponentInstance,
10726
10731
  setupComponent,
@@ -15192,7 +15197,8 @@ function processIf(node, dir, context, processCodegen) {
15192
15197
  while (i-- >= -1) {
15193
15198
  const sibling = siblings[i];
15194
15199
  if (sibling && sibling.type === "comment") {
15195
- context.removeNode(sibling)(process.env.NODE_ENV !== "production") && comments.unshift(sibling);
15200
+ context.removeNode(sibling);
15201
+ process.env.NODE_ENV !== "production" && comments.unshift(sibling);
15196
15202
  continue;
15197
15203
  }
15198
15204
  if (sibling && sibling.type === "text" && !sibling.content.trim().length) {
@@ -6646,7 +6646,7 @@ If this is a native custom element, make sure to exclude it from component resol
6646
6646
  return vm;
6647
6647
  }
6648
6648
  }
6649
- Vue.version = `2.6.14-compat:${"3.3.0-alpha.1"}`;
6649
+ Vue.version = `2.6.14-compat:${"3.3.0-alpha.2"}`;
6650
6650
  Vue.config = singletonApp.config;
6651
6651
  Vue.use = (p, ...options) => {
6652
6652
  if (p && isFunction(p.install)) {
@@ -10632,7 +10632,7 @@ Component that was made reactive: `,
10632
10632
  return true;
10633
10633
  }
10634
10634
 
10635
- const version = "3.3.0-alpha.1";
10635
+ const version = "3.3.0-alpha.2";
10636
10636
  const ssrUtils = null;
10637
10637
  const resolveFilter = resolveFilter$1 ;
10638
10638
  const _compatUtils = {