vue-jsx-vapor 3.1.21 → 3.1.23

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.
package/README.md CHANGED
@@ -7,11 +7,11 @@ Vapor Mode of Vue JSX.
7
7
  ## Features
8
8
 
9
9
  - ⚡️ High Performance: It has the same performance as Vue Vapor!
10
- - ⚒️ Directives: Support all build-in directives of Vue.
10
+ - ⚒️ Directives: Full support for all Vue built-in directives in JSX syntax.
11
11
  - ✨ Macros: Support most macros of Vue, Friendly to JSX.
12
- - 🦀 Compiler rewritten in Rust: Powered by Oxc, ~30x (Virtual DOM) and ~50x (Vapor) performance improvement over Babel.
12
+ - 🦀 Rust Compiler: Powered by Oxc, 35× faster (Virtual DOM) and 50× faster (Vapor) than Babel.
13
13
  - 🦾 Type Safe: Provide Volar plugin support by install TS Macro (VSCode plugin).
14
- - ⚙️ ESLint: Provide an ESLint plugin for vue-jsx-vapor to automatically format directives and macros.
14
+ - ⚙️ ESLint Integration: Includes an ESLint plugin for automatic formatting of directives and macros.
15
15
 
16
16
  ## Installation
17
17
 
@@ -1,6 +1,6 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as unplugin1 from "unplugin";
2
+ import * as unplugin2 from "unplugin";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options?: Options | undefined) => unplugin1.EsbuildPlugin;
5
+ declare const _default: (options?: Options | undefined) => unplugin2.EsbuildPlugin;
6
6
  export = _default;
package/dist/esbuild.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as Options } from "./options-DJvDNalb.js";
2
- import * as unplugin0 from "unplugin";
2
+ import * as unplugin4 from "unplugin";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options?: Options | undefined) => unplugin0.EsbuildPlugin;
5
+ declare const _default: (options?: Options | undefined) => unplugin4.EsbuildPlugin;
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/rollup.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as unplugin2 from "unplugin";
2
+ import * as unplugin4 from "unplugin";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options?: Options | undefined) => unplugin2.RollupPlugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin4.RollupPlugin<any>[];
6
6
  export = _default;
package/dist/rollup.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as Options } from "./options-DJvDNalb.js";
2
- import * as unplugin2 from "unplugin";
2
+ import * as unplugin1 from "unplugin";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options?: Options | undefined) => unplugin2.RollupPlugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin1.RollupPlugin<any>[];
6
6
  //#endregion
7
7
  export { _default as default };
@@ -1,9 +1,9 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as unplugin4 from "unplugin";
2
+ import * as unplugin3 from "unplugin";
3
3
  import { UnpluginFactory } from "unplugin";
4
4
 
5
5
  //#region src/unplugin.d.ts
6
6
  declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
7
- declare const unplugin: unplugin4.UnpluginInstance<Options | undefined, true>;
7
+ declare const unplugin: unplugin3.UnpluginInstance<Options | undefined, true>;
8
8
  //#endregion
9
9
  export { type Options, unplugin as default, unplugin, unpluginFactory };
@@ -1,9 +1,9 @@
1
1
  import { t as Options } from "./options-DJvDNalb.js";
2
- import * as unplugin4 from "unplugin";
2
+ import * as unplugin2 from "unplugin";
3
3
  import { UnpluginFactory } from "unplugin";
4
4
 
5
5
  //#region src/unplugin.d.ts
6
6
  declare const unpluginFactory: UnpluginFactory<Options | undefined, true>;
7
- declare const unplugin: unplugin4.UnpluginInstance<Options | undefined, true>;
7
+ declare const unplugin: unplugin2.UnpluginInstance<Options | undefined, true>;
8
8
  //#endregion
9
9
  export { type Options, unplugin as default, unplugin, unpluginFactory };
package/dist/volar.cjs CHANGED
@@ -5,7 +5,7 @@ _vue_jsx_vapor_macros_volar = require_chunk.__toESM(_vue_jsx_vapor_macros_volar)
5
5
  let ts_macro = require("ts-macro");
6
6
  let _vue_shared = require("@vue/shared");
7
7
 
8
- //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_5cd8afe2bea6365e51c23323a71b1b83/node_modules/@vue-macros/volar/dist/jsx-directive-Cfx4Hdxx.js
8
+ //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_353d666a13ff27a370930fc3c899f646/node_modules/@vue-macros/volar/dist/jsx-directive-Cfx4Hdxx.js
9
9
  function resolveCtxMap(ctxNodeMap, options) {
10
10
  if (ctxNodeMap.size) options.codes.push(`
11
11
  type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
@@ -676,7 +676,7 @@ const plugin$2 = (0, ts_macro.createPlugin)(({ ts, vueCompilerOptions }, options
676
676
  var jsx_directive_default = plugin$2;
677
677
 
678
678
  //#endregion
679
- //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_5cd8afe2bea6365e51c23323a71b1b83/node_modules/@vue-macros/volar/dist/jsx-ref-DZlb-F7c.js
679
+ //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_353d666a13ff27a370930fc3c899f646/node_modules/@vue-macros/volar/dist/jsx-ref-DZlb-F7c.js
680
680
  function transformRef({ nodes, codes, ts }) {
681
681
  for (const { name, initializer } of nodes) if (ts.isCallExpression(initializer)) codes.replaceRange(initializer.expression.end, initializer.expression.end, `<Parameters<typeof __VLS_ctx_${name.text}['expose']>[0] | null>`);
682
682
  }
package/dist/volar.js CHANGED
@@ -2,7 +2,7 @@ import jsxMacros from "@vue-jsx-vapor/macros/volar";
2
2
  import { allCodeFeatures, createPlugin } from "ts-macro";
3
3
  import { isHTMLTag, isSVGTag } from "@vue/shared";
4
4
 
5
- //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_5cd8afe2bea6365e51c23323a71b1b83/node_modules/@vue-macros/volar/dist/jsx-directive-Cfx4Hdxx.js
5
+ //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_353d666a13ff27a370930fc3c899f646/node_modules/@vue-macros/volar/dist/jsx-directive-Cfx4Hdxx.js
6
6
  function resolveCtxMap(ctxNodeMap, options) {
7
7
  if (ctxNodeMap.size) options.codes.push(`
8
8
  type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
@@ -673,7 +673,7 @@ const plugin$2 = createPlugin(({ ts, vueCompilerOptions }, options = vueCompiler
673
673
  var jsx_directive_default = plugin$2;
674
674
 
675
675
  //#endregion
676
- //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_5cd8afe2bea6365e51c23323a71b1b83/node_modules/@vue-macros/volar/dist/jsx-ref-DZlb-F7c.js
676
+ //#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_353d666a13ff27a370930fc3c899f646/node_modules/@vue-macros/volar/dist/jsx-ref-DZlb-F7c.js
677
677
  function transformRef({ nodes, codes, ts }) {
678
678
  for (const { name, initializer } of nodes) if (ts.isCallExpression(initializer)) codes.replaceRange(initializer.expression.end, initializer.expression.end, `<Parameters<typeof __VLS_ctx_${name.text}['expose']>[0] | null>`);
679
679
  }
@@ -1,6 +1,6 @@
1
1
  import { t as Options } from "./options-BGVfa0WB.cjs";
2
- import * as unplugin3 from "unplugin";
2
+ import * as unplugin1 from "unplugin";
3
3
 
4
4
  //#region src/webpack.d.ts
5
- declare const _default: (options?: Options | undefined) => unplugin3.WebpackPluginInstance;
5
+ declare const _default: (options?: Options | undefined) => unplugin1.WebpackPluginInstance;
6
6
  export = _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-jsx-vapor",
3
3
  "type": "module",
4
- "version": "3.1.21",
4
+ "version": "3.1.23",
5
5
  "description": "Vapor Mode of Vue JSX",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/vuejs/vue-jsx-vapor#readme",
@@ -167,20 +167,20 @@
167
167
  }
168
168
  },
169
169
  "dependencies": {
170
- "@vue/shared": "3.6.0-beta.5",
170
+ "@vue/shared": "3.6.0-beta.6",
171
171
  "pathe": "^2.0.3",
172
172
  "ts-macro": "^0.3.7",
173
173
  "unplugin": "^3.0.0",
174
174
  "unplugin-utils": "^0.3.1",
175
- "@vue-jsx-vapor/compiler-rs": "3.1.21",
176
- "@vue-jsx-vapor/macros": "3.1.21",
177
- "@vue-jsx-vapor/runtime": "3.1.21"
175
+ "@vue-jsx-vapor/macros": "3.1.23",
176
+ "@vue-jsx-vapor/compiler-rs": "3.1.23",
177
+ "@vue-jsx-vapor/runtime": "3.1.23"
178
178
  },
179
179
  "devDependencies": {
180
180
  "@nuxt/kit": "^3.21.0",
181
181
  "@nuxt/schema": "^3.21.0",
182
182
  "@vue-macros/volar": "^3.1.2",
183
- "vue": "3.6.0-beta.5"
183
+ "vue": "3.6.0-beta.6"
184
184
  },
185
185
  "scripts": {
186
186
  "build": "tsdown",