Comparing version 6.4.14-beta.3 to 6.4.14-beta.4
@@ -115,4 +115,4 @@ "use strict" | ||
const prefixes = ["Webkit", "ms", "Moz", "O"] | ||
Object.keys(isUnitlessNumber).forEach(prop => { | ||
prefixes.forEach(prefix => { | ||
Object.keys(isUnitlessNumber).forEach((prop) => { | ||
prefixes.forEach((prefix) => { | ||
isUnitlessNumber[prefixKey(prefix, prop)] = 0 | ||
@@ -130,9 +130,6 @@ }) | ||
if (Array.isArray(value)) { | ||
return value | ||
.map(className) | ||
.filter(Boolean) | ||
.join(" ") | ||
return value.map(className).filter(Boolean).join(" ") | ||
} else if (isObject(value)) { | ||
return keys(value) | ||
.filter(k => value[k]) | ||
.filter((k) => value[k]) | ||
.join(" ") | ||
@@ -139,0 +136,0 @@ } else if (isVisibleChild(value)) { |
@@ -111,4 +111,4 @@ const keys = Object.keys | ||
const prefixes = ["Webkit", "ms", "Moz", "O"] | ||
Object.keys(isUnitlessNumber).forEach(prop => { | ||
prefixes.forEach(prefix => { | ||
Object.keys(isUnitlessNumber).forEach((prop) => { | ||
prefixes.forEach((prefix) => { | ||
isUnitlessNumber[prefixKey(prefix, prop)] = 0 | ||
@@ -126,9 +126,6 @@ }) | ||
if (Array.isArray(value)) { | ||
return value | ||
.map(className) | ||
.filter(Boolean) | ||
.join(" ") | ||
return value.map(className).filter(Boolean).join(" ") | ||
} else if (isObject(value)) { | ||
return keys(value) | ||
.filter(k => value[k]) | ||
.filter((k) => value[k]) | ||
.join(" ") | ||
@@ -135,0 +132,0 @@ } else if (isVisibleChild(value)) { |
@@ -73,9 +73,6 @@ "use strict" | ||
if (Array.isArray(value)) { | ||
return value | ||
.map(className) | ||
.filter(Boolean) | ||
.join(" ") | ||
return value.map(className).filter(Boolean).join(" ") | ||
} else if (isObject(value)) { | ||
return keys(value) | ||
.filter(k => value[k]) | ||
.filter((k) => value[k]) | ||
.join(" ") | ||
@@ -82,0 +79,0 @@ } else if (isVisibleChild(value)) { |
@@ -69,9 +69,6 @@ const keys = Object.keys | ||
if (Array.isArray(value)) { | ||
return value | ||
.map(className) | ||
.filter(Boolean) | ||
.join(" ") | ||
return value.map(className).filter(Boolean).join(" ") | ||
} else if (isObject(value)) { | ||
return keys(value) | ||
.filter(k => value[k]) | ||
.filter((k) => value[k]) | ||
.join(" ") | ||
@@ -78,0 +75,0 @@ } else if (isVisibleChild(value)) { |
@@ -125,4 +125,4 @@ "use strict" | ||
const prefixes = ["Webkit", "ms", "Moz", "O"] | ||
Object.keys(isUnitlessNumber).forEach(prop => { | ||
prefixes.forEach(prefix => { | ||
Object.keys(isUnitlessNumber).forEach((prop) => { | ||
prefixes.forEach((prefix) => { | ||
isUnitlessNumber[prefixKey(prefix, prop)] = 0 | ||
@@ -142,9 +142,6 @@ }) | ||
if (Array.isArray(value)) { | ||
return value | ||
.map(className) | ||
.filter(Boolean) | ||
.join(" ") | ||
return value.map(className).filter(Boolean).join(" ") | ||
} else if (isObject(value)) { | ||
return keys(value) | ||
.filter(k => value[k]) | ||
.filter((k) => value[k]) | ||
.join(" ") | ||
@@ -286,3 +283,3 @@ } else if (isVisibleChild(value)) { | ||
function normalizeAttribute(s) { | ||
return s.replace(/[A-Z\d]/g, match => ":" + match.toLowerCase()) | ||
return s.replace(/[A-Z\d]/g, (match) => ":" + match.toLowerCase()) | ||
} | ||
@@ -289,0 +286,0 @@ |
@@ -121,4 +121,4 @@ const keys = Object.keys | ||
const prefixes = ["Webkit", "ms", "Moz", "O"] | ||
Object.keys(isUnitlessNumber).forEach(prop => { | ||
prefixes.forEach(prefix => { | ||
Object.keys(isUnitlessNumber).forEach((prop) => { | ||
prefixes.forEach((prefix) => { | ||
isUnitlessNumber[prefixKey(prefix, prop)] = 0 | ||
@@ -138,9 +138,6 @@ }) | ||
if (Array.isArray(value)) { | ||
return value | ||
.map(className) | ||
.filter(Boolean) | ||
.join(" ") | ||
return value.map(className).filter(Boolean).join(" ") | ||
} else if (isObject(value)) { | ||
return keys(value) | ||
.filter(k => value[k]) | ||
.filter((k) => value[k]) | ||
.join(" ") | ||
@@ -282,3 +279,3 @@ } else if (isVisibleChild(value)) { | ||
function normalizeAttribute(s) { | ||
return s.replace(/[A-Z\d]/g, match => ":" + match.toLowerCase()) | ||
return s.replace(/[A-Z\d]/g, (match) => ":" + match.toLowerCase()) | ||
} | ||
@@ -285,0 +282,0 @@ |
{ | ||
"name": "jsx-dom", | ||
"version": "6.4.14-beta.3", | ||
"version": "6.4.14-beta.4", | ||
"description": "JSX to document.createElement.", | ||
@@ -22,16 +22,16 @@ "main": "lib/index.cjs.js", | ||
"dependencies": { | ||
"csstype": "^2.6.9", | ||
"csstype": "^2.6.10", | ||
"tslib": "^1.11.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.8.7", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.8.3", | ||
"@babel/preset-typescript": "^7.8.3", | ||
"@rollup/plugin-node-resolve": "^7.1.1", | ||
"@rollup/plugin-replace": "^2.3.1", | ||
"@types/babel__core": "^7.1.6", | ||
"@babel/core": "^7.9.0", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.9.5", | ||
"@babel/preset-typescript": "^7.9.0", | ||
"@rollup/plugin-node-resolve": "^7.1.3", | ||
"@rollup/plugin-replace": "^2.3.2", | ||
"@types/babel__core": "^7.1.7", | ||
"@types/chai": "^4.2.11", | ||
"@types/jsdom": "^16.1.0", | ||
"@types/jsdom": "^16.2.1", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^13.9.1", | ||
"@types/node": "^13.13.1", | ||
"@types/prop-types": "^15.7.3", | ||
@@ -41,11 +41,11 @@ "babel-preset-minify": "^0.5.1", | ||
"coffeescript": "^2.5.1", | ||
"fs-extra": "^8.1.0", | ||
"jsdom": "^16.2.1", | ||
"mocha": "^7.1.0", | ||
"nyc": "^15.0.0", | ||
"prettier": "^1.19.1", | ||
"rollup": "^2.0.6", | ||
"fs-extra": "^9.0.0", | ||
"jsdom": "^16.2.2", | ||
"mocha": "^7.1.1", | ||
"nyc": "^15.0.1", | ||
"prettier": "^2.0.4", | ||
"rollup": "^2.6.1", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-prettier": "^0.6.0", | ||
"ts-node": "^8.6.2", | ||
"rollup-plugin-prettier": "^2.0.0", | ||
"ts-node": "^8.9.0", | ||
"typescript": "^3.8.3" | ||
@@ -52,0 +52,0 @@ }, |
@@ -255,3 +255,3 @@ # jsx-dom | ||
The following functions **will** not have memoization, and are only useful if you are | ||
The following functions will **not** have memoization, and are only useful if you are | ||
migrating from/to React. | ||
@@ -258,0 +258,0 @@ |
Sorry, the diff of this file is too big to display
125569
12
3891
Updatedcsstype@^2.6.10