@rue-js/jsx-dev-runtime 0.0.20 → 0.0.25
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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @rue-js/jsx-dev-runtime v0.0.
|
|
2
|
+
* @rue-js/jsx-dev-runtime v0.0.25
|
|
3
3
|
* (c) 2025-present Xiangmin Liu and Rue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var rue = require('@rue-js/rue');
|
|
11
11
|
|
|
12
12
|
function jsx(type, props, key) {
|
|
13
13
|
const p = key !== void 0 ? (() => {
|
|
@@ -19,12 +19,12 @@ function jsx(type, props, key) {
|
|
|
19
19
|
return o;
|
|
20
20
|
})() : props ? props : null;
|
|
21
21
|
const c = props ? props.children : void 0;
|
|
22
|
-
return Array.isArray(c) ?
|
|
22
|
+
return Array.isArray(c) ? rue.h(type, p, ...c) : c !== void 0 ? rue.h(type, p, c) : rue.h(type, p);
|
|
23
23
|
}
|
|
24
24
|
function jsxDEV(type, props, key, _isStaticChildren, _source, _self) {
|
|
25
25
|
return jsx(type, props, key);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
exports.Fragment =
|
|
28
|
+
exports.Fragment = rue.Fragment;
|
|
29
29
|
exports.jsx = jsx;
|
|
30
30
|
exports.jsxDEV = jsxDEV;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @rue-js/jsx-dev-runtime v0.0.
|
|
2
|
+
* @rue-js/jsx-dev-runtime v0.0.25
|
|
3
3
|
* (c) 2025-present Xiangmin Liu and Rue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var rue = require('@rue-js/rue');
|
|
11
11
|
|
|
12
12
|
function jsx(type, props, key) {
|
|
13
13
|
const p = key !== void 0 ? (() => {
|
|
@@ -19,12 +19,12 @@ function jsx(type, props, key) {
|
|
|
19
19
|
return o;
|
|
20
20
|
})() : props ? props : null;
|
|
21
21
|
const c = props ? props.children : void 0;
|
|
22
|
-
return Array.isArray(c) ?
|
|
22
|
+
return Array.isArray(c) ? rue.h(type, p, ...c) : c !== void 0 ? rue.h(type, p, c) : rue.h(type, p);
|
|
23
23
|
}
|
|
24
24
|
function jsxDEV(type, props, key, _isStaticChildren, _source, _self) {
|
|
25
25
|
return jsx(type, props, key);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
exports.Fragment =
|
|
28
|
+
exports.Fragment = rue.Fragment;
|
|
29
29
|
exports.jsx = jsx;
|
|
30
30
|
exports.jsxDEV = jsxDEV;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @rue-js/jsx-dev-runtime v0.0.
|
|
2
|
+
* @rue-js/jsx-dev-runtime v0.0.25
|
|
3
3
|
* (c) 2025-present Xiangmin Liu and Rue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
6
|
-
import { h } from 'rue-js';
|
|
7
|
-
export { Fragment } from 'rue-js';
|
|
6
|
+
import { h } from '@rue-js/rue';
|
|
7
|
+
export { Fragment } from '@rue-js/rue';
|
|
8
8
|
|
|
9
9
|
function jsx(type, props, key) {
|
|
10
10
|
const p = key !== void 0 ? (() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rue-js/jsx-dev-runtime",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.25",
|
|
4
4
|
"description": "@rue-js/jsx-dev-runtime",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rue"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"./*": "./*"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"rue-js": "0.0.
|
|
43
|
+
"@rue-js/rue": "0.0.25"
|
|
44
44
|
},
|
|
45
45
|
"buildOptions": {
|
|
46
46
|
"name": "RueJsxDevRuntimeCore",
|