Boshen
|
a31c7ac77a
|
refactor(index): use static_assertions
|
2023-05-24 22:53:11 +08:00 |
|
Boshen
|
c136fea535
|
chore(just): add alias for ready (r) and coverage (c)
|
2023-05-24 22:43:28 +08:00 |
|
Boshen
|
9191de469a
|
feat(semantic2): add scope_id to symbols
|
2023-05-24 22:43:28 +08:00 |
|
Boshen
|
f5b57944e2
|
feat(minifier): print shorter numbers (#381)
|
2023-05-24 22:03:50 +08:00 |
|
Boshen
|
30fc21ce54
|
refactor(index): use index_vec crate (#383)
|
2023-05-24 21:45:06 +08:00 |
|
Boshen
|
5c5459dc59
|
ci: only run ci when PR is opened or synchronized
|
2023-05-24 21:33:42 +08:00 |
|
Boshen
|
bea5640458
|
fix(semantic): check float for leading zero
|
2023-05-24 21:13:23 +08:00 |
|
Boshen
|
1d617e64ff
|
ci: sleep 15s before running the benchmark (#382)
|
2023-05-24 21:12:33 +08:00 |
|
Boshen
|
6811d67eb3
|
refactor(ast): move NumberBase to oxc_syntax; add NumberBase::Float
|
2023-05-24 18:33:19 +08:00 |
|
Boshen
|
6325b4f862
|
chore(minifier): enable a few passing tests
|
2023-05-23 19:28:25 +08:00 |
|
Boshen
|
59d7f287b3
|
chore(semantic2): remove commented out code
|
2023-05-23 18:30:00 +08:00 |
|
Yoni Feng
|
c1d1846714
|
Add Brotli size to minsize task output (#377)
|
2023-05-23 17:00:49 +08:00 |
|
Boshen
|
1f96a05d47
|
chore(minifier): port printer test from closure compiler
closes #372
|
2023-05-23 14:16:28 +08:00 |
|
Boshen
|
1e27903243
|
chore(minifier): port tests from tdewolff/minify
closes #374
|
2023-05-23 13:37:46 +08:00 |
|
Boshen
|
af95d5bd0f
|
chore(minifier): port esbuild tests
|
2023-05-23 13:02:10 +08:00 |
|
Boshen
|
dee09da60b
|
feat(minifier): implement peephole reorder constant expression from closure compiler (#376)
|
2023-05-23 12:29:29 +08:00 |
|
Boshen
|
827cef3311
|
chore(minsize): use default version of flate2 (removes 2 extra dependencies)
|
2023-05-23 00:32:00 +08:00 |
|
Boshen
|
ad33954f52
|
refactor(ast): remove redundant prefix field from UnaryExpression
|
2023-05-22 22:32:47 +08:00 |
|
Boshen
|
349417e6c7
|
fix(minifier): fix dev dependencies
|
2023-05-22 12:36:28 +08:00 |
|
Boshen
|
42dd639e74
|
chore(minsize): update snapshot
|
2023-05-22 12:29:52 +08:00 |
|
Boshen
|
bedce7dc65
|
chore(benchmark): sync js versions to privatenumber/minification-benchmarks
|
2023-05-22 12:23:24 +08:00 |
|
Boshen
|
d407cd9675
|
feat(minifier): add allocator to minifier example
|
2023-05-22 12:23:04 +08:00 |
|
Boshen
|
009fc5f285
|
feat(minifier): minify Infinity
|
2023-05-21 22:01:47 +08:00 |
|
Boshen
|
5eeb2b0684
|
refactor(ast): remove ordered_float::NotNan<f64> from NumberLiteral
This is not easy to use
|
2023-05-21 21:46:45 +08:00 |
|
Boshen
|
60fc7334db
|
feat(hir): remove EmptyStatement from hir
|
2023-05-21 20:20:03 +08:00 |
|
Boshen
|
69b3aff858
|
feat(minifier): add --mangle option to example
|
2023-05-21 14:45:24 +08:00 |
|
Boshen
|
70a713126f
|
feat(minifier): setup minifier tests
|
2023-05-21 14:33:06 +08:00 |
|
Boshen
|
61f0483891
|
feat(minifier): move terser tests do its directory
|
2023-05-21 14:19:50 +08:00 |
|
Boshen
|
841804ef46
|
chore: add LICENSE from google/closure-compiler and evanw/esbuild
|
2023-05-21 12:13:32 +08:00 |
|
Boshen
|
a8641b9921
|
chore(parser): move inline tests to snapshot testing
|
2023-05-21 12:05:25 +08:00 |
|
Boshen
|
34d9726e9d
|
chore(git-blame-ignore-revs): ignore cargo fmt commit
|
2023-05-21 11:52:40 +08:00 |
|
Boshen
|
ad2835f11b
|
chore(rustfmt): run cargo fmt
|
2023-05-21 11:52:26 +08:00 |
|
Boshen
|
a611854cd4
|
chore(rustfmt): add a few formatting rules
|
2023-05-21 11:52:26 +08:00 |
|
Boshen
|
75c9ff6e0f
|
refactor(semantic2): use SoA for Scope (#367)
|
2023-05-21 00:12:58 +08:00 |
|
Boshen
|
fc7a374e7c
|
feat(coverage): add a directory for tests
closes #363
|
2023-05-20 23:02:30 +08:00 |
|
Boshen
|
40ae13cd64
|
feat(oxc_index): add non-zero idx (#366)
|
2023-05-20 22:49:51 +08:00 |
|
Boshen
|
df06c3a51a
|
feat(benchmark): add minifier to benchmark (#365)
|
2023-05-20 22:31:04 +08:00 |
|
Boshen
|
f8828db68c
|
feat(semantic2): slot based mangler (#364)
|
2023-05-20 19:00:57 +08:00 |
|
Wenzhe Wang
|
9678832f2b
|
fix: add parens for unary expression (#362)
|
2023-05-17 10:13:48 +08:00 |
|
Boshen
|
b4a546e3cf
|
chore(just): --deny warnings for cargo lint
|
2023-05-16 23:24:15 +08:00 |
|
Boshen
|
0607b1493f
|
feat(minifier): remove whitespace printing from minifier
This should make the minifier even faster.
Use the formatter for debugging instead.
|
2023-05-16 23:22:43 +08:00 |
|
Boshen
|
a0b09a3f27
|
refactor(ast): remove RestElement from BindingPattern
|
2023-05-16 22:25:52 +08:00 |
|
Boshen
|
e52ee63cbb
|
refactor(ast): clean up BindingProperty
|
2023-05-16 22:24:34 +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
|
231b987c0c
|
chore: add just watch command for overcoming cargo-watch being slow
|
2023-05-16 13:22:42 +08:00 |
|
Boshen
|
28876d6159
|
fix(README): fix typo for MVP
closes #359
|
2023-05-15 23:19: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
|
19b0c33427
|
perf(mangler): reduce time complexity when checking unresolved_references
|
2023-05-14 21:53:42 +08:00 |
|
Boshen
|
dc768ba8ad
|
feat(minifier): turn on mangle by default
|
2023-05-14 18:33:29 +08:00 |
|