No description
Find a file
dependabot[bot] e1704d96a3
chore(deps): bump the dependencies group with 9 updates (#1558)
Bumps the dependencies group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [ignore](https://github.com/BurntSushi/ripgrep) | `0.4.20` | `0.4.21`
|
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.69` |
`1.0.70` |
| [serde](https://github.com/serde-rs/serde) | `1.0.192` | `1.0.193` |
| [ureq](https://github.com/algesten/ureq) | `2.8.0` | `2.9.1` |
| [url](https://github.com/servo/rust-url) | `2.4.1` | `2.5.0` |
| [tracing-subscriber](https://github.com/tokio-rs/tracing) | `0.3.17` |
`0.3.18` |
|
[codspeed-criterion-compat](https://github.com/CodSpeedHQ/codspeed-rust)
| `2.3.1` | `2.3.3` |
| [napi](https://github.com/napi-rs/napi-rs) | `2.14.0` | `2.14.1` |
| [napi-derive](https://github.com/napi-rs/napi-rs) | `2.14.1` |
`2.14.2` |

Updates `ignore` from 0.4.20 to 0.4.21
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/BurntSushi/ripgrep/commits">compare
view</a></li>
</ul>
</details>
<br />

Updates `proc-macro2` from 1.0.69 to 1.0.70
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/proc-macro2/releases">proc-macro2's
releases</a>.</em></p>
<blockquote>
<h2>1.0.70</h2>
<ul>
<li>Add #[track_caller] on <code>Ident::new</code> so that panics on
invalid input are attributed to the caller (<a
href="https://redirect.github.com/dtolnay/proc-macro2/issues/423">#423</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="cd31a69e9c"><code>cd31a69</code></a>
Release 1.0.70</li>
<li><a
href="4482662ae5"><code>4482662</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/proc-macro2/issues/423">#423</a>
from dtolnay/trackcaller</li>
<li><a
href="690ab11e04"><code>690ab11</code></a>
Track caller for Ident validation panics</li>
<li><a
href="f15383f9f0"><code>f15383f</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/proc-macro2/issues/422">#422</a>
from dtolnay/newchecked</li>
<li><a
href="ea2cd7f2e4"><code>ea2cd7f</code></a>
Rename internal Ident::new -&gt; Ident::new_checked</li>
<li><a
href="8059195101"><code>8059195</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/proc-macro2/issues/421">#421</a>
from dtolnay/identunchecked</li>
<li><a
href="805a6adf92"><code>805a6ad</code></a>
Bypass Ident validation on identifiers created by parser</li>
<li><a
href="c51346270e"><code>c513462</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/proc-macro2/issues/420">#420</a>
from dtolnay/newraw</li>
<li><a
href="bd778e1383"><code>bd778e1</code></a>
Delete Ident::_new_raw</li>
<li><a
href="0cb3649e01"><code>0cb3649</code></a>
Ignore checked_conversions pedantic clippy lint</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/proc-macro2/compare/1.0.69...1.0.70">compare
view</a></li>
</ul>
</details>
<br />

Updates `serde` from 1.0.192 to 1.0.193
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/serde-rs/serde/releases">serde's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.193</h2>
<ul>
<li>Fix field names used for the deserialization of
<code>RangeFrom</code> and <code>RangeTo</code> (<a
href="https://redirect.github.com/serde-rs/serde/issues/2653">#2653</a>,
<a
href="https://redirect.github.com/serde-rs/serde/issues/2654">#2654</a>,
<a
href="https://redirect.github.com/serde-rs/serde/issues/2655">#2655</a>,
thanks <a
href="https://github.com/emilbonnek"><code>@​emilbonnek</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="44613c7d01"><code>44613c7</code></a>
Release 1.0.193</li>
<li><a
href="c706281df3"><code>c706281</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/serde/issues/2655">#2655</a>
from dtolnay/rangestartend</li>
<li><a
href="65d75b8fe3"><code>65d75b8</code></a>
Add RangeFrom and RangeTo tests</li>
<li><a
href="332b0cba40"><code>332b0cb</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/serde/issues/2654">#2654</a>
from dtolnay/rangestartend</li>
<li><a
href="8c4af41296"><code>8c4af41</code></a>
Fix more RangeFrom / RangeEnd mixups</li>
<li><a
href="24a78f071b"><code>24a78f0</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/serde/issues/2653">#2653</a>
from emilbonnek/fix/range-to-from-de-mixup</li>
<li><a
href="c91c33436d"><code>c91c334</code></a>
Fix Range{From,To} deserialize mixup</li>
<li><a
href="2083f43a28"><code>2083f43</code></a>
Update ui test suite to nightly-2023-11-19</li>
<li>See full diff in <a
href="https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193">compare
view</a></li>
</ul>
</details>
<br />

Updates `ureq` from 2.8.0 to 2.9.1
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/algesten/ureq/blob/main/CHANGELOG.md">ureq's
changelog</a>.</em></p>
<blockquote>
<h1>2.9.1</h1>
<h2>Fixed</h2>
<ul>
<li>Unbreak feature <code>http-interop</code>. This feature is version
locked to http crate 0.2</li>
<li>New feature <code>http-crate</code>. This feature is for http crate
1.0</li>
<li>New feature <code>proxy-from-env</code> to detect proxy settings for
global Agent (ureq::get).</li>
</ul>
<h1>2.9.0</h1>
<h2>Fixed</h2>
<ul>
<li>Broken rustls dep (introduced new function in patch version) (<a
href="https://redirect.github.com/algesten/ureq/issues/677">#677</a>)</li>
<li>Doc and test fixes (<a
href="https://redirect.github.com/algesten/ureq/issues/670">#670</a>, <a
href="https://redirect.github.com/algesten/ureq/issues/673">#673</a>, <a
href="https://redirect.github.com/algesten/ureq/issues/674">#674</a>)</li>
</ul>
<h2>Added</h2>
<ul>
<li>Upgraded http dep to 1.0</li>
<li>http_interop to not require utf-8 headers (<a
href="https://redirect.github.com/algesten/ureq/issues/672">#672</a>)</li>
<li>http_interop implement conversion for
<code>http::request::Parts</code> (<a
href="https://redirect.github.com/algesten/ureq/issues/669">#669</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9092222fbd"><code>9092222</code></a>
2.9.1</li>
<li><a
href="73690436cb"><code>7369043</code></a>
Rename feature http -&gt; http-crate</li>
<li><a
href="87108e006d"><code>87108e0</code></a>
Support both http 0.2 and 1.0</li>
<li><a
href="89a69a5834"><code>89a69a5</code></a>
docs: update doc comment on <code>try_proxy_from_env</code> method to
reflect the `proxy...</li>
<li><a
href="395218de39"><code>395218d</code></a>
feat: add a feature flag &quot;proxy-from-env&quot; to control whether
or not to detect...</li>
<li><a
href="260213b3e2"><code>260213b</code></a>
2.9.0</li>
<li><a
href="c83ba95ac4"><code>c83ba95</code></a>
Update changelog</li>
<li><a
href="07b8925f3b"><code>07b8925</code></a>
Simpler version expression for rustls dep</li>
<li><a
href="c1bc86ad58"><code>c1bc86a</code></a>
http 1.0</li>
<li><a
href="916ffbffbe"><code>916ffbf</code></a>
Fix missing add_trust_anchors method due to lax rustls versioning</li>
<li>Additional commits viewable in <a
href="https://github.com/algesten/ureq/compare/2.8.0...2.9.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `url` from 2.4.1 to 2.5.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="00e9e18ce6"><code>00e9e18</code></a>
Update url 2.5.0 (<a
href="https://redirect.github.com/servo/rust-url/issues/885">#885</a>)</li>
<li><a
href="464b1f7d8f"><code>464b1f7</code></a>
Fix another overflow in punycode encode_into (<a
href="https://redirect.github.com/servo/rust-url/issues/880">#880</a>)</li>
<li><a
href="912d716b04"><code>912d716</code></a>
Correct spelling mistake in <code>Position</code> docs (<a
href="https://redirect.github.com/servo/rust-url/issues/875">#875</a>)</li>
<li><a
href="5f454e2031"><code>5f454e2</code></a>
Added #[must_use] Attributes for Configuration Options (<a
href="https://redirect.github.com/servo/rust-url/issues/876">#876</a>)</li>
<li><a
href="67fc2730b6"><code>67fc273</code></a>
Fix search setting for non-special urls with space, query and fragment
(<a
href="https://redirect.github.com/servo/rust-url/issues/879">#879</a>)</li>
<li><a
href="ae8d29e04a"><code>ae8d29e</code></a>
use checked addition to not panic in debug build (<a
href="https://redirect.github.com/servo/rust-url/issues/877">#877</a>)</li>
<li><a
href="e39c9a20be"><code>e39c9a2</code></a>
Fix clippy (<a
href="https://redirect.github.com/servo/rust-url/issues/878">#878</a>)</li>
<li>See full diff in <a
href="https://github.com/servo/rust-url/compare/v2.4.1...v2.5.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `tracing-subscriber` from 0.3.17 to 0.3.18
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tracing/releases">tracing-subscriber's
releases</a>.</em></p>
<blockquote>
<h2>tracing-subscriber 0.3.18</h2>
<p>This release of <code>tracing-subscriber</code> adds support for the
<a href="https://no-color.org/"><code>NO_COLOR</code></a> environment
variable (an informal standard to disable emitting ANSI color escape
codes) in
<code>fmt::Layer</code>, reintroduces support for the <a
href="https://github.com/chronotope/chrono"><code>chrono</code></a>
crate, and increases the
minimum supported Rust version (MSRV) to Rust 1.63.0.</p>
<p>It also introduces several minor API improvements.</p>
<h3>Added</h3>
<ul>
<li><strong>chrono</strong>: Add <a
href="https://github.com/chronotope/chrono"><code>chrono</code></a>
implementations of <code>FormatTime</code> (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2690">#2690</a>)</li>
<li><strong>subscriber</strong>: Add support for the <a
href="https://no-color.org/"><code>NO_COLOR</code></a> environment
variable in
<code>fmt::Layer</code> (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2647">#2647</a>)</li>
<li><strong>fmt</strong>: make <code>format::Writer::new()</code> public
(<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2680">#2680</a>)</li>
<li><strong>filter</strong>: Implement <code>layer::Filter</code> for
<code>Option&lt;Filter&gt;</code> (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2407">#2407</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li><strong>log</strong>: bump version of <code>tracing-log</code> to
0.2 (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2772">#2772</a>)</li>
<li>Increased minimum supported Rust version (MSRV) to 1.63.0+.</li>
</ul>
<p><a
href="https://redirect.github.com/tokio-rs/tracing/issues/2690">#2690</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2690">tokio-rs/tracing#2690</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2647">#2647</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2647">tokio-rs/tracing#2647</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2680">#2680</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2680">tokio-rs/tracing#2680</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2407">#2407</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2407">tokio-rs/tracing#2407</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2772">#2772</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2772">tokio-rs/tracing#2772</a></p>
<p>Thanks to <a
href="https://github.com/shayne-fletcher"><code>@​shayne-fletcher</code></a>,
<a href="https://github.com/dmlary"><code>@​dmlary</code></a>, <a
href="https://github.com/kaifastromai"><code>@​kaifastromai</code></a>,
and <a href="https://github.com/jsgf"><code>@​jsgf</code></a> for
contributing!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8b7a1dde69"><code>8b7a1dd</code></a>
chore: prepare tracing-subscriber 0.3.18 release (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2789">#2789</a>)</li>
<li><a
href="befb4de073"><code>befb4de</code></a>
chore: fix <code>ahash</code>-caused build breakage (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2792">#2792</a>)</li>
<li><a
href="1dc1e6a302"><code>1dc1e6a</code></a>
chore: bump <code>ahash</code> to 0.7.7 (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2794">#2794</a>)</li>
<li><a
href="abb23931ef"><code>abb2393</code></a>
chore: backport CI improvements (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2238">#2238</a>)</li>
<li><a
href="c6abc10c3a"><code>c6abc10</code></a>
chore: bump MSRV to 1.63 (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2793">#2793</a>)</li>
<li><a
href="4529182e60"><code>4529182</code></a>
attributes: added missing RecordTypes for instrument (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2781">#2781</a>)</li>
<li><a
href="7b594354cf"><code>7b59435</code></a>
subcriber: update docs for EnvFilter Builder (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2782">#2782</a>)</li>
<li><a
href="119f91a85c"><code>119f91a</code></a>
tracing: removed core imports in macros (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2762">#2762</a>)</li>
<li><a
href="346d6e6456"><code>346d6e6</code></a>
core: fix incorrect (incorrectly updated) docs for LevelFilter (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2767">#2767</a>)</li>
<li><a
href="8cdc9da202"><code>8cdc9da</code></a>
appender: remove <code>Sync</code> bound from writer for
<code>NonBlocking</code> (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2607">#2607</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.17...tracing-subscriber-0.3.18">compare
view</a></li>
</ul>
</details>
<br />

Updates `codspeed-criterion-compat` from 2.3.1 to 2.3.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/CodSpeedHQ/codspeed-rust/releases">codspeed-criterion-compat's
releases</a>.</em></p>
<blockquote>
<h2>v2.3.3</h2>
<h2>What's Changed</h2>
<h3><code>criterion-compat</code></h3>
<ul>
<li>Avoid creating a breaking change while adding generics to
<code>BenchmarkGroup</code> <a
href="https://github.com/art049"><code>@​art049</code></a> in <a
href="https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/30">CodSpeedHQ/codspeed-rust#30</a></li>
</ul>
<h3><code>cargo-codspeed</code></h3>
<ul>
<li>Correct <code>cargo-codspeed</code> repository url by <a
href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in
<a
href="https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/28">CodSpeedHQ/codspeed-rust#28</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a>
made their first contribution in <a
href="https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/28">CodSpeedHQ/codspeed-rust#28</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.3.2...v2.3.3">https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.3.2...v2.3.3</a></p>
<h2>v2.3.2 (yanked)</h2>
<h2>What's Changed</h2>
<ul>
<li>feat(criterion): <code>BenchmarkGroup</code> compat with
<code>Measurement</code> generic param and <code>plot_config</code> by
<a href="https://github.com/sdd"><code>@​sdd</code></a> in <a
href="https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/26">CodSpeedHQ/codspeed-rust#26</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/sdd"><code>@​sdd</code></a> made their
first contribution in <a
href="https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/26">CodSpeedHQ/codspeed-rust#26</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.3.1...v2.3.2">https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.3.1...v2.3.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fc751390d7"><code>fc75139</code></a>
Release 2.3.3</li>
<li><a
href="ca39531092"><code>ca39531</code></a>
feat(criterion): support explicit lifetime for BenchmarkGroup</li>
<li><a
href="487fdee134"><code>487fdee</code></a>
fix(criterion): add a default measurement to the benchmark group
struct</li>
<li><a
href="68a0039a4e"><code>68a0039</code></a>
chore: add codspeed badges in sub readmes</li>
<li><a
href="6064482e87"><code>6064482</code></a>
fix: correct repository_url for crates</li>
<li><a
href="dc6b1f1875"><code>dc6b1f1</code></a>
chroe: add the codspeed badge to the readme</li>
<li><a
href="3af70b54c9"><code>3af70b5</code></a>
Release 2.3.2</li>
<li><a
href="e033746ad1"><code>e033746</code></a>
feat(criterion): <code>BenchmarkGroup</code> compat with
<code>Measurement</code> generic param and...</li>
<li>See full diff in <a
href="https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.3.1...v2.3.3">compare
view</a></li>
</ul>
</details>
<br />

Updates `napi` from 2.14.0 to 2.14.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/napi-rs/napi-rs/releases">napi's
releases</a>.</em></p>
<blockquote>
<h2><code>@​napi-rs/cli</code><a
href="https://github.com/2"><code>@​2</code></a>.14.1</h2>
<h2>What's Changed</h2>
<ul>
<li>[Fix] Quote toml path by <a
href="https://github.com/TheBrenny"><code>@​TheBrenny</code></a> in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1410">napi-rs/napi-rs#1410</a></li>
<li>chore(cli): update CI template by <a
href="https://github.com/Brooooooklyn"><code>@​Brooooooklyn</code></a>
in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1416">napi-rs/napi-rs#1416</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/TheBrenny"><code>@​TheBrenny</code></a>
made their first contribution in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1410">napi-rs/napi-rs#1410</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/napi-rs/napi-rs/compare/napi@2.10.4...@napi-rs/cli@2.14.1">https://github.com/napi-rs/napi-rs/compare/napi@2.10.4...<code>@​napi-rs/cli</code><code>@​2.14.1</code></a></p>
<h2>napi-derive@2.14.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(napi-derive): async task void output type by <a
href="https://github.com/Brooooooklyn"><code>@​Brooooooklyn</code></a>
in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1795">napi-rs/napi-rs#1795</a></li>
<li>fix(napi-derive): async task optional output type by <a
href="https://github.com/Brooooooklyn"><code>@​Brooooooklyn</code></a>
in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1796">napi-rs/napi-rs#1796</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...napi-derive@2.14.1">https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...napi-derive@2.14.1</a></p>
<h2>napi@2.14.1</h2>
<h2>What's Changed</h2>
<ul>
<li>style(napi): clippy fix by <a
href="https://github.com/Brooooooklyn"><code>@​Brooooooklyn</code></a>
in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1815">napi-rs/napi-rs#1815</a></li>
<li>fix(napi): cargo doc build by <a
href="https://github.com/Brooooooklyn"><code>@​Brooooooklyn</code></a>
in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1819">napi-rs/napi-rs#1819</a></li>
<li>fix(napi): compile error for wasm32-unknown-unknown target by <a
href="https://github.com/Brooooooklyn"><code>@​Brooooooklyn</code></a>
in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1822">napi-rs/napi-rs#1822</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/napi-rs/napi-rs/compare/napi@2.14.0...napi@2.14.1">https://github.com/napi-rs/napi-rs/compare/napi@2.14.0...napi@2.14.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6a4f4f173d"><code>6a4f4f1</code></a>
chore(release): publish</li>
<li><a
href="e4ac44e560"><code>e4ac44e</code></a>
Release independent packages</li>
<li><a
href="8a9c42a985"><code>8a9c42a</code></a>
fix(napi): compile error for wasm32-unknown-unknown target</li>
<li><a
href="7dced934a7"><code>7dced93</code></a>
fix(napi): cargo doc build</li>
<li><a
href="751312cec9"><code>751312c</code></a>
test: add test file name into error message (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1821">#1821</a>)</li>
<li><a
href="7c3f8b514e"><code>7c3f8b5</code></a>
fix(napi-derive): compile warning (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1820">#1820</a>)</li>
<li><a
href="8c911b5d34"><code>8c911b5</code></a>
chore: upgrade emnapi dependencies (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1817">#1817</a>)</li>
<li><a
href="76dcf833da"><code>76dcf83</code></a>
chore(deps): update dependency emnapi to v0.44.0 (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1805">#1805</a>)</li>
<li><a
href="6df0ca112e"><code>6df0ca1</code></a>
chore: 🤖 align wasi template to nodejs demo (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1814">#1814</a>)</li>
<li><a
href="c321071c89"><code>c321071</code></a>
chore(deps): update dependency <code>@​emnapi/runtime</code> to v0.44.0
(<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1804">#1804</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/napi-rs/napi-rs/compare/napi@2.14.0...napi@2.14.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `napi-derive` from 2.14.1 to 2.14.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/napi-rs/napi-rs/releases">napi-derive's
releases</a>.</em></p>
<blockquote>
<h2>napi-derive@2.14.2</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(napi-derive): compile warning by <a
href="https://github.com/Brooooooklyn"><code>@​Brooooooklyn</code></a>
in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1820">napi-rs/napi-rs#1820</a></li>
<li>fix(napi): compile error for wasm32-unknown-unknown target by <a
href="https://github.com/Brooooooklyn"><code>@​Brooooooklyn</code></a>
in <a
href="https://redirect.github.com/napi-rs/napi-rs/pull/1822">napi-rs/napi-rs#1822</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2">https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6a4f4f173d"><code>6a4f4f1</code></a>
chore(release): publish</li>
<li><a
href="e4ac44e560"><code>e4ac44e</code></a>
Release independent packages</li>
<li><a
href="8a9c42a985"><code>8a9c42a</code></a>
fix(napi): compile error for wasm32-unknown-unknown target</li>
<li><a
href="7dced934a7"><code>7dced93</code></a>
fix(napi): cargo doc build</li>
<li><a
href="751312cec9"><code>751312c</code></a>
test: add test file name into error message (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1821">#1821</a>)</li>
<li><a
href="7c3f8b514e"><code>7c3f8b5</code></a>
fix(napi-derive): compile warning (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1820">#1820</a>)</li>
<li><a
href="8c911b5d34"><code>8c911b5</code></a>
chore: upgrade emnapi dependencies (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1817">#1817</a>)</li>
<li><a
href="76dcf833da"><code>76dcf83</code></a>
chore(deps): update dependency emnapi to v0.44.0 (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1805">#1805</a>)</li>
<li><a
href="6df0ca112e"><code>6df0ca1</code></a>
chore: 🤖 align wasi template to nodejs demo (<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1814">#1814</a>)</li>
<li><a
href="c321071c89"><code>c321071</code></a>
chore(deps): update dependency <code>@​emnapi/runtime</code> to v0.44.0
(<a
href="https://redirect.github.com/napi-rs/napi-rs/issues/1804">#1804</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 09:01:15 +00:00
.cargo ci: disable native build 2023-11-20 17:45:51 +08:00
.github ci: cargo test run --no-run --workspace -> cargo test --quiet --no-run 2023-11-23 21:55:41 +08:00
.vscode chore(vscode): improve dx (#1528) 2023-11-24 15:05:27 +08:00
crates chore(rust): remove unnecessary clippy::non_upper_case_globals (#1557) 2023-11-27 14:31:38 +08:00
editors/vscode fix(oxc_vscode): vscode extension - check on file change (not on file save) (#1525) 2023-11-27 12:20:50 +08:00
fuzz fix(fuzz): fix fuzzer failed to compile 2023-11-19 11:14:05 +08:00
napi refactor(rust): move to workspace lint table (#1444) 2023-11-20 14:38:10 +08:00
npm Release oxlint and vscode extension v0.0.18 2023-11-22 14:40:00 +08:00
tasks refactor(prettier): move comment printing to its own directory (#1556) 2023-11-27 14:22:15 +08:00
website feat(playground): add prettier IR output (#1350) 2023-11-16 20:42:02 +08:00
.git-blame-ignore-revs chore: update .git-blame-ignore-revs 2023-07-28 13:57:29 +08:00
.gitignore chore: add lint plugins to gitignore (#1524) 2023-11-24 10:43:34 +08:00
.gitmodules chore: update gitmodules for prettier 2023-11-16 10:49:07 +08:00
.ignore chore: add just watch command for overcoming cargo-watch being slow 2023-05-16 13:22:42 +08:00
.taplo.toml feat: Release resolver with NAPI (#1212) 2023-11-10 15:25:17 +00:00
.typos.toml feat(prettier_conformance): add prettier test runner (#1262) 2023-11-13 20:14:35 +08:00
Cargo.lock chore(deps): bump the dependencies group with 9 updates (#1558) 2023-11-27 09:01:15 +00:00
Cargo.toml chore(deps): bump the dependencies group with 9 updates (#1558) 2023-11-27 09:01:15 +00:00
CONTRIBUTING.md chore(CONTRIBUTING.md): Remove CLA notice 2023-11-10 14:32:59 +08:00
deny.toml ci: add cargo deny 2023-04-22 22:35:19 +08:00
justfile chore(justfile): update just update for syncing submodules 2023-11-21 18:57:32 +08:00
LICENSE Change license holder to @boshen 2023-11-10 14:26:11 +08:00
MAINTENANCE.md Release Oxc v0.3.0 2023-11-06 19:11:16 +08:00
README.md chore: format README.md 2023-11-17 13:51:31 +08:00
rust-toolchain.toml Rust v1.74.0 (#1357) 2023-11-16 15:21:45 +00:00
rustfmt.toml chore(rustfmt): disable all unstable format options 2023-07-27 13:11:46 +08:00
THIRD-PARTY-LICENSE Add prettier and biome to THIRD-PARTY-LICENSE 2023-11-14 13:03:14 +08:00

OXC Logo

MIT licensed Build Status Code Coverage CodSpeed Badge Sponsors

Discord chat Playground

Oxc

The Oxidation Compiler is creating a suite of high-performance tools for JavaScript and TypeScript.

Oxc is building a parser, linter, formatter, transpiler, minifier, resolver ... all written in Rust.

💡 Philosophy

This project shares the same philosophies as Biome and Ruff.

  1. JavaScript tooling could be rewritten in a more performant language.
  2. An integrated toolchain can tap into efficiencies that are not available to a disparate set of tools.

Quick Start

The linter is ready to catch mistakes for you. It comes with over 60 default rules and no configuration is required.

To start using, install oxlint or via npx:

npx oxlint@latest

To give you an idea of its capabilities, here is an example from the vscode repository, which finishes linting 4000+ files in 0.5 seconds.

Performance

  • The parser aim to be the fastest Rust-based ready-for-production parser.
  • The linter is more than 50 times faster than ESLint, and scales with the number of CPU cores.

⌨️ Programming Usage

Rust

Individual crates are published, you may use them to build your own JavaScript tools.

  • The umbrella crate oxc exports all public crates from this repository.
  • The AST and parser crates oxc_ast and oxc_parser are production ready.
  • See crates/*/examples for example usage.

While Rust has gained a reputation for its comparatively slower compilation speed, we have dedicated significant effort to fine-tune the Rust compilation speed. Our aim is to minimize any impact on your development workflow, ensuring that developing your own Oxc based tools remains a smooth and efficient experience.

This is demonstrated by our CI runs, where warm runs complete in 5 minutes.

Node.js


🎯 Tools

🔸 AST and Parser

Oxc maintains its own AST and parser, which is by far the fastest and most conformant JavaScript and TypeScript (including JSX and TSX) parser written in Rust.

As the parser often represents a key performance bottleneck in JavaScript tooling, any minor improvements can have a cascading effect on our downstream tools. By developing our parser, we have the opportunity to explore and implement well-researched performance techniques.

While many existing JavaScript tools rely on estree as their AST specification, a notable drawback is its abundance of ambiguous nodes. This ambiguity often leads to confusion during development with estree.

The Oxc AST differs slightly from the estree AST by removing ambiguous nodes and introducing distinct types. For example, instead of using a generic estree Identifier, the Oxc AST provides specific types such as BindingIdentifier, IdentifierReference, and IdentifierName. This clear distinction greatly enhances the development experience by aligning more closely with the ECMAScript specification.

🏆 Parser Performance

Our benchmark reveals that the Oxc parser surpasses the speed of the swc parser by approximately 2 times and the Biome parser by 3 times.

How is it so fast?
  • AST is allocated in a memory arena (bumpalo) for fast AST memory allocation and deallocation.
  • Short strings are inlined by CompactString.
  • No other heap allocations are done except the above two.
  • Scope binding, symbol resolution and some syntax errors are not done in the parser, they are delegated to the semantic analyzer.

🔸 Linter

The linter embraces convention over configuration, eliminating the need for extensive configuration and plugin setup. Unlike other linters like ESLint, which often require intricate configurations and plugin installations (e.g. @typescript-eslint), our linter only requires a single command that you can immediately run on your codebase:

npx oxlint@latest

We also plan to port essential plugins such as eslint-plugin-import and eslint-plugin-jest.

🏆 Linter Performance

The linter is 50 - 100 times faster than ESLint depending on the number of rules and number of CPU cores used. It completes in less than a second for most codebases with a few hundred files and completes in a few seconds for larger monorepos. See bench-javascript-linter for details.

As an upside, the binary is approximately 3MB, whereas ESLint and its associated plugin dependencies can easily exceed 100.

You may also download the linter binary from the latest release tag as a standalone binary, this lets you run the linter without a Node.js installation in your CI.

How is it so fast?
  • Oxc parser is used.
  • AST visit is a fast operation due to linear memory scan from the memory arena.
  • Files are linted in a multi-threaded environment, so scales with the total number of CPU cores.
  • Every single lint rule is tuned for performance.

Linter Plugin

We are currently developing a DSL-based plugin system. The plugin system uses trustfall as its query engine and a subset of GraphQL as its query language.

You will not need to use JavaScript or Rust to write a plugin, this is useful for QAs and security researchers.

🔸 Resolver

Module resolution plays a crucial role in JavaScript tooling, especially for tasks like multi-file analysis or bundling. However, it can often become a performance bottleneck. To address this, we are actively working on porting enhanced-resolve.

eslint-plugin-import will be our first application for the resolver, since it is currently a performance and complexity blocker for a lot of projects.

🔸 Transpiler

A transpiler is responsible for turning higher versions of ECMAScript to a lower version that can be used in older browsers. We are currently focusing on an esnext to es2015 transpiler. See the umbrella issue for details.

🔸 Minifier

JavaScript minification plays a crucial role in optimizing website performance as it reduces the amount of data sent to users, resulting in faster page loads. This holds tremendous economic value, particularly for e-commerce websites, where every second can equate to millions of dollars.

However, existing minifiers typically require a trade-off between compression quality and speed. You have to choose between the slowest for the best compression or the fastest for less compression. But what if we could develop a faster minifier without compromising on compression?

We are actively working on a prototype that aims to achieve this goal, by porting all test cases from well-known minifiers such as google-closure-compiler, terser, esbuild, and tdewolff-minify.

Preliminary results indicate that we are on track to achieve our objectives. With the Oxc minifier, you can expect faster minification times without sacrificing compression quality.

🔸 Formatter

While prettier has established itself as the de facto code formatter for JavaScript, there is a significant demand in the developer community for a less opinionated alternative. Recognizing this need, our ambition is to undertake research and development to create a new JavaScript formatter that offers increased flexibility and customization options. Unfortunately we are currently lacking the resources to do so.

🔸 Ezno Type Checker

Developed by @kaleidawave, ezno is a TypeScript checker written in Rust with a focus on static analysis and runtime performance. You may read the announcement blog post for more information.

The type checker is available via npx oxidation-compiler@latest check path and the playground.


✍️ Contribute

See CONTRIBUTING.md for guidance.

Check out some of the good first issues or ask us on Discord.

If you are unable to contribute by code, you can still participate by:

📚 Learning Resources

🧑‍💻 Maintenance

Oxc is being maintained by Boshen as the project lead with the help of contributors from all over the world.

Rules of thumb:

  • APIs should be simple and well-documented.
  • All performance issues (runtime and compilation speed) are considered as bugs in this project.
  • Third-party dependencies should be minimal.
  • Monitor code coverage for unused code. Aim for 99% code coverage.
  • Embrace data-oriented design.
  • Prefer smaller PRs. Try graphite.dev.

🤝 Credits

This project was incubated with the assistance of these exceptional mentors and their projects:

Special thanks go to

And also

📖 License

Oxc is free and open-source software licensed under the MIT License.

Oxc partially copies code from the following projects, their licenses are listed in Third-party library licenses.

Project License
eslint/eslint MIT
typescript-eslint/typescript-eslint MIT
import-js/eslint-plugin-import MIT
jest-community/eslint-plugin-jest MIT
microsoft/TypeScript Apache 2.0
biomejs/biome MIT
mozilla-spidermonkey/jsparagus MIT Apache 2.0
prettier/prettier MIT
acorn MIT
zkat/miette Apache 2.0
sindresorhus/globals MIT
terser BSD
evanw/esbuild MIT
google/closure-compiler Apache 2.0
tdewolff/minify MIT
parcel-bundler/parcel MIT
dividab/tsconfig-paths MIT
tmccombs/json-comments-rs Apache 2.0