vue-jsx-vapor 3.2.16 → 3.2.17
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/volar.cjs +2 -2
- package/dist/volar.js +2 -2
- package/package.json +6 -6
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=
|
|
8
|
+
//#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_a803062ad5998f1383900f676b069571/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=
|
|
679
|
+
//#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_a803062ad5998f1383900f676b069571/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=
|
|
5
|
+
//#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_a803062ad5998f1383900f676b069571/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=
|
|
676
|
+
//#region ../../node_modules/.pnpm/@vue-macros+volar@3.1.2_patch_hash=0c8e80125adad1ff087195b3b3c1aad5bb1392f1c5dfe7d84145_a803062ad5998f1383900f676b069571/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
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-jsx-vapor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.17",
|
|
5
5
|
"description": "Vapor Mode of Vue JSX",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/vuejs/vue-jsx-vapor#readme",
|
|
@@ -171,20 +171,20 @@
|
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
173
|
"dependencies": {
|
|
174
|
-
"@vue/shared": "3.6.0-beta.
|
|
174
|
+
"@vue/shared": "3.6.0-beta.15",
|
|
175
175
|
"pathe": "^2.0.3",
|
|
176
176
|
"ts-macro": "^0.3.7",
|
|
177
177
|
"unplugin": "^3.0.0",
|
|
178
178
|
"unplugin-utils": "^0.3.1",
|
|
179
|
-
"@vue-jsx-vapor/compiler-rs": "3.2.
|
|
180
|
-
"@vue-jsx-vapor/
|
|
181
|
-
"@vue-jsx-vapor/
|
|
179
|
+
"@vue-jsx-vapor/compiler-rs": "3.2.17",
|
|
180
|
+
"@vue-jsx-vapor/runtime": "3.2.17",
|
|
181
|
+
"@vue-jsx-vapor/macros": "3.2.17"
|
|
182
182
|
},
|
|
183
183
|
"devDependencies": {
|
|
184
184
|
"@nuxt/kit": "^3.21.4",
|
|
185
185
|
"@nuxt/schema": "^3.21.4",
|
|
186
186
|
"@vue-macros/volar": "^3.1.2",
|
|
187
|
-
"vue": "3.6.0-beta.
|
|
187
|
+
"vue": "3.6.0-beta.15"
|
|
188
188
|
},
|
|
189
189
|
"scripts": {
|
|
190
190
|
"build": "tsdown",
|