Babel Bot
e591780244
v7.14.8
2021-07-20 17:51:55 +00:00
Jaeseok Kang
6df0b7c25f
Fix config validation message typo ( #13515 )
...
* Fix config validation message typo
* Fix `checkNoUnwrappedItemOptionPairs` type param
2021-06-29 08:54:47 +02:00
Babel Bot
1774e2aaef
v7.14.6
2021-06-14 21:45:36 +00:00
Sosuke Suzuki
ad693cc0a0
Update prettier to 2.3.1 ( #13460 )
2021-06-14 17:33:58 +02:00
Babel Bot
7a2a928398
v7.14.5
2021-06-09 23:03:30 +00:00
Huáng Jùnliàng
4eda1c8605
chore: bump eslint and its plugins ( #13412 )
2021-06-03 23:42:32 -04:00
Kristoffer K
140ec5aa5c
chore: setup Yarn constraints ( #13363 )
2021-05-31 18:46:03 +02:00
Babel Bot
1487a46dd5
v7.14.3
2021-05-17 20:26:25 +00:00
Nicolò Ribaudo
f85c6437c5
Pass assumptions set in presets to plugins ( #13321 )
2021-05-17 22:00:01 +02:00
Nicolò Ribaudo
9d620c2d42
[babel 8] Move ESLint parsing to a Worker ( #13199 )
2021-05-17 17:04:10 +02:00
Babel Bot
7512095c84
v7.14.2
2021-05-12 16:58:57 +00:00
Sosuke Suzuki
b2d9156cc6
Update to Prettier 2.3 ( #13288 )
2021-05-10 15:34:13 +02:00
Nicolò Ribaudo
910b1f266f
Archive @babel/plugin-syntax-class-properties ( #13232 )
...
babel/babel-archive@b95d3626ad
2021-04-29 23:56:03 +02:00
Nicolò Ribaudo
3c0152a217
v7.14.0
2021-04-29 21:59:57 +02:00
Huáng Jùnliàng
28d7442aae
Parse async do expressions ( #13043 )
...
* parse async do expressions
* add test cases
* update test fixtures
* chore: add syntax-async-do-expressions
* generater support
* fix: do not transform async do expressions
* chore: add asyncDoExpressions to missing plugin helpers
* update ast types
* add more test cases
* throw when asyncDoExpressions is enabled but not doExpressions
* avoid add parentheses for async do expressions
* address review comments
* chore: update parser typings
2021-04-28 18:26:01 +02:00
Sosuke Suzuki
2521c666f7
Add internal ESLint rule for consistent parser error messages ( #13130 )
2021-04-28 18:21:31 +02:00
Chris West
d0fcbfccdd
perf(core): check files before interacting with them ( #13090 )
...
* perf(core): check files before interacting with them
* refactor: inline fs.exists.sync -> nodeFs.existsSync
2021-04-28 00:41:18 +02:00
Huáng Jùnliàng
88da2e80ed
perf: avoid loadFullConfig when creating block hoist plugin ( #13223 )
...
* perf: avoid loadFullConfig when creating block hoist plugin
* address code review comments
2021-04-27 14:39:18 -04:00
Micha Reiser
adb5adac0c
fix: Don't load browserslist in block-hoist-plugin ( #13182 )
...
* fix: Don't load browserslist in block-hoist-plugin
* Remove test case
* Remove added new line
2021-04-21 09:20:17 -04:00
Babel Bot
d94a8e50ed
v7.13.16
2021-04-20 11:11:32 +00:00
Nicolò Ribaudo
d24bd7ce5c
Remove remaining lodash dependencies ( #13139 )
2021-04-13 22:41:22 +02:00
Babel Bot
e50f6f7eef
v7.13.15
2021-04-08 15:40:57 +00:00
Bogdan Savluk
a647b9ea6b
Convert @babel/core to TypeScript ( #12929 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-30 19:51:35 +02:00
Bogdan Savluk
c8a91d9eef
Rename @babel/core files to .ts ( #12929 )
2021-03-30 19:51:35 +02:00
Babel Bot
7ac9e9f740
v7.13.14
2021-03-29 13:34:28 +00:00
Charles Suh
409244685a
fix: make sure "clone-deep-browser" code path is used on browsers ( #13068 )
2021-03-29 09:32:15 -04:00
Nicolò Ribaudo
06eb3b73cb
Only resolve package.json when relative configs are enabled ( #13063 )
2021-03-28 12:04:42 +02:00
Nicolò Ribaudo
8e8954b470
[babel 8] Remove module-specific options from @babel/core ( #12724 )
2021-03-28 01:27:37 +01:00
Henry Zhu
6b39bafab6
Remove lodash deps ( #13057 )
...
* inline escapeRegExp instead of using any dep
* inline camelCase
* replace merge with object spread
* copy if array instead of using clone
* inline isRegExp
* review fixes!
* remove escape-string-regexp from package.json and in test
* add error for field defaults that are not primitives or empty arrays
* replace merge with object spread
* yarn
2021-03-27 17:59:34 +01:00
Babel Bot
2f8203f190
v7.13.13
2021-03-26 21:09:38 +00:00
Nicolò Ribaudo
e68f2ce195
Correctly handle relative browserslistConfigFile paths ( #13031 )
...
* Correctly handle relative `browserslistConfigFile`
* Fix flow
2021-03-26 15:07:28 -04:00
Nicolò Ribaudo
b0d83daceb
Resolve .browserslistrc as a project-wide file ( #13028 )
2021-03-25 21:37:42 +01:00
Justin Ridgewell
327b4cec49
Remove lodash sortBy use ( #13021 )
2021-03-25 18:56:18 +01:00
Justin Ridgewell
73dcd06293
Remove some lodash/cloneDeep calls ( #13032 )
2021-03-25 18:01:19 +01:00
Huáng Jùnliàng
6ee87eea49
[babel 8] fallback targets to "defaults, not ie 11" ( #12989 )
2021-03-23 20:17:16 +01:00
Nicolò Ribaudo
564ca6638f
Set rootMode: "root" in loadPartialConfig ( #13040 )
2021-03-23 20:11:10 +01:00
Huáng Jùnliàng
b784c81aeb
Do not bail on SHOW_CONFIG_FOR matches ( #12954 )
...
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-03-23 20:02:07 +01:00
Babel Bot
d1d404b9a3
v7.13.10
2021-03-08 22:23:36 +00:00
Nicolò Ribaudo
d04842a700
Avoid using CJS globals in internal source files ( #12963 )
...
* Lint against CJS globals in modules
* Use `import.meta.url` instead of `__filename` in `src` files
* Prepare fixtures runner for `import.meta.url`
* Use `import.meta.url` instead of `__filename` in `test/index` files
* Remove `__dirname` from remaining test files
dirname
* Avoid using `module` in `src` files
* Avoid using `require` in `src` files
* Avoid using `require` in `test` files
* Update `@types/node`
* Compile dynamic import in `@babel/node`
* Fix windows
* Use `@babel/plugin-proposal-dynamic-import` from npm
2021-03-05 19:55:36 +01:00
Babel Bot
e2abc19c4c
v7.13.8
2021-02-26 23:28:19 +00:00
Nicolò Ribaudo
ea6a438315
Enable external-helpers by default in tests ( #12911 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-02-26 23:33:26 +01:00
Nicolò Ribaudo
b17231e1af
[internal] Keep the .cjs extension when compiling source files ( #12820 )
...
* [internal] Keep the .cjs extension when compiling
* yarn
2021-02-25 18:03:05 +01:00
pigcan
c9da9650eb
chore: downgrade semver to ^6.3.2 ( #12890 )
2021-02-24 19:55:42 +01:00
Babel Bot
103b187e6f
v7.13.1
2021-02-23 01:10:37 +00:00
Nicolò Ribaudo
5861704361
Export function versions of createConfigItem ( #12852 )
2021-02-23 02:01:39 +01:00
Nicolò Ribaudo
c827193d9c
v7.13.0
2021-02-22 23:35:18 +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
Julian Grinblat
d1d6ee6dc2
Add cjs as a default extension ( #11498 )
2021-02-21 17:56:15 +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