Huáng Jùnliàng
1964c961ae
chore: update test262 tests ( #12204 )
2020-10-16 16:55:10 -04:00
Mongkii
7870465b62
[ts] Add parser test: destructuring-with-annotation-newline ( #12203 )
2020-10-16 16:45:11 +02:00
Huáng Jùnliàng
a9cd0945b7
fix: properly wrap private class methods ( #12192 )
2020-10-16 10:12:50 -04:00
Nicolò Ribaudo
31396b286d
Make loadPartialConfig's options optional ( #12200 )
2020-10-16 15:46:49 +02:00
Brian Ng
47250ffa65
[ts] Disallow invalid type annotations in ExpressionStatements ( #12185 )
...
* Fix regression with invalid type annotations in ExpressionStatements
2020-10-16 10:20:53 +02:00
Babel Bot
ee1f742035
Add v7.12.2 to CHANGELOG.md [skip ci]
2020-10-16 06:51:08 +00:00
Nicolò Ribaudo
a534d8746e
v7.12.2
2020-10-16 08:47:05 +02:00
Nicolò Ribaudo
4fe8c3acc5
Revert "Fix: check if param is assignable when parsing arrow return type annotation" ( #12198 )
...
This reverts commit 84987a00e632e65bdafdf7f70df46ded7fb083c8.
2020-10-16 08:16:37 +02:00
Babel Bot
93e7261e0f
Add v7.12.1 to CHANGELOG.md [skip ci]
2020-10-15 22:43:36 +00:00
Nicolò Ribaudo
7f4b83833f
v7.12.1
2020-10-16 00:36:30 +02:00
Nicolò Ribaudo
b877726a89
Don't force chokidar@2 to be downloaded from registry.npmjs.org ( #12182 )
2020-10-16 00:30:20 +02:00
Huáng Jùnliàng
19dc038907
Guard against yarn-issue-1882 ( #12188 )
2020-10-16 00:15:11 +02:00
Nicolò Ribaudo
9018716905
Allow importing @babel/runtime/package ( #12184 )
2020-10-15 23:15:03 +02:00
Huáng Jùnliàng
eec01fe078
chore: use workspace:* for dev deps ( #12186 )
2020-10-15 14:03:50 -04:00
Nicolò Ribaudo
84987a00e6
Reland "Fix: check if param is assignable when parsing arrow return type annotation" ( #12183 )
...
* Reland "Fix: check if param is assignable when parsing arrow return type annotation"
This reverts commit 91a7a64b4b0c30ab1fdfbb12f77522afa2285ec4.
* Mark `RestElement` as assignable
2020-10-15 11:32:37 -04:00
Nicolò Ribaudo
6cb0056519
Remove unused dependencies and devDependencies ( #12175 )
2020-10-15 10:01:30 +02:00
Nicolò Ribaudo
2d43341019
Update @babel/* deps ( #12174 )
2020-10-15 01:08:18 +02:00
Nicolò Ribaudo
c9990d6034
Update CHANGELOG.md
2020-10-14 22:30:38 +02:00
Babel Bot
65613eb89d
Add v7.12.0 to CHANGELOG.md [skip ci]
2020-10-14 20:07:47 +00:00
Nicolò Ribaudo
726154c78e
v7.12.0
2020-10-14 21:48:45 +02:00
Nicolò Ribaudo
9ad0d45b41
Update version check in proposal-class-static-block plugin
2020-10-14 21:48:05 +02:00
Nicolò Ribaudo
49fe00cc0d
Update version check in proposal-class-static-block plugin
2020-10-14 21:46:34 +02:00
Nicolò Ribaudo
02975b9ae1
Use a yarn plugin to manage releases ( #12138 )
2020-10-14 21:43:53 +02:00
Nicolò Ribaudo
91a7a64b4b
Revert "Fix: check if param is assignable when parsing arrow return type annotation" ( #12173 )
...
This reverts commit 136e6301cbfa9448cfb20396f82f93f0d3e10c12.
2020-10-14 21:42:05 +02:00
Sven Sauleau
af8e0facc1
Parse import-assertions ( #12139 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-10-14 21:18:16 +02:00
iamfotx
59d97d9bca
[parser] Better error message for missing number exponent ( #12072 )
...
* fix(babel-parser) better error message for missing number exponent after 'e'
* fix(babel-parser) requested changes
* msg
Co-authored-by: Brian Ng <bng412@gmail.com>
2020-10-14 21:17:38 +02:00
Huáng Jùnliàng
f697e7995d
Transform class static block ( #12143 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Brian Ng <bng412@gmail.com>
2020-10-14 21:16:24 +02:00
Huáng Jùnliàng
3ccca88178
Parse class static block ( #12079 )
...
Co-authored-by: Brian Ng <bng412@gmail.com>
2020-10-14 21:16:24 +02:00
Brian Ng
6830c90ac9
Support TypeScript mapped type 'as' clauses ( #12129 )
2020-10-14 20:16:22 +02:00
Nicolò Ribaudo
3fd963fdc8
[ts] Add support for template interpolations in types ( #12131 )
...
Co-authored-by: Brian Ng <bng412@gmail.com>
2020-10-14 20:15:42 +02:00
Nicolò Ribaudo
9f40d6fcd0
[ts] Add support for the "intrinsic" keyword ( #12147 )
2020-10-14 20:15:17 +02:00
Guy Bedford
9c7d9c0fe5
SystemJS top-level await support ( #12163 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-10-14 20:14:52 +02:00
Huáng Jùnliàng
d0d1fdb921
Add jsxPragmaFrag support to typescript transform ( #11950 )
2020-10-14 20:12:57 +02:00
James Addison
94b5f92e39
Replace lodash 'defaults' usage with ES6 Spread initializer ( #11797 )
...
Co-authored-by: Corey Farrell <git@cfware.com>
2020-10-14 20:10:44 +02:00
Huáng Jùnliàng
136e6301cb
Check if param is assignable when parsing arrow return type ( #11992 )
2020-10-14 20:09:48 +02:00
Huáng Jùnliàng
4e66b8eb6b
Specify runtime exports ( #10853 )
2020-10-14 20:06:56 +02:00
Huáng Jùnliàng
21d7ee2610
String import/export specifier ( #12091 )
...
* feat: parse moduleExportName
* feat: add validators
* Support string specifier name in commonjs transform
* Support string specifier name in export-ns-from
* test: add loose testcases
* test: add testcases for amd and umd
* feat: support systemjs
* test: update fixtures fixed in #12110
* add plugin name typings
* test: rename test layout
* feat: implement under moduleStringNames flag
* chore: add plugin syntax module string names
* feat: support ModuleExportName as ModuleExportName
* test: update test fixtures
* fix flow errors
* docs: update AST spec
* feat: support { "some imports" as "some exports" }
* feat: support { "some imports" as "some exports" } in systemjs
* test: add test on `import { "foo" }`
* Address review comments
* add moduleStringNames to missing plugin helpers
* Apply suggestions from code review
* update test fixtures
* Update packages/babel-parser/src/parser/error-message.js
* update test fixtures
Co-Authored-By: Kai Cataldo <kai@kaicataldo.com>
Co-authored-by: Brian Ng <bng412@gmail.com>
2020-10-14 20:01:37 +02:00
Nicolò Ribaudo
1b90d90fcc
Instantiate presets before plugins ( #11689 )
2020-10-14 19:59:02 +02:00
Devon Govett
ce7b170ab7
Return a list of files that were read from loadPartialConfig ( #11907 )
2020-10-14 19:59:02 +02:00
Sosuke Suzuki
a5bed04f55
Make asserts property boolean, not undefined ( #12167 )
2020-10-13 23:56:08 +02:00
Nicolò Ribaudo
d49e5507ae
Remove unused devDependency from @babel/register ( #12166 )
2020-10-12 16:07:30 +02:00
Brian Ng
13a1cfd396
Move check for TSTypeCastExpression to catch another case ( #12161 )
2020-10-11 13:03:57 +02:00
Huáng Jùnliàng
62965e3880
Archive plugins ( #12117 )
2020-10-09 16:29:37 +02:00
Ryan Rhee
ebec7c8baf
[babel-types] Add extra property to BaseNode type ( #12136 )
2020-10-09 16:29:04 +02:00
An Phi
f6bd7493a8
fix transform-typescript logic to remove definite fields ( #12149 )
2020-10-08 12:35:43 -05:00
Huáng Jùnliàng
e6669988d0
chore: bump gulp-cli to 2.3.0 ( #12154 )
2020-10-08 11:04:44 -04:00
Nitin Kumar
3ec4537baa
chore: update issue templates ( #12142 )
...
[skip ci]
2020-10-06 16:04:49 +02:00
Nicolò Ribaudo
8c4e76c69e
Run 'yarn dedupe'
2020-10-05 18:32:03 +02:00
Huáng Jùnliàng
769669f6f8
hack: use chokidar@2 only on node < 8 ( #11560 )
2020-10-05 18:24:27 +02:00
Nicolò Ribaudo
2a3dfa051a
Yarn 2.3 ( #12134 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-10-05 17:39:14 +02:00