New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsx-dom

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-dom - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

73

index.cjs.js

@@ -13,2 +13,3 @@ 'use strict';

var keys = Object.keys;
function isBoolean(val) {

@@ -42,33 +43,45 @@ return typeof val === 'boolean';

}
if (isElement(attr) || isString(attr)) {
children.unshift(attr);
attr = {};
}
return createElement(tag, attr, children);
};
}
var DOM$$1 = {
a: f('a'),
blockquote: f('blockquote'),
button: f('button'),
div: f('div'),
em: f('em'),
h1: f('h1'),
h2: f('h2'),
h3: f('h3'),
h4: f('h4'),
h5: f('h5'),
h6: f('h6'),
hr: f('hr'),
img: f('img'),
input: f('input'),
li: f('li'),
link: f('link'),
ol: f('ol'),
p: f('p'),
script: f('script'),
span: f('span'),
strong: f('strong'),
table: f('table'),
td: f('td'),
th: f('th'),
tr: f('tr'),
ul: f('ul')
};
var DOM$$1 = function (obj) {
for (var _i = 0, _a = keys(obj); _i < _a.length; _i++) {
var key = _a[_i];
obj[key] = f(key);
}
return obj;
}({
a: 0,
blockquote: 0,
button: 0,
div: 0,
em: 0,
form: 0,
h1: 0,
h2: 0,
h3: 0,
h4: 0,
h5: 0,
h6: 0,
hr: 0,
img: 0,
input: 0,
li: 0,
link: 0,
ol: 0,
p: 0,
script: 0,
span: 0,
strong: 0,
table: 0,
thead: 0,
td: 0,
th: 0,
tr: 0,
ul: 0
});

@@ -93,3 +106,3 @@ var SVGNamespace = 'http://www.w3.org/2000/svg';

} else if (isObject(value)) {
return Object.keys(value).filter(function (k) {
return keys(value).filter(function (k) {
return value[k];

@@ -143,3 +156,3 @@ }).join(' ');

function attributes(attr, node) {
for (var _i = 0, _a = Object.keys(attr); _i < _a.length; _i++) {
for (var _i = 0, _a = keys(attr); _i < _a.length; _i++) {
var key = _a[_i];

@@ -146,0 +159,0 @@ var value = attr[key];

@@ -11,2 +11,3 @@

var keys = Object.keys;
function isBoolean(val) {

@@ -40,33 +41,45 @@ return typeof val === 'boolean';

}
if (isElement(attr) || isString(attr)) {
children.unshift(attr);
attr = {};
}
return createElement(tag, attr, children);
};
}
var DOM$$1 = {
a: f('a'),
blockquote: f('blockquote'),
button: f('button'),
div: f('div'),
em: f('em'),
h1: f('h1'),
h2: f('h2'),
h3: f('h3'),
h4: f('h4'),
h5: f('h5'),
h6: f('h6'),
hr: f('hr'),
img: f('img'),
input: f('input'),
li: f('li'),
link: f('link'),
ol: f('ol'),
p: f('p'),
script: f('script'),
span: f('span'),
strong: f('strong'),
table: f('table'),
td: f('td'),
th: f('th'),
tr: f('tr'),
ul: f('ul')
};
var DOM$$1 = function (obj) {
for (var _i = 0, _a = keys(obj); _i < _a.length; _i++) {
var key = _a[_i];
obj[key] = f(key);
}
return obj;
}({
a: 0,
blockquote: 0,
button: 0,
div: 0,
em: 0,
form: 0,
h1: 0,
h2: 0,
h3: 0,
h4: 0,
h5: 0,
h6: 0,
hr: 0,
img: 0,
input: 0,
li: 0,
link: 0,
ol: 0,
p: 0,
script: 0,
span: 0,
strong: 0,
table: 0,
thead: 0,
td: 0,
th: 0,
tr: 0,
ul: 0
});

@@ -91,3 +104,3 @@ var SVGNamespace = 'http://www.w3.org/2000/svg';

} else if (isObject(value)) {
return Object.keys(value).filter(function (k) {
return keys(value).filter(function (k) {
return value[k];

@@ -141,3 +154,3 @@ }).join(' ');

function attributes(attr, node) {
for (var _i = 0, _a = Object.keys(attr); _i < _a.length; _i++) {
for (var _i = 0, _a = keys(attr); _i < _a.length; _i++) {
var key = _a[_i];

@@ -144,0 +157,0 @@ var value = attr[key];

{
"name": "jsx-dom",
"version": "5.0.1",
"version": "5.0.2",
"description": "JSX to document.createElement.",

@@ -27,3 +27,3 @@ "main": "index.cjs.js",

"babel-core": "^6.24.1",
"chai": "^3.5.0",
"chai": "^4.0.0",
"coffeescript": "1.12.6",

@@ -30,0 +30,0 @@ "jsdom": "^11.0.0",

@@ -13,2 +13,3 @@ 'use strict';

var keys = Object.keys;
function isBoolean(val) {

@@ -42,33 +43,45 @@ return typeof val === 'boolean';

}
if (isElement(attr) || isString(attr)) {
children.unshift(attr);
attr = {};
}
return createElement$1(tag, attr, children);
};
}
var DOM$$1 = {
a: f('a'),
blockquote: f('blockquote'),
button: f('button'),
div: f('div'),
em: f('em'),
h1: f('h1'),
h2: f('h2'),
h3: f('h3'),
h4: f('h4'),
h5: f('h5'),
h6: f('h6'),
hr: f('hr'),
img: f('img'),
input: f('input'),
li: f('li'),
link: f('link'),
ol: f('ol'),
p: f('p'),
script: f('script'),
span: f('span'),
strong: f('strong'),
table: f('table'),
td: f('td'),
th: f('th'),
tr: f('tr'),
ul: f('ul')
};
var DOM$$1 = function (obj) {
for (var _i = 0, _a = keys(obj); _i < _a.length; _i++) {
var key = _a[_i];
obj[key] = f(key);
}
return obj;
}({
a: 0,
blockquote: 0,
button: 0,
div: 0,
em: 0,
form: 0,
h1: 0,
h2: 0,
h3: 0,
h4: 0,
h5: 0,
h6: 0,
hr: 0,
img: 0,
input: 0,
li: 0,
link: 0,
ol: 0,
p: 0,
script: 0,
span: 0,
strong: 0,
table: 0,
thead: 0,
td: 0,
th: 0,
tr: 0,
ul: 0
});

@@ -93,3 +106,3 @@ var SVGNamespace = 'http://www.w3.org/2000/svg';

} else if (isObject(value)) {
return Object.keys(value).filter(function (k) {
return keys(value).filter(function (k) {
return value[k];

@@ -143,3 +156,3 @@ }).join(' ');

function attributes(attr, node) {
for (var _i = 0, _a = Object.keys(attr); _i < _a.length; _i++) {
for (var _i = 0, _a = keys(attr); _i < _a.length; _i++) {
var key = _a[_i];

@@ -146,0 +159,0 @@ var value = attr[key];

@@ -11,2 +11,3 @@

var keys = Object.keys;
function isBoolean(val) {

@@ -40,33 +41,45 @@ return typeof val === 'boolean';

}
if (isElement(attr) || isString(attr)) {
children.unshift(attr);
attr = {};
}
return createElement$1(tag, attr, children);
};
}
var DOM$$1 = {
a: f('a'),
blockquote: f('blockquote'),
button: f('button'),
div: f('div'),
em: f('em'),
h1: f('h1'),
h2: f('h2'),
h3: f('h3'),
h4: f('h4'),
h5: f('h5'),
h6: f('h6'),
hr: f('hr'),
img: f('img'),
input: f('input'),
li: f('li'),
link: f('link'),
ol: f('ol'),
p: f('p'),
script: f('script'),
span: f('span'),
strong: f('strong'),
table: f('table'),
td: f('td'),
th: f('th'),
tr: f('tr'),
ul: f('ul')
};
var DOM$$1 = function (obj) {
for (var _i = 0, _a = keys(obj); _i < _a.length; _i++) {
var key = _a[_i];
obj[key] = f(key);
}
return obj;
}({
a: 0,
blockquote: 0,
button: 0,
div: 0,
em: 0,
form: 0,
h1: 0,
h2: 0,
h3: 0,
h4: 0,
h5: 0,
h6: 0,
hr: 0,
img: 0,
input: 0,
li: 0,
link: 0,
ol: 0,
p: 0,
script: 0,
span: 0,
strong: 0,
table: 0,
thead: 0,
td: 0,
th: 0,
tr: 0,
ul: 0
});

@@ -91,3 +104,3 @@ var SVGNamespace = 'http://www.w3.org/2000/svg';

} else if (isObject(value)) {
return Object.keys(value).filter(function (k) {
return keys(value).filter(function (k) {
return value[k];

@@ -141,3 +154,3 @@ }).join(' ');

function attributes(attr, node) {
for (var _i = 0, _a = Object.keys(attr); _i < _a.length; _i++) {
for (var _i = 0, _a = keys(attr); _i < _a.length; _i++) {
var key = _a[_i];

@@ -144,0 +157,0 @@ var value = attr[key];

Sorry, the diff of this file is not supported yet

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