Commit Graph
46 Commits
Author SHA1 Message Date
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
renovate[bot]andfisker 06ece395be chore(deps): update dependency html-ua-styles to v0.0.8 (#16481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-07-16 19:40:47 +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 bb68fec819 Snapshot display values for html elements (#15616) 2023-11-12 22:24:05 +08: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
fisker Cheung 47830dbedb Cleanup visitor keys for DeclareInterface and InterfaceDeclaration (#14272) 2023-02-21 16:36:05 +08:00
fisker Cheung be84156d43 Treat hashbang as comment in babel parser(like other parsers) (#14302) 2023-02-08 15:58:25 +08:00
fisker Cheung 39dadc9fad Stop checking invalid properties (#14274) 2023-02-03 11:12:48 +08:00
fisker Cheung 6eb9359b0e Forbid initializer of TSPropertySignature (#14264) 2023-01-31 10:57:16 +08:00
fisker Cheung 3cec460008 Remove printing modifiers of TSEnumDeclaration (#14265) 2023-01-31 10:07:02 +08:00
fisker Cheung cf421a9eb0 Remove printing modifiers of TSModuleDeclaration (#14266) 2023-01-31 09:25:04 +08:00
renovate[bot]andfisker Cheung 1dafaa0392 Update flow-parser to v0.198 (#14182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-01-28 09:56:49 +08:00
Sosuke Suzuki 812ceb7657 Update visitor-keys tests 2022-12-08 22:03:33 +09:00
fisker Cheung 3e49250841 Update flow-parser to v0.194.0 (#13928) 2022-12-05 10:11:01 +08:00
fisker Cheung 40f3bced17 Update babel to v7.20.0 (#13733) 2022-10-29 16:28:52 +08:00
fisker Cheung 927a214ca3 Refactor MDX print (#13640) 2022-10-17 10:10:35 +08:00
fisker Cheung 3ca842d81c Update @angular/compiler to v14 (#13609) 2022-10-11 11:26:30 +08:00
fisker Cheung 17cb07665f Improve css/yaml embed traverse (#13294) 2022-08-30 11:00:12 +08:00
fisker Cheung 4a224a7221 Add print pre-check to handlebars, html, markdown, yaml (#13392) 2022-08-29 18:16:38 +08:00
fisker Cheung a166544583 Forbid pass non-node object to print() (#13293) 2022-08-25 19:19:46 +08:00
fisker Cheung 5fa0802315 Add getVisitorKeys (#13255) 2022-08-17 09:47:08 +08:00