14335 Commits

Author SHA1 Message Date
Nicolò Ribaudo
a2114d452c
Always load the CJS helpers when using require (#12865) 2021-02-23 11:21:01 +01:00
Babel Bot
f47737c31c Add v7.13.3 to CHANGELOG.md [skip ci] 2021-02-23 02:24:23 +00:00
Nicolò Ribaudo
9281110bf1 v7.13.3 2021-02-23 03:13:20 +01:00
Babel Bot
a95bcf5cf3 Add v7.13.2 to CHANGELOG.md [skip ci] 2021-02-23 02:11:36 +00:00
Babel Bot
bcd70d988f v7.13.2 2021-02-23 02:00:44 +00:00
Nicolò Ribaudo
c4320a6019
Correctly update module.exports.default of typeof helper (#12858) 2021-02-23 02:59:03 +01:00
Babel Bot
feb78c7735 Add v7.13.1 to CHANGELOG.md [skip ci] 2021-02-23 01:20:04 +00:00
Babel Bot
103b187e6f v7.13.1 2021-02-23 01:10:37 +00:00
Nicolò Ribaudo
0c65ff7a55
Rename index.mjs to _index.mjs in @babel/runtime (#12855) 2021-02-23 02:08:41 +01:00
Nicolò Ribaudo
5861704361
Export function versions of createConfigItem (#12852) 2021-02-23 02:01:39 +01:00
Babel Bot
e3f090395a Add v7.13.0 to CHANGELOG.md [skip ci] 2021-02-22 22:51:10 +00:00
Nicolò Ribaudo
c827193d9c v7.13.0 2021-02-22 23:35:18 +01:00
Nicolò Ribaudo
771841f764
Fix _isNativeReflectConstruct helper (#8461) 2021-02-22 22:49:44 +01:00
Nicolò Ribaudo
484667b54c
Use babel-plugin-polyfill-* packages in transform-runtime (#12845) 2021-02-22 22:30:27 +01:00
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