@vue/compiler-core 3.3.0-alpha.7 → 3.3.0-alpha.9

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.
@@ -5012,7 +5012,7 @@ const transformText = (node, context) => {
5012
5012
  const seen$1 = /* @__PURE__ */ new WeakSet();
5013
5013
  const transformOnce = (node, context) => {
5014
5014
  if (node.type === 1 && findDir(node, "once", true)) {
5015
- if (seen$1.has(node) || context.inVOnce) {
5015
+ if (seen$1.has(node) || context.inVOnce || context.inSSR) {
5016
5016
  return;
5017
5017
  }
5018
5018
  seen$1.add(node);
@@ -4896,7 +4896,7 @@ const transformText = (node, context) => {
4896
4896
  const seen$1 = /* @__PURE__ */ new WeakSet();
4897
4897
  const transformOnce = (node, context) => {
4898
4898
  if (node.type === 1 && findDir(node, "once", true)) {
4899
- if (seen$1.has(node) || context.inVOnce) {
4899
+ if (seen$1.has(node) || context.inVOnce || context.inSSR) {
4900
4900
  return;
4901
4901
  }
4902
4902
  seen$1.add(node);
@@ -4377,7 +4377,7 @@ const transformText = (node, context) => {
4377
4377
  const seen$1 = /* @__PURE__ */ new WeakSet();
4378
4378
  const transformOnce = (node, context) => {
4379
4379
  if (node.type === 1 && findDir(node, "once", true)) {
4380
- if (seen$1.has(node) || context.inVOnce) {
4380
+ if (seen$1.has(node) || context.inVOnce || context.inSSR) {
4381
4381
  return;
4382
4382
  }
4383
4383
  seen$1.add(node);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.3.0-alpha.7",
3
+ "version": "3.3.0-alpha.9",
4
4
  "description": "@vue/compiler-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/compiler-core.esm-bundler.js",
@@ -33,7 +33,7 @@
33
33
  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
34
34
  "dependencies": {
35
35
  "@babel/parser": "^7.21.3",
36
- "@vue/shared": "3.3.0-alpha.7",
36
+ "@vue/shared": "3.3.0-alpha.9",
37
37
  "estree-walker": "^2.0.2",
38
38
  "source-map": "^0.6.1"
39
39
  },