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.8.3 to 6.8.4

30

CHANGELOG.md

@@ -16,2 +16,32 @@ # Changelog

## 6.8.2 (2016-06-24)
### Bug Fixes
- Fix parse error with yielding jsx elements in generators `function* it() { yield <a></a>; }`
- When cloning nodes do not clone its comments
- Fix parse errors when using arrow functions with an spread element and return type `(...props): void => {}`
- Fix leading comments added from previous node
- Fix parse errors with flow's optional arguments `(arg?) => {}`
- Support negative numeric type literals
- Remove line terminator restriction after await keyword
- Remove grouped type arrow restriction as it seems flow no longer has it
- Fix parse error with generic methods that have the name `get` or `set` `class foo { get() {} }`
- Fix parse error with arrow functions that have flow type parameter declarations `<T>(x: T): T => x;`
### Documentation
- Document AST differences from ESTree
- Move ast spec from babel/babel
### Internal
- Enable skipped tests
- Add script to test latest version of babylon with babel
- Upgrade test runner ava
- Add missing generate-identifier-regex script
- Rename parser context types
- Add node v6 to travis testing
- Update to Unicode v9
## 6.8.1 (2016-06-06)

@@ -18,0 +48,0 @@

2

lib/parser/lval.js

@@ -208,3 +208,3 @@ "use strict";

this.parseAssignableListItemTypes(left);
elts.push(this.parseMaybeDefault(null, null, left));
elts.push(this.parseMaybeDefault(left.start, left.loc.start, left));
}

@@ -211,0 +211,0 @@ }

{
"name": "babylon",
"version": "6.8.3",
"version": "6.8.4",
"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