Tan Li Hau
5bb1bb080f
Fix flow babel-generator function parantheses ( #9523 )
2019-02-18 00:17:52 +01:00
Daniel Tschinder
058f057426
Also check AssignmentPatterns for export name ( #9521 )
2019-02-15 22:55:03 -08:00
Nicolò Ribaudo
d1fe2d05f4
v7.3.3
v7.3.3
2019-02-15 22:06:01 +01:00
Simon Adcock
b9a3806f9e
Upgrade to @babel/preset-typescript to use @babel/plugin-transform-typescript@^7.3.2 ( #9497 ) [skip ci]
...
Bumps to 7.3.2 the version of `@babel/plugin-transform-typescript` used by `@babel/preset-typescript`.
This allows us to use `@babel/preset-typescript` and pick up at least one useful bug fix (#9095 ).
A similar PR (#9181 ) was closed as it bumped to a version that didn't have changes. However reading the comments from that PR, I get the sense that bumping the version in this manner should not be necessary, and should be handled by Lerna. Is this correct?
Please let me know if I can make any improvements to this PR, the description or if there's anything else I can do to help.
2019-02-15 21:59:21 +01:00
Nicolò Ribaudo
b25fea49fe
Create a new release after a v*.*.* commit instead of the tag ( #9470 )
...
* Create a new release after a v*.*.* commit instead of the tag
* Fix bugs
* Avoid matching things like "v2"
2019-02-15 21:42:51 +01:00
Nicolò Ribaudo
83cbc11d46
Correctly output escapes in directives ( #9501 )
2019-02-15 21:08:45 +01:00
Daniel Tschinder
0f685d9b42
Only allow Identifiers, Patterns and Rest in parameters of FunctionDeclarations
2019-02-15 12:49:36 +01:00
Nicolò Ribaudo
d86b831364
Add duplicate-package-checker-webpack-plugin ( #9517 )
...
We are duplicating semver. It's such a small package that I don't think that it is worth spending much time trying to understand why.
2019-02-15 12:28:00 +01:00
Nicolò Ribaudo
0050266a50
Add missing dependencies ( #9516 )
2019-02-15 08:50:32 +01:00
Nicolò Ribaudo
b6300a0869
Add importKind to ImportDeclaration in babel/types
2019-02-14 21:53:29 +01:00
Daniel Tschinder
4ba998c5db
Add importKind to spec
2019-02-14 21:53:29 +01:00
Nicolò Ribaudo
2fb1f9aed3
Add tests for options to babel-node ( #9510 )
2019-02-14 13:43:30 +01:00
Alec
85ea5b0b50
Version bump of lodash ( #9500 )
...
https://tools.cisco.com/security/center/viewAlert.x?alertId=59546
2019-02-13 16:17:39 +01:00
Daniel Tschinder
d349b74a4f
Better error output in parser tests ( #9491 )
2019-02-11 02:13:24 -08:00
Nicolò Ribaudo
3a9743fce4
Show real version instead of core/preset-env versions in standalone pkgs ( #9467 )
2019-02-09 17:29:45 +01:00
Daniel Tschinder
2817844e89
Fix regression with let ( #9477 )
...
* Fix corner cases with let
* Handle generators correctly
* Fix flow plugin
* Fix typescript plugin
2019-02-08 13:36:37 -08:00
Daniel Tschinder
7943a48cc3
Update flow to 0.92.1 and fix related issues ( #9468 )
...
* Update flow to 0.92.1 and fix related issues
* Change isThenable check
2019-02-08 13:27:11 -08:00
Nicolò Ribaudo
953182d44a
Exclude generate @babel/types files from coverage report ( #9469 )
2019-02-08 22:25:19 +01:00
Rubén Norte
045d019149
Fix duplicated assertThisInitialized calls in constructors ( #9458 )
2019-02-07 23:01:46 +01:00
Downpooooour
d1514f57bd
Typescript function destructured params ( #9431 )
...
* fix typescript funtion destructured params for array
* update type name
2019-02-07 22:59:50 +01:00
Nicolò Ribaudo
fdb65ab8b1
Update publishing command ( #9466 ) [skip ci]
...
This reflects how I have been releasing the last versions (https://github.com/babel/notes/issues/78#issuecomment-449519007 ).
In the future, we'll only need to run `make new-version && git push --tags` and it will run `make publish` from CI/Actions.
Co-authored-by: Henry Zhu <hi@henryzoo.com>
2019-02-07 22:15:45 +01:00
Daniel Tschinder
81123fb972
Fix typo in comment
2019-02-06 15:12:35 -08:00
Ilya Lesik
738060ebfa
Fix support for Flow's DeclareClass type parameters ( #9459 )
2019-02-06 08:18:07 -06:00
Brian Ng
07b0f22a3f
Fix range for TypeScript optional parameter in arrow function ( #9463 )
2019-02-06 08:17:32 -06:00
Yifei Fu
e03e5ba01d
Add TypeScript definitions for parser plugin options. ( #9457 )
2019-02-06 10:03:54 +01:00
Nicolò Ribaudo
d896ce2b53
v7.3.2
v7.3.2
2019-02-04 23:20:05 +01:00
Nicolò Ribaudo
44d8a59361
Use a GitHub Action to generate the changelog ( #9434 ) [skip ci]
...
* Use a GitHub Action to generate the changelog
* Update main.workflow [skip ci]
2019-02-04 22:15:44 +01:00
Daniel Tschinder
344d35bbe9
Simplify await and yield tracking in params ( #9405 )
2019-02-04 22:01:17 +01:00
Thiago Arrais
fe71154626
Support for await and yield in pipelines ( #9401 )
2019-02-04 21:58:46 +01:00
gverni
65cbbc1ef8
Fix duplicate definition error in private class methods ( #9453 )
2019-02-04 09:19:04 -06:00
Nicolò Ribaudo
d37c958637
Transform private async and generator functions ( #9423 )
2019-02-04 15:10:46 +01:00
Daniel Tschinder
9eb010da50
Unify reserved word checking and update error messages ( #9402 )
...
* Unify reserved word checking and update error messages
* Fix test
2019-01-31 19:02:32 -08:00
Galymzhan Abdugalimov
7e9029e337
Switched gutil.log to fancyLog due to deprecation ( #9432 )
2019-01-30 08:23:02 -06:00
Galymzhan Abdugalimov
00c3e3c8e0
Fixed link to @babel/parser's issues in README ( #9427 )
2019-01-30 08:18:43 -06:00
Nicolò Ribaudo
7192546eb8
Run prettier again
2019-01-30 11:35:42 +01:00
Nicolò Ribaudo
4c4c22a316
Run prettier
2019-01-30 11:30:31 +01:00
Rizky
56044c7851
install polyfill & runtime to dependency instead of devDependency [skip ci] ( #9409 )
2019-01-29 08:09:08 -06:00
Daniel Tschinder
828169e611
Fix line continuation with Unicode line terminators ( #9403 )
2019-01-28 13:35:35 -08:00
Moti Zilberman
1452e977a0
Destructuring: Create assignments from ForX non-declaration patterns ( #9414 )
2019-01-28 09:50:24 +01:00
Brian Ng
ede69eef7f
Bump deps ( #9417 )
2019-01-26 22:49:48 -05:00
Dylan Staley
03230eaa9c
Retain JSX pragma if defined as a comment ( #9095 )
2019-01-26 15:36:10 -06:00
Brian Ng
7dc157f9be
Fix location/range on TypeScript ExportNamedDeclarations ( #9406 )
2019-01-24 19:44:22 -06:00
Yuri Karadzhov
854313a759
Correctly visit param decorators to prevent their imports being removed in typescript transform ( #8738 )
...
* Remove types on program exit in typescript transform
* Revert changes to typescript transform
* Correctly add visitors for param decorators
* Fix plugin for node 6
2019-01-24 15:07:56 -08:00
Daniel Tschinder
46ba5940c2
Make yield a contextual keyword ( #9400 )
2019-01-23 14:33:23 -08:00
Daniel Tschinder
42c5d3fc4b
Correctly fail for invalid yield in for ( #9398 )
2019-01-23 13:39:30 -08:00
Brian Ng
d4e045ac24
Fix support for Flow's QualifiedTypeIdentifier ( #9396 )
2019-01-23 15:19:17 -06:00
Daniel Tschinder
8bc9f9a05f
fix: Allow toplevel await when option true and correctly mark await keyword as unexpected ( #9371 )
2019-01-22 14:56:30 -08:00
Daniel Tschinder
93e1b5e612
Merge pull request #9375 from danez/contextual-let
...
Make let a contextual keyword
2019-01-22 14:55:49 -08:00
Daniel Tschinder
4f69699b71
Fix parsing in non-declaration places
2019-01-22 13:12:03 -08:00
Daniel Tschinder
f4f5ca2aaa
Parse class name in strict mode
...
The specification defines that the whole class declaration is parsed in strict mode
2019-01-22 13:12:03 -08:00