13750 Commits

Author SHA1 Message Date
Matt Hamlin
8e41f26e12
Fix moduleAttributesVersion errors with stage-0 preset in babel standalone (#11631)
* Fix moduleAttributesVersion errors with stage-0 preset in babel standalone

* Add regression test for stage-0 not erroring on missing moduleattributes version

* Remove moduleAttributesVersion from preset config
2020-05-28 14:35:06 -04:00
Nicolò Ribaudo
ddfdf00167 Update CHANGELOG.md [skip ci] 2020-05-27 22:16:58 +00:00
Babel Bot
1b670c26a9 Add v7.10.1 to CHANGELOG.md [skip ci] 2020-05-27 22:10:07 +00:00
Nicolò Ribaudo
88f57a7ea6 v7.10.1 2020-05-27 21:56:37 +00:00
Nicolò Ribaudo
32bd530f25
[hotfix] Use same targets for fields as for private methods (#11633) 2020-05-27 22:43:23 +02:00
Dan Fabulich
05804b166c
Fix standalone tag when data-type is not set. (#11624) 2020-05-27 11:19:12 -05:00
Saulo Santiago
242d9e0b20
Use repository.directory field in package.json files (#11625)
Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-05-27 16:32:25 +02:00
Babel Bot
58df7786ee Add v7.10.0 to CHANGELOG.md [skip ci] 2020-05-26 21:45:09 +00:00
Nicolò Ribaudo
5da2440adf v7.10.0 2020-05-26 21:20:43 +00:00
Nicolò Ribaudo
a06e8e5dd0 Uncomment code for Babel 7.10.0 2020-05-26 21:20:11 +00:00
任文龙
429840dc2b
scope.rename() missing identifier in VariableDeclarator (#11595) 2020-05-26 23:05:12 +02:00
Henry Zhu
0ca5f8b2ec
feature request issue template fix [skip ci] (#11618) 2020-05-26 16:38:43 -04:00
Justin Ridgewell
bda759ac3d Handle private access chained on an optional chain (#11248)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-05-26 22:18:17 +02:00
Huáng Jùnliàng
852520eff5 feat: add privatePropertyInObject to babel-standalone (#11593) 2020-05-26 22:18:17 +02:00
Justin Ridgewell
7459038db8 Add private-property-in-object support (#11372)
https://github.com/tc39/proposal-private-fields-in-in

Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-Authored-By: Huáng Jùnliàng <jlhwung@gmail.com>
2020-05-26 22:18:17 +02:00
Nicolò Ribaudo
2d27cf819e
Mention babel/rfcs in the "New feature" issue template (#11592)
* Mention babel/rfcs in the "New feature" issue template
* move npm issue to external gist, reword some issue template names and descriptions

Co-authored-by: Henry Zhu <hi@henryzoo.com>
2020-05-26 12:47:42 -04:00
Huáng Jùnliàng
b457f52ab5 update test fixture 2020-05-25 15:00:40 -04:00
Justin Ridgewell
97f0b7c4a0
Transform ES2015 Unicode Escapes to ES5 (#11377) 2020-05-25 01:26:55 +02:00
Vivek Nayyar
66b86e088c
added basic support for module attributes and tests updated (#10962)
Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-05-25 01:26:28 +02:00
Andrew Leedham
c5ba345ac2
[preset-env] Add browserslistEnv option (#11434) 2020-05-24 23:44:39 +02:00
Nicolò Ribaudo
698fe8ef50
Log after subsequent compilations in --watch mode (#11220) 2020-05-24 23:03:22 +02:00
Nicolò Ribaudo
93978267ec
Add "allowArrayLike" opt to destructuring and spread transforms (#11265) 2020-05-24 23:00:06 +02:00
Nicolò Ribaudo
28231e1be6
Add "allowArrayLike" support to the for-of transform (#11266) 2020-05-24 22:58:47 +02:00
Kiko Estrada
5dd7f438c9
Enable import.meta by default in @babel/parser (#11406) 2020-05-24 22:57:34 +02:00
Bruno Macabeus
75a6530abe
Fix optional-chaining with TS non-null operator (#10961) 2020-05-24 22:56:31 +02:00
Devon Govett
6ba1f0dd22
Implement @babel/plugin-transform-react-pure-annotations (#11428)
The new plugin is also enabled in `@babel/preset-react`
2020-05-24 22:55:29 +02:00
Huáng Jùnliàng
93a50056ca
Add class proposals to shipped proposals (#11451) 2020-05-24 22:32:53 +02:00
dfabulich
8fce3717a3
Support data-type="module" to generate <script type="module"> (#11466) 2020-05-24 22:31:30 +02:00
fisker Cheung
a33f0d83be
Fix typo (#11603) 2020-05-24 13:28:55 -04:00
lazytype
62e686af91
Fix comments for smartPipeline topic-forbidding contexts (#11597)
[skip ci]
2020-05-23 22:59:46 +02:00
Huáng Jùnliàng
87d747976d
chore: use latest node in GitHub actions (#11598)
* chore: use latest node and update actions

* chore: clean up unused information
2020-05-22 22:12:31 -04:00
Huáng Jùnliàng
dcd23c7949
chore: update test262 (#11590) 2020-05-21 08:20:10 -05:00
Henry Zhu
73ab27c11a
Update templates, add link to github discussions (#11585) [skip ci] 2020-05-18 15:28:16 -04:00
Huáng Jùnliàng
2f31ecf85d
fix: allow bigInt in method name and TSLiteralType (#11547)
* refactor: add isLiteralPropertyName to parser utils

* address review comments [skip-ci]

* refactor: keyword is valid identifierName

* fix: allow bigint in TSLiteralType

* update typescript test whitelist
2020-05-14 18:40:52 -04:00
Jason Quense
de8264c8a7
fix: don't elide jsx pragma import namespaces (#11523)
* fix: don't elide jsx pragma import namespaces

* use the correct pragma oops
2020-05-14 16:01:54 +02:00
Nikita Kirsanov
9a52019019
Use computed memberExpression for literal keys with object rest (#11550) 2020-05-12 22:56:03 +02:00
Nicolò Ribaudo
07347544fd
Downgrade rollup to 1.27.9 (#11538)
* Downgrade rollup to 1.27.9

* Add test
2020-05-11 23:53:04 -04:00
Nicolò Ribaudo
31b361b736
Use ?. where it represents the intended semantics (#11512) 2020-05-09 23:31:50 +02:00
Nicolò Ribaudo
aeb51f463c Do not remove "estree": null in ESLint tests 2020-05-09 22:12:28 +02:00
Justin Ridgewell
c3a5bf1ff5
Update preset-env tests, and add yarn.lock deps (#11537) 2020-05-08 23:53:09 +02:00
Justin Ridgewell
a080a1d345
Use single object spread call in loose mode (#11520) 2020-05-08 13:07:59 +02:00
Huáng Jùnliàng
b8a6145e50
fix: skip transform delete something.includes (#11530) 2020-05-07 06:50:59 -04:00
Henry Zhu
8aa5e574a0
Update issue template (#11524)
* Update Bug_report.md

* Update ci.json

[skip ci]
2020-05-05 21:13:05 +02:00
Arun Kumar Mohan
a8061ae7d8
logical-assignment: Do not assign names to anonymous functions (#11370) 2020-05-05 16:00:41 +02:00
Huáng Jùnliàng
812f3750c8
chore: pin windows node.js version (#11522) 2020-05-05 07:46:45 -05:00
Christoph Nakazawa
2bb2933dea
[helpers] Add a private function name within createSuper (#11514) 2020-05-04 23:30:53 +02:00
Nicolò Ribaudo
4d40bf646e
Update browserslist (#11517) 2020-05-04 15:48:02 -04:00
Huáng Jùnliàng
bdd5621ecd
chore: update babel deps (#11504) 2020-04-30 08:52:18 -05:00
Nicolò Ribaudo
90a9103e55
Update Flow to 0.123.0 (#11500) 2020-04-30 15:26:03 +02:00
Bogdan Savluk
96ccf56436
add support for getters and setters in generator for declare class statement (#11502) 2020-04-30 09:47:42 +02:00