Chris Hewell Garrett
3f7644823d
Adds the 2021-12 transform for decorators
...
Implements the 2021-12 transform for the decorators proposal, with
support for the `accessor` keyword.
2022-01-16 14:15:08 +01:00
renovate[bot]
dc5f419fa9
chore(deps): update yarn to v3.1.1 ( #14158 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-15 18:14:19 +01:00
Nicolò Ribaudo
53ac687a59
Update core-js 3 ( #14108 )
2022-01-06 18:46:37 +01:00
Nicolò Ribaudo
028cc880a1
Update lockfile
2022-01-06 16:45:10 +01:00
Babel Bot
23e884048a
v7.16.7
2021-12-31 00:13:43 +00:00
Nicolò Ribaudo
e77e3de402
[babel 8] Move @babel/register transform to a separate worker ( #14025 )
2021-12-29 16:33:12 +01:00
Nicolò Ribaudo
69ae3b5a25
Update lockfile
2021-12-21 18:02:35 +01:00
Sneh Khatri
d6ff91d560
Fix unicode handling in generated function names ( #14047 )
2021-12-20 22:03:35 +01:00
Babel Bot
7b7ab94066
v7.16.5
2021-12-13 22:12:58 +00:00
Nicolò Ribaudo
2a3b0b9601
Update @typescript-eslint/* packages ( #14029 )
2021-12-05 23:20:11 +01:00
Nicolò Ribaudo
2d989a983d
Run tests in a native Node.js ESM environment ( #13966 )
2021-12-03 15:32:58 +01:00
renovate[bot]
ecae53a98e
chore(deps): update dependency typescript to ~4.5.0 ( #14018 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-12-02 16:59:11 +01:00
Nicolò Ribaudo
36a5ac4145
Fix handling of this&co in computed keys in arrows transform ( #14005 )
2021-11-30 22:54:17 +01:00
chimurai
893650130a
chore(deps): update dependency husky to v7 ( #14011 )
2021-11-29 22:04:50 +01:00
Huáng Jùnliàng
4a337538f9
chore: update @babel/* deps ( #14002 )
2021-11-29 08:54:15 -06:00
Nicolò Ribaudo
23fec0c8c9
Update to prettier 2.5.0 ( #14000 )
2021-11-26 10:48:16 +01:00
Bogdan Savluk
0058b7fef4
Migrate Babel from Flow to TypeScript (except Babel parser) ( #11578 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-11-25 23:09:13 +01:00
Mickey Rose
cd77ad1680
minify helpers-generated.ts ( #13837 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-11-18 23:51:28 +01:00
M Behzad
d3fffd95b6
Add file extension when using absoluteRuntime ( #12827 )
...
* fix: add file extention when the absolute path to the runtime files are used (#12824 )
the es module imports need the file extention (e.g. import "@babel/runtime/helpers/jsx.js", Or the filenames being listed in the package.json's subpath exports (e.g. "import "@babel/runtime/helpers/jsx" + pkg: "./helpers/jsx": "./helpers/jsx.js"). when the user passes a path via `absoluteRuntime` then the rendered require staemnts is not the module name + subpath which will be resolved via pkg.json but rather the absolute path to the file. for this case, add the file extention / index.js to prevent bundlers from raising a warning.
* Update deps
* Fix imports resolution
* Update fixtures (Windows)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-11-14 02:03:30 +01:00
Huáng Jùnliàng
f731522125
chore: update compat-data ( #13949 )
...
* chore: update compat-data
* update compat-data sources
* fix: exclude deno from compat-data
* update test fixtures
* update Babel 8 test fixtures
2021-11-10 15:39:34 -05:00
Nicolò Ribaudo
76e4566bfc
Update browserslist ( #13914 )
2021-11-02 07:20:58 +01:00
Huáng Jùnliàng
833b39112d
fix: early return when param binding is not found ( #13910 )
2021-11-01 15:11:30 -04:00
Nicolò Ribaudo
07d1a8008e
Lint our codebase with ESLint 8 ( #13899 )
...
* Use ESLint 8
* Update lockfile
2021-10-30 11:39:43 -04:00
Nicolò Ribaudo
b1dca95801
Add 7.16.0 to CHANGELOG.md
2021-10-30 01:49:31 +02:00
Nicolò Ribaudo
45308f3cba
v7.16.0
2021-10-30 01:26:04 +02:00
Nicolò Ribaudo
0c820a456d
Update core-js and polyfill plugins ( #13897 )
2021-10-30 01:09:58 +02:00
Nicolò Ribaudo
718c6cb7de
Handle .mts and .cts files in @babel/preset-typescript ( #13838 )
2021-10-29 01:13:37 +02:00
Nicolò Ribaudo
381277ae35
Add ESLint 8 support to @babel/eslint-parser ( #13782 )
...
* Add ESLint 8 support to `@babel/eslint-parser`
* Only read eslint version dynamically during dev
* Fix tests
* Update ESLint
* Use ESLint 8 stable
* Review
* Check
* Fix babel config
2021-10-28 16:41:55 -04:00
Nicolò Ribaudo
c7ddb1ae93
Use workspace:^ to specify @babel/ dependencies ( #13772 )
...
* Enforce `workspace:^` to specify `@babel/` dependencies
* `yarn constraints --fix`
* Update lockfile
2021-10-25 07:22:08 +02:00
Huáng Jùnliàng
e45d86c333
[babel 8] Enable preset-env bugfixes by default ( #13866 )
2021-10-24 15:17:19 +02:00
Nicolò Ribaudo
f2b3134791
Update to Yarn 3.1 ( #13856 )
2021-10-24 14:47:03 +02:00
Mickey Rose
76a7e65229
add benchmarks for babel-types builders ( #13874 )
2021-10-23 23:28:47 +02:00
Huáng Jùnliàng
29f697c84e
Implement @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression ( #13842 )
...
* fix: register function expression id after params
* implement bugfix plugin
* add more testcases
* fix: do not skip pattern binding referencing id
* update compat-table
* add bugfix plugin to preset-env
* update Babel 8 test fixtures
* Update packages/babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression/README.md
* chore: bundle bugfix plugin
* address review comments
* add runtime version check
* update compat table
* fix syntax error
* update test fixtures
* revert bugfixes targets update
* update Babel 8 test fixtures
2021-10-20 15:53:40 -04:00
Huáng Jùnliàng
21eeb8e7a9
Restore traversal context after enter / traverse ( #13813 )
2021-10-11 19:04:01 +02:00
Nicolò Ribaudo
6880898510
[babel 8] Remove make-dir polyfill for fs.mkdirSync ( #13828 )
...
* [babel 8] Remove `make-dir` polyfill for `fs.makeDitSync`
* `yarn`
* fix
* Inject polyfills in jest tests when needed
2021-10-11 07:01:30 +02:00
renovate[bot]
41325645f8
chore(deps): update dependency through2 to v4 ( #13822 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 00:18:04 +02:00
Nicolò Ribaudo
289e4a9bbe
Update yarn.lock
2021-10-06 23:05:51 +02:00
Babel Bot
c4b13725aa
v7.15.8
2021-10-06 20:45:15 +00:00
renovate[bot]
e97a6baecb
chore(deps): update dependency gulp-filter to v7 ( #13818 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 17:16:46 +02:00
Nicolò Ribaudo
613ae6fac7
Update polyfill plugins ( #13781 )
...
* Update polyfill plugins
* Babel 8
2021-09-23 09:24:45 +02:00
Babel Bot
8d0294edf8
v7.15.7
2021-09-17 22:54:10 +00:00
Nicolò Ribaudo
a815d7dd10
Update Jest to 27.2.0 ( #13776 )
...
* Update Jest to `27.2.0`
* Update
2021-09-17 19:02:36 +02:00
Nicolò Ribaudo
422b87a76f
Update to @nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3 ( #13775 )
2021-09-17 11:29:12 -04:00
Nicolò Ribaudo
2ffb19828f
Update to Yarn 3 ( #13140 )
2021-09-16 22:23:46 +02:00
Nicolò Ribaudo
69ae2388f8
Fix regexpu-core bundling in @babel/standalone ( #13767 )
2021-09-15 23:45:30 +02:00
Huáng Jùnliàng
a27c1b8881
Update Identifier definitions to Unicode 14 ( #13759 )
2021-09-15 07:33:13 -04:00
Nicolò Ribaudo
f57bb79791
Update regexpu-core ( #13764 )
2021-09-15 07:30:21 -04:00
Babel Bot
34a27e46f8
v7.15.6
2021-09-09 19:22:51 +00:00
TagawaHirotaka
8c061f0848
Use @types/node for vm module ( #13738 )
2021-09-08 15:56:25 +02:00
Daniel Kezerashvili
40e43f5a14
fix: Duplicate function call in variable destructuring ( #13711 )
...
* Add test case demonstrating invalid behavior
* Add conditional check for child properties so RHS is not duplicated
* Add recursive check to find any nested non single-property case
* Add case for array destructuring
* Add test case for a nested rest element
* More safely recurse through array destructuring
* Traverse assignment and nested rest operations
* Refactor to be more clear which case statement we are executing against
* Update missed snapshots
* Update packages/babel-plugin-proposal-object-rest-spread/src/index.js
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
* Filter null array elements, add early return, remove optional chaining
* Use stronger type assertions
* Update fall through to be false; add early return to RestElement case
* Move hasMoreThanOneBinding to its own file with distinct tests
* Rename testing helper to more appropriately match business logic
* Yarn Dedup & rename hasMoreThanOneBinding to shouldStoreRHSInTemporaryVariable
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-09-07 17:27:52 -04:00