Socket
Socket
Sign inDemoInstall

babylon

Package Overview
Dependencies
Maintainers
7
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babylon - npm Package Compare versions

Comparing version 6.11.0 to 6.11.1

4

lib/parser/statement.js

@@ -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>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc