Michael Tsulaya
5bec993b7b
[babel-cli] Don't fail when chmod throws an error ( #12846 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
2021-02-22 19:21:52 +01:00
Nicolò Ribaudo
c294de3529
Update @rollup/plugin-replace ( #12847 )
2021-02-22 19:20:18 +01:00
Nicolò Ribaudo
eefd83794c
Don't use useESModules in @babel/runtime build script ( #12842 )
2021-02-22 16:12:32 +01:00
Huáng Jùnliàng
ba4ac7d587
chore: bump semver to 7.0.0 ( #12015 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 23:56:43 +01:00
Nicolò Ribaudo
8e7a164490
Make sure that Rollup's dynamicRequireTargets are included ( #12839 )
...
* Make sure that Rollup's `dynamicRequireTargets` are included
* Update packages/babel-standalone/src/dynamic-require-entrypoint.cjs
Co-authored-by: Brian Ng <bng412@gmail.com>
2021-02-21 22:32:50 +01:00
Siddhant N Trivedi
507ad63140
[babel 8] Remove the Noop node type ( #12361 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 21:59:53 +01:00
Huáng Jùnliàng
03d7911be6
Implement class features in estree ( #12370 )
...
Co-authored-by: Kai Cataldo <kai@kaicataldo.com>
2021-02-21 20:12:12 +01:00
Sosuke Suzuki
9c567baa9b
Parse JS Module Blocks proposal ( #12469 )
2021-02-21 20:08:20 +01:00
Sosuke Suzuki
e4588bed22
Support TypeScript 4.2 abstract constructor signatures ( #12628 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 20:07:55 +01:00
Huáng Jùnliàng
74dc70aabb
fix: create IPC channel for spawned babel-node process ( #12836 )
2021-02-21 19:31:36 +01:00
George Zahariev
5b99b8f221
Flow Enums with unknown members support ( #12193 )
...
* Flow Enums with unknown members parsing
* Updates after rebase
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 18:42:23 +01:00
Julian Grinblat
d1d6ee6dc2
Add cjs as a default extension ( #11498 )
2021-02-21 17:56:15 +01:00
Tim Seckinger
774c526390
referencesImport: support named exports accessed via * imports ( #12603 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 17:54:43 +01:00
Huáng Jùnliàng
a93bbce867
Enable allowNamespaces in transform-typescript by default ( #12765 )
2021-02-21 17:46:06 +01:00
Daniel Sainati
16e9f1c8e5
Support Flow this parameter annotations ( #12234 )
2021-02-21 17:44:27 +01:00
Rick Button
407e8b5c7b
Implement "Records and Tuples" transform ( #12145 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 17:42:17 +01:00
Nicolò Ribaudo
c10825ab05
Use conditional exports in @babel/runtime for CJS/ESM ( #12632 )
2021-02-21 17:41:10 +01:00
Nicolò Ribaudo
143ee801e6
Use the babel-plugin-polyfill-* packages in preset-env ( #12583 )
2021-02-21 17:40:29 +01:00
Huáng Jùnliàng
33fbf84fa3
Optimās: respect noDocumentAll when transforming obj?.#p ( #12762 )
2021-02-21 17:09:46 +01:00
Nicolò Ribaudo
6ef7b51a11
Implement assumptions defined in the babel/rfcs#5 RFC
...
- `mutableTemplateObject` and `ignoreToPrimitiveHint` (#12408 )
- `setClassMethods` (#12407 )
- `setComputedProperties` (#12490 )
- `ignoreFunctionLength` (#12491 )
- `noDocumentAll` (#12481 )
- `iterableIsArray` and `arrayLikeIsIterable` (#12489 )
- `pureGetters` (#12504 )
- `skipForOfIteratorClosing` (#12496 )
- `objectRestNoSymbols`, `setSpreadProperties` and `pureGetters` (#12505 )
- `noNewArrows` (#12613 , #12793 )
- `setPublicClassFields` and `privateFieldsAsProperties` (#12497 )
- `constantReexports` and `enumerableModuleMeta` (#12618 )
- `constantSuper`, `superIsCallableConstructor` and `noClassCalls` (#12726 )
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
Co-authored-by: Huáng Jùnliàng <JLHwung@users.noreply.github.com>
2021-02-21 17:09:45 +01:00
Nicolò Ribaudo
7965c15557
Add @babel/core support for the new assumptions option ( #12219 )
...
- Disallow setting assumptions to `false` in presets (#12498 )
2021-02-21 17:09:45 +01:00
Nicolò Ribaudo
cb404e4776
Add targets and browserslist* options to @babel/core ( #12189 )
2021-02-21 17:09:43 +01:00
Nicolò Ribaudo
31ca15ef58
Support .mjs plugins/presets and async factories ( #12266 )
2021-02-21 17:08:30 +01:00
Huáng Jùnliàng
bfd3f80bdb
refactor: move @babel/helper-hoist-variables to ts ( #12413 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 00:30:35 +01:00
Huáng Jùnliàng
62c1ccbf81
Convert @babel/helper-explode-assignable-expression to ts ( #12417 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 00:11:11 +01:00
Federico Ciardi
8316cdaa8a
typo: correct variable name ( #12837 )
2021-02-20 22:03:24 +01:00
Huáng Jùnliàng
72961e4564
fix: add regenerate-unicode-properties to dynamicRequireTargets ( #12819 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-20 20:05:12 +01:00
Babel Bot
3af936fc2b
chore: update test262 to f6034ebe9fb92d4d3dea644b9225bdc18b44a7ab ( #12826 )
2021-02-19 12:03:22 -05:00
Nicolò Ribaudo
7757a2850c
Minor refactor to expect().toEqualFile assertion ( #12830 )
2021-02-19 17:39:31 +01:00
Nicolò Ribaudo
1387d66e6c
Merge "Build and Test" and "Publish" release jobs ( #12818 )
2021-02-19 16:00:55 +01:00
Huáng Jùnliàng
af2ed36535
chore: bump core-js-compat ( #12821 )
2021-02-19 13:27:38 +01:00
overlookmotel
792672ec60
Fix scope of computed method keys ( #12812 )
...
* Fix scope of computed method keys
* Test for nested computed keys
* Fix scope.rename with computed method keys
* Optional chaining tests
2021-02-19 02:36:34 +01:00
Anders Kaseorg
a940c0984f
babel-register: Don’t rewrite the cache if it’s not dirty ( #12813 )
...
This saves time and avoids unnecessary SSD wear.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-02-18 23:36:46 +01:00
Babel Bot
6af24480c4
Add v7.12.18 to CHANGELOG.md [skip ci]
2021-02-18 16:20:52 +00:00
Nicolò Ribaudo
d0b6f0fe0f
v7.12.18
2021-02-18 17:02:30 +01:00
Nicolò Ribaudo
c0875b043c
Make sure to publish all the necessary files ( #12817 )
2021-02-18 17:01:20 +01:00
Babel Bot
ab2539125b
Add v7.12.17 to CHANGELOG.md [skip ci]
2021-02-18 15:14:42 +00:00
Nicolò Ribaudo
2f755ef052
v7.12.17
2021-02-18 15:58:43 +01:00
Devon Govett
35c41148dd
Do not cache non-existent JS config files forever ( #12211 )
...
Missed a spot in #11906 . Currently if you don't have a JS config file and then add one to your project, it will not be picked up without restarting the process. Changing from caching forever to never caching when files don't exist fixes the issue.
2021-02-18 12:18:02 +01:00
Nicolò Ribaudo
0e06a3822b
Store LICENSE files when publishing from GH actions ( #12810 )
...
* Generate LICENSE files in GH actions
* Add LICENSE files to the build artifact
2021-02-17 19:38:26 +01:00
Huáng Jùnliàng
99130bcfdd
Register binding when transforming TSParameterProperty ( #12796 )
2021-02-17 00:42:01 +01:00
Tim Seckinger
0bb57005c6
test: avoid deprecated jest.addMatchers ( #12811 )
2021-02-17 00:36:19 +01:00
Federico Ciardi
8e9143f06f
fix(ts): parse multiline declarations correctly ( #12776 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-16 23:51:24 +01:00
Huáng Jùnliàng
4462eeae6b
Clean up traverse scope ( #12797 )
2021-02-16 23:23:34 +01:00
Ikko Ashimine
4819ce70e4
refactor: fix typo in error.js ( #12808 )
...
postion -> position
2021-02-16 12:35:58 -05:00
Sosuke Suzuki
c22e72eb24
Raise recoverable error for type members with invalid modifiers ( #12785 )
2021-02-12 17:20:06 +01:00
Nicolò Ribaudo
8063fde0d8
Reuse the readOnlyError helper for private methods ( #12792 )
2021-02-12 14:33:23 +01:00
Nicolò Ribaudo
30dc25db0e
Fix "Add to CHANGELOG.md" commit message ( #12791 )
2021-02-12 10:10:29 +01:00
Nicolò Ribaudo
7c9dd78b8d
Fix import assertions type definitions ( #12794 )
...
* Fix import assertions type definitions
* Ensure that an array validator is followed by assertEach
2021-02-12 10:10:05 +01:00
Babel Bot
4e2f8301dc
Add to CHANGELOG.md [skip ci]
2021-02-11 22:47:51 +00:00