Socket
Socket
Sign inDemoInstall

@babel/parser

Package Overview
Dependencies
Maintainers
6
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/parser - npm Package Compare versions

Comparing version 7.11.1 to 7.11.2

14

lib/parser/expression.js

@@ -1269,10 +1269,8 @@ "use strict";

this.parsePropertyName(prop, false);
}
if (prop.key.name === "get" || prop.key.name === "set") {
isAccessor = true;
isGenerator = this.eat(_types.types.star);
prop.kind = prop.key.name;
this.parsePropertyName(prop, false);
}
} else if (prop.key.name === "get" || prop.key.name === "set") {
isAccessor = true;
isGenerator = this.eat(_types.types.star);
prop.kind = prop.key.name;
this.parsePropertyName(prop, false);
}
}

@@ -1279,0 +1277,0 @@

{
"name": "@babel/parser",
"version": "7.11.1",
"version": "7.11.2",
"description": "A JavaScript parser",

@@ -43,3 +43,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

},
"gitHead": "953ae82159b67b4487f837a17a1b8d5e305a8e5c"
"gitHead": "bc7a811fce3ceeea393229299c1cdb63858608e6"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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