Commit Graph
66 Commits
Author SHA1 Message Date
88ee8a5b3e Update babel to v8.0.0-rc.1 (#18822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-01 08:57:18 +08:00
fisker Cheung 9ebc4a7142 Remove an invalid test case (#18692) 2026-01-21 02:02:12 +08:00
George Zaharievandfisker 38745522e3 Support for Flow match instance patterns and Flow records (#18511)
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-30 05:24:56 +08:00
renovate[bot]andfisker f16e059640 Update flow-parser (#18474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-13 04:18:37 +08:00
fisker Cheung 7b66b5ed88 Remove Experimental{Rest,Spread}Property from visitorKeys (#18433)
Remove `ExperimentalRestProperty` and `ExperimentalSpreadProperty` from visitorKeys
2025-12-06 19:24:38 +08:00
fisker Cheung d3eb2b2d08 Reuse arrays in visitor keys (#18386) 2025-12-01 19:33:56 +08:00
fisker Cheung 864bb7c042 Use TSImportType.source (#18319) 2025-11-25 04:16:22 +08:00
fisker Cheung beecab8e2e Support graphql v16.12 "executable descriptions" (#18214) 2025-11-04 20:14:15 +08:00
fisker CheungandAlexander Kachkaev 03e6828bfa Improve front matter support (#18153)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2025-10-30 22:16:54 +08:00
Eandfisker Cheung e51ff9ad41 Add Front Matter support to Handlebars (#17781)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-10-29 23:56:19 +08:00
fisker Cheung eca05c1750 Fix visitor keys for TypePredicate (#18090) 2025-10-17 04:10:37 +08:00
fisker Cheung 9871b4931c Fix vistor keys for FunctionExpression (#18084) 2025-10-16 07:18:38 +08:00
fisker Cheung 65d1dfb422 Cleanup {JSXOpeningElement,TSClassImplements,TSInterfaceHeritage}.typeParameters (#18028) 2025-10-10 16:41:24 +08:00
Nicolò Ribaudoandfisker 6437b6dadf Update Babel to v8 (#15157)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-24 10:31:22 +08:00
Sam Zhou e30c8e6184 Support new Flow feature: opaque type with lower and upper bounds (#17792) 2025-08-13 09:53:29 +08:00
fisker Cheungandautofix-ci[bot] 95ef24d1f0 Support "Discard Bindings" proposal (#17708)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-04 15:41:42 +08:00
fisker Cheung acd25a9aa6 Support flow "match" syntax (#17681) 2025-08-04 15:27:10 +08:00
fisker Cheung 3c1475b1e7 Refactor Enum print (#17497) 2025-05-27 11:24:41 +08:00
fisker Cheung a358006a92 Rewrite TSMappedType print (#17498) 2025-05-27 09:11:00 +08:00
fisker Cheung b289ecbb19 Remove support for tupleAndRecord (#17363) 2025-04-17 04:53:05 +08:00
renovate[bot]andfisker 5e610717c0 chore(deps): update babel to v7.26.5 (#16989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-01-20 14:02:23 +08:00
renovate[bot]andfisker 2c8440ebee chore(deps): update typescript-eslint to v8.13.0 (#16825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-11-09 17:28:41 +08:00
fisker Cheung 51d943abcf Remove outdated node type "Import" (#16831) 2024-11-09 12:00:34 +08:00
renovate[bot]andfisker 9066ba83a2 chore(deps): update babel to v7.26.0 (#16795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-10-29 17:39:52 +08:00
fisker Cheung 4b9c16703c Remove support for DecimalLiteral (#16643) 2024-09-29 17:13:12 +08:00
fisker Cheung fb4fa9b532 Sort visitorKeys in test (#16606) 2024-08-24 01:21:13 +08:00
SUZUKI Sosuke 5ca2fc9be8 Support Angular @let declaration syntax (#16474)
gmail.com>
2024-07-13 18:24:57 +09:00
renovate[bot]andfisker bfcfdccdf8 chore(deps): update babel to v7.24.8 (#16472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-07-12 16:15:45 +08:00
fisker Cheung 8f33827a5c Update typescript-eslint to v8 (#16333) 2024-06-13 10:33:45 +08:00
adcbc8bedb Fix handlebars path expressions starts with @ (#16358)
Co-authored-by: prince.yadav <prince1.yadav@tataaig.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-06-11 10:08:12 +08:00
George Zahariev 105bb7beff Flow: add support for bigint enums (#16268) 2024-05-09 11:26:13 +08:00
renovate[bot]andfisker 36bdf9554b chore(deps): update glimmer to v0.91.1 (#16171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-05-06 11:37:22 +08:00
Sam Zhou ae8dcc48f5 Component syntax and related language features printing support (#16191)
* Component syntax and related language features printing support

Relevant Flow docs:
- https://flow.org/en/docs/react/component-syntax/
- https://flow.org/en/docs/react/render-types/

* Update issue number

* declare new test as unstable

* fix tests
2024-04-04 23:10:00 +09:00
Sam Zhou f4b3b7b1e2 feat: declare namespace printing support for Flow (#16066) 2024-02-11 22:28:50 +09:00
SUZUKI Sosukeandfisker 153ffd5104 Support formatting for Angular ICU expression (#15777)
Co-authored-by: fisker <lionkay@gmail.com>
2023-12-14 13:01:54 +09:00
fisker CheungandSUZUKI Sosuke c97480c9a9 Use attributes instead of deprecated assertions (#15758)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2023-12-10 17:13:03 +09:00
fisker Cheung 22c423933c Refactor angular control flow block (#15614) 2023-11-12 22:15:30 +08:00
0176a33db4 Support angular control flow (#15606)
Co-authored-by: dweizhe <d.weizhe@anyong.com.tw>
Co-authored-by: fisker <lionkay@gmail.com>
2023-11-12 20:01:30 +08:00
SUZUKI Sosuke 14ddf452c4 Update @babel/parser to 7.23.0 (#15485) 2023-10-08 22:26:13 +08:00
SUZUKI Sosuke fa8cb85434 Support type arguments after typeof (#15466) 2023-09-28 12:57:38 +09:00
renovate[bot]andSosuke Suzuki 772c7b6305 chore(deps): update dependency hermes-parser to v0.16.0 (#15456)
* chore(deps): update dependency hermes-parser to v0.16.0

* Update snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
2023-09-25 14:48:21 +09:00
George Zahariev 675490ae55 Support as and satisfies expressions for Flow (#15130) 2023-09-16 17:28:18 +09:00
fisker Cheung 12fd8891af Update typescript-eslint to v6 (#14429) 2023-07-22 02:35:30 +08:00
SUZUKI SosukeandNicolò Ribaudo 7ad852636d Support Import Attributes (#14863)
* Print import attributes

* Update visitor keys for import attributes

* Update snapshots for visitor-keys

* Update `babel-plugins` tests

* Update import attributes tests

* Update misc tests

* Add changelog

* Enable `importAttributes` and `importAssertions`

* Print ImportAssertion syntax

* Add `babel-plugins` tests

* Add import assertions tests

* Add misc tests for import assertions

* Update changelog

* Fix words

* Use `deprecatedAssertSyntax`

* Update `@babel/parser`

* Use deprecatedAssertSyntax

* Remove needless tests

* Update `@babel/types`

* Update visitor-keys

* Run `yarn dedupe`

* Update src/language-js/print/module.js

Co-authored-by: Nicolò Ribaudo <hello@nicr.dev>

* Address review

---------

Co-authored-by: Nicolò Ribaudo <hello@nicr.dev>
2023-05-31 00:47:12 +09:00
renovate[bot]andfisker Cheung 4562c116b1 Update dependency hermes-parser to v0.11.1 (#14780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-05-04 15:05:21 +08:00
Panagiotis Vekris 2eaf5763e9 Support type guards in Flow (#14767) 2023-04-27 14:09:17 +08:00
Jordan Brownandfisker f95b0c0296 Support Flow Mapped Types (#14619)
Co-authored-by: fisker <lionkay@gmail.com>
2023-04-07 09:56:18 +08:00
fisker Cheung 42584d48d2 Remove outdated visitor key for TSAbstractMethodDefinition (#14662) 2023-04-04 09:07:29 +08:00
fisker Cheung 4965a790cb Forbid decorators on object property (#14661) 2023-04-04 09:07:15 +08:00
Sam Zhouandfisker b7ab34073e Support conditional type and infer type in Flow (#14573)
Co-authored-by: fisker <lionkay@gmail.com>
2023-03-28 09:04:35 +08:00