acorn-import-attributes
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -78,4 +78,4 @@ "use strict"; | ||
if (this.eat(tt.comma)) { | ||
const obj = this.parseObj(false); | ||
node.arguments = [obj]; | ||
const expr = this.parseExpression(); | ||
node.arguments = [expr]; | ||
} | ||
@@ -82,0 +82,0 @@ this._eat(tt.parenR); |
{ | ||
"name": "acorn-import-attributes", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "Support for import attributes in acorn", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -75,4 +75,4 @@ import * as _acorn from "acorn"; | ||
if (this.eat(tt.comma)) { | ||
const obj = this.parseObj(false); | ||
node.arguments = [obj]; | ||
const expr = this.parseExpression(); | ||
node.arguments = [expr]; | ||
} | ||
@@ -79,0 +79,0 @@ this._eat(tt.parenR); |
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
25692