Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gera2ld/jsx-dom

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gera2ld/jsx-dom - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

7

dist/index.common.js

@@ -1,2 +0,2 @@

/*! @gera2ld/jsx-dom v1.2.0 | ISC License */
/*! @gera2ld/jsx-dom v1.2.1 | ISC License */
'use strict';

@@ -84,2 +84,7 @@

if (Array.isArray(child)) {
renderChildren(el, child);
return;
}
if (typeof child !== 'object') {

@@ -86,0 +91,0 @@ el.appendChild(document.createTextNode("" + child));

@@ -1,2 +0,2 @@

/*! @gera2ld/jsx-dom v1.2.0 | ISC License */
/*! @gera2ld/jsx-dom v1.2.1 | ISC License */
var propRules = ['innerHTML', 'innerText', 'textContent', {

@@ -80,2 +80,7 @@ key: 'value',

if (Array.isArray(child)) {
renderChildren(el, child);
return;
}
if (typeof child !== 'object') {

@@ -82,0 +87,0 @@ el.appendChild(document.createTextNode("" + child));

@@ -1,2 +0,2 @@

/*! @gera2ld/jsx-dom v1.2.0 | ISC License */
/*! @gera2ld/jsx-dom v1.2.1 | ISC License */
(function (exports) {

@@ -83,2 +83,7 @@ 'use strict';

if (Array.isArray(child)) {
renderChildren(el, child);
return;
}
if (typeof child !== 'object') {

@@ -85,0 +90,0 @@ el.appendChild(document.createTextNode("" + child));

15

package.json
{
"name": "@gera2ld/jsx-dom",
"version": "1.2.0",
"version": "1.2.1",
"description": "Use JSX for HTML elements.",

@@ -31,3 +31,4 @@ "author": "Gerald <i@gerald.top>",

"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/"
},

@@ -41,11 +42,11 @@ "main": "dist/index.common.js",

"devDependencies": {
"@gera2ld/plaid": "~2.0.0",
"@gera2ld/plaid-common-ts": "^2.0.5",
"@gera2ld/plaid-rollup": "~2.0.0",
"@gera2ld/plaid": "~2.0.7",
"@gera2ld/plaid-common-ts": "~2.1.2",
"@gera2ld/plaid-rollup": "~2.1.1",
"del-cli": "^3.0.1",
"husky": "^4.2.5"
"husky": "^4.3.0"
},
"dependencies": {
"@babel/runtime": "^7.11.0"
"@babel/runtime": "^7.11.2"
}
}

@@ -9,3 +9,4 @@ interface JSXComponent {

export declare type JSXElement = HTMLElement | DocumentFragment;
export declare type JSXChild = string | boolean | JSXElement;
export declare type JSXSingleChild = string | boolean | JSXElement;
export declare type JSXChild = JSXSingleChild | JSXSingleChild[];
export declare function createElement(tag: string | JSXComponent, props?: JSXProps, ...children: JSXChild[]): JSXElement;

@@ -12,0 +13,0 @@ export declare namespace createElement {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc