Browse Source

Bump getrandom from 0.2.7 to 0.2.8 (#2359)

Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.7 to 0.2.8.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p>
<blockquote>
<h2>[0.2.8] - 2022-10-20</h2>
<h3>Changed</h3>
<ul>
<li>The <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API">Web Cryptography API</a> will now be preferred on <code>wasm32-unknown-unknown</code>
when using the <code>&quot;js&quot;</code> feature, even on Node.js <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a></li>
</ul>
<h3>Added</h3>
<ul>
<li>Added benchmarks to track buffer initialization cost <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/272">#272</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Use <code>$crate</code> in <code>register_custom_getrandom!</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/270">#270</a></li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add information about enabling <code>&quot;js&quot;</code> feature <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a></li>
<li>Fix link to <code>wasm-bindgen</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a></li>
<li>Document the varied implementations for underlying randomness sources <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/276">#276</a></li>
</ul>
<p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/284">rust-random/getrandom#284</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/295">rust-random/getrandom#295</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/272">#272</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/272">rust-random/getrandom#272</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/270">#270</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/270">rust-random/getrandom#270</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/280">rust-random/getrandom#280</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/278">rust-random/getrandom#278</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/276">#276</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/276">rust-random/getrandom#276</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5c1bb00b74"><code>5c1bb00</code></a> Release v0.2.8 (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/294">#294</a>)</li>
<li><a href="353d0ca157"><code>353d0ca</code></a> Update docs for wasm32-unknown-unknown implementation (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a>)</li>
<li><a href="cfdad53dce"><code>cfdad53</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a> from rust-random/webcrypto</li>
<li><a href="9962c706c9"><code>9962c70</code></a> Update Module::require internal comments</li>
<li><a href="e0c93b10d5"><code>e0c93b1</code></a> Catch call to module.require</li>
<li><a href="0503000381"><code>0503000</code></a> Fix link typo</li>
<li><a href="0579fe3014"><code>0579fe3</code></a> Update documentation and error messages</li>
<li><a href="d69e8e003b"><code>d69e8e0</code></a> Rework JS feature detection</li>
<li><a href="d3aa089bbd"><code>d3aa089</code></a> Add description about Cargo js feature for WebAssembly section (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a>)</li>
<li><a href="0b71d50b49"><code>0b71d50</code></a> Fix link to wasm-bindgen (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-random/getrandom/compare/v0.2.7...v0.2.8">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=getrandom&package-manager=cargo&previous-version=0.2.7&new-version=0.2.8)](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>
pull/2365/head
dependabot[bot] 2 years ago
parent
commit
f6e189e628
  1. 4
      Cargo.lock
  2. 2
      boa_wasm/Cargo.toml

4
Cargo.lock generated

@ -660,9 +660,9 @@ dependencies = [
[[package]]
name = "getrandom"
version = "0.2.7"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6"
checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
dependencies = [
"cfg-if",
"js-sys",

2
boa_wasm/Cargo.toml

@ -14,7 +14,7 @@ rust-version.workspace = true
[dependencies]
boa_engine = { workspace = true, features = ["console"] }
wasm-bindgen = "0.2.83"
getrandom = { version = "0.2.7", features = ["js"] }
getrandom = { version = "0.2.8", features = ["js"] }
[lib]
crate-type = ["cdylib", "lib"]

Loading…
Cancel
Save