u9g
997eb26d3e
feat(query): impl Typename for VariableDeclaration ( #638 )
2023-07-27 09:46:49 +08:00
Matthew "strager" Glazar
318d55806f
refactor: format code
...
Removing uses of let_chains now allows rustfmt to format some files.
Run 'cargo fmt' to reformat these files.
2023-07-27 09:44:57 +08:00
Matthew "strager" Glazar
ad00720d75
refactor: avoid unstable let_chains
...
The let_chains Rust feature is unstable, preventing Oxc from using a
stable Rust compiler. Refactor the code to avoid let_chains.
2023-07-27 09:44:57 +08:00
Sg
2203d08199
refactor: remove unstable feature slice_as_chunks ( #632 )
2023-07-26 19:21:35 +08:00
Sg
fbb8aa3338
refactor: remove unstable feature const_trait_impl & const_slice_index & slice_group_by ( #629 )
2023-07-26 17:37:09 +08:00
Boshen
32b8ad2b57
feat(resolver): initialize implementation of package.json exports field ( #630 )
2023-07-26 16:54:54 +08:00
u9g
1d504ac94a
Add oxc_query crate ( #625 )
2023-07-26 13:03:00 +08:00
Boshen
35adc65aed
Update CONTRIBUTING.md
2023-07-26 12:30:21 +08:00
Boshen
b78b1ebdca
perf(resolver): reduce memory allocation when resolving node_modules ( #608 )
2023-07-25 20:06:44 +08:00
Boshen
f094d5881e
perf(resolver): hash once for the get + insert case ( #606 )
2023-07-25 16:47:17 +08:00
Boshen
1d7f171309
refactor(resolver): use DashSet for the cache ( #605 )
2023-07-25 15:17:07 +08:00
Shannon Rothe
21f8abe273
feat(cli): add support for TIMING env var ( #535 )
2023-07-25 11:14:36 +08:00
Boshen
108bdbbdae
deps(rust): bump with cargo upgrade --incompatible
2023-07-24 23:24:31 +08:00
Boshen
5b23ab30b0
perf(resolver): allocate less when resolving extensions ( #603 )
2023-07-24 21:04:44 +08:00
Boshen
e80274b61a
fix(website): fix base url
2023-07-24 21:01:16 +08:00
Boshen
eafad4dfd1
perf(resolver): reduce the total number of hashes by passing the cached value around ( #602 )
2023-07-24 20:42:09 +08:00
Boshen
3cda165af7
perf(resolver): do not read package_json of a file ( #601 )
2023-07-24 15:49:41 +08:00
Boshen
b21b3b8528
chore(resolver): add a alias test and check resolution is the same in benchmark ( #600 )
2023-07-24 15:35:10 +08:00
Boshen
70d34f74e0
Update README.md
2023-07-24 11:13:42 +08:00
Don Isaac
87e65ac0f7
refactor(semantic): symbol declarations and references ( #594 )
2023-07-24 10:55:56 +08:00
Boshen
a637003c42
Change MIT LICENSE holder
...
Donated to [Web Infra] by Boshen Chen, who will remain as the technical
leader and owner of this project without conditions.
[Web Infra]: https://github.com/web-infra-dev
2023-07-24 10:15:46 +08:00
Boshen
b3d70c5c7f
refactor(resolver): make the global cache hold less memory ( #593 )
2023-07-24 00:15:42 +08:00
Boshen
8ab2a7f322
refactor(resolver): improve browser_field lookup ( #592 )
...
This makes everything slow because every file read now needs to
check package.json for the browser field, but we'll improve the
package.json look up soon by reusing the values from the cache.
2023-07-23 23:41:27 +08:00
Boshen
65f22f9ba1
refactor(resolver): s/request_str/request
2023-07-23 20:06:17 +08:00
Boshen
cfdeb3416d
chore(resolver): improve documentation ( #591 )
2023-07-23 18:48:51 +08:00
Boshen
c0d06c5598
feat(resolver): check for directory before loading a directory ( #590 )
2023-07-23 18:10:06 +08:00
Boshen
53242c0e51
refactor(resolver): improve how browser field is resolved ( #589 )
2023-07-23 17:57:03 +08:00
Boshen
7b7e3a2032
chore(resolver): add multi-threaded benchmark ( #588 )
2023-07-23 12:40:52 +08:00
Boshen
a55ba5941c
refactor(benchmark): use iter_with_large_drop ( #587 )
...
This also removes `black_box`, since criterion always black boxes the values for us
2023-07-23 11:35:16 +08:00
Boshen
ca96ff84a6
chore(resolver): add more data to benchmark ( #586 )
2023-07-23 10:55:33 +08:00
Boshen
378505f244
perf(resolver): improve cache hit for package.json ( #585 )
...
perf(resolver): implement proper file system caching
2023-07-23 01:06:40 +08:00
Boshen
2bb8edb13c
perf(resolver): cache canonicalized path ( #584 )
2023-07-22 21:13:59 +08:00
Boshen
585e48fe9b
feat(resolver): implement symlinks ( #582 )
2023-07-21 19:10:59 +08:00
Boshen
3c5333c828
perf(resolver): use fs::symlink_metadata, which doesn't traverse symlinks ( #581 )
2023-07-21 17:54:55 +08:00
Boshen
a27b60cfb4
chore: add resolver to README and ci labeler
2023-07-21 12:13:44 +08:00
Boshen
133c81ba1a
ci: use the benchmark cache for ecosystem-test
...
because it is using --release
2023-07-21 11:49:59 +08:00
Boshen
2330099a34
deps(rust): bump dependencies
2023-07-21 11:38:12 +08:00
Boshen
06aac508f8
fix(linter): change no-var-requires to severity warning
2023-07-21 11:08:33 +08:00
Leonard Yeung
73338cb377
CI: Added ecosystem check ( #574 )
...
Co-authored-by: Leonard Yeung <leonard_yeung@tuta.io>
2023-07-21 11:03:27 +08:00
阿良仔
3c76cef11c
feat(minifier): fold NaN comparison ( #580 )
2023-07-21 11:00:21 +08:00
Makoto Tateno
52c3c37b2b
feat(linter): implement no-var-requires ( #575 )
2023-07-21 10:58:25 +08:00
阿良仔
836d430a10
feat(linter): implement adjacent-overload-signature ( #578 )
2023-07-21 10:56:41 +08:00
Boshen
fa20844802
feat(resolver): complete query and fragment parsing ( #579 )
2023-07-20 17:48:51 +08:00
Boshen
30b9731843
feat(resolver): add preferRelative and preferAbsolute ( #577 )
2023-07-20 15:41:06 +08:00
Boshen
beb0ae9d8e
feat(resolver): implement roots ( #576 )
2023-07-20 14:23:25 +08:00
Boshen
6089898bf0
fix(linter): change severity of no-this-alias from error to warning
2023-07-20 11:23:47 +08:00
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