Comparing version 1.0.1 to 1.0.2
@@ -605,2 +605,5 @@ 'use strict'; | ||
node.children = children; | ||
if (this.type === tt.relational && this.value === "<") { | ||
this.raise(this.pos, "Adjacent JSX elements must be wrapped in an enclosing tag"); | ||
} | ||
return this.finishNode(node, 'JSXElement'); | ||
@@ -607,0 +610,0 @@ }; |
@@ -6,3 +6,3 @@ { | ||
"main": "acorn.js", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"maintainers": [ | ||
@@ -9,0 +9,0 @@ { |
var driver = require("./driver.js"); | ||
require(".."); | ||
require("./tests-jsx.js"); | ||
@@ -24,3 +23,3 @@ | ||
config: { | ||
parse: require("acorn").parse | ||
parse: require("..").parse | ||
} | ||
@@ -27,0 +26,0 @@ } |
Sorry, the diff of this file is too big to display
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
116803
4396