vue-jsx-vapor 2.3.5 → 2.3.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.
package/dist/astro.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, '__esModule', { value: true });
3
3
  require('./core-B29W1zp3.cjs');
4
- require('./raw-Dr3UcxgN.cjs');
4
+ require('./raw-CPEhZ9Wr.cjs');
5
5
  require('./options-CulFO0WS.cjs');
6
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
6
+ const require_unplugin = require('./unplugin-BE5nHMyo.cjs');
7
7
 
8
8
  //#region src/astro.ts
9
9
  var astro_default = (options) => ({
package/dist/astro.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-D5n6wETp.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-BMMTjSOs.js";
4
+ import { unplugin_default } from "./unplugin-O-j6KrDW.js";
5
5
 
6
6
  //#region src/astro.ts
7
7
  var astro_default = (options) => ({
package/dist/esbuild.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, '__esModule', { value: true });
3
3
  require('./core-B29W1zp3.cjs');
4
- require('./raw-Dr3UcxgN.cjs');
4
+ require('./raw-CPEhZ9Wr.cjs');
5
5
  require('./options-CulFO0WS.cjs');
6
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
6
+ const require_unplugin = require('./unplugin-BE5nHMyo.cjs');
7
7
 
8
8
  //#region src/esbuild.ts
9
9
  var esbuild_default = require_unplugin.unplugin_default.esbuild;
package/dist/esbuild.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-D5n6wETp.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-BMMTjSOs.js";
4
+ import { unplugin_default } from "./unplugin-O-j6KrDW.js";
5
5
 
6
6
  //#region src/esbuild.ts
7
7
  var esbuild_default = unplugin_default.esbuild;
package/dist/index.cjs CHANGED
@@ -8,15 +8,18 @@ function createFragment(nodes, anchor = document.createTextNode("")) {
8
8
  frag.anchor = anchor;
9
9
  return frag;
10
10
  }
11
- function normalizeValue(value, anchor) {
12
- if (value instanceof Node || (0, vue.isFragment)(value)) {
11
+ function normalizeNode(node, anchor) {
12
+ if (node instanceof Node || (0, vue.isFragment)(node)) {
13
13
  anchor && (anchor.textContent = "");
14
- return value;
15
- } else if (Array.isArray(value)) {
14
+ return node;
15
+ } else if ((0, vue.isVaporComponent)(node)) {
16
16
  anchor && (anchor.textContent = "");
17
- return createFragment(value.map((i) => normalizeValue(i)), anchor);
17
+ return createFragment(node, anchor);
18
+ } else if (Array.isArray(node)) {
19
+ anchor && (anchor.textContent = "");
20
+ return createFragment(node.map((i) => normalizeNode(i)), anchor);
18
21
  } else {
19
- const result = value == null || typeof value === "boolean" ? "" : String(value);
22
+ const result = node == null || typeof node === "boolean" ? "" : String(node);
20
23
  if (anchor) {
21
24
  anchor.textContent = result;
22
25
  return anchor;
@@ -24,7 +27,7 @@ function normalizeValue(value, anchor) {
24
27
  }
25
28
  }
26
29
  function resolveValue(current, value, anchor) {
27
- const node = normalizeValue(value, anchor);
30
+ const node = normalizeNode(value, anchor);
28
31
  if (current) {
29
32
  if ((0, vue.isFragment)(current)) {
30
33
  const { anchor: anchor$1 } = current;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { VaporFragment, effectScope, insert, isFragment, remove, renderEffect, shallowRef as useRef } from "vue";
1
+ import { VaporFragment, effectScope, insert, isFragment, isVaporComponent, remove, renderEffect, shallowRef as useRef } from "vue";
2
2
 
3
3
  //#region src/core/runtime.ts
4
4
  function createFragment(nodes, anchor = document.createTextNode("")) {
@@ -6,15 +6,18 @@ function createFragment(nodes, anchor = document.createTextNode("")) {
6
6
  frag.anchor = anchor;
7
7
  return frag;
8
8
  }
9
- function normalizeValue(value, anchor) {
10
- if (value instanceof Node || isFragment(value)) {
9
+ function normalizeNode(node, anchor) {
10
+ if (node instanceof Node || isFragment(node)) {
11
11
  anchor && (anchor.textContent = "");
12
- return value;
13
- } else if (Array.isArray(value)) {
12
+ return node;
13
+ } else if (isVaporComponent(node)) {
14
14
  anchor && (anchor.textContent = "");
15
- return createFragment(value.map((i) => normalizeValue(i)), anchor);
15
+ return createFragment(node, anchor);
16
+ } else if (Array.isArray(node)) {
17
+ anchor && (anchor.textContent = "");
18
+ return createFragment(node.map((i) => normalizeNode(i)), anchor);
16
19
  } else {
17
- const result = value == null || typeof value === "boolean" ? "" : String(value);
20
+ const result = node == null || typeof node === "boolean" ? "" : String(node);
18
21
  if (anchor) {
19
22
  anchor.textContent = result;
20
23
  return anchor;
@@ -22,7 +25,7 @@ function normalizeValue(value, anchor) {
22
25
  }
23
26
  }
24
27
  function resolveValue(current, value, anchor) {
25
- const node = normalizeValue(value, anchor);
28
+ const node = normalizeNode(value, anchor);
26
29
  if (current) {
27
30
  if (isFragment(current)) {
28
31
  const { anchor: anchor$1 } = current;
package/dist/nuxt.cjs CHANGED
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, '__esModule', { value: true });
3
3
  const require_chunk = require('./chunk-BCwAaXi7.cjs');
4
4
  require('./core-B29W1zp3.cjs');
5
- require('./raw-Dr3UcxgN.cjs');
5
+ require('./raw-CPEhZ9Wr.cjs');
6
6
  require('./options-CulFO0WS.cjs');
7
- require('./unplugin-ChZxAtQ0.cjs');
8
- const require_vite = require('./vite-D_zoULH4.cjs');
9
- const require_webpack = require('./webpack-BXmoWpIv.cjs');
7
+ require('./unplugin-BE5nHMyo.cjs');
8
+ const require_vite = require('./vite-CnMq6-74.cjs');
9
+ const require_webpack = require('./webpack-DjBty3ZC.cjs');
10
10
  const __nuxt_kit = require_chunk.__toESM(require("@nuxt/kit"));
11
11
  require("@nuxt/schema");
12
12
 
package/dist/nuxt.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-D5n6wETp.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import "./unplugin-BMMTjSOs.js";
5
- import { vite_default } from "./vite-BSUI3W42.js";
6
- import { webpack_default } from "./webpack-CeYJ9dJv.js";
4
+ import "./unplugin-O-j6KrDW.js";
5
+ import { vite_default } from "./vite-B8-AEirI.js";
6
+ import { webpack_default } from "./webpack-BnYgbUqF.js";
7
7
  import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
8
8
  import "@nuxt/schema";
9
9
 
@@ -113,7 +113,7 @@ function isDefineComponentCall(node, names) {
113
113
 
114
114
  //#endregion
115
115
  //#region src/core/runtime.ts?raw
116
- var runtime_default = "import {\n effectScope,\n insert,\n isFragment,\n remove,\n renderEffect,\n VaporFragment\n} from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeValue(value, anchor) {\n if (value instanceof Node || isFragment(value)) {\n anchor && (anchor.textContent = \"\");\n return value;\n } else if (Array.isArray(value)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n value.map((i) => normalizeValue(i)),\n anchor\n );\n } else {\n const result = value == null || typeof value === \"boolean\" ? \"\" : String(value);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, anchor) {\n const node = normalizeValue(value, anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor: anchor2 } = current;\n if (anchor2 && anchor2.parentNode) {\n remove(current.nodes, anchor2.parentNode);\n insert(node, anchor2.parentNode, anchor2);\n anchor2.remove();\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.remove();\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n if (scopes[index]) scopes[index].stop();\n scopes[index] = effectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
116
+ var runtime_default = "import {\n effectScope,\n insert,\n isFragment,\n isVaporComponent,\n remove,\n renderEffect,\n VaporFragment\n} from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeNode(node, anchor) {\n if (node instanceof Node || isFragment(node)) {\n anchor && (anchor.textContent = \"\");\n return node;\n } else if (isVaporComponent(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(node, anchor);\n } else if (Array.isArray(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n node.map((i) => normalizeNode(i)),\n anchor\n );\n } else {\n const result = node == null || typeof node === \"boolean\" ? \"\" : String(node);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, anchor) {\n const node = normalizeNode(value, anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor: anchor2 } = current;\n if (anchor2 && anchor2.parentNode) {\n remove(current.nodes, anchor2.parentNode);\n insert(node, anchor2.parentNode, anchor2);\n anchor2.remove();\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.remove();\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n if (scopes[index]) scopes[index].stop();\n scopes[index] = effectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
117
117
 
118
118
  //#endregion
119
119
  //#region src/core/vue-jsx.ts
@@ -111,7 +111,7 @@ function isDefineComponentCall(node, names) {
111
111
 
112
112
  //#endregion
113
113
  //#region src/core/runtime.ts?raw
114
- var runtime_default = "import {\n effectScope,\n insert,\n isFragment,\n remove,\n renderEffect,\n VaporFragment\n} from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeValue(value, anchor) {\n if (value instanceof Node || isFragment(value)) {\n anchor && (anchor.textContent = \"\");\n return value;\n } else if (Array.isArray(value)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n value.map((i) => normalizeValue(i)),\n anchor\n );\n } else {\n const result = value == null || typeof value === \"boolean\" ? \"\" : String(value);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, anchor) {\n const node = normalizeValue(value, anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor: anchor2 } = current;\n if (anchor2 && anchor2.parentNode) {\n remove(current.nodes, anchor2.parentNode);\n insert(node, anchor2.parentNode, anchor2);\n anchor2.remove();\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.remove();\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n if (scopes[index]) scopes[index].stop();\n scopes[index] = effectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
114
+ var runtime_default = "import {\n effectScope,\n insert,\n isFragment,\n isVaporComponent,\n remove,\n renderEffect,\n VaporFragment\n} from \"vue\";\nexport { shallowRef as useRef } from \"vue\";\nfunction createFragment(nodes, anchor = document.createTextNode(\"\")) {\n const frag = new VaporFragment(nodes);\n frag.anchor = anchor;\n return frag;\n}\nfunction normalizeNode(node, anchor) {\n if (node instanceof Node || isFragment(node)) {\n anchor && (anchor.textContent = \"\");\n return node;\n } else if (isVaporComponent(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(node, anchor);\n } else if (Array.isArray(node)) {\n anchor && (anchor.textContent = \"\");\n return createFragment(\n node.map((i) => normalizeNode(i)),\n anchor\n );\n } else {\n const result = node == null || typeof node === \"boolean\" ? \"\" : String(node);\n if (anchor) {\n anchor.textContent = result;\n return anchor;\n } else {\n return document.createTextNode(result);\n }\n }\n}\nfunction resolveValue(current, value, anchor) {\n const node = normalizeNode(value, anchor);\n if (current) {\n if (isFragment(current)) {\n const { anchor: anchor2 } = current;\n if (anchor2 && anchor2.parentNode) {\n remove(current.nodes, anchor2.parentNode);\n insert(node, anchor2.parentNode, anchor2);\n anchor2.remove();\n }\n } else if (current instanceof Node) {\n if (isFragment(node) && current.parentNode) {\n insert(node, current.parentNode, current);\n current.remove();\n } else if (node instanceof Node) {\n if (current.nodeType === 3 && node.nodeType === 3) {\n current.textContent = node.textContent;\n return current;\n } else if (current.parentNode) {\n current.parentNode.replaceChild(node, current);\n }\n }\n }\n }\n return node;\n}\nfunction resolveValues(values = [], _anchor) {\n const nodes = [];\n const scopes = [];\n for (const [index, value] of values.entries()) {\n const anchor = index === values.length - 1 ? _anchor : void 0;\n if (typeof value === \"function\") {\n renderEffect(() => {\n if (scopes[index]) scopes[index].stop();\n scopes[index] = effectScope();\n nodes[index] = scopes[index].run(\n () => resolveValue(nodes[index], value(), anchor)\n );\n });\n } else {\n nodes[index] = resolveValue(nodes[index], value, anchor);\n }\n }\n return nodes;\n}\nexport function setNodes(anchor, ...values) {\n const resolvedValues = resolveValues(values, anchor);\n anchor.parentNode && insert(resolvedValues, anchor.parentNode, anchor);\n}\nexport function createNodes(...values) {\n return resolveValues(values);\n}\n";
115
115
 
116
116
  //#endregion
117
117
  //#region src/core/vue-jsx.ts
package/dist/raw.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-B29W1zp3.cjs');
3
- const require_raw = require('./raw-Dr3UcxgN.cjs');
3
+ const require_raw = require('./raw-CPEhZ9Wr.cjs');
4
4
 
5
5
  exports.default = require_raw.raw_default
package/dist/raw.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import { raw_default } from "./raw-C8eD8f6a.js";
2
+ import { raw_default } from "./raw-D5n6wETp.js";
3
3
 
4
4
  export { raw_default as default };
package/dist/rolldown.cjs CHANGED
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, '__esModule', { value: true });
3
3
  const require_chunk = require('./chunk-BCwAaXi7.cjs');
4
4
  require('./core-B29W1zp3.cjs');
5
- require('./raw-Dr3UcxgN.cjs');
5
+ require('./raw-CPEhZ9Wr.cjs');
6
6
  require('./options-CulFO0WS.cjs');
7
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
7
+ const require_unplugin = require('./unplugin-BE5nHMyo.cjs');
8
8
  const unplugin = require_chunk.__toESM(require("unplugin"));
9
9
 
10
10
  //#region src/rolldown.ts
package/dist/rolldown.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-D5n6wETp.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unpluginFactory } from "./unplugin-BMMTjSOs.js";
4
+ import { unpluginFactory } from "./unplugin-O-j6KrDW.js";
5
5
  import { createRollupPlugin } from "unplugin";
6
6
 
7
7
  //#region src/rolldown.ts
package/dist/rollup.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, '__esModule', { value: true });
3
3
  require('./core-B29W1zp3.cjs');
4
- require('./raw-Dr3UcxgN.cjs');
4
+ require('./raw-CPEhZ9Wr.cjs');
5
5
  require('./options-CulFO0WS.cjs');
6
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
6
+ const require_unplugin = require('./unplugin-BE5nHMyo.cjs');
7
7
 
8
8
  //#region src/rollup.ts
9
9
  var rollup_default = require_unplugin.unplugin_default.rollup;
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-D5n6wETp.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-BMMTjSOs.js";
4
+ import { unplugin_default } from "./unplugin-O-j6KrDW.js";
5
5
 
6
6
  //#region src/rollup.ts
7
7
  var rollup_default = unplugin_default.rollup;
package/dist/rspack.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, '__esModule', { value: true });
3
3
  require('./core-B29W1zp3.cjs');
4
- require('./raw-Dr3UcxgN.cjs');
4
+ require('./raw-CPEhZ9Wr.cjs');
5
5
  require('./options-CulFO0WS.cjs');
6
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
6
+ const require_unplugin = require('./unplugin-BE5nHMyo.cjs');
7
7
 
8
8
  //#region src/rspack.ts
9
9
  var rspack_default = require_unplugin.unplugin_default.rspack;
package/dist/rspack.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-D5n6wETp.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unplugin_default } from "./unplugin-BMMTjSOs.js";
4
+ import { unplugin_default } from "./unplugin-O-j6KrDW.js";
5
5
 
6
6
  //#region src/rspack.ts
7
7
  var rspack_default = unplugin_default.rspack;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const require_chunk = require('./chunk-BCwAaXi7.cjs');
3
- const require_raw = require('./raw-Dr3UcxgN.cjs');
3
+ const require_raw = require('./raw-CPEhZ9Wr.cjs');
4
4
  const unplugin = require_chunk.__toESM(require("unplugin"));
5
5
  const vite = require_chunk.__toESM(require("vite"));
6
6
 
@@ -1,4 +1,4 @@
1
- import { raw_default } from "./raw-C8eD8f6a.js";
1
+ import { raw_default } from "./raw-D5n6wETp.js";
2
2
  import { createUnplugin } from "unplugin";
3
3
  import { createFilter, transformWithEsbuild } from "vite";
4
4
 
package/dist/unplugin.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-B29W1zp3.cjs');
3
- require('./raw-Dr3UcxgN.cjs');
3
+ require('./raw-CPEhZ9Wr.cjs');
4
4
  require('./options-CulFO0WS.cjs');
5
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
5
+ const require_unplugin = require('./unplugin-BE5nHMyo.cjs');
6
6
 
7
7
  exports.default = require_unplugin.unplugin_default
8
8
  exports.unplugin = require_unplugin.unplugin
package/dist/unplugin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-D5n6wETp.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import { unplugin, unpluginFactory, unplugin_default } from "./unplugin-BMMTjSOs.js";
4
+ import { unplugin, unpluginFactory, unplugin_default } from "./unplugin-O-j6KrDW.js";
5
5
 
6
6
  export { unplugin_default as default, unplugin, unpluginFactory };
@@ -0,0 +1,7 @@
1
+ import { unplugin_default } from "./unplugin-O-j6KrDW.js";
2
+
3
+ //#region src/vite.ts
4
+ var vite_default = unplugin_default.vite;
5
+
6
+ //#endregion
7
+ export { vite_default };
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
2
+ const require_unplugin = require('./unplugin-BE5nHMyo.cjs');
3
3
 
4
4
  //#region src/vite.ts
5
5
  var vite_default = require_unplugin.unplugin_default.vite;
package/dist/vite.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-B29W1zp3.cjs');
3
- require('./raw-Dr3UcxgN.cjs');
3
+ require('./raw-CPEhZ9Wr.cjs');
4
4
  require('./options-CulFO0WS.cjs');
5
- require('./unplugin-ChZxAtQ0.cjs');
6
- const require_vite = require('./vite-D_zoULH4.cjs');
5
+ require('./unplugin-BE5nHMyo.cjs');
6
+ const require_vite = require('./vite-CnMq6-74.cjs');
7
7
 
8
8
  exports.default = require_vite.vite_default
package/dist/vite.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-D5n6wETp.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import "./unplugin-BMMTjSOs.js";
5
- import { vite_default } from "./vite-BSUI3W42.js";
4
+ import "./unplugin-O-j6KrDW.js";
5
+ import { vite_default } from "./vite-B8-AEirI.js";
6
6
 
7
7
  export { vite_default as default };
@@ -1,4 +1,4 @@
1
- import { unplugin_default } from "./unplugin-BMMTjSOs.js";
1
+ import { unplugin_default } from "./unplugin-O-j6KrDW.js";
2
2
 
3
3
  //#region src/webpack.ts
4
4
  var webpack_default = unplugin_default.webpack;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_unplugin = require('./unplugin-ChZxAtQ0.cjs');
2
+ const require_unplugin = require('./unplugin-BE5nHMyo.cjs');
3
3
 
4
4
  //#region src/webpack.ts
5
5
  var webpack_default = require_unplugin.unplugin_default.webpack;
package/dist/webpack.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  require('./core-B29W1zp3.cjs');
3
- require('./raw-Dr3UcxgN.cjs');
3
+ require('./raw-CPEhZ9Wr.cjs');
4
4
  require('./options-CulFO0WS.cjs');
5
- require('./unplugin-ChZxAtQ0.cjs');
6
- const require_webpack = require('./webpack-BXmoWpIv.cjs');
5
+ require('./unplugin-BE5nHMyo.cjs');
6
+ const require_webpack = require('./webpack-DjBty3ZC.cjs');
7
7
 
8
8
  exports.default = require_webpack.webpack_default
package/dist/webpack.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./core-BDE4GLH8.js";
2
- import "./raw-C8eD8f6a.js";
2
+ import "./raw-D5n6wETp.js";
3
3
  import "./options-HYvLzmlg.js";
4
- import "./unplugin-BMMTjSOs.js";
5
- import { webpack_default } from "./webpack-CeYJ9dJv.js";
4
+ import "./unplugin-O-j6KrDW.js";
5
+ import { webpack_default } from "./webpack-BnYgbUqF.js";
6
6
 
7
7
  export { webpack_default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-jsx-vapor",
3
- "version": "2.3.5",
3
+ "version": "2.3.6",
4
4
  "description": "Convert Vue JSX to Vapor",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -183,6 +183,7 @@
183
183
  "esbuild": "*",
184
184
  "rollup": "^3",
185
185
  "vite": ">=3",
186
+ "vue": "^3.5.0",
186
187
  "webpack": "^4 || ^5"
187
188
  },
188
189
  "peerDependenciesMeta": {
@@ -209,24 +210,24 @@
209
210
  "@babel/core": "^7.26.8",
210
211
  "@babel/plugin-transform-typescript": "^7.26.8",
211
212
  "@types/hash-sum": "^1.0.2",
212
- "@vue-macros/jsx-directive": "^3.0.0-beta.10",
213
- "@vue-macros/volar": "^3.0.0-beta.10",
213
+ "@vue-macros/jsx-directive": "^3.0.0-beta.12",
214
+ "@vue-macros/volar": "^3.0.0-beta.12",
214
215
  "@vue/babel-plugin-jsx": "^1.4.0",
215
216
  "hash-sum": "^2.0.0",
216
217
  "pathe": "^2.0.3",
217
- "ts-macro": "^0.1.25",
218
+ "ts-macro": "^0.1.29",
218
219
  "unplugin": "^2.2.2",
219
220
  "unplugin-utils": "^0.2.4",
220
- "@vue-jsx-vapor/compiler": "2.3.5",
221
- "@vue-jsx-vapor/babel": "2.3.5",
222
- "@vue-jsx-vapor/macros": "2.3.5"
221
+ "@vue-jsx-vapor/compiler": "2.3.6",
222
+ "@vue-jsx-vapor/babel": "2.3.6",
223
+ "@vue-jsx-vapor/macros": "2.3.6"
223
224
  },
224
225
  "devDependencies": {
225
226
  "@nuxt/kit": "^3.16.0",
226
227
  "@nuxt/schema": "^3.16.0",
227
228
  "@types/babel__core": "^7.20.5",
228
229
  "csstype": "^3.1.3",
229
- "vue": "https://pkg.pr.new/vue@42f38ca"
230
+ "vue": "https://pkg.pr.new/vue@d386396"
230
231
  },
231
232
  "scripts": {
232
233
  "build": "tsdown",
@@ -1,7 +0,0 @@
1
- import { unplugin_default } from "./unplugin-BMMTjSOs.js";
2
-
3
- //#region src/vite.ts
4
- var vite_default = unplugin_default.vite;
5
-
6
- //#endregion
7
- export { vite_default };