hono 2.4.0 → 2.4.1
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/cjs/middleware/jsx/jsx-dev-runtime.js +3 -0
- package/dist/cjs/middleware/jsx/jsx-runtime.js +2 -0
- package/dist/middleware/jsx/jsx-dev-runtime.d.ts +1 -0
- package/dist/middleware/jsx/jsx-dev-runtime.js +2 -0
- package/dist/middleware/jsx/jsx-runtime.d.ts +1 -1
- package/dist/middleware/jsx/jsx-runtime.js +2 -1
- package/package.json +1 -1
|
@@ -18,10 +18,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var jsx_dev_runtime_exports = {};
|
|
20
20
|
__export(jsx_dev_runtime_exports, {
|
|
21
|
+
Fragment: () => import__2.Fragment,
|
|
21
22
|
jsxDEV: () => jsxDEV
|
|
22
23
|
});
|
|
23
24
|
module.exports = __toCommonJS(jsx_dev_runtime_exports);
|
|
24
25
|
var import__ = require(".");
|
|
26
|
+
var import__2 = require(".");
|
|
25
27
|
function jsxDEV(tag, props) {
|
|
26
28
|
const children = props.children ?? [];
|
|
27
29
|
delete props["children"];
|
|
@@ -29,5 +31,6 @@ function jsxDEV(tag, props) {
|
|
|
29
31
|
}
|
|
30
32
|
// Annotate the CommonJS export names for ESM import in node:
|
|
31
33
|
0 && (module.exports = {
|
|
34
|
+
Fragment,
|
|
32
35
|
jsxDEV
|
|
33
36
|
});
|
|
@@ -18,6 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var jsx_runtime_exports = {};
|
|
20
20
|
__export(jsx_runtime_exports, {
|
|
21
|
+
Fragment: () => import_jsx_dev_runtime.Fragment,
|
|
21
22
|
jsx: () => import_jsx_dev_runtime.jsxDEV,
|
|
22
23
|
jsxs: () => import_jsx_dev_runtime2.jsxDEV
|
|
23
24
|
});
|
|
@@ -26,6 +27,7 @@ var import_jsx_dev_runtime = require("./jsx-dev-runtime");
|
|
|
26
27
|
var import_jsx_dev_runtime2 = require("./jsx-dev-runtime");
|
|
27
28
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
29
|
0 && (module.exports = {
|
|
30
|
+
Fragment,
|
|
29
31
|
jsx,
|
|
30
32
|
jsxs
|
|
31
33
|
});
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// src/middleware/jsx/jsx-dev-runtime.ts
|
|
2
2
|
import { jsx } from "./index.js";
|
|
3
|
+
import { Fragment } from "./index.js";
|
|
3
4
|
function jsxDEV(tag, props) {
|
|
4
5
|
const children = props.children ?? [];
|
|
5
6
|
delete props["children"];
|
|
6
7
|
return jsx(tag, props, children);
|
|
7
8
|
}
|
|
8
9
|
export {
|
|
10
|
+
Fragment,
|
|
9
11
|
jsxDEV
|
|
10
12
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { jsxDEV as jsx } from './jsx-dev-runtime';
|
|
1
|
+
export { jsxDEV as jsx, Fragment } from './jsx-dev-runtime';
|
|
2
2
|
export { jsxDEV as jsxs } from './jsx-dev-runtime';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// src/middleware/jsx/jsx-runtime.ts
|
|
2
|
-
import { jsxDEV } from "./jsx-dev-runtime.js";
|
|
2
|
+
import { jsxDEV, Fragment } from "./jsx-dev-runtime.js";
|
|
3
3
|
import { jsxDEV as jsxDEV2 } from "./jsx-dev-runtime.js";
|
|
4
4
|
export {
|
|
5
|
+
Fragment,
|
|
5
6
|
jsxDEV as jsx,
|
|
6
7
|
jsxDEV2 as jsxs
|
|
7
8
|
};
|