jsx-dom-runtime
Advanced tools
Comparing version 0.64.0 to 0.64.1
@@ -26,6 +26,5 @@ const svgNs = 'http://www.w3.org/2000/svg'; | ||
}; | ||
const Fragment = children => { | ||
const fragment = new DocumentFragment(); | ||
appendChildren(children, fragment); | ||
return fragment; | ||
const Fragment = content => { | ||
appendChildren(content, content = new DocumentFragment()); | ||
return content; | ||
}; | ||
@@ -32,0 +31,0 @@ const jsx = (tag, props) => { |
{ | ||
"name": "jsx-dom-runtime", | ||
"version": "0.64.0", | ||
"version": "0.64.1", | ||
"description": "A tiny in 500 bytes library to JSX syntax templates for DOM. Support HTML, SVG and MathML tags", | ||
@@ -46,3 +46,3 @@ "type": "module", | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
"@size-limit/preset-small-lib": "^11.1.1", | ||
"@size-limit/preset-small-lib": "^11.1.2", | ||
"@testing-library/dom": "^9.3.4", | ||
@@ -60,3 +60,3 @@ "@testing-library/jest-dom": "^6.4.2", | ||
"rollup": "^4.13.0", | ||
"size-limit": "^11.1.1", | ||
"size-limit": "^11.1.2", | ||
"typescript": "^5.4.3" | ||
@@ -63,0 +63,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115462
2949