Comparing version 6.11.0 to 6.11.1
@@ -997,6 +997,6 @@ "use strict"; | ||
pp.checkDuplicateExports = function (node, name, isDefault) { | ||
if (this.state.exportedIdentifiers[name]) { | ||
if (this.state.exportedIdentifiers.indexOf(name) > -1) { | ||
this.raiseDuplicateExportError(node, name, isDefault); | ||
} | ||
this.state.exportedIdentifiers[name] = true; | ||
this.state.exportedIdentifiers.push(name); | ||
}; | ||
@@ -1003,0 +1003,0 @@ |
@@ -56,3 +56,3 @@ "use strict"; | ||
this.exportedIdentifiers = {}; | ||
this.exportedIdentifiers = []; | ||
@@ -59,0 +59,0 @@ return this; |
{ | ||
"name": "babylon", | ||
"version": "6.11.0", | ||
"version": "6.11.1", | ||
"description": "A JavaScript parser", | ||
@@ -5,0 +5,0 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", |
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
225110