vue-jsx-vapor 2.6.3 → 2.6.6

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.
@@ -1,7 +1,7 @@
1
1
  import { Options } from "./options-jKAq0dFf.cjs";
2
- import * as esbuild2 from "esbuild";
2
+ import * as esbuild1 from "esbuild";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options?: Options | undefined) => esbuild2.Plugin;
5
+ declare const _default: (options?: Options | undefined) => esbuild1.Plugin;
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/esbuild.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Options } from "./options-CBMw6D8V.js";
2
- import * as esbuild13 from "esbuild";
2
+ import * as esbuild2 from "esbuild";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options?: Options | undefined) => esbuild13.Plugin;
5
+ declare const _default: (options?: Options | undefined) => esbuild2.Plugin;
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/nuxt.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Options } from "./options-CBMw6D8V.js";
2
- import * as _nuxt_schema11 from "@nuxt/schema";
2
+ import * as _nuxt_schema5 from "@nuxt/schema";
3
3
 
4
4
  //#region src/nuxt.d.ts
5
5
  interface ModuleOptions extends Options {}
6
- declare const _default: _nuxt_schema11.NuxtModule<ModuleOptions, ModuleOptions, false>;
6
+ declare const _default: _nuxt_schema5.NuxtModule<ModuleOptions, ModuleOptions, false>;
7
7
  //#endregion
8
8
  export { ModuleOptions, _default as default };
@@ -1,7 +1,7 @@
1
1
  import { Options } from "./options-jKAq0dFf.cjs";
2
- import * as rollup4 from "rollup";
2
+ import * as unplugin3 from "unplugin";
3
3
 
4
4
  //#region src/rolldown.d.ts
5
- declare const _default: (options?: Options | undefined) => rollup4.Plugin<any> | rollup4.Plugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin3.RollupPlugin<any> | unplugin3.RollupPlugin<any>[];
6
6
  //#endregion
7
7
  export { _default as default };
@@ -1,7 +1,7 @@
1
1
  import { Options } from "./options-CBMw6D8V.js";
2
- import * as rollup1 from "rollup";
2
+ import * as unplugin12 from "unplugin";
3
3
 
4
4
  //#region src/rolldown.d.ts
5
- declare const _default: (options?: Options | undefined) => rollup1.Plugin<any> | rollup1.Plugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin12.RollupPlugin<any> | unplugin12.RollupPlugin<any>[];
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/rollup.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Options } from "./options-jKAq0dFf.cjs";
2
- import * as rollup9 from "rollup";
2
+ import * as unplugin13 from "unplugin";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options?: Options | undefined) => rollup9.Plugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin13.RollupPlugin<any>[];
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/rollup.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Options } from "./options-CBMw6D8V.js";
2
- import * as rollup7 from "rollup";
2
+ import * as unplugin10 from "unplugin";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options?: Options | undefined) => rollup7.Plugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => unplugin10.RollupPlugin<any>[];
6
6
  //#endregion
7
7
  export { _default as default };
@@ -1,9 +1,9 @@
1
1
  import { Options } from "./options-jKAq0dFf.cjs";
2
- import * as unplugin6 from "unplugin";
2
+ import * as unplugin8 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: unplugin6.UnpluginInstance<Options | undefined, true>;
7
+ declare const unplugin: unplugin8.UnpluginInstance<Options | undefined, true>;
8
8
  //#endregion
9
9
  export { Options, unplugin as default, unplugin, unpluginFactory };
@@ -1,9 +1,9 @@
1
1
  import { Options } from "./options-CBMw6D8V.js";
2
- import * as unplugin5 from "unplugin";
2
+ import * as unplugin8 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: unplugin5.UnpluginInstance<Options | undefined, true>;
7
+ declare const unplugin: unplugin8.UnpluginInstance<Options | undefined, true>;
8
8
  //#endregion
9
9
  export { Options, unplugin as default, unplugin, unpluginFactory };
package/dist/vite.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Options } from "./options-jKAq0dFf.cjs";
2
- import * as vite11 from "vite";
2
+ import * as vite6 from "vite";
3
3
 
4
4
  //#region src/vite.d.ts
5
- declare const _default: (options?: Options | undefined) => vite11.Plugin<any>[];
5
+ declare const _default: (options?: Options | undefined) => vite6.Plugin<any>[];
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/volar.cjs CHANGED
@@ -31,8 +31,9 @@ type __InferJsxElement<T> = T extends keyof HTMLElementTagNameMap
31
31
  ? HTMLElementTagNameMap[T]
32
32
  : T extends keyof SVGElementTagNameMap
33
33
  ? SVGElementTagNameMap[T]
34
- : T extends (...args: any[]) => any
35
- ? ReturnType<T>
34
+ : T extends (props: infer Props, ctx: { slots: infer Slots, expose: (exposed: infer Exposed) => void, attrs: any, emit: any }) => infer TypeBlock
35
+ // @ts-ignore
36
+ ? import('vue-jsx-vapor').VaporComponentInstance<Props, {}, Slots, Exposed, TypeBlock>
36
37
  : T extends { new (...args: any[]): infer Instance }
37
38
  ? Instance extends { $: any }
38
39
  ? import('vue').VNode
package/dist/volar.js CHANGED
@@ -29,8 +29,9 @@ type __InferJsxElement<T> = T extends keyof HTMLElementTagNameMap
29
29
  ? HTMLElementTagNameMap[T]
30
30
  : T extends keyof SVGElementTagNameMap
31
31
  ? SVGElementTagNameMap[T]
32
- : T extends (...args: any[]) => any
33
- ? ReturnType<T>
32
+ : T extends (props: infer Props, ctx: { slots: infer Slots, expose: (exposed: infer Exposed) => void, attrs: any, emit: any }) => infer TypeBlock
33
+ // @ts-ignore
34
+ ? import('vue-jsx-vapor').VaporComponentInstance<Props, {}, Slots, Exposed, TypeBlock>
34
35
  : T extends { new (...args: any[]): infer Instance }
35
36
  ? Instance extends { $: any }
36
37
  ? import('vue').VNode
@@ -1,7 +1,7 @@
1
1
  import { Options } from "./options-jKAq0dFf.cjs";
2
- import * as webpack13 from "webpack";
2
+ import * as webpack10 from "webpack";
3
3
 
4
4
  //#region src/webpack.d.ts
5
- declare const _default: (options?: Options | undefined) => webpack13.WebpackPluginInstance;
5
+ declare const _default: (options?: Options | undefined) => webpack10.WebpackPluginInstance;
6
6
  //#endregion
7
7
  export { _default as default };
package/dist/webpack.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Options } from "./options-CBMw6D8V.js";
2
- import * as webpack9 from "webpack";
2
+ import * as webpack7 from "webpack";
3
3
 
4
4
  //#region src/webpack.d.ts
5
- declare const _default: (options?: Options | undefined) => webpack9.WebpackPluginInstance;
5
+ declare const _default: (options?: Options | undefined) => webpack7.WebpackPluginInstance;
6
6
  //#endregion
7
7
  export { _default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-jsx-vapor",
3
- "version": "2.6.3",
3
+ "version": "2.6.6",
4
4
  "description": "Vapor Mode of Vue JSX",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -163,23 +163,23 @@
163
163
  "dependencies": {
164
164
  "@babel/core": "^7.28.4",
165
165
  "@babel/plugin-transform-typescript": "^7.28.0",
166
- "@vue-macros/jsx-directive": "^3.0.0-beta.23",
167
- "@vue-macros/volar": "^3.0.0-beta.23",
166
+ "@vue-macros/jsx-directive": "^3.0.1",
167
+ "@vue-macros/volar": "^3.0.1",
168
168
  "@vue/babel-plugin-jsx": "^1.5.0",
169
169
  "@vue/shared": "3.6.0-alpha.2",
170
170
  "hash-sum": "^2.0.0",
171
171
  "pathe": "^2.0.3",
172
- "ts-macro": "^0.3.4",
172
+ "ts-macro": "^0.3.6",
173
173
  "unplugin": "^2.3.10",
174
174
  "unplugin-utils": "^0.2.5",
175
- "@vue-jsx-vapor/babel": "2.6.3",
176
- "@vue-jsx-vapor/compiler": "2.6.3",
177
- "@vue-jsx-vapor/runtime": "2.6.3",
178
- "@vue-jsx-vapor/macros": "2.6.3"
175
+ "@vue-jsx-vapor/compiler": "2.6.6",
176
+ "@vue-jsx-vapor/runtime": "2.6.6",
177
+ "@vue-jsx-vapor/babel": "2.6.6",
178
+ "@vue-jsx-vapor/macros": "2.6.6"
179
179
  },
180
180
  "devDependencies": {
181
- "@nuxt/kit": "^3.19.1",
182
- "@nuxt/schema": "^3.19.1",
181
+ "@nuxt/kit": "^3.19.2",
182
+ "@nuxt/schema": "^3.19.2",
183
183
  "@types/babel__core": "^7.20.5",
184
184
  "@types/hash-sum": "^1.0.2"
185
185
  },