Commit graph

632 commits

Author SHA1 Message Date
Boshen
3875ebc6cb
refactor(resolver): check against Result for better assertion message (#573) 2023-07-20 11:10:56 +08:00
Boshen
3f07306be0
feat(resolver): implement fallback (#572) 2023-07-19 14:42:43 +08:00
Boshen
05b77a5a15
Release @oxidation-compiler/napi v0.1.0 2023-07-19 13:15:04 +08:00
Boshen
3f84a7fc25
feat(napi): export a pure parse function for benchmark purposes (#571) 2023-07-19 12:55:26 +08:00
Boshen
e1dec30bc0
perf(resolver): cache all package.json queries (#569) 2023-07-18 18:37:35 +08:00
Boshen
6bb46ca20a
perf(resolver): use rustc_hash::FxHasher for DashMap (#568) 2023-07-18 16:54:05 +08:00
Boshen
e8b974564e
feat(resolver): implement enforceExtension (#567) 2023-07-18 16:20:03 +08:00
Boshen
c32dd32bad
feat(resolver): implement enforceExtension (#566) 2023-07-18 15:05:02 +08:00
Boshen
e5de977279
feat(resolver): implement descriptionFiles option (#565) 2023-07-18 14:11:43 +08:00
Boshen
0c17f4f783
feat(resolver): implement the basics of path alias (#564) 2023-07-18 13:30:14 +08:00
阿良仔
3cbec3459a
test: add tests for boolean related comparison (#563) 2023-07-17 20:55:42 +08:00
Boshen
d410d1a2d7
feat(resolver): accept different file system implementations (#562) 2023-07-17 18:29:41 +08:00
Boshen
cac4e73461
feat(resolver): implement browser field (#561) 2023-07-17 15:16:08 +08:00
Wenzhe Wang
2f8b3f8d83
refactor(linter): run eq_eq_eq fix in some condition (#545)
* fix(linter): eq_eq_eq fix in some condition

* refactor(linter): support more config

* chore(linter): lint codes

* fix(linter): change pick null

* refactor(linter): change file position
2023-07-16 10:18:13 -04:00
Boshen
b2152ec050
feat(resolver): implement scoped packages (#558) 2023-07-16 20:36:47 +08:00
Boshen
e0a17ace8f
feat(resolver): port incorrect description file test (#557) 2023-07-16 17:13:32 +08:00
Boshen
05c9b5dfd8
feat(resolver): implement extension_alias (#556) 2023-07-16 16:39:51 +08:00
Boshen
2375bc8ccc
feat(resolver): port resolve tests (#555) 2023-07-16 15:09:09 +08:00
Don Isaac
2591194dba
feat(minifier): drop console statements and exprs (#552) 2023-07-16 14:41:51 +08:00
Boshen
d02c7dc0b3
chore(resolver): add example 2023-07-14 23:36:20 +08:00
Boshen
fda6d83712
feat(resolver): resolve extensions (#549) 2023-07-14 23:25:47 +08:00
阿良仔
c09678a48f
test: add tests for null comparison (#548) 2023-07-14 23:25:25 +08:00
Boshen
789626e01c
perf(resolver): add file system cache (#547) 2023-07-14 16:02:13 +08:00
Boshen
4132b294ca
refactor(resolver): add our own path util for normalization 2023-07-14 14:34:48 +08:00
Boshen
d92c834956
fix(resolver): fix resolver benchmark 2023-07-14 12:38:10 +08:00
Boshen
ca4d2fa248
feat(resolver): resolve as module (#544) 2023-07-14 11:59:22 +08:00
Don Isaac
3ab9ae121d
refactor(cli): Runners (#533) 2023-07-14 11:39:23 +08:00
Boshen
38e11956be
chore(rust): rust version 1.71.0 nightly 2023-07-13 23:10:10 +08:00
Boshen
4d187ce963
feat(resolver): resolve js file (#543) 2023-07-13 18:04:00 +08:00
Boshen
a9debc9fdb
feat(resolver): add resolver test fixtures (#542) 2023-07-13 13:37:29 +08:00
阿良仔
db3ef449fc
test(minifier): add tests for bigint string comparison (#541) 2023-07-13 11:44:03 +08:00
阿良仔
976059d418
feat: implement GetSpan for ForStatementLeft (#540) 2023-07-11 22:11:07 +08:00
阿良仔
f0495ef924
feat(minifier): fold string number comparison (#538) 2023-07-11 21:50:51 +08:00
vagusX
357b28eb96
fix: no return await error (#539) 2023-07-11 17:32:26 +08:00
阿良仔
2d984f0401
feat(minifier): fold bigint number comparison (#536) 2023-07-10 23:11:28 +08:00
阿良仔
4b566c0164
feat(linter): implement no-test-prefixes (#531) 2023-07-10 20:14:42 +08:00
Don Isaac
fd899be4a9
feat(minifier): compress undefined variable declarations (#532) 2023-07-10 10:33:42 +08:00
Don Isaac
0346adb1eb
feat(linter): add eslint/no-control-regex (#516) 2023-07-10 10:20:57 +08:00
vagusX
5d670943f9
feat(linter): implement eslint rule no-return-await (#529) 2023-07-09 20:39:11 +08:00
Wenzhe Wang
1b6fa7b5e0
feat(linter): no disabled tests(eslint-jest-plugin) (#507) 2023-07-09 18:19:43 +08:00
EliLichtblau
fa183f6a4b
typescript-eslint/no this alias (#526)
Co-authored-by: eli lichtblau <elilichtblau@elis-MacBook-Pro.local>
2023-07-09 16:22:38 +08:00
Boshen
cdaff8b7f1
refactor(linter): expose LintContext as the API for Linter::run 2023-07-07 22:16:03 +08:00
阿良仔
1aaeb794a4
feat(linter): implement no-misused-new (#525) 2023-07-07 16:00:06 +08:00
u9g
6614b46f26
Visit jsx_element in ast visitor and add to astkind (#524) 2023-07-07 12:36:52 +08:00
Boshen
d93e96f92f
Release oxc v0.0.7 2023-07-06 15:45:09 +08:00
Boshen
2e32140450
publish: bump all crates to v0.0.7 2023-07-06 14:27:13 +08:00
Boshen
19c68c8c57
chore(Cargo): change how crates are version and published
Let's publish everything under `oxc` instead of individual crates
2023-07-06 14:14:29 +08:00
Boshen
8aba8bcbb5
feat(oxc): a single oxc crate (#522) 2023-07-06 13:35:25 +08:00
u9g
974dfa027f
Implement GetSpan for JSXExpression 2023-07-06 00:27:57 -04:00
阿良仔
be13f980bb
chore(napi): provide a more precise type for source_type (#521) 2023-07-06 10:52:41 +08:00