html2react
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -86,3 +86,11 @@ 'use strict'; | ||
switch (lowerPropName) { | ||
case 'checked': | ||
case 'defaultchecked': | ||
case 'readonly': | ||
case 'disabled': | ||
return true; | ||
} | ||
return attrValue; | ||
} |
{ | ||
"name": "html2react", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Utility for turning raw HTML into React elements", | ||
@@ -9,3 +9,3 @@ "main": "lib/index.js", | ||
"prepublish": "not-in-install && npm prune && npm test && npm run build || in-install", | ||
"test": "echo \"Error: no test specified\" && exit 0" | ||
"test": "jest" | ||
}, | ||
@@ -29,7 +29,12 @@ "repository": { | ||
"babel-cli": "^6.10.1", | ||
"babel-jest": "^19.0.0", | ||
"babel-preset-es2015": "^6.9.0", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-1": "^6.5.0", | ||
"in-publish": "^2.0.0", | ||
"jest": "^19.0.2", | ||
"react": "^15.4.0", | ||
"react-dom": "^15.4.0" | ||
"react-dom": "^15.4.0", | ||
"react-test-renderer": "^15.5.4", | ||
"regenerator-runtime": "^0.10.3" | ||
}, | ||
@@ -39,3 +44,6 @@ "peerDependencies": { | ||
"react-dom": "^15.4.0" | ||
}, | ||
"jest": { | ||
"testRegex": "test/.*\\.test\\.js" | ||
} | ||
} |
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
127394
359
0
11
17