Boshen
|
a8641b9921
|
chore(parser): move inline tests to snapshot testing
|
2023-05-21 12:05:25 +08:00 |
|
Boshen
|
ad2835f11b
|
chore(rustfmt): run cargo fmt
|
2023-05-21 11:52:26 +08:00 |
|
Boshen
|
fc7a374e7c
|
feat(coverage): add a directory for tests
closes #363
|
2023-05-20 23:02:30 +08:00 |
|
Wenzhe Wang
|
9678832f2b
|
fix: add parens for unary expression (#362)
|
2023-05-17 10:13:48 +08:00 |
|
Boshen
|
a0b09a3f27
|
refactor(ast): remove RestElement from BindingPattern
|
2023-05-16 22:25:52 +08:00 |
|
Wenzhe Wang
|
bd56bb7abe
|
fix(minifier): break directive prologue (#360)
|
2023-05-16 21:35:58 +08:00 |
|
Boshen
|
af95b59a0e
|
feat(ast): split Property into ObjectProperty and BindingProperty (#361)
|
2023-05-16 15:51:50 +08:00 |
|
Boshen
|
5be0d1b9fa
|
fix(hir): bring back ParenthesizedExpression as it caused too much chaos
|
2023-05-14 22:54:57 +08:00 |
|
Boshen
|
dc768ba8ad
|
feat(minifier): turn on mangle by default
|
2023-05-14 18:33:29 +08:00 |
|
Wenzhe Wang
|
e6737fdc48
|
fix(minifier): continue compress left expr (#356)
|
2023-05-14 13:03:34 +08:00 |
|
Boshen
|
d14329e74e
|
feat(semantic2): bind identifiers
|
2023-05-13 22:58:42 +08:00 |
|
Boshen
|
6db5f4e59b
|
fix(minifier): print SequenceExpression and ObjectExpression with parens
|
2023-05-13 21:57:02 +08:00 |
|
Boshen
|
1f5fa8d6cb
|
feat: reimplement semantic builder (#354)
|
2023-05-13 15:20:00 +08:00 |
|
Wenzhe Wang
|
7b834d4bd9
|
fix(minifier): not merge different kinds of declarations. (#353)
|
2023-05-13 10:51:10 +08:00 |
|
Boshen
|
14720e7c69
|
refactor: move SourceType from oxc_ast to oxc_span (#351)
related #350
|
2023-05-12 23:16:14 +08:00 |
|
Boshen
|
7f93e58f10
|
chore: remove all #[must_use]
|
2023-05-11 21:08:00 +08:00 |
|
Boshen
|
7496bb521f
|
fix(minifier): print if.consequent correctly (#349)
|
2023-05-11 11:00:49 +08:00 |
|
Boshen
|
48e524ddcf
|
feat(ast_lower): scope tree (#344)
|
2023-05-10 22:38:34 +08:00 |
|
Boshen
|
6924e59c5c
|
chore: remove unused dependencies found by cargo-machete
|
2023-05-10 19:22:22 +08:00 |
|
Boshen
|
0a445b4556
|
chore(coverage): run typescript tests for formatter
|
2023-05-09 23:19:35 +08:00 |
|
Boshen
|
8161ac2800
|
refactor: clean up Cargo.toml (put features table on top)
|
2023-05-09 21:53:47 +08:00 |
|
Boshen
|
e753a886d2
|
fix(minifier): add parentheses to CallExpression on FunctionExpression
|
2023-05-08 23:04:35 +08:00 |
|
Wenzhe Wang
|
52aa59bb38
|
feat(semantic): early check of simple assignment (#340)
|
2023-05-07 23:05:08 +08:00 |
|
Boshen
|
f4d04c1443
|
refactor(coverage): use ast.json() method for serialization test
|
2023-05-07 22:23:31 +08:00 |
|
Boshen
|
e897306f3d
|
chore(coverage): test serialization on ast and hir (#339)
|
2023-05-07 22:05:45 +08:00 |
|
Boshen
|
ddf4ac9cc2
|
refactor(formatter): remove whitespace minification from formatter (#337)
|
2023-05-07 17:58:57 +08:00 |
|
Boshen
|
c2428d8abd
|
chore: rename oxc_printer to oxc_formatter (#336)
|
2023-05-07 17:47:13 +08:00 |
|
Boshen
|
86c01c7fb8
|
feat(minifier): use hir (#335)
|
2023-05-07 17:23:00 +08:00 |
|
Boshen
|
72ba29f88b
|
feat(hir): complete first iteration of ast lowering (#327)
|
2023-05-06 19:13:44 +08:00 |
|
Boshen
|
1004a1d197
|
chore: clean up workspace dependencies (#320)
|
2023-04-27 11:38:39 +08:00 |
|
Boshen
|
4801e68b56
|
chore: bump deps (#311)
|
2023-04-22 22:09:53 +08:00 |
|
Boshen
|
080baaa2db
|
chore: use taplo to reformat toml files
|
2023-04-22 15:58:59 +08:00 |
|
Boshen
|
7f946fb75d
|
chore: bump nightly to nightly-2023-04-20 (#304)
|
2023-04-20 23:35:38 +08:00 |
|
Boshen
|
4d4fb3ac7f
|
chore: update submodule and snapshots
|
2023-04-18 21:12:18 +08:00 |
|
Shannon Rothe
|
20755a969a
|
feat(cli): add --rules CLI flag (#290)
|
2023-04-18 15:54:44 +08:00 |
|
Boshen
|
92ba59443c
|
feat(tasks): add minifier coverage test (#292)
|
2023-04-17 21:30:04 +08:00 |
|
Boshen
|
f79f0eb631
|
refactor(oxc_ast): change SourceType::with_ methods to return Self
|
2023-04-16 21:32:00 +08:00 |
|
Boshen
|
6d96748e24
|
fix(coverage): do not run compiler tests in code coverage due to stack overflow
|
2023-04-15 18:24:38 +08:00 |
|
Boshen
|
65e8fcd51b
|
chore(coverage): include conformance tests from the compiler directory
|
2023-04-15 17:28:25 +08:00 |
|
Boshen
|
cfe3dd0869
|
chore: rust taplo format
|
2023-04-15 14:14:11 +08:00 |
|
Boshen
|
f1dcc5429e
|
refactor(tasks): clean up code around code coverage
|
2023-04-15 13:53:57 +08:00 |
|
Boshen
|
4c5ece9386
|
chore(tasks): remove minsize from unit tests as it is too slow
|
2023-04-15 13:41:52 +08:00 |
|
Boshen
|
919feb2691
|
fix(coverage): remove jsx tests from babel printing tests
|
2023-04-15 13:22:09 +08:00 |
|
Boshen
|
6c5db48185
|
refactor(coverage): change Option<BabelOptions> to BabelOptions
|
2023-04-15 13:14:44 +08:00 |
|
Boshen
|
b851035293
|
feat(coverage): add jsx printing tests (#279)
closes #261
|
2023-04-15 12:31:37 +08:00 |
|
Boshen
|
a7cd845fff
|
feat: add cargo minsize task for tracking minification size (#276)
* feat: add `cargo minsize` task for tracking minification size
* add gzip
|
2023-04-14 13:07:37 +08:00 |
|
Boshen
|
d117ce20a1
|
refactor(benchmark): add more benchmark files
|
2023-04-13 22:16:48 +08:00 |
|
Boshen
|
62bb985434
|
ci: use cargo-llvm-cov for code coverage (#274)
|
2023-04-11 16:03:07 +08:00 |
|
Boshen
|
aedaa1a110
|
refactor(linter,semantic): move syntax check from linter to semantic (#272)
Syntax checker is part of semantic analyzer,
it doesn't make sense for the user to add a linter just for semantic errors
|
2023-04-10 12:23:53 +08:00 |
|
Boshen
|
dc090208c4
|
fix(parser): fix crashing on empty ParenthesizedExpression with comments (#263)
relates #232
|
2023-04-06 17:16:15 +08:00 |
|