fixes [skip ci]
This commit is contained in:
parent
02d6cc6ccb
commit
b05bd7839a
32
CHANGELOG.md
32
CHANGELOG.md
@ -17,22 +17,7 @@ See the [Babel Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.m
|
||||
|
||||
## v6.11.4 (2016-10-12)
|
||||
|
||||
### :nail_care: Polish
|
||||
|
||||
Slightly better error messages ([#150](https://github.com/babel/babylon/pull/150)) (Daniel Tschinder)
|
||||
|
||||
Babylon will now print out the token it's expecting if there's a `SyntaxError`.
|
||||
|
||||
```bash
|
||||
# So in the case of a missing ending curly (`}`)
|
||||
Module build failed: SyntaxError: Unexpected token, expected } (30:0)
|
||||
28 | }
|
||||
29 |
|
||||
> 30 |
|
||||
| ^
|
||||
```
|
||||
|
||||
### :bug: Bug Fix
|
||||
### :eyeglasses: Spec Compliancy
|
||||
|
||||
Fix: Check for duplicate named exports in exported destructuring assignments ([#144](https://github.com/babel/babylon/pull/144)) (Kai Cataldo)
|
||||
|
||||
@ -50,6 +35,8 @@ export const foo = 1;
|
||||
export const [bar, ...foo] = baz;
|
||||
```
|
||||
|
||||
### :bug: Bug Fix
|
||||
|
||||
Fix: Allow identifier `async` for default param in arrow expression ([#165](https://github.com/babel/babylon/pull/165)) (Kai Cataldo)
|
||||
|
||||
```js
|
||||
@ -57,6 +44,19 @@ Fix: Allow identifier `async` for default param in arrow expression ([#165](http
|
||||
const test = ({async = true}) => {};
|
||||
```
|
||||
|
||||
### :nail_care: Polish
|
||||
|
||||
Babylon will now print out the token it's expecting if there's a `SyntaxError` ([#150](https://github.com/babel/babylon/pull/150)) (Daniel Tschinder)
|
||||
|
||||
```bash
|
||||
# So in the case of a missing ending curly (`}`)
|
||||
Module build failed: SyntaxError: Unexpected token, expected } (30:0)
|
||||
28 | }
|
||||
29 |
|
||||
> 30 |
|
||||
| ^
|
||||
```
|
||||
|
||||
## v6.11.3 (2016-10-01)
|
||||
|
||||
### :eyeglasses: Spec Compliancy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user