@vue/compiler-sfc 3.3.0-alpha.11 → 3.3.0-alpha.12

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.
@@ -18193,7 +18193,7 @@ function isStaticNode(node) {
18193
18193
  }
18194
18194
  }
18195
18195
 
18196
- const version = "3.3.0-alpha.11";
18196
+ const version = "3.3.0-alpha.12";
18197
18197
  const walk = estreeWalker.walk;
18198
18198
 
18199
18199
  exports.babelParse = parser$2.parse;
@@ -21219,12 +21219,10 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
21219
21219
  return genPropsAccessExp(bindingMetadata.__propsAliases[raw]);
21220
21220
  }
21221
21221
  } else {
21222
- if (type && type.startsWith("setup")) {
21222
+ if (type && type.startsWith("setup") || type === "literal-const") {
21223
21223
  return `$setup.${raw}`;
21224
21224
  } else if (type === "props-aliased") {
21225
21225
  return `$props['${bindingMetadata.__propsAliases[raw]}']`;
21226
- } else if (type === "literal-const") {
21227
- return raw;
21228
21226
  } else if (type) {
21229
21227
  return `$${type}.${raw}`;
21230
21228
  }
@@ -49927,7 +49925,7 @@ function isStaticNode(node) {
49927
49925
  }
49928
49926
  }
49929
49927
 
49930
- const version = "3.3.0-alpha.11";
49928
+ const version = "3.3.0-alpha.12";
49931
49929
  const walk = walk$1;
49932
49930
 
49933
49931
  export { MagicString, parse_1$1 as babelParse, compileScript, compileStyle, compileStyleAsync, compileTemplate, extractIdentifiers, generateCodeFrame, inferRuntimeType, invalidateTypeCache, isInDestructureAssignment, isStaticProperty, parse$7 as parse, registerTS, resolveTypeElements, rewriteDefault, rewriteDefaultAST, shouldTransform as shouldTransformRef, transform as transformRef, transformAST as transformRefAST, version, walk, walkIdentifiers };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-sfc",
3
- "version": "3.3.0-alpha.11",
3
+ "version": "3.3.0-alpha.12",
4
4
  "description": "@vue/compiler-sfc",
5
5
  "main": "dist/compiler-sfc.cjs.js",
6
6
  "module": "dist/compiler-sfc.esm-browser.js",
@@ -33,11 +33,11 @@
33
33
  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme",
34
34
  "dependencies": {
35
35
  "@babel/parser": "^7.20.15",
36
- "@vue/compiler-core": "3.3.0-alpha.11",
37
- "@vue/compiler-dom": "3.3.0-alpha.11",
38
- "@vue/compiler-ssr": "3.3.0-alpha.11",
39
- "@vue/reactivity-transform": "3.3.0-alpha.11",
40
- "@vue/shared": "3.3.0-alpha.11",
36
+ "@vue/compiler-core": "3.3.0-alpha.12",
37
+ "@vue/compiler-dom": "3.3.0-alpha.12",
38
+ "@vue/compiler-ssr": "3.3.0-alpha.12",
39
+ "@vue/reactivity-transform": "3.3.0-alpha.12",
40
+ "@vue/shared": "3.3.0-alpha.12",
41
41
  "estree-walker": "^2.0.2",
42
42
  "magic-string": "^0.30.0",
43
43
  "postcss": "^8.1.10",