dependabot[bot]
5defa2fa96
chore(deps): bump the dependencies group with 6 updates ( #852 )
2023-09-04 15:46:27 +08:00
Boshen
bcc069e847
Release oxc_resolver v0.1.0
2023-09-04 14:45:29 +08:00
Boshen
aa7b665fe9
feat(resolver): add thiserror ( #847 )
2023-09-03 14:50:31 +08:00
Boshen
73be3eab4c
chore: update lock file
2023-09-03 13:51:28 +08:00
Boshen
37bf4c4421
Release oxc v0.1.2
2023-09-03 11:30:44 +08:00
Boshen
da44fd8999
feat(benchmark): add linter benchmark ( #842 )
2023-09-03 09:55:01 +08:00
Boshen
53b094e46c
chore: clean up deps ( #840 )
2023-09-02 21:34:24 +08:00
Boshen
56aaf31fb1
refactor(benchmark): use codspeed for all benchmarks ( #839 )
2023-09-02 20:35:48 +08:00
Boshen
e4a3838ecb
chore(resolver): benchmark with codspeed ( #838 )
2023-09-02 18:27:37 +08:00
Boshen
9724365862
refactor(resolver): remove nodejs_resolver comparison
...
we no longer need to compare with nodejs_resolver
2023-09-02 15:12:26 +08:00
Boshen
5b98bf42b5
deps: remove regex support from env_logger
2023-09-02 15:12:25 +08:00
dependabot[bot]
8caf77300b
chore(deps): bump the dependencies group with 10 updates ( #831 )
2023-09-01 13:56:12 +08:00
Boshen
693145107c
refactor(linter): less a global hashmap to reduce rule timer macro expansion ( #822 )
...
closes #819
2023-09-01 10:32:17 +08:00
u9g
a38619b780
feat(vscode): Add linter plugin to vscode extension ( #813 )
2023-08-29 23:35:32 -04:00
u9g
a44dde5303
feat(linter_plugin): Add linter plugin crate ( #798 )
...
Adds a `linter_plugin` crate which adds `oxc_query` support to any
`oxc_linter` consumers such as `oxc_cli` and `editor/vscode`
2023-08-28 11:40:00 +08:00
阿良仔
0fef2d317a
chore: proxy detection for all tasks ( #801 )
...
related PR: #740
2023-08-27 17:24:28 +08:00
Boshen
1f27426570
Release crates as v0.1.1
2023-08-26 17:53:11 +08:00
Boshen
592137586c
feat(cli): use insta_cmd for cli snapshot testing ( #791 )
...
closes #776
2023-08-25 16:26:34 +08:00
Boshen
ba8ef7bfc7
fix(deps): use one version of textwrap
2023-08-25 12:54:38 +08:00
u9g
4f686b6a75
feat(query): add Paren*Expr* type and add index to Argument type and fix todo in ObjectExpr ( #780 )
...
```diff
+ Argument.index
+ ParenthesizedExpression
+ ParenthesizedExpression implements Expression
+ ParenthesizedExpression implements HasSpan
+ ParenthesizedExpression.expression
+ ParenthesizedExpressionAST
+ ParenthesizedExpressionAST implements Expression
+ ParenthesizedExpressionAST implements HasSpan
+ ParenthesizedExpressionAST implements ParenthesizedExpression
+ ParenthesizedExpressionAST implements ASTNode
```
2023-08-24 04:21:02 +00:00
Boshen
28544e1d59
deps: bump deps per security advice for rustls-webpki
...
rustls-webpki: CPU denial of service in certificate path building
2023-08-23 11:16:58 +08:00
Boshen
1851a8ae26
deps(rust): bump dependencies ( #771 )
...
generated with `cargo upgrade -i` then `cargo update`
2023-08-21 18:04:29 +08:00
Boshen
5152b39b17
chore: clean up Cargo.toml with cargo machete ( #767 )
2023-08-20 15:29:09 +08:00
Boshen
a9a6bb800c
refactor(cli,linter): move path processing logic from cli to linter ( #766 )
2023-08-20 15:12:08 +08:00
Boshen
a9c4fddb6d
refactor(cli): use bpaf instead clap ( #756 )
2023-08-18 17:14:06 +08:00
Boshen
629055cfce
deps(rust): bump dependencies
2023-08-12 16:48:24 +08:00
u9g
99a4816ce7
feat(website): add query playground ( #698 )
2023-08-11 10:53:21 +08:00
Boshen
8ae345bde0
chore(parser): add an AST Send example ( #712 )
...
relates #709
The allocator and lifetime gets in the way if we want to parse in
parallel but process them in a single thread.
This example uses `ouroboros` to provide a safe API for working with
this unsafe behavior.
2023-08-10 15:56:31 +08:00
Boshen
9714e46a02
feat(resolver): add tracing ( #710 )
2023-08-10 13:51:28 +08:00
Boshen
fdded5e97c
refactor(resolver): remove the identity-hash crate
2023-08-09 19:01:26 +08:00
Boshen
91fd375a3b
refactor(resolver): return package json error immediately instead of saving it ( #702 )
...
The error is propagated so there is no need to save it.
2023-08-09 14:28:44 +08:00
Don Isaac
38fb4c296a
test(semantic): test harness ( #679 )
...
A test harness for checking results of semantic analysis.
I got tired of writing ad-hoc test cases when finding bugs in semantic
analysis, so I made this.
2023-08-07 10:43:05 +08:00
阿良仔
8a915cec5c
feat: vscode extension ( #690 )
...
related: #688 .
There are some unfinished things that need to be finalised by Boshen.
1. Official icon and description for the package.
2. Publishing strategy ( It's probably not a good idea to use
`package.json` as a probe to publish extension, as there's too much
vscode configuration coupled to it, a git tag like `vscode_v0.0.x` might
be worth considering ).
3. License for the extension.
2023-08-06 21:28:49 +08:00
Alexandr Metreniuc
d1531cd144
feat(linter): add no-extra-boolean-cast rule ( #677 )
...
Closes https://github.com/web-infra-dev/oxc/issues/596
Rule: [Docs](https://eslint.org/docs/latest/rules/no-extra-boolean-cast )
|
[Source](https://github.com/eslint/eslint/blob/main/lib/rules/no-extra-boolean-cast.js )
| [Tests
](https://github.com/eslint/eslint/blob/main/tests/lib/rules/no-extra-boolean-cast.js )
2023-08-04 18:46:50 +08:00
Devin-Yeung
ba8dbf5446
fix(linter): fix false positives in loss-of-precision lint ( #664 )
...
Almost rewrite the no-loss-of-precision lint, fix known false positives,
close #656
---------
Co-authored-by: Boshen <boshenc@gmail.com>
2023-07-31 14:48:00 +08:00
Boshen
c956f7e897
refactor(cli): remove experimental code "module_tree_handler" ( #670 )
...
This code will eventually be superseded by
https://github.com/web-infra-dev/oxc/pull/530 , removing this for now so
others don't have to touch this.
2023-07-31 12:40:14 +08:00
Don Isaac
d3accc1ee3
fix(semantic): nested references ( #661 )
...
Addresses #660
2023-07-31 12:29:15 +08:00
Boshen
1012d8300c
chore: release crates as v0.1.0
2023-07-27 13:54:17 +08:00
Boshen
d587065436
chore(rust): update crate info, add minimal rust-version, add categories
2023-07-27 13:33:18 +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
f094d5881e
perf(resolver): hash once for the get + insert case ( #606 )
2023-07-25 16:47:17 +08:00
Boshen
108bdbbdae
deps(rust): bump with cargo upgrade --incompatible
2023-07-24 23:24:31 +08:00
Boshen
7b7e3a2032
chore(resolver): add multi-threaded benchmark ( #588 )
2023-07-23 12:40:52 +08:00
Boshen
585e48fe9b
feat(resolver): implement symlinks ( #582 )
2023-07-21 19:10:59 +08:00
Boshen
2330099a34
deps(rust): bump dependencies
2023-07-21 11:38:12 +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
d410d1a2d7
feat(resolver): accept different file system implementations ( #562 )
2023-07-17 18:29:41 +08:00