@vue-jsx-vapor/macros 2.4.7 → 2.5.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.
- package/dist/api.d.cts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/esbuild.d.cts +2 -2
- package/dist/nuxt.d.cts +2 -2
- package/dist/rolldown.d.cts +2 -2
- package/dist/rollup.d.cts +2 -2
- package/dist/vite.d.cts +2 -2
- package/dist/webpack.d.cts +2 -2
- package/package.json +7 -7
package/dist/api.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionsResolved } from "./options-Egmm6BVJ.cjs";
|
|
2
2
|
import { CodeTransform, MagicStringAST } from "@vue-macros/common";
|
|
3
|
-
import { ArrowFunctionExpression, CallExpression, FunctionDeclaration, FunctionExpression, LVal, Node } from "@babel/types";
|
|
3
|
+
import { ArrowFunctionExpression, CallExpression, FunctionDeclaration, FunctionExpression, LVal, Node, VoidPattern } from "@babel/types";
|
|
4
4
|
|
|
5
5
|
//#region src/core/utils.d.ts
|
|
6
6
|
type FunctionalNode = FunctionDeclaration | FunctionExpression | ArrowFunctionExpression;
|
|
@@ -35,7 +35,7 @@ type Macros = {
|
|
|
35
35
|
}[];
|
|
36
36
|
defineSlots?: {
|
|
37
37
|
expression: CallExpression;
|
|
38
|
-
id?: LVal;
|
|
38
|
+
id?: VoidPattern | LVal;
|
|
39
39
|
};
|
|
40
40
|
defineExpose?: CallExpression;
|
|
41
41
|
defineStyle?: DefineStyle[];
|
package/dist/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionsResolved } from "./options-K4yleEdU.js";
|
|
2
2
|
import { CodeTransform, MagicStringAST } from "@vue-macros/common";
|
|
3
|
-
import { ArrowFunctionExpression, CallExpression, FunctionDeclaration, FunctionExpression, LVal, Node } from "@babel/types";
|
|
3
|
+
import { ArrowFunctionExpression, CallExpression, FunctionDeclaration, FunctionExpression, LVal, Node, VoidPattern } from "@babel/types";
|
|
4
4
|
|
|
5
5
|
//#region src/core/utils.d.ts
|
|
6
6
|
type FunctionalNode = FunctionDeclaration | FunctionExpression | ArrowFunctionExpression;
|
|
@@ -35,7 +35,7 @@ type Macros = {
|
|
|
35
35
|
}[];
|
|
36
36
|
defineSlots?: {
|
|
37
37
|
expression: CallExpression;
|
|
38
|
-
id?: LVal;
|
|
38
|
+
id?: VoidPattern | LVal;
|
|
39
39
|
};
|
|
40
40
|
defineExpose?: CallExpression;
|
|
41
41
|
defineStyle?: DefineStyle[];
|
package/dist/esbuild.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Options } from "./options-Egmm6BVJ.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as esbuild14 from "esbuild";
|
|
3
3
|
|
|
4
4
|
//#region src/esbuild.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => esbuild14.Plugin;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { _default as default };
|
package/dist/nuxt.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Options } from "./options-Egmm6BVJ.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _nuxt_schema9 from "@nuxt/schema";
|
|
3
3
|
|
|
4
4
|
//#region src/nuxt.d.ts
|
|
5
5
|
interface ModuleOptions extends Options {}
|
|
6
|
-
declare const _default:
|
|
6
|
+
declare const _default: _nuxt_schema9.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { ModuleOptions, _default as default };
|
package/dist/rolldown.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Options } from "./options-Egmm6BVJ.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as unplugin11 from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/rolldown.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => unplugin11.RolldownPlugin<any> | unplugin11.RolldownPlugin<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-Egmm6BVJ.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as rollup6 from "rollup";
|
|
3
3
|
|
|
4
4
|
//#region src/rollup.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => rollup6.Plugin<any> | rollup6.Plugin<any>[];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { _default as default };
|
package/dist/vite.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Options } from "./options-Egmm6BVJ.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vite1 from "vite";
|
|
3
3
|
|
|
4
4
|
//#region src/vite.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => vite1.Plugin<any> | vite1.Plugin<any>[];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { _default as default };
|
package/dist/webpack.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Options } from "./options-Egmm6BVJ.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as webpack4 from "webpack";
|
|
3
3
|
|
|
4
4
|
//#region src/webpack.d.ts
|
|
5
|
-
declare const _default: (options?: Options | undefined) =>
|
|
5
|
+
declare const _default: (options?: Options | undefined) => webpack4.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/macros",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Macros for Vue JSX Vapor",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -132,18 +132,18 @@
|
|
|
132
132
|
},
|
|
133
133
|
"dependencies": {
|
|
134
134
|
"@vue-macros/common": "^3.0.0-beta.15",
|
|
135
|
-
"@vue/compiler-sfc": "https://pkg.pr.new/@vue/compiler-sfc@
|
|
135
|
+
"@vue/compiler-sfc": "https://pkg.pr.new/@vue/compiler-sfc@51677cd",
|
|
136
136
|
"hash-sum": "^2.0.0",
|
|
137
|
-
"ts-macro": "^0.1.
|
|
137
|
+
"ts-macro": "^0.1.35",
|
|
138
138
|
"unplugin": "^2.3.5"
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|
|
141
|
-
"@babel/types": "^7.
|
|
142
|
-
"@nuxt/kit": "^3.17.
|
|
143
|
-
"@nuxt/schema": "^3.17.
|
|
141
|
+
"@babel/types": "^7.28.0",
|
|
142
|
+
"@nuxt/kit": "^3.17.6",
|
|
143
|
+
"@nuxt/schema": "^3.17.6",
|
|
144
144
|
"@types/hash-sum": "^1.0.2",
|
|
145
145
|
"@vue-macros/test-utils": "^3.0.0-beta.15",
|
|
146
|
-
"vue": "https://pkg.pr.new/vue@
|
|
146
|
+
"vue": "https://pkg.pr.new/vue@51677cd"
|
|
147
147
|
},
|
|
148
148
|
"scripts": {
|
|
149
149
|
"build": "tsdown",
|