Tan Li Hau
6a9d2538e0
fix capturing group for matchAll ( #10136 )
...
* fix capturing group for matchAll
* update test case
* add core-js/features/string/match-all to test
2019-07-26 18:53:22 -04:00
Letladi Sebesho
f160522ab0
updated ParsePlugin type definition ( #10259 )
...
* added 'placeholders', 'logicalAssignment', 'partialApplication' to the ParserPlugin type. closes #10186
* put the ParserPlugin names in alphabetical order
2019-07-26 10:22:23 +02:00
Serhii Muryhin
4d30379d36
Add ";" token to the end of TS construct & call signature declaration ( #10258 )
...
* Add ";" token to the end of TS construct signature declaration
* Add ";" token to the end of TS call signature declaration. Update construct signature test fixtures
2019-07-25 10:14:35 +02:00
Letladi Sebesho
4d12c8971b
added flow to babel cli ( #10244 )
...
* added flow to babel cli
* added 'SourceMapGenerator' as a argument to 'fromObject'
2019-07-25 09:59:41 +02:00
Yuri Karadzhov
4506590557
Add static parameter to class property builder ( #10248 )
2019-07-25 09:55:03 +02:00
Brian Donovan
1e7ed5c461
Add allowUndeclaredExports option to typings. ( #10263 )
...
This should have been included in https://github.com/babel/babel/pull/9864 but was not.
2019-07-25 09:53:56 +02:00
Nicolò Ribaudo
fced5cea43
Fix tdz checks in transform-block-scoping plugin ( #9498 )
...
* Better tdz tests
- Use jest's expect.toThrow/expect.not.toThrow
- Add input/output tests
* Fix basic tdz (a = 2; let a)
Fixes #6848
* Make _guessExecutionStatusRelativeTo more robust
* Add tests
* Return less "unkown" execution status
* "function" execution status does not exist
* Fix recursive functions
* Update helper version
* "finally" blocks are always executed
* Typo
2019-07-21 06:34:43 +02:00
Nicolò Ribaudo
9bc9571381
Extract release actions to babel/actions
2019-07-20 16:43:22 +02:00
Nicolò Ribaudo
fb910e063c
[gh action] Release on tag push
2019-07-20 16:39:10 +02:00
Daniel Tschinder
3b4a86aea4
Separate workflows as otherwise they interfere with eachother
2019-07-20 15:26:52 +02:00
Daniel Tschinder
94b678c949
Fix workflow
2019-07-20 15:22:21 +02:00
Daniel Tschinder
c84a4c8bfa
Use latest version of filter action
2019-07-20 15:14:07 +02:00
Daniel Tschinder
dfd59c183e
Add 'Needs Info' workflow
2019-07-20 15:13:29 +02:00
Nicolò Ribaudo
718017d896
Use "release" event instead of "push"
2019-07-20 14:30:33 +02:00
Daniel Tschinder
a0cb7b1ab1
Rename github action
2019-07-19 15:46:51 +02:00
Daniel Tschinder
0b886418c8
Use github actions for welcome comment
2019-07-19 14:44:40 +02:00
Babel Bot
0371979a3e
Add v7.5.5 to CHANGELOG.md [skip ci]
2019-07-17 21:29:47 +00:00
Nicolò Ribaudo
0407f034f0
v7.5.5
v7.5.5
2019-07-17 23:08:08 +02:00
Nicolò Ribaudo
d919ecd254
Move lerna fork to the babel org
2019-07-17 00:02:41 +02:00
Daniel Tschinder
d8da63c929
Use correct extension for typescript fixtures ( #10014 )
...
* Use correct extension for typescript fixtures
* Change transform fixtures
* Adjust editorconfig for ts files
* Rename new tests
Co-authored-by: Nicolò Ribaudo (nicolo.ribaudo@gmail.com )
2019-07-15 22:46:03 +02:00
Tan Li Hau
eb3230f9db
fix code-frame marker with highlighting ( #10211 )
2019-07-15 21:16:18 +02:00
Nicolò Ribaudo
7dc5fdb390
Workaround #10179 in proposal-object-rest-spread ( #10200 )
2019-07-15 19:01:29 +02:00
Tan Li Hau
ee68d6d1b0
add assertShape to validate templateElement ( #10198 )
...
* add assertShape to validate templateElement
* Update packages/babel-types/src/definitions/utils.js
Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
* templateElement optional cooked
2019-07-15 01:03:50 +02:00
Tan Li Hau
d3fe22f0e1
destructuring private fields with array pattern / object patte… ( #10017 )
...
* destructuring private fields with array pattern / object pattern
* wip: new test cases
* destrucuring and rest for private properties
* test case for loose private-loose
* add transform-desturcturing for exec
* update test case
* remove getPrototypeOf imports from get and set
* wip: destructure super assignment
* throw "Destructuring to a super field is not supported yet."
* fix tests and fix assignment pattern
* remove CallExpression from AssignmentPattern
2019-07-15 01:00:20 +02:00
James DiGioia
7f47cb65d0
Add Pipeline nodes to ast.spec [skip ci] ( #10214 )
2019-07-13 19:11:51 +02:00
Tan Li Hau
8b9af1be2f
fix transform-flow-comments for import types ( #9901 )
...
* fix transform-flow-comments for import types
* update: dependencies
2019-07-13 16:06:42 +02:00
Tan Li Hau
f5ca0587d1
always throw when add missing helpers ( #10208 )
2019-07-12 12:53:55 -05:00
Sagiv ben giat
a9660cf559
resolve #10205 ( #10207 )
2019-07-12 11:00:25 -05:00
dependabot[bot]
8107a6faa2
Bump lodash.template from 4.4.0 to 4.5.0 ( #10204 )
...
Bumps [lodash.template](https://github.com/lodash/lodash ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-07-12 10:29:48 +02:00
cybai
42000b9907
Upgrade lodash to 4.17.13 ( #10191 )
2019-07-12 10:29:06 +02:00
Huáng Jùnliàng
5d9a786b2f
perf: match ownKeys perf to the one of objectSpread ( #10189 )
2019-07-10 21:03:01 -05:00
Huáng Jùnliàng
e88a569e83
fix: custom instOfHandler result should be cast to boolean ( #10197 )
2019-07-10 23:38:46 +02:00
Babel Bot
4eab157502
Add v7.5.4 to CHANGELOG.md [skip ci]
2019-07-09 18:58:16 +00:00
Nicolò Ribaudo
a9a7f4e690
v7.5.4
v7.5.4
2019-07-09 20:52:37 +02:00
Nicolò Ribaudo
fa5ec75c43
Fix _objectSpread2 for real ( #10188 )
...
* Fix _objectSpread2 for real
* Tests
* Test 2
2019-07-09 20:50:07 +02:00
Babel Bot
b961d39a4d
Add v7.5.3 to CHANGELOG.md [skip ci]
2019-07-09 14:52:52 +00:00
Nicolò Ribaudo
759ff4d6df
v7.5.3
v7.5.3
2019-07-09 16:41:44 +02:00
Nicolò Ribaudo
9e65472377
[_objectSpread2] Do not use hoisted var from prev iteration ( #10180 )
2019-07-09 16:38:40 +02:00
Babel Bot
25f040caa4
Add v7.5.2 to CHANGELOG.md [skip ci]
2019-07-08 19:53:06 +00:00
Nicolò Ribaudo
0dbf99bedb
v7.5.2
v7.5.2
2019-07-08 21:46:49 +02:00
Nicolò Ribaudo
f48b47c1f7
Do not trust Scope when removing TypeScript types ( #10174 )
...
* Do not trust Scope when removing TypeScript types
* Warn
* Update warning message
Co-Authored-By: Brian Ng <bng412@gmail.com>
* Add test
* Node 6
2019-07-08 21:44:26 +02:00
Nicolò Ribaudo
406a65c894
Don't rely on getOwnPropertyDescriptors in objectSpread2 ( #10171 )
2019-07-07 11:24:36 +02:00
Huáng Jùnliàng
075a50242d
fix: register injected importDeclaration ( #10172 )
2019-07-06 10:44:14 -05:00
Babel Bot
c777e81e06
Add v7.5.1 to CHANGELOG.md [skip ci]
2019-07-06 08:13:08 +00:00
Nicolò Ribaudo
d0519fa907
v7.5.1
v7.5.1
2019-07-06 10:07:59 +02:00
Nicolò Ribaudo
019fbca3f6
Update lerna
2019-07-06 09:57:20 +02:00
Nicolò Ribaudo
24dde2e8e8
Fix objectSpread2 backward compatibility ( #10170 )
2019-07-06 09:48:36 +02:00
Wesley Wolfe
bff79e198a
Retain typescript export-from-source ( #10167 )
2019-07-05 20:47:55 +02:00
Henry Zhu
106bb41d47
change pkg name back from used-by [skip ci]
2019-07-04 12:30:56 -04:00
Babel Bot
d19f053482
Add v7.5.0 to CHANGELOG.md [skip ci]
v7.5.0
2019-07-04 13:00:18 +00:00