Comparing version 2.3.0 to 2.3.1
@@ -90,2 +90,5 @@ var attrToProp = require('hyperscript-attribute-to-property') | ||
} | ||
if (parts[i][0] === CLOSE) { | ||
i-- | ||
} | ||
break | ||
@@ -92,0 +95,0 @@ } |
{ | ||
"name": "hyperx", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "tagged template string virtual dom builder", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -66,1 +66,8 @@ var test = require('tape') | ||
}) | ||
// https://github.com/choojs/hyperx/issues/55 | ||
test('unquoted key does not make void element eat adjacent elements', function (t) { | ||
var tree = hx`<span><input type=text>sometext</span>` | ||
t.equal(vdom.create(tree).toString(), '<span><input type="text" />sometext</span>') | ||
t.end() | ||
}) |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
34330
885
58704
2