overlookmotel
ab8509edaa
perf(parser): use - not saturating_sub ( #4561 )
...
Follow-on after #4304 . Avoid using `saturating_sub` when plain `-` will do. `-` is cheaper - it's a single assembly instruction, whereas `saturating_sub` is usually 3 instructions.
https://godbolt.org/z/fo8Tcx6bK
2024-07-31 00:28:46 +00:00
DonIsaac
7585e16beb
perf(linter): remove allocations for string comparisons ( #4570 )
...
Refactors a lot of case-insensitive comparisons from
```rust
a.to_lowercase() == b.to_lowercase()
```
with
```rust
a.eq_ignore_ascii_case(b)
```
These mostly happened when checking JSX props, so I'm expecting the most benefit from JSX-related rules.
2024-07-31 00:24:12 +00:00
DonIsaac
0914e47660
docs(ast): add doc comments to literal nodes ( #4551 )
2024-07-30 20:36:36 +00:00
Don Isaac
72337b1063
fix(linter): change typescript-eslint/no-namespace to restriction ( #4539 )
...
This rule prevents the usage of typescript language features, which is
what the `restriction` category is intended to handle.
2024-07-30 16:29:27 -04:00
lucab
c9c38a187c
perf(parser): support peeking over bytes ( #4304 )
...
Closes https://github.com/oxc-project/oxc/issues/3291
2024-07-30 17:53:13 +00:00
overlookmotel
732f4e2591
fix(linter): fix oxlint allocator cfg ( #4527 )
...
Fix 2 mistakes in the `#[cfg]` for custom allocators in `oxlint` CLI.
1. `#![cfg(not(miri))]` at top of file was disabling the entire module if running miri, rather than just disabling custom allocator.
2. If both `target_os = "windows"` and `not(target_env = "msvc")`, it would try to register both mimalloc and jemalloc as global allocator.
I am actually not sure if it's possible to compile for Windows without using MSVC, but it seems like a good idea not to assume.
2024-07-30 10:47:15 +00:00
DonIsaac
d5c4b190aa
fix(parser): fix enum member parsing ( #4543 )
...
Closes #4449
2024-07-30 10:43:09 +00:00
Yuji Sugiura
d384f6000a
fix(ci): Remove unused(?) .html file ( #4545 )
...
See https://github.com/oxc-project/oxc/actions/workflows/link-check.yml
I don't know why it suddenly started failing, but this file doesn't seem
to be used?
2024-07-30 15:46:48 +08:00
overlookmotel
7c42ffcd06
refactor(sourcemap): align Base64 chars lookup table to cache line ( #4535 )
...
Align the Base64 chars lookup table in sourcemap generator so it occupies a single cache line.
2024-07-30 04:28:10 +00:00
overlookmotel
27fd0628ef
refactor(sourcemap)!: avoid passing Results ( #4541 )
...
Refactor building sourcemap JSON to avoid passing `Result`s. `Serialize::serialize` is infallible here as writing to a `Vec<u8>` is infallible.
2024-07-30 04:23:49 +00:00
leaysgur
9fcd9ae88c
fix(linter/eslint): Fix invalid regexp in no_control_regex test ( #4544 )
...
Original regexp was invalid, it throws SyntaxError even in browser.

I need this change due to reduce CI errors in #4242 🥹
2024-07-30 02:16:06 +00:00
Aza Walker
4c4da561f4
feat(linter): add typescript-eslint/prefer-keyword-namespce ( #4438 )
2024-07-29 19:02:11 -04:00
overlookmotel
e6a8af6112
refactor(traverse): speed up tests ( #4538 )
...
Closes #4537 .
`oxc_traverse`'s tests to ensure code which would be undefined behavior will not compile were using `trybuild`. This is a thorough way to run these tests, but requires running a lengthy compilation each time tests run.
Implement these tests as `compile_fail` doc tests instead. This is not quite as thorough - now only testing that they don't compile, rather than also *why* they don't compile - but acceptable given the outsized cost of doing it "properly".
2024-07-29 21:30:13 +00:00
overlookmotel
d6974d4ff7
refactor(semantic): AstNodeParentIter fetch nodes lazily ( #4533 )
...
Refactor `AstNodeParentIter`, which is used to iterate down node ancestry chain. Fetch `AstNode` objects lazily, only when they're required by a `next()` call. If caller doesn't iterate all the way down the chain, likely this will result in 1 less array lookup.
2024-07-29 18:27:38 +00:00
lucab
0870ee1f9f
perf(parser): get and check lookahead token ( #4534 )
2024-07-29 16:45:39 +00:00
Dunqing
d914b14275
refactor(semantic): reusing the same reference ( #4529 )
...
A minor improvement
2024-07-29 16:16:27 +00:00
DonIsaac
c6a11bed1d
docs(ast): auto-generate doc comments for AstBuilder methods ( #4471 )
...
# What This PR Does
Modifies `ast_codegen` to auto-generate rustdoc comments for generated `AstBuilder` methods. As we add more doc comments to AST node fields, the generated documentation will get better.

2024-07-29 15:50:28 +00:00
overlookmotel
7b5e1f5ac8
refactor(semantic): use is_empty() instead of len() == 0 ( #4532 )
...
It's preferred to use `is_empty` where possible. `is_empty` is sometimes slightly more optimized than `len() == 0`.
2024-07-29 15:42:05 +00:00
overlookmotel
9db42592af
refactor(semantic): inline trivial methods ( #4531 )
...
Add `#[inline]` to trivial methods `ScopeTree` etc. Hopefully compiler is already inlining them all, but just to make sure.
2024-07-29 15:42:03 +00:00
overlookmotel
148bdb5585
refactor(parser): adjust function inlining ( #4530 )
...
These 2 `#[inline(always)]` were introduced by accident by me just playing around in #4298 . One should be kept, but the other one we should leave to compiler to decide.
2024-07-29 15:38:02 +00:00
Brooooooklyn
1fd9dd0388
perf(sourcemap): use simd to escape JSON string ( #4487 )
...
Also optimize the memory allocation in string escape. The default size in `serde_json` is 1024 for String type, we pre allocate `string.len() * 2 + 2` for every string to reduce re-allocate in escaping.
I've tried to hand write SIMD implementation, but it's too complex, so I uses the `v_jsonescape` here. But it doesn't support `aarch64` and `wasm32` simd implementation, we need to contribute to it!
2024-07-29 12:42:21 +00:00
overlookmotel
affd7685de
fix(benchmark): sourcemap benchmark properly test ConcatSourceMapBuilder ( #4528 )
...
Make 2 changes to sourcemap benchmark:
1. Move counting line breaks in output text to outside of the measured loop. This operation is reasonably expensive, and isn't part of what we're trying to measure.
2. It looks like benchmark is trying to measure concatenating 2 source maps, but `for i in 0..1` was actually only concatenating 1.
2024-07-29 11:14:40 +00:00
overlookmotel
58c8612f4b
chore: format oxlint/Cargo.toml ( #4526 )
...
Just correct spacing in `oxlint/Cargo.toml`.
2024-07-29 07:43:57 +00:00
cinchen
d8c2a836f0
feat(linter): eslint-plugin-vitest/no-import-node-test ( #4440 )
...
support
[eslint-plugin-vitest/no-import-node-test](https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md )
2024-07-29 13:53:42 +08:00
Dunqing
96602bf98e
refactor(transformer/typescript): determine whether to remove ExportSpeicifer by ReferenceFlags ( #4513 )
...
After https://github.com/oxc-project/oxc/pull/4511 . We can determine if a binding is a type binding just by the `ReferenceFlags`.
We can make it even better with `ident.reference_flag` once #4512 is sorted out
2024-07-29 03:39:20 +00:00
Dunqing
cf1854be7c
feat(semantic): remove ReferenceFlags::Value from non-type-only exports that referenced type binding ( #4511 )
...
```ts
type T = 0;
export { T }
^ ReferenceFlags::Type | ReferenceFlags::Read
```
The export `T` only referenced type binding. We should remove `ReferenceFlags::Read` for it.
2024-07-29 03:39:18 +00:00
camc314
43f2df8416
feat(linter) eslint-plugin-unicorn no length as slice end ( #4514 )
2024-07-29 03:36:13 +00:00
renovate[bot]
6f42c55fbe
chore(deps): update rust crate trybuild to v1.0.98 ( #4524 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [trybuild](https://togithub.com/dtolnay/trybuild ) |
workspace.dependencies | patch | `1.0.97` -> `1.0.98` |
---
### Release Notes
<details>
<summary>dtolnay/trybuild (trybuild)</summary>
###
[`v1.0.98`](https://togithub.com/dtolnay/trybuild/releases/tag/1.0.98 )
[Compare
Source](https://togithub.com/dtolnay/trybuild/compare/1.0.97...1.0.98 )
- Fix enabling of default features for workspace dependencies
([#​282](https://togithub.com/dtolnay/trybuild/issues/282 ), thanks
[@​gui1117](https://togithub.com/gui1117 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 01:48:51 +00:00
renovate[bot]
e73d0e82e8
chore(deps): update dependency @types/node to v22 ( #4523 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ))
| [`^20.14.2` ->
`^22.0.0`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.13/22.0.0 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 01:21:43 +00:00
renovate[bot]
cada16c81b
chore(deps): update codspeedhq/action action to v3 ( #4522 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://togithub.com/CodSpeedHQ/action ) | action |
major | `v2` -> `v3` |
---
### Release Notes
<details>
<summary>CodSpeedHQ/action (CodSpeedHQ/action)</summary>
### [`v3`](https://togithub.com/CodSpeedHQ/action/compare/v2...v3 )
[Compare Source](https://togithub.com/CodSpeedHQ/action/compare/v2...v3 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 00:08:54 +00:00
renovate[bot]
1f54f3619a
chore(deps): update website npm packages ( #4521 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@codemirror/view](https://togithub.com/codemirror/view ) | [`6.28.6`
->
`6.29.0`](https://renovatebot.com/diffs/npm/@codemirror%2fview/6.28.6/6.29.0 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
| [pnpm](https://pnpm.io ) ([source](https://togithub.com/pnpm/pnpm )) |
[`9.5.0` -> `9.6.0`](https://renovatebot.com/diffs/npm/pnpm/9.5.0/9.6.0 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
| [vite](https://vitejs.dev )
([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite )) |
[`5.3.4` -> `5.3.5`](https://renovatebot.com/diffs/npm/vite/5.3.4/5.3.5 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>codemirror/view (@​codemirror/view)</summary>
###
[`v6.29.0`](https://togithub.com/codemirror/view/blob/HEAD/CHANGELOG.md#6290-2024-07-25 )
[Compare
Source](https://togithub.com/codemirror/view/compare/6.28.6...6.29.0 )
##### Bug fixes
Fix an issue that caused typing into an editor marked read-only to cause
document changes when using `EditContext`.
Associate a cursor created by clicking above the end of the text on a
wrap point with the line before it.
##### New features
The package now exports the type of hover tooltip sources as
`HoverTooltipSource`.
</details>
<details>
<summary>pnpm/pnpm (pnpm)</summary>
### [`v9.6.0`](https://togithub.com/pnpm/pnpm/releases/tag/v9.6.0 ): pnpm
9.6
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.5.0...v9.6.0 )
#### Minor Changes
- Support specifying node version (via `pnpm.executionEnv.nodeVersion`
in `package.json`) for running lifecycle scripts per each package in a
workspace [#​6720](https://togithub.com/pnpm/pnpm/issues/6720 ).
- Overrides now support the [`catalogs:`
protocol](https://pnpm.io/catalogs )
[#​8303](https://togithub.com/pnpm/pnpm/issues/8303 ).
#### Patch Changes
- The `pnpm deploy` command now supports the [`catalog:`
protocol](https://pnpm.io/catalogs )
[#​8298](https://togithub.com/pnpm/pnpm/pull/8298 ).
- The `pnpm outdated` command now supports the [`catalog:`
protocol](https://pnpm.io/catalogs )
[#​8304](https://togithub.com/pnpm/pnpm/pull/8304 ).
- Correct the error message when trying to run `pnpm patch` without
`node_modules/.modules.yaml`
[#​8257](https://togithub.com/pnpm/pnpm/issues/8257 ).
- Silent reporting fixed with the `pnpm exec` command
[#​7608](https://togithub.com/pnpm/pnpm/issues/7608 ).
- Add registries information to the calculation of dlx cache hash
[#​8299](https://togithub.com/pnpm/pnpm/pull/8299 ).
#### Platinum Sponsors
<table>
<tbody>
<tr>
<td align="center" valign="middle">
<a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes "
target="_blank"><img src="https://pnpm.io/img/users/bit.svg "
width="80"></a>
</td>
<td align="center" valign="middle">
<a href="https://figma.com/?utm_source=pnpm&utm_medium=release_notes "
target="_blank"><img src="https://pnpm.io/img/users/figma.svg "
width="80"></a>
</td>
</tr>
</tbody>
</table>
#### Gold Sponsors
<table>
<tbody>
<tr>
<td align="center" valign="middle">
<a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/discord.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/discord_light.svg " />
<img src="https://pnpm.io/img/users/discord.svg " width="220" />
</picture>
</a>
</td>
<td align="center" valign="middle">
<a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/prisma.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/prisma_light.svg " />
<img src="https://pnpm.io/img/users/prisma.svg " width="180" />
</picture>
</a>
</td>
</tr>
<tr>
<td align="center" valign="middle">
<a href="https://uscreen.de/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/uscreen.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/uscreen_light.svg " />
<img src="https://pnpm.io/img/users/uscreen.svg " width="180" />
</picture>
</a>
</td>
<td align="center" valign="middle">
<a
href="https://www.jetbrains.com/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/jetbrains.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/jetbrains.svg " />
<img src="https://pnpm.io/img/users/jetbrains.svg " width="180" />
</picture>
</a>
</td>
</tr>
<tr>
<td align="center" valign="middle">
<a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/nx.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/nx_light.svg " />
<img src="https://pnpm.io/img/users/nx.svg " width="120" />
</picture>
</a>
</td>
<td align="center" valign="middle">
<a
href="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/coderabbit.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/coderabbit_light.svg " />
<img src="https://pnpm.io/img/users/coderabbit.svg " width="220" />
</picture>
</a>
</td>
</tr>
</tbody>
</table>
#### Our Silver Sponsors
<table>
<tbody>
<tr>
<td align="center" valign="middle">
<a
href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<img src="https://pnpm.io/img/users/leniolabs.jpg " width="80">
</a>
</td>
<td align="center" valign="middle">
<a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/vercel.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/vercel_light.svg " />
<img src="https://pnpm.io/img/users/vercel.svg " width="180" />
</picture>
</a>
</td>
</tr>
<tr>
<td align="center" valign="middle">
<a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/depot.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/depot_light.svg " />
<img src="https://pnpm.io/img/users/depot.svg " width="200" />
</picture>
</a>
</td>
<td align="center" valign="middle">
<a href="https://moonrepo.dev/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/moonrepo.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/moonrepo_light.svg " />
<img src="https://pnpm.io/img/users/moonrepo.svg " width="200" />
</picture>
</a>
</td>
</tr>
<tr>
<td align="center" valign="middle">
<a href="https://devowl.io/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/devowlio.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/devowlio.svg " />
<img src="https://pnpm.io/img/users/devowlio.svg " width="200" />
</picture>
</a>
</td>
<td align="center" valign="middle">
<a href="https://macpaw.com/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/macpaw.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/macpaw_light.svg " />
<img src="https://pnpm.io/img/users/macpaw.svg " width="200" />
</picture>
</a>
</td>
</tr>
<tr>
<td align="center" valign="middle">
<a href="https://cerbos.dev/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<picture>
<source media="(prefers-color-scheme: light)"
srcset="https://pnpm.io/img/users/cerbos.svg " />
<source media="(prefers-color-scheme: dark)"
srcset="https://pnpm.io/img/users/cerbos_light.svg " />
<img src="https://pnpm.io/img/users/cerbos.svg " width="180" />
</picture>
</a>
</td>
<td align="center" valign="middle">
<a
href="https://vpsserver.com/en-us/?utm_source=pnpm&utm_medium=release_notes "
target="_blank">
<img src="https://pnpm.io/img/users/vpsserver.svg " width="180" />
</a>
</td>
</tr>
</tbody>
</table>
</details>
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v5.3.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small535-2024-07-25-small )
[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.3.4...v5.3.5 )
- refactor(asset): remove rollup 3 public file watch workaround
([#​16331](https://togithub.com/vitejs/vite/issues/16331 ))
([66bdb1d](66bdb1d7b4 )),
closes [#​16331](https://togithub.com/vitejs/vite/issues/16331 )
- fix: make `server` type less restrictive (fix
[#​17627](https://togithub.com/vitejs/vite/issues/17627 ))
([#​17628](https://togithub.com/vitejs/vite/issues/17628 ))
([b55c32f](b55c32f7e3 )),
closes [#​17627](https://togithub.com/vitejs/vite/issues/17627 )
[#​17628](https://togithub.com/vitejs/vite/issues/17628 )
- fix: show error if vite client cannot be loaded
([#​17419](https://togithub.com/vitejs/vite/issues/17419 ))
([db5ab1d](db5ab1dfc4 )),
closes [#​17419](https://togithub.com/vitejs/vite/issues/17419 )
- fix(build): env output is not stable
([#​17748](https://togithub.com/vitejs/vite/issues/17748 ))
([b240a83](b240a8347e )),
closes [#​17748](https://togithub.com/vitejs/vite/issues/17748 )
- fix(client): fix vite error path
([#​17744](https://togithub.com/vitejs/vite/issues/17744 ))
([3c1bde3](3c1bde3406 )),
closes [#​17744](https://togithub.com/vitejs/vite/issues/17744 )
- fix(css): resolve url aliases with fragments (fix:
[#​17690](https://togithub.com/vitejs/vite/issues/17690 ))
([#​17691](https://togithub.com/vitejs/vite/issues/17691 ))
([d906d3f](d906d3f8e1 ))
- fix(deps): update all non-major dependencies
([#​17629](https://togithub.com/vitejs/vite/issues/17629 ))
([93281b0](93281b0e09 )),
closes [#​17629](https://togithub.com/vitejs/vite/issues/17629 )
- fix(importMetaGlob): handle alias that starts with hash
([#​17743](https://togithub.com/vitejs/vite/issues/17743 ))
([b58b423](b58b423ba8 )),
closes [#​17743](https://togithub.com/vitejs/vite/issues/17743 )
- fix(ssrTransform): sourcemaps with multiple sources
([#​17677](https://togithub.com/vitejs/vite/issues/17677 ))
([f321fa8](f321fa8de2 )),
closes [#​17677](https://togithub.com/vitejs/vite/issues/17677 )
- chore: extend commit hash
([#​17709](https://togithub.com/vitejs/vite/issues/17709 ))
([4fc9b64](4fc9b6424c )),
closes [#​17709](https://togithub.com/vitejs/vite/issues/17709 )
- chore(deps): update all non-major dependencies
([#​17734](https://togithub.com/vitejs/vite/issues/17734 ))
([9983731](998373120c )),
closes [#​17734](https://togithub.com/vitejs/vite/issues/17734 )
- chore(deps): update typescript
([#​17699](https://togithub.com/vitejs/vite/issues/17699 ))
([df5ceb3](df5ceb35b7 )),
closes [#​17699](https://togithub.com/vitejs/vite/issues/17699 )
- revert: fix(logger): truncate log over 5000 characters long
([#​16581](https://togithub.com/vitejs/vite/issues/16581 ))
([#​17729](https://togithub.com/vitejs/vite/issues/17729 ))
([f4f488f](f4f488fe83 )),
closes [#​16581](https://togithub.com/vitejs/vite/issues/16581 )
[#​17729](https://togithub.com/vitejs/vite/issues/17729 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 00:05:23 +00:00
renovate[bot]
bb6b7bc593
chore(deps): update rust crate serde_json to v1.0.121 ( #4520 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [serde_json](https://togithub.com/serde-rs/json ) |
workspace.dependencies | patch | `1.0.120` -> `1.0.121` |
---
### Release Notes
<details>
<summary>serde-rs/json (serde_json)</summary>
###
[`v1.0.121`](https://togithub.com/serde-rs/json/releases/tag/v1.0.121 )
[Compare
Source](https://togithub.com/serde-rs/json/compare/v1.0.120...v1.0.121 )
- Optimize position search in error path
([#​1160](https://togithub.com/serde-rs/json/issues/1160 ), thanks
[@​purplesyringa](https://togithub.com/purplesyringa ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 23:10:24 +00:00
renovate[bot]
cb820fb9ad
chore(deps): update github-actions ( #4519 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[cargo-bins/cargo-binstall](https://togithub.com/cargo-bins/cargo-binstall )
| action | minor | `v1.7.4` -> `v1.8.0` |
| [crate-ci/typos](https://togithub.com/crate-ci/typos ) | action | patch
| `v1.23.2` -> `v1.23.5` |
---
### Release Notes
<details>
<summary>cargo-bins/cargo-binstall (cargo-bins/cargo-binstall)</summary>
###
[`v1.8.0`](https://togithub.com/cargo-bins/cargo-binstall/releases/tag/v1.8.0 )
[Compare
Source](https://togithub.com/cargo-bins/cargo-binstall/compare/v1.7.4...v1.8.0 )
*Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for `cargo install` in
most cases. Install it today with `cargo install cargo-binstall`, from
the binaries below, or if you already have it, upgrade with `cargo
binstall cargo-binstall`.*
##### In this release:
- Fix: Ignore invalid Github Token (token length < 10)
([#​1836](https://togithub.com/cargo-bins/cargo-binstall/issues/1836 )
[#​1839](https://togithub.com/cargo-bins/cargo-binstall/issues/1839 ))
- Add environment variable `BINSTALL_DISABLE_STRATEGIES` for
`--disable-strategies`
([#​1833](https://togithub.com/cargo-bins/cargo-binstall/issues/1833 )
[#​1838](https://togithub.com/cargo-bins/cargo-binstall/issues/1838 ))
- Add new option `--disable-telemetry` to disable quickinstall
statistics collection
([#​1822](https://togithub.com/cargo-bins/cargo-binstall/issues/1822 )
[#​1831](https://togithub.com/cargo-bins/cargo-binstall/issues/1831 ))
- Feature: Enable maintainers of crate to disable strategies for the
crate using `package.binstall` (can be overriden by CLI users)
([#​1721](https://togithub.com/cargo-bins/cargo-binstall/issues/1721 )
[#​1828](https://togithub.com/cargo-bins/cargo-binstall/issues/1828 ))
- Fix v1 manifest format for git and local path
([#​1815](https://togithub.com/cargo-bins/cargo-binstall/issues/1815 )
[#​1821](https://togithub.com/cargo-bins/cargo-binstall/issues/1821 ))
- Fix: normalize GitHub URLs ending in .git to not ending in .git
([#​1801](https://togithub.com/cargo-bins/cargo-binstall/issues/1801 )
[#​1803](https://togithub.com/cargo-bins/cargo-binstall/issues/1803 )
[#​1804](https://togithub.com/cargo-bins/cargo-binstall/issues/1804 ))
##### Other changes:
- Fixed `install-from-binstall-release.sh` on raspberry pi
([#​1814](https://togithub.com/cargo-bins/cargo-binstall/issues/1814 ))
- Enable feature `native-tls/vendored` if both feature `native-tls` and
`static` is enabled
([#​1694](https://togithub.com/cargo-bins/cargo-binstall/issues/1694 )
[#​1832](https://togithub.com/cargo-bins/cargo-binstall/issues/1832 ))
</details>
<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>
###
[`v1.23.5`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.5 )
[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.4...v1.23.5 )
#### \[1.23.5] - 2024-07-25
##### Features
- *(config)* Store config in `Cargo.toml`
###
[`v1.23.4`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.4 )
[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.3...v1.23.4 )
#### \[1.23.4] - 2024-07-25
##### Fixes
- Don't correct `countr_one` in C++
###
[`v1.23.3`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.3 )
[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.2...v1.23.3 )
#### \[1.23.3] - 2024-07-22
##### Fixes
- Fix `Dockerfile`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 21:46:07 +00:00
renovate[bot]
dd6e442235
chore(deps): update vscode npm packages ( #4518 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ))
| [`20.14.11` ->
`20.14.13`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.11/20.14.13 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
| [ovsx](https://open-vsx.org )
([source](https://togithub.com/eclipse/openvsx/tree/HEAD/cli )) |
[`0.9.1` -> `0.9.2`](https://renovatebot.com/diffs/npm/ovsx/0.9.1/0.9.2 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
| [typescript](https://www.typescriptlang.org/ )
([source](https://togithub.com/Microsoft/TypeScript )) | [`5.5.3` ->
`5.5.4`](https://renovatebot.com/diffs/npm/typescript/5.5.3/5.5.4 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>eclipse/openvsx (ovsx)</summary>
###
[`v0.9.2`](https://togithub.com/eclipse/openvsx/blob/HEAD/cli/CHANGELOG.md#v092-July-2024 )
##### Bug Fixes
- Remove default universal for get operation
([#​944](https://togithub.com/eclipse/openvsx/pull/944 ))
##### Dependencies
- Upgrade `braces` from `3.0.2` to `3.0.3`
([#​953](https://togithub.com/eclipse/openvsx/pull/953 ))
***
</details>
<details>
<summary>Microsoft/TypeScript (typescript)</summary>
###
[`v5.5.4`](https://togithub.com/Microsoft/TypeScript/compare/v5.5.3...c8a7d589e647e19c94150d9892909f3aa93e48eb )
[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 18:02:06 +00:00
renovate[bot]
ee94daee42
chore(deps): update rust crates ( #4517 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [env_logger](https://togithub.com/rust-cli/env_logger ) |
workspace.dependencies | patch | `0.11.3` -> `0.11.5` |
|
[json-strip-comments](https://togithub.com/oxc-project/json-strip-comments )
| workspace.dependencies | patch | `1.0.2` -> `1.0.4` |
| [oxc_resolver](https://togithub.com/oxc-project/oxc-resolver ) |
workspace.dependencies | patch | `1.10.0` -> `1.10.2` |
| [similar](https://togithub.com/mitsuhiko/similar ) |
workspace.dependencies | minor | `2.5.0` -> `2.6.0` |
| [tokio](https://tokio.rs )
([source](https://togithub.com/tokio-rs/tokio )) | workspace.dependencies
| minor | `1.38.0` -> `1.39.2` |
---
### Release Notes
<details>
<summary>rust-cli/env_logger (env_logger)</summary>
###
[`v0.11.5`](https://togithub.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0115---2024-07-25 )
[Compare
Source](https://togithub.com/rust-cli/env_logger/compare/v0.11.4...v0.11.5 )
###
[`v0.11.4`](https://togithub.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0114---2024-07-23 )
[Compare
Source](https://togithub.com/rust-cli/env_logger/compare/v0.11.3...v0.11.4 )
</details>
<details>
<summary>oxc-project/oxc-resolver (oxc_resolver)</summary>
###
[`v1.10.2`](https://togithub.com/oxc-project/oxc-resolver/blob/HEAD/CHANGELOG.md#1102---2024-07-16 )
[Compare
Source](https://togithub.com/oxc-project/oxc-resolver/compare/oxc_resolver-v1.10.1...oxc_resolver-v1.10.2 )
##### Chore
- Release FreeBSD
###
[`v1.10.1`](https://togithub.com/oxc-project/oxc-resolver/blob/HEAD/CHANGELOG.md#1101---2024-07-15 )
[Compare
Source](https://togithub.com/oxc-project/oxc-resolver/compare/oxc_resolver-v1.10.0...oxc_resolver-v1.10.1 )
##### Fixed
- resolve module `ipaddr.js` correctly when `extensionAlias` is provided
([#​228](https://togithub.com/oxc-project/oxc_resolver/pull/228 ))
</details>
<details>
<summary>mitsuhiko/similar (similar)</summary>
###
[`v2.6.0`](https://togithub.com/mitsuhiko/similar/blob/HEAD/CHANGELOG.md#260 )
[Compare
Source](https://togithub.com/mitsuhiko/similar/compare/2.5.0...2.6.0 )
- Bump bstr dependency to 1.5.
[#​69](https://togithub.com/mitsuhiko/similar/issues/69 )
</details>
<details>
<summary>tokio-rs/tokio (tokio)</summary>
###
[`v1.39.2`](https://togithub.com/tokio-rs/tokio/releases/tag/tokio-1.39.2 ):
Tokio v1.39.2
[Compare
Source](https://togithub.com/tokio-rs/tokio/compare/tokio-1.39.1...tokio-1.39.2 )
### 1.39.2 (July 27th, 2024)
This release fixes a regression where the `select!` macro stopped
accepting expressions that make use of temporary lifetime extension.
([#​6722])
[#​6722]: https://togithub.com/tokio-rs/tokio/pull/6722
###
[`v1.39.1`](https://togithub.com/tokio-rs/tokio/releases/tag/tokio-1.39.1 ):
Tokio v1.39.1
[Compare
Source](https://togithub.com/tokio-rs/tokio/compare/tokio-1.39.0...tokio-1.39.1 )
##### 1.39.1 (July 23rd, 2024)
This release reverts "time: avoid traversing entries in the time wheel
twice" because it contains a bug. ([#​6715])
[#​6715]: https://togithub.com/tokio-rs/tokio/pull/6715
###
[`v1.39.0`](https://togithub.com/tokio-rs/tokio/releases/tag/tokio-1.39.0 ):
Tokio v1.39.0
[Compare
Source](https://togithub.com/tokio-rs/tokio/compare/tokio-1.38.1...tokio-1.39.0 )
### 1.39.0 (July 23rd, 2024)
- This release bumps the MSRV to 1.70. ([#​6645])
- This release upgrades to mio v1. ([#​6635])
- This release upgrades to windows-sys v0.52 ([#​6154])
##### Added
- io: implement `AsyncSeek` for `Empty` ([#​6663])
- metrics: stabilize `num_alive_tasks` ([#​6619], [#​6667])
- process: add `Command::as_std_mut` ([#​6608])
- sync: add `watch::Sender::same_channel` ([#​6637])
- sync: add
`{Receiver,UnboundedReceiver}::{sender_strong_count,sender_weak_count}`
([#​6661])
- sync: implement `Default` for `watch::Sender` ([#​6626])
- task: implement `Clone` for `AbortHandle` ([#​6621])
- task: stabilize `consume_budget` ([#​6622])
##### Changed
- io: improve panic message of `ReadBuf::put_slice()` ([#​6629])
- io: read during write in `copy_bidirectional` and `copy`
([#​6532])
- runtime: replace `num_cpus` with `available_parallelism`
([#​6709])
- task: avoid stack overflow when passing large future to `block_on`
([#​6692])
- time: avoid traversing entries in the time wheel twice
([#​6584])
- time: support `IntoFuture` with `timeout` ([#​6666])
- macros: support `IntoFuture` with `join!` and `select!`
([#​6710])
##### Fixed
- docs: fix docsrs builds with the fs feature enabled ([#​6585])
- io: only use short-read optimization on known-to-be-compatible
platforms ([#​6668])
- time: fix overflow panic when using large durations with `Interval`
([#​6612])
##### Added (unstable)
- macros: allow `unhandled_panic` behavior for `#[tokio::main]` and
`#[tokio::test]` ([#​6593])
- metrics: add `spawned_tasks_count` ([#​6114])
- metrics: add `worker_park_unpark_count` ([#​6696])
- metrics: add worker thread id ([#​6695])
##### Documented
- io: update `tokio::io::stdout` documentation ([#​6674])
- macros: typo fix in `join.rs` and `try_join.rs` ([#​6641])
- runtime: fix typo in `unhandled_panic` ([#​6660])
- task: document behavior of `JoinSet::try_join_next` when all tasks are
running ([#​6671])
[#​6114]: https://togithub.com/tokio-rs/tokio/pull/6114
[#​6154]: https://togithub.com/tokio-rs/tokio/pull/6154
[#​6532]: https://togithub.com/tokio-rs/tokio/pull/6532
[#​6584]: https://togithub.com/tokio-rs/tokio/pull/6584
[#​6585]: https://togithub.com/tokio-rs/tokio/pull/6585
[#​6593]: https://togithub.com/tokio-rs/tokio/pull/6593
[#​6608]: https://togithub.com/tokio-rs/tokio/pull/6608
[#​6612]: https://togithub.com/tokio-rs/tokio/pull/6612
[#​6619]: https://togithub.com/tokio-rs/tokio/pull/6619
[#​6621]: https://togithub.com/tokio-rs/tokio/pull/6621
[#​6622]: https://togithub.com/tokio-rs/tokio/pull/6622
[#​6626]: https://togithub.com/tokio-rs/tokio/pull/6626
[#​6629]: https://togithub.com/tokio-rs/tokio/pull/6629
[#​6635]: https://togithub.com/tokio-rs/tokio/pull/6635
[#​6637]: https://togithub.com/tokio-rs/tokio/pull/6637
[#​6641]: https://togithub.com/tokio-rs/tokio/pull/6641
[#​6645]: https://togithub.com/tokio-rs/tokio/pull/6645
[#​6660]: https://togithub.com/tokio-rs/tokio/pull/6660
[#​6661]: https://togithub.com/tokio-rs/tokio/pull/6661
[#​6663]: https://togithub.com/tokio-rs/tokio/pull/6663
[#​6666]: https://togithub.com/tokio-rs/tokio/pull/6666
[#​6667]: https://togithub.com/tokio-rs/tokio/pull/6667
[#​6668]: https://togithub.com/tokio-rs/tokio/pull/6668
[#​6671]: https://togithub.com/tokio-rs/tokio/pull/6671
[#​6674]: https://togithub.com/tokio-rs/tokio/pull/6674
[#​6692]: https://togithub.com/tokio-rs/tokio/pull/6692
[#​6695]: https://togithub.com/tokio-rs/tokio/pull/6695
[#​6696]: https://togithub.com/tokio-rs/tokio/pull/6696
[#​6709]: https://togithub.com/tokio-rs/tokio/pull/6709
[#​6710]: https://togithub.com/tokio-rs/tokio/pull/6710
###
[`v1.38.1`](https://togithub.com/tokio-rs/tokio/releases/tag/tokio-1.38.1 ):
Tokio v1.38.1
[Compare
Source](https://togithub.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1 )
### 1.38.1 (July 16th, 2024)
This release fixes the bug identified as ([#​6682]), which caused
timers not
to fire when they should.
##### Fixed
- time: update `wake_up` while holding all the locks of sharded time
wheels ([#​6683])
[#​6682]: https://togithub.com/tokio-rs/tokio/pull/6682
[#​6683]: https://togithub.com/tokio-rs/tokio/pull/6683
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 17:17:46 +00:00
renovate[bot]
10b92dda1f
chore(deps): update dependency tar to v7.4.3 ( #4516 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tar](https://togithub.com/isaacs/node-tar ) | [`7.4.0` ->
`7.4.3`](https://renovatebot.com/diffs/npm/tar/7.4.0/7.4.3 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>isaacs/node-tar (tar)</summary>
###
[`v7.4.3`](https://togithub.com/isaacs/node-tar/compare/v7.4.2...v7.4.3 )
[Compare
Source](https://togithub.com/isaacs/node-tar/compare/v7.4.2...v7.4.3 )
###
[`v7.4.2`](https://togithub.com/isaacs/node-tar/compare/v7.4.1...v7.4.2 )
[Compare
Source](https://togithub.com/isaacs/node-tar/compare/v7.4.1...v7.4.2 )
###
[`v7.4.1`](https://togithub.com/isaacs/node-tar/compare/v7.4.0...v7.4.1 )
[Compare
Source](https://togithub.com/isaacs/node-tar/compare/v7.4.0...v7.4.1 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 17:04:31 +00:00
Boshen
7446e986c3
feat(codegen): align more esbuild implementations ( #4510 )
2024-07-28 13:35:37 +00:00
Boshen
35654e665c
feat(codegen): align operator precedence with esbuild ( #4509 )
...
closes #4339
2024-07-28 11:48:51 +00:00
Boshen
6a94e3f573
fix(codegen): fixes for esbuild test cases ( #4503 )
2024-07-28 08:57:15 +00:00
Dunqing
b1b66e2a28
Revert "fix(website): incorrect reference displayed" ( #4506 )
...
Reverts oxc-project/oxc#4453
https://github.com/oxc-project/oxc/issues/4467 changes reference_id to zero-based index 😅
2024-07-28 01:58:50 +00:00
oxc-bot
80118cbf3b
Release crates v0.22.1 ( #4508 )
...
## [0.22.1] - 2024-07-27
### Features
- 2477330 ast: Add `AstKind::TSExportAssignment` (#4501 ) (Dunqing)
- aaee07e ast: Add `AstKind::AssignmentTargetPattern`,
`AstKind::ArrayAssignmentTarget` and `AstKind::ObjectAssignmentTarget`
(#4456 ) (Dunqing)
- fd363d1 ast: Add AstKind::get_container_scope_id (#4450 ) (DonIsaac)
- e2735ca span: Add `contains_inclusive` method (#4491 ) (DonIsaac)
### Bug Fixes
- 368112c ast: Remove `#[visit(ignore)]` from
`ExportDefaultDeclarationKind`'s `TSInterfaceDeclaration` (#4497 )
(Dunqing)
- 36bb680 semantic: `TSExportAssignment` cannot reference type binding
(#4502 ) (Dunqing)
- cb2fa49 semantic: `typeof` operator cannot reference type-only import
(#4500 ) (Dunqing)
- ef0e953 semantic: Generic passed to typeof not counted as a reference
(#4499 ) (Dunqing)
- 40cafb8 semantic: Params in `export default (function() {})` flagged
as `SymbolFlags::Export` (#4480 ) (Dunqing)
- 2e01a45 semantic: Non-exported namespace member symbols flagged as
exported (#4493 ) (Don Isaac)
- e4ca06a semantic: Incorrect symbol’s scope_id after var hoisting
(#4458 ) (Dunqing)
- 77bd5f1 semantic: Use correct span for namespace symbols (#4448 ) (Don
Isaac)
- 5db7bed sourcemap: Fix pre-calculation of required segments for
building JSON (#4490 ) (overlookmotel)
- 1667491 syntax: Correct `is_reserved_keyword_or_global_object`'s
incorrect function calling. (#4484 ) (Ethan Goh)
- 82ba2a0 syntax: Fix unsound use of `NonZeroU32` (#4466 )
(overlookmotel)
- c04b9aa transformer: Add to `SymbolTable::declarations` for all
symbols (#4460 ) (overlookmotel)
- ecdee88 transformer/typescript: Incorrect eliminate exports when the
referenced symbol is both value and type (#4507 ) (Dunqing)
### Performance
- 963a2d1 mangler: Reduce unnecessary allocation (#4498 ) (Dunqing)
- 868fc87 parser: Optimize conditional advance on ASCII values (#4298 )
(lucab)
- 24beaeb semantic: Give `AstNodeId` a niche (#4469 ) (overlookmotel)
- 348c1ad semantic: Remove `span` field from `Reference` (#4464 )
(overlookmotel)
- 6a9f4db semantic: Reduce storage size for symbol redeclarations
(#4463 ) (overlookmotel)
- 705e19f sourcemap: Reduce memory copies encoding JSON (#4489 )
(overlookmotel)
- 4d10c6c sourcemap: Pre allocate String buf while encoding (#4476 )
(Brooooooklyn)
### Documentation
- f5f0ba8 ast: Add doc comments to more AST nodes (#4413 ) (Don Isaac)
- 871b3d6 semantic: Add doc comments for SymbolTester and SemanticTester
(#4433 ) (DonIsaac)
### Refactor
- 9c5d2f9 ast/builder: Use `Box::new_in` over `.into_in` (#4428 )
(overlookmotel)
- ccb1835 semantic: Methods take `Span` as param, not `&Span` (#4470 )
(overlookmotel)
- f17254a semantic: Populate `declarations` field in
`SymbolTable::create_symbol` (#4461 ) (overlookmotel)
- a49f491 semantic: Re-order `SymbolTable` fields (#4459 )
(overlookmotel)
- 7cd53f3 semantic: Var hoisting (#4379 ) (Dunqing)
- 4f5a7cb semantic: Mark SemanticTester and SymbolTester as must_use
(#4430 ) (DonIsaac)
- c958a55 sourcemap: `push_list` method for building JSON (#4486 )
(overlookmotel)
- c99b3eb syntax: Give `ScopeId` a niche (#4468 ) (overlookmotel)
- 96fc94f syntax: Use `NonMaxU32` for IDs (#4467 ) (overlookmotel)
### Testing
- 4b274a8 semantic: Add more test cases for symbol references (#4429 )
(DonIsaac)
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
2024-07-28 09:58:29 +08:00
Dunqing
ecdee88cfb
fix(transformer/typescript): incorrect eliminate exports when the referenced symbol is both value and type ( #4507 )
2024-07-27 12:11:29 -04:00
Dunqing
963a2d1b85
perf(mangler): reduce unnecessary allocation ( #4498 )
...
There seems to be no noticeable change in performance.
2024-07-27 10:55:49 +00:00
overlookmotel
5db7bed4f5
fix(sourcemap): fix pre-calculation of required segments for building JSON ( #4490 )
...
Fix the maths for calculating max number of segments required when building JSON source map.
2024-07-27 10:25:42 +00:00
overlookmotel
705e19f794
perf(sourcemap): reduce memory copies encoding JSON ( #4489 )
...
Reduce memory copies when encoding source map as JSON, extending approach taken in #4476 to also avoid memory copies for source texts.
I believe reason this shows no benefit on benchmarks is because our benchmarks only create a source map from a single source file, but it should result in a speed-up when there are multiple sources.
2024-07-27 10:25:40 +00:00
overlookmotel
c958a557fe
refactor(sourcemap): push_list method for building JSON ( #4486 )
...
Follow up after #4476 . Refactor to remove repeated code.
2024-07-27 10:25:38 +00:00
Dunqing
36bb6805c6
fix(semantic): TSExportAssignment cannot reference type binding ( #4502 )
...
close : #4488
2024-07-27 04:55:03 +00:00
Dunqing
2477330440
feat(ast): add AstKind::TSExportAssignment ( #4501 )
...
part of #4488
2024-07-27 04:55:02 +00:00
Dunqing
cb2fa4924e
fix(semantic): typeof operator cannot reference type-only import ( #4500 )
2024-07-27 00:21:06 -04:00
Dunqing
ef0e953702
fix(semantic): generic passed to typeof not counted as a reference ( #4499 )
2024-07-27 00:16:25 -04:00