@vue/compiler-sfc 3.3.0-beta.4 → 3.3.0

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.
@@ -18219,7 +18219,7 @@ const SupportedBuiltinsSet = /* @__PURE__ */ new Set([
18219
18219
  "Omit"
18220
18220
  ]);
18221
18221
  function resolveBuiltin(ctx, node, name, scope) {
18222
- const t = resolveTypeElements(ctx, node.typeParameters.params[0]);
18222
+ const t = resolveTypeElements(ctx, node.typeParameters.params[0], scope);
18223
18223
  switch (name) {
18224
18224
  case "Partial": {
18225
18225
  const res2 = { props: {}, calls: t.calls };
@@ -19341,7 +19341,7 @@ function inferValueType(node) {
19341
19341
  }
19342
19342
 
19343
19343
  function processPropsDestructure(ctx, declId) {
19344
- if (!ctx.options.propsDestructure) {
19344
+ if (!ctx.options.propsDestructure && !ctx.options.reactivityTransform) {
19345
19345
  return;
19346
19346
  }
19347
19347
  warnOnce(
@@ -19389,7 +19389,7 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
19389
19389
  }
19390
19390
  }
19391
19391
  function transformDestructuredProps(ctx, vueImportAliases) {
19392
- if (!ctx.options.propsDestructure) {
19392
+ if (!ctx.options.propsDestructure && !ctx.options.reactivityTransform) {
19393
19393
  return;
19394
19394
  }
19395
19395
  const rootScope = {};
@@ -20533,7 +20533,7 @@ function isStaticNode(node) {
20533
20533
  }
20534
20534
  }
20535
20535
 
20536
- const version = "3.3.0-beta.4";
20536
+ const version = "3.3.0";
20537
20537
  const walk = estreeWalker.walk;
20538
20538
 
20539
20539
  exports.babelParse = parser$2.parse;
@@ -47966,7 +47966,7 @@ const SupportedBuiltinsSet = /* @__PURE__ */ new Set([
47966
47966
  "Omit"
47967
47967
  ]);
47968
47968
  function resolveBuiltin(ctx, node, name, scope) {
47969
- const t = resolveTypeElements(ctx, node.typeParameters.params[0]);
47969
+ const t = resolveTypeElements(ctx, node.typeParameters.params[0], scope);
47970
47970
  switch (name) {
47971
47971
  case "Partial": {
47972
47972
  const res2 = { props: {}, calls: t.calls };
@@ -49023,7 +49023,7 @@ function inferValueType(node) {
49023
49023
  }
49024
49024
 
49025
49025
  function processPropsDestructure(ctx, declId) {
49026
- if (!ctx.options.propsDestructure) {
49026
+ if (!ctx.options.propsDestructure && !ctx.options.reactivityTransform) {
49027
49027
  return;
49028
49028
  }
49029
49029
  warnOnce$4(
@@ -49071,7 +49071,7 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
49071
49071
  }
49072
49072
  }
49073
49073
  function transformDestructuredProps(ctx, vueImportAliases) {
49074
- if (!ctx.options.propsDestructure) {
49074
+ if (!ctx.options.propsDestructure && !ctx.options.reactivityTransform) {
49075
49075
  return;
49076
49076
  }
49077
49077
  const rootScope = {};
@@ -50229,7 +50229,7 @@ function isStaticNode(node) {
50229
50229
  }
50230
50230
  }
50231
50231
 
50232
- const version = "3.3.0-beta.4";
50232
+ const version = "3.3.0";
50233
50233
  const walk = walk$1;
50234
50234
 
50235
50235
  export { MagicString, parse_1$1 as babelParse, compileScript, compileStyle, compileStyleAsync, compileTemplate, extractIdentifiers, generateCodeFrame, inferRuntimeType, invalidateTypeCache, isInDestructureAssignment, isStaticProperty, parse$7 as parse, parseCache, 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-beta.4",
3
+ "version": "3.3.0",
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-beta.4",
37
- "@vue/compiler-dom": "3.3.0-beta.4",
38
- "@vue/compiler-ssr": "3.3.0-beta.4",
39
- "@vue/reactivity-transform": "3.3.0-beta.4",
40
- "@vue/shared": "3.3.0-beta.4",
36
+ "@vue/compiler-core": "3.3.0",
37
+ "@vue/compiler-dom": "3.3.0",
38
+ "@vue/compiler-ssr": "3.3.0",
39
+ "@vue/reactivity-transform": "3.3.0",
40
+ "@vue/shared": "3.3.0",
41
41
  "estree-walker": "^2.0.2",
42
42
  "magic-string": "^0.30.0",
43
43
  "postcss": "^8.1.10",
@@ -57,4 +57,4 @@
57
57
  "pug": "^3.0.1",
58
58
  "sass": "^1.26.9"
59
59
  }
60
- }
60
+ }