Commit graph

443 commits

Author SHA1 Message Date
Boshen
f5c7b3751c fix(coverage): babel plugin option can be an array 2023-04-02 16:41:53 +08:00
Boshen
7db1643425 fix(parser): allow non-last rest element in ambient contexts 2023-04-02 16:41:53 +08:00
Boshen
be9b3f9acc feat(coverage): add babel parser option allow_return_outside_function 2023-04-02 16:41:53 +08:00
Boshen
e6079a1b4e feat(coverage): read jsx attribute from typescript files 2023-04-02 16:41:53 +08:00
Boshen
adedc1a405 feat(parser): parse jsx element and fragment in JSXAttributeValue 2023-04-02 16:41:53 +08:00
Boshen
1130f48278 feat(parser): parse ts satisfies operator 2023-04-02 16:41:53 +08:00
Boshen
90e2d386d7 fix(parser): do not check static prototype in ambient contexts 2023-04-02 16:41:53 +08:00
Boshen
a62c9335a2 fix(parser): fix remaining errors around auto accessors 2023-04-02 16:41:53 +08:00
Boshen
96ad67db92
fix(parser): clean up type arguments parsing (#242)
closes #169
2023-04-02 12:06:52 +08:00
Boshen
971aac5716
deps: bump Cargo.lock 2023-04-02 11:00:16 +08:00
Boshen
d6b45c1a57
ci: use another step for uploading code coverage 2023-04-02 11:00:16 +08:00
Boshen
ba318c93a2
ci: try fix codecov 2023-04-02 01:09:32 +08:00
Boshen
fb01c4e210
Release 0.0.2 2023-04-02 00:50:05 +08:00
Boshen
643da6fc44
chore(README): add parser link to docs.rs 2023-04-02 00:35:43 +08:00
Boshen
e576b50fe2
docs(parser): add details 2023-04-02 00:23:21 +08:00
Boshen
61d2aedd43
docs(oxc_parser): add section on performance and visitor 2023-04-02 00:11:19 +08:00
Ash
ab2ef4f89b
fix: nullish coalescing operator precedence (#240) 2023-04-01 23:40:25 +08:00
Boshen
b11f774c41 refactor(oxc_parser): clean up doc 2023-04-01 19:03:33 +08:00
Boshen
d917348f9b refactor(ast,parser): move parsing context from ast to parser 2023-04-01 18:01:33 +08:00
Boshen
fdbe365ac7 refactor(oxc_ast): improve doc and reexports 2023-04-01 18:01:33 +08:00
Boshen
249cf96ad2
refactor(ast): make serde an optional feature (#236)
This should also reduce compilation time a bit

oxc_parser compilation time 9.5s -> 8.8s

relates to #223
2023-04-01 17:12:23 +08:00
Boshen
f2fcbb30c3 refactor(oxc_parser): removed not needed generic from unexpected function 2023-04-01 15:59:42 +08:00
Boshen
59476e42d4 refactor(oxc_diagnostics): remove over complicated Diagnostics struct 2023-04-01 15:59:42 +08:00
Boshen
d4ff0bb40e refactor(oxc_parser): parser and lexer does not need to share the errors vec 2023-04-01 15:59:42 +08:00
Boshen
adef772d6c refactor: clean up code around code coverage 2023-04-01 15:59:42 +08:00
Boshen
174330561c
fix(parser): fix panic on multi-byte characaters (#233)
* fix(oxc_parser): fix panic when EOF on a multi-byte character

relates #232

* fix(parser): fix panic on multi-byte char in private identifer

relates #232
2023-04-01 13:34:18 +08:00
Boshen
4ccb9e806b
chore(coverage): remove mention of git submodule update --remote in README
We want people to use --init.
2023-04-01 10:57:25 +08:00
Boshen
6347dac8d6
ci: pass CODECOV_TOKEN to committed-action 2023-04-01 00:54:37 +08:00
Boshen
f8790d4b89
feat(semantic): can turned off ModuleRecordBuilder
relates to #224
2023-04-01 00:41:52 +08:00
Wenzhe Wang
20693dc072
feat(linter): add no-bitwise rule (#228) 2023-03-31 09:11:46 -07:00
Boshen
76282706b9
fix(README): fix CI badge 2023-04-01 00:03:41 +08:00
Boshen
05f163f2f7
fix(coverage): fix lint on cfg feature 2023-04-01 00:02:58 +08:00
Boshen
d232199e1c
refactor(parser): return Rc<Trivias> from TriviaBuilder (#231)
closes #229
2023-03-31 09:02:48 -07:00
Boshen
5398cb0ba1
ci: rename check.yml to ci.yml 2023-03-31 23:38:02 +08:00
Boshen
1a6f508bb9
ci: add codecov 2023-03-31 22:59:14 +08:00
Boshen
de9be97f0f
chore: clean up Cargo.toml in tasks 2023-03-31 22:22:18 +08:00
Boshen
3e13703953
Create SECURITY.md 2023-03-31 15:55:03 +08:00
Boshen
4ac040e63f
ci: remove deploying to gh-pages. we have docs.rs now 2023-03-31 15:46:12 +08:00
Boshen
831f62b1c1
chore(README): add code size badge 2023-03-31 15:33:52 +08:00
Boshen
2964d83fc9
chore: add crates.io and docs.rs badge 2023-03-31 15:26:47 +08:00
Boshen
f8224bb4bc
fix(ast): fix is_bitwise method not including shift operators 2023-03-31 14:57:18 +08:00
Boshen
7789d7bc43
deps: fix oxc_printer 2023-03-31 00:04:08 +08:00
Boshen
79fd35c9cb
deps: fix versions depending on each other 2023-03-30 23:59:41 +08:00
Boshen
9f7758465b
Release 0.0.1
oxc_allocator@0.0.1
oxc_ast@0.0.1
oxc_diagnostics@0.0.1
oxc_parser@0.0.1
oxc_printer@0.0.1
oxc_semantic@0.0.1

Generated by cargo-workspaces
2023-03-30 23:37:25 +08:00
Boshen
9e3675a575
chore: clean up Cargo.toml 2023-03-30 23:27:26 +08:00
Boshen
d46c7aabd9
chore: do not publish some of the crates 2023-03-30 22:41:52 +08:00
Boshen
f51c8135a3
ci: add cargo-llvm-lines (#226) 2023-03-30 10:20:36 +08:00
Boshen
f313aab48f
ci: rename yaml to yml 2023-03-29 22:07:22 +08:00
Boshen
a35d08ea23
Minifier Prototype (#215)
feat(minifier): minifier prototype
2023-03-29 06:51:50 -07:00
yangchenye
a2d0d2ddc9
feat(linter): implement eslint(array-callback-return) (#221)
* feat(linter): implement eslint(array-callback-return)

* Add more comments & use phf_set for target methods

* Revert changes to AST

* Document get_enclosing_function

* Clean up names

* Remove redundant visitor and flags
2023-03-29 05:58:39 -07:00