Skip to content

Commit

Permalink
[deps]: Update rust-wasm-bindgen monorepo (#602)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [js-sys](https://rustwasm.github.io/wasm-bindgen/)
([source](https://togithub.com/rustwasm/wasm-bindgen/tree/HEAD/crates/js-sys))
| dependencies | patch | `0.3.67` -> `0.3.68` |
| [wasm-bindgen](https://rustwasm.github.io/)
([source](https://togithub.com/rustwasm/wasm-bindgen)) | dependencies |
patch | `0.2.90` -> `0.2.91` |
| [wasm-bindgen-futures](https://rustwasm.github.io/wasm-bindgen/)
([source](https://togithub.com/rustwasm/wasm-bindgen/tree/HEAD/crates/futures))
| dependencies | patch | `0.4.40` -> `0.4.41` |
| [wasm-bindgen-test](https://togithub.com/rustwasm/wasm-bindgen) |
dev-dependencies | patch | `0.3.40` -> `0.3.41` |

---

### Release Notes

<details>
<summary>rustwasm/wasm-bindgen (wasm-bindgen)</summary>

###
[`v0.2.91`](https://togithub.com/rustwasm/wasm-bindgen/blob/HEAD/CHANGELOG.md#0291)

[Compare
Source](https://togithub.com/rustwasm/wasm-bindgen/compare/0.2.90...0.2.91)

Released 2024-02-06

##### Added

- Added bindings for the `RTCRtpTransceiver.setCodecPreferences()` and
unstable bindings for the `RTCRtpEncodingParameters.scalabilityMode`.
    [#&#8203;3828](https://togithub.com/rustwasm/wasm-bindgen/pull/3828)

-   Add unstable bindings for the FileSystemAccess API
    [#&#8203;3810](https://togithub.com/rustwasm/wasm-bindgen/pull/3810)

- Added support for running tests in shared and service workers with
`wasm_bindgen_test_configure!` `run_in_shared_worker` and
`run_in_service_worker`.
    [#&#8203;3804](https://togithub.com/rustwasm/wasm-bindgen/pull/3804)

-   Accept the `--skip` flag with `wasm-bindgen-test-runner`.
    [#&#8203;3803](https://togithub.com/rustwasm/wasm-bindgen/pull/3803)

- Introduce environment variable `WASM_BINDGEN_TEST_NO_ORIGIN_ISOLATION`
to disable origin isolation for `wasm-bindgen-test-runner`.
    [#&#8203;3807](https://togithub.com/rustwasm/wasm-bindgen/pull/3807)

-   Add bindings for `USBDevice.forget()`.
    [#&#8203;3821](https://togithub.com/rustwasm/wasm-bindgen/pull/3821)

##### Changed

-   Stabilize `ClipboardEvent`.
    [#&#8203;3791](https://togithub.com/rustwasm/wasm-bindgen/pull/3791)

-   Use immutable buffers in `SubtleCrypto` methods.
    [#&#8203;3797](https://togithub.com/rustwasm/wasm-bindgen/pull/3797)

- Deprecate `wasm_bindgen_test_configure!`s `run_in_worker` in favor of
`run_in_dedicated_worker`.
    [#&#8203;3804](https://togithub.com/rustwasm/wasm-bindgen/pull/3804)

- Updated the WebGPU WebIDL to the current draft as of 2024-01-30. Note
that this retains the previous update's workaround for
`GPUPipelineError`, and holds back an update to the `buffer` argument of
the `GPUQueue.{writeBuffer,writeTexture}` methods.
    [#&#8203;3816](https://togithub.com/rustwasm/wasm-bindgen/pull/3816)

- Depreate `--weak-refs` and `WASM_BINDGEN_WEAKREF` in favor of
automatic run-time detection.
    [#&#8203;3822](https://togithub.com/rustwasm/wasm-bindgen/pull/3822)

##### Fixed

- Fixed UB when freeing strings received from JS if not using the
default allocator.
    [#&#8203;3808](https://togithub.com/rustwasm/wasm-bindgen/pull/3808)

- Fixed temporary folder detection by `wasm-bindgen-test-runner` on
MacOS.
    [#&#8203;3817](https://togithub.com/rustwasm/wasm-bindgen/pull/3817)

- Fixed using `#[wasm_bindgen(js_name = default)]` with
`#[wasm_bindgen(module = ...)]`.
    [#&#8203;3823](https://togithub.com/rustwasm/wasm-bindgen/pull/3823)

-   Fixed nighly build of `wasm-bindgen-futures`.
    [#&#8203;3827](https://togithub.com/rustwasm/wasm-bindgen/pull/3827)

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every 2nd week starting on the 2 week
of the year before 4am on Monday" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bitwarden/sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Feb 12, 2024
1 parent 65b59f1 commit 2290bc8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions crates/bitwarden-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ crate-type = ["cdylib"]
[dependencies]
console_error_panic_hook = "0.1.7"
console_log = { version = "1.0.0", features = ["color"] }
js-sys = "0.3.67"
js-sys = "0.3.68"
log = "0.4.20"
serde = { version = "1.0.196", features = ["derive"] }
wasm-bindgen = { version = "0.2.90", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.40"
wasm-bindgen = { version = "0.2.91", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.41"

bitwarden-json = { path = "../bitwarden-json", features = [
"secrets",
"internal",
] }

[dev-dependencies]
wasm-bindgen-test = "0.3.40"
wasm-bindgen-test = "0.3.41"

0 comments on commit 2290bc8

Please sign in to comment.