Rust编写的JavaScript引擎,该项目是一个试验性质的项目。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
962 B

[package]
name = "boa_cli"
version = "0.15.0"
edition = "2021"
rust-version = "1.60"
authors = ["boa-dev"]
description = "Boa is a Javascript lexer, parser and Just-in-Time compiler written in Rust. Currently, it has support for some of the language."
repository = "https://github.com/boa-dev/boa"
keywords = ["javascript", "compiler", "lexer", "parser", "js", "cli"]
categories = ["command-line-utilities"]
license = "Unlicense/MIT"
default-run = "boa"
[dependencies]
boa_engine = { path = "../boa_engine", features = ["deser", "console"], version = "0.15.0" }
boa_interner = { path = "../boa_interner", version = "0.15.0" }
rustyline = "10.0.0"
Bump rustyline-derive from 0.6.0 to 0.7.0 (#2186) Bumps [rustyline-derive](https://github.com/kkawakam/rustyline) from 0.6.0 to 0.7.0. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/kkawakam/rustyline/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rustyline-derive&package-manager=cargo&previous-version=0.6.0&new-version=0.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 years ago
rustyline-derive = "0.7.0"
Bump clap from 3.2.14 to 3.2.15 (#2205) Bumps [clap](https://github.com/clap-rs/clap) from 3.2.14 to 3.2.15. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v3.2.15</h2> <h2>[3.2.15] - 2022-07-25</h2> <h3>Features</h3> <ul> <li><em>(derive)</em> New <code>default_values_t</code> and <code>default_values_os_t</code> attributes</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/v3.2.15/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[3.2.15] - 2022-07-25</h2> <h3>Features</h3> <ul> <li><em>(derive)</em> New <code>default_values_t</code> and <code>default_values_os_t</code> attributes</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/clap-rs/clap/commit/b2a8fd7f46a7480512d5af8157041f5ce4c2c2b7"><code>b2a8fd7</code></a> chore: Release</li> <li><a href="https://github.com/clap-rs/clap/commit/026e8580651091c2b2cfedb9a79b7cf695cccc33"><code>026e858</code></a> chore: Allow releasing from release branches</li> <li><a href="https://github.com/clap-rs/clap/commit/84ae6df0a1b4422b611be8c7459f7f244cadfdd2"><code>84ae6df</code></a> docs: Update changelog</li> <li><a href="https://github.com/clap-rs/clap/commit/69b0904eda6e8ef4edd65f555c1e2b63f809e055"><code>69b0904</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3987">#3987</a> from emersonford/default-values-t-v3-backport</li> <li><a href="https://github.com/clap-rs/clap/commit/027a67542bf3097b486f045f76ea7d9a8f833d63"><code>027a675</code></a> feat(clap_derive): Add <code>default_values_t</code> and <code>default_values_os_t</code></li> <li><a href="https://github.com/clap-rs/clap/commit/9262d924bc9d729d5356555f3b6facd8bcc68ba1"><code>9262d92</code></a> chore(gh): Start v3 patch maintenance</li> <li><a href="https://github.com/clap-rs/clap/commit/19371247fc42b24dd8d381a635a1c7065db55ce3"><code>1937124</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3961">#3961</a> from epage/prep</li> <li><a href="https://github.com/clap-rs/clap/commit/0eeb4da33d3853a4bd04c2838a3d7ef01a4f40b1"><code>0eeb4da</code></a> chore(gh): Prepare for more branches to be added</li> <li>See full diff in <a href="https://github.com/clap-rs/clap/compare/v3.2.14...v3.2.15">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=3.2.14&new-version=3.2.15)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 years ago
clap = { version = "3.2.15", features = ["derive"] }
Bump serde_json from 1.0.81 to 1.0.82 (#2152) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.81 to 1.0.82. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.82</h2> <ul> <li>Implement <code>From&lt;Option&lt;T&gt;&gt;</code> for serde_json::Value where <code>T: Into&lt;Value&gt;</code> (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/900">#900</a>, thanks <a href="https://github.com/kvnvelasco"><code>@​kvnvelasco</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/json/commit/f286714a4bdc476705f8fb95e1d2d5593d7c11fd"><code>f286714</code></a> Release 1.0.82</li> <li><a href="https://github.com/serde-rs/json/commit/df704c246808a1ba83b90ee5672d4cf02bbb9f5e"><code>df704c2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/900">#900</a> from kvnvelasco/implement_from_option_for_value</li> <li><a href="https://github.com/serde-rs/json/commit/b87778bf54dd4d7dc63aacd4c1d7f48e33317fa2"><code>b87778b</code></a> don't use experimental (in 1.36) Self:: access for enums</li> <li><a href="https://github.com/serde-rs/json/commit/1bf61e9c087c33cc13063b538678120b2ca1d8e3"><code>1bf61e9</code></a> make Value be From&lt;Option<!-- raw HTML omitted -->&gt;</li> <li><a href="https://github.com/serde-rs/json/commit/3d173405c2e63d0ce2dc575288b164c2ae265f3d"><code>3d17340</code></a> Bump oldest rustc for preserve_order feature to 1.56.1</li> <li><a href="https://github.com/serde-rs/json/commit/dab5ed3ee97cef5e2b796513f8d9e4c7416e44bf"><code>dab5ed3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/895">#895</a> from dtolnay/ref</li> <li><a href="https://github.com/serde-rs/json/commit/05e03ee181c56bd67c5315f1f68e8392da537128"><code>05e03ee</code></a> Eliminate all use of ref keyword</li> <li><a href="https://github.com/serde-rs/json/commit/45f1c4a7441b81fab9824ee46b844d64233750e5"><code>45f1c4a</code></a> Resolve borrow_deref_ref clippy lint</li> <li><a href="https://github.com/serde-rs/json/commit/de5c34b704c7a6cb764c5ef5742457c7f00155e3"><code>de5c34b</code></a> Resolve get_first clippy lint</li> <li><a href="https://github.com/serde-rs/json/commit/6b91c96f8d508fae5e3c8f69b57e5b363c769384"><code>6b91c96</code></a> Check for outdated deps in fuzz target</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.81...v1.0.82">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.81&new-version=1.0.82)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 years ago
serde_json = "1.0.82"
colored = "2.0.0"
Bump regex from 1.5.6 to 1.6.0 (#2168) Bumps [regex](https://github.com/rust-lang/regex) from 1.5.6 to 1.6.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's changelog</a>.</em></p> <blockquote> <h1>1.6.0 (2022-07-05)</h1> <p>This release principally includes an upgrade to Unicode 14.</p> <p>New features:</p> <ul> <li>[FEATURE <a href="https://github-redirect.dependabot.com/rust-lang/regex/issues/832">#832</a>](<a href="https://github-redirect.dependabot.com/rust-lang/regex/pull/832">rust-lang/regex#832</a>): Clarify that <code>Captures::len</code> includes all groups, not just matching groups.</li> <li>[FEATURE <a href="https://github-redirect.dependabot.com/rust-lang/regex/issues/857">#857</a>](<a href="https://github-redirect.dependabot.com/rust-lang/regex/pull/857">rust-lang/regex#857</a>): Add an <code>ExactSizeIterator</code> impl for <code>SubCaptureMatches</code>.</li> <li>[FEATURE <a href="https://github-redirect.dependabot.com/rust-lang/regex/issues/861">#861</a>](<a href="https://github-redirect.dependabot.com/rust-lang/regex/pull/861">rust-lang/regex#861</a>): Improve <code>RegexSet</code> documentation examples.</li> <li>[FEATURE <a href="https://github-redirect.dependabot.com/rust-lang/regex/issues/877">#877</a>](<a href="https://github-redirect.dependabot.com/rust-lang/regex/issues/877">rust-lang/regex#877</a>): Upgrade to Unicode 14.</li> </ul> <p>Bug fixes:</p> <ul> <li>[BUG <a href="https://github-redirect.dependabot.com/rust-lang/regex/issues/792">#792</a>](<a href="https://github-redirect.dependabot.com/rust-lang/regex/issues/792">rust-lang/regex#792</a>): Fix error message rendering bug.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-lang/regex/commit/fc9ee6a249f2d594713c16b1646670924b33334d"><code>fc9ee6a</code></a> 1.6.0</li> <li><a href="https://github.com/rust-lang/regex/commit/8ddc8ece4bd3ca4cdd068c6895f44fd57b682951"><code>8ddc8ec</code></a> deps: bump regex-syntax to 0.6.27</li> <li><a href="https://github.com/rust-lang/regex/commit/8c0eccd0c6e775eae8a258d6bd43aca2e5ff92e5"><code>8c0eccd</code></a> regex-syntax-0.6.27</li> <li><a href="https://github.com/rust-lang/regex/commit/dee5c25d8e4f030182bf61ca56b8819ae0c2f7f2"><code>dee5c25</code></a> changelog: 1.6.0</li> <li><a href="https://github.com/rust-lang/regex/commit/9ca3099037dcb2faf1b49e6493f4c758532f2da1"><code>9ca3099</code></a> regex: fix clippy lints up to rust 1.41.1</li> <li><a href="https://github.com/rust-lang/regex/commit/de838287bb9ebd554c078ee75a8e69a59f6e3820"><code>de83828</code></a> syntax: fix clippy lints up to rust 1.41.1</li> <li><a href="https://github.com/rust-lang/regex/commit/b87cd88476a0eb4c0187321a6ab42c7644531b67"><code>b87cd88</code></a> syntax: include only the start of the character class on error</li> <li><a href="https://github.com/rust-lang/regex/commit/9d1478cfb5616a4f289c015fffaf7f6228b72b56"><code>9d1478c</code></a> doc: fix typos</li> <li><a href="https://github.com/rust-lang/regex/commit/7d21662735ffdf585ca6bff773d997fe44a4f868"><code>7d21662</code></a> doc: clarify Captures::len includes non-matching captures</li> <li><a href="https://github.com/rust-lang/regex/commit/5e98788947b28da3da27f4e156b877eb0cb1593e"><code>5e98788</code></a> perf: use is_match_at instead of shortest_match_at</li> <li>Additional commits viewable in <a href="https://github.com/rust-lang/regex/compare/1.5.6...1.6.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.5.6&new-version=1.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 years ago
regex = "1.6.0"
phf = { version = "0.11.0", features = ["macros"] }
[target.x86_64-unknown-linux-gnu.dependencies]
Bump jemallocator from 0.3.2 to 0.5.0 (#2088) Bumps [jemallocator](https://github.com/tikv/jemallocator) from 0.3.2 to 0.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tikv/jemallocator/releases">jemallocator's releases</a>.</em></p> <blockquote> <h2>0.4.3</h2> <ul> <li>Added riscv64 support (<a href="https://github-redirect.dependabot.com/tikv/jemallocator/issues/14">#14</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tikv/jemallocator/blob/main/CHANGELOG.md">jemallocator's changelog</a>.</em></p> <blockquote> <h1>0.5.0 - 2022-05-19</h1> <ul> <li>Update jemalloc to 5.3.0 (<a href="https://github-redirect.dependabot.com/tikv/jemallocator/issues/23">#23</a>)</li> </ul> <h1>0.4.3 - 2022-02-21</h1> <ul> <li>Added riscv64 support (<a href="https://github-redirect.dependabot.com/tikv/jemallocator/issues/14">#14</a>)</li> </ul> <h1>0.4.2 - 2021-08-09</h1> <ul> <li>Fixed prof not working under certain condition (<a href="https://github-redirect.dependabot.com/tikv/jemallocator/issues/9">#9</a>) (<a href="https://github-redirect.dependabot.com/tikv/jemallocator/issues/12">#12</a>)</li> <li>Updated paste to 1 (<a href="https://github-redirect.dependabot.com/tikv/jemallocator/issues/11">#11</a>)</li> </ul> <h1>0.4.1 - 2020-11-16</h1> <ul> <li>Updated jemalloc to fix deadlock during initialization</li> <li>Fixed failure of generating docs on release version</li> </ul> <h1>0.4.0 - 2020-07-21</h1> <ul> <li>Forked from jemallocator master</li> <li>Upgraded jemalloc to 5.2.1 (<a href="https://github-redirect.dependabot.com/tikv/jemallocator/issues/1">#1</a>)</li> <li>Fixed wrong version in generated C header (<a href="https://github-redirect.dependabot.com/tikv/jemallocator/issues/1">#1</a>)</li> <li>Upgraded project to 2018 edition (<a href="https://github-redirect.dependabot.com/tikv/jemallocator/issues/2">#2</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/tikv/jemallocator/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jemallocator&package-manager=cargo&previous-version=0.3.2&new-version=0.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
3 years ago
jemallocator = "0.5.0"
[[bin]]
name = "boa"
5 years ago
doc = false
path = "src/main.rs"