@vue/runtime-core 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.
@@ -7533,7 +7533,7 @@ function isMemoSame(cached, memo) {
7533
7533
  return true;
7534
7534
  }
7535
7535
 
7536
- const version = "3.3.0-alpha.1";
7536
+ const version = "3.3.0-alpha.2";
7537
7537
  const _ssrUtils = {
7538
7538
  createComponentInstance,
7539
7539
  setupComponent,
@@ -5908,7 +5908,7 @@ function isMemoSame(cached, memo) {
5908
5908
  return true;
5909
5909
  }
5910
5910
 
5911
- const version = "3.3.0-alpha.1";
5911
+ const version = "3.3.0-alpha.2";
5912
5912
  const _ssrUtils = {
5913
5913
  createComponentInstance,
5914
5914
  setupComponent,
@@ -11,7 +11,7 @@ function popWarningContext() {
11
11
  stack.pop();
12
12
  }
13
13
  function warn(msg, ...args) {
14
- if (!(process.env.NODE_ENV !== "production"))
14
+ if (!process.env.NODE_ENV !== "production")
15
15
  return;
16
16
  pauseTracking();
17
17
  const instance = stack.length ? stack[stack.length - 1].component : null;
@@ -110,7 +110,7 @@ function formatProp(key, value, raw) {
110
110
  }
111
111
  }
112
112
  function assertNumber(val, type) {
113
- if (!(process.env.NODE_ENV !== "production"))
113
+ if (!process.env.NODE_ENV !== "production")
114
114
  return;
115
115
  if (val === void 0) {
116
116
  return;
@@ -1716,7 +1716,8 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
1716
1716
  };
1717
1717
  }
1718
1718
  } else {
1719
- getter = NOOP(process.env.NODE_ENV !== "production") && warnInvalidSource(source);
1719
+ getter = NOOP;
1720
+ process.env.NODE_ENV !== "production" && warnInvalidSource(source);
1720
1721
  }
1721
1722
  if (cb && deep) {
1722
1723
  const baseGetter = getter;
@@ -1931,7 +1932,7 @@ const BaseTransitionImpl = {
1931
1932
  }
1932
1933
  child = c;
1933
1934
  hasFound = true;
1934
- if (!(process.env.NODE_ENV !== "production"))
1935
+ if (!process.env.NODE_ENV !== "production")
1935
1936
  break;
1936
1937
  }
1937
1938
  }
@@ -2940,7 +2941,8 @@ const PublicInstanceProxyHandlers = {
2940
2941
  let cssModule, globalProperties;
2941
2942
  if (publicGetter) {
2942
2943
  if (key === "$attrs") {
2943
- track(instance, "get", key)(process.env.NODE_ENV !== "production") && markAttrsAccessed();
2944
+ track(instance, "get", key);
2945
+ process.env.NODE_ENV !== "production" && markAttrsAccessed();
2944
2946
  }
2945
2947
  return publicGetter(instance);
2946
2948
  } else if (
@@ -4346,7 +4348,8 @@ function createHydrationFunctions(rendererInternals) {
4346
4348
  }
4347
4349
  } else {
4348
4350
  if (node.data !== vnode.children) {
4349
- hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
4351
+ hasMismatch = true;
4352
+ process.env.NODE_ENV !== "production" && warn(
4350
4353
  `Hydration text mismatch:
4351
4354
  - Client: ${JSON.stringify(node.data)}
4352
4355
  - Server: ${JSON.stringify(vnode.children)}`
@@ -4549,7 +4552,8 @@ function createHydrationFunctions(rendererInternals) {
4549
4552
  }
4550
4553
  } else if (shapeFlag & 8) {
4551
4554
  if (el.textContent !== vnode.children) {
4552
- hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
4555
+ hasMismatch = true;
4556
+ process.env.NODE_ENV !== "production" && warn(
4553
4557
  `Hydration text content mismatch in <${vnode.type}>:
4554
4558
  - Client: ${el.textContent}
4555
4559
  - Server: ${vnode.children}`
@@ -4624,7 +4628,8 @@ function createHydrationFunctions(rendererInternals) {
4624
4628
  }
4625
4629
  };
4626
4630
  const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
4627
- hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
4631
+ hasMismatch = true;
4632
+ process.env.NODE_ENV !== "production" && warn(
4628
4633
  `Hydration node mismatch:
4629
4634
  - Client vnode:`,
4630
4635
  vnode.type,
@@ -7375,7 +7380,7 @@ function isShallow(value) {
7375
7380
  }
7376
7381
 
7377
7382
  function initCustomFormatter() {
7378
- if (!(process.env.NODE_ENV !== "production") || typeof window === "undefined") {
7383
+ if (!process.env.NODE_ENV !== "production" || typeof window === "undefined") {
7379
7384
  return;
7380
7385
  }
7381
7386
  const vueStyle = { style: "color:#3ba776" };
@@ -7575,7 +7580,7 @@ function isMemoSame(cached, memo) {
7575
7580
  return true;
7576
7581
  }
7577
7582
 
7578
- const version = "3.3.0-alpha.1";
7583
+ const version = "3.3.0-alpha.2";
7579
7584
  const _ssrUtils = {
7580
7585
  createComponentInstance,
7581
7586
  setupComponent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-core",
3
- "version": "3.3.0-alpha.1",
3
+ "version": "3.3.0-alpha.2",
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.3.0-alpha.1",
36
- "@vue/reactivity": "3.3.0-alpha.1"
35
+ "@vue/shared": "3.3.0-alpha.2",
36
+ "@vue/reactivity": "3.3.0-alpha.2"
37
37
  }
38
38
  }