Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(deps): update dependency @napi-rs/wasm-runtime to v1 #1027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
renovate wants to merge 1 commit into main
base: main
Choose a base branch
Loading
from renovate/napi-rs-wasm-runtime-1.x

Conversation

Copy link
Contributor

@renovate renovate bot commented Jul 17, 2025
edited
Loading

This PR contains the following updates:

Package Change Age Confidence
@napi-rs/wasm-runtime (source) ^0.2.5 -> ^1.0.0 age confidence

Release Notes

napi-rs/napi-rs (@​napi-rs/wasm-runtime)

v1.0.3

Compare Source

What's Changed
New Contributors

Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-v3.2.0...@​napi-rs/wasm-runtime@1.0.3

v1.0.2

Compare Source

What's Changed

Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-v3.1.6...@​napi-rs/wasm-runtime@1.0.2

v1.0.1

Compare Source

What's Changed

Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/wasm-runtime@1.0.0...@​napi-rs/wasm-runtime@1.0.1

v1.0.0: napi@1.0.0

Compare Source

Breaking changes
Module register

The old way:

register_module!(test_module, init);
fn init(module: &mut Module) -> Result<()> {
 // ....
 Ok(())
}

The new way:

#[module_exports]
fn init(mut exports: JsObject) -> Result<()> {
 // ...
 Ok(())
}

or

#[module_exports]
fn init(mut exports: JsObject, env: Env) -> Result<()> {
 // ...
 Ok(())
}
Task
- pub trait Task: Send {
+ pub trait Task: Send + Sized {
 type Output: Send + Sized + 'static;
 type JsValue: NapiValue;
- fn compute(&self) -> Result<Self::Output>;
+ fn compute(&mut self) -> Result<Self::Output>;
- fn resolve(&self, env: &mut Env, output: Self::Output) -> Result<Self::JsValue>;
+ fn resolve(self, env: Env, output: Self::Output) -> Result<Self::JsValue>;
+ fn reject(self, _env: Env, err: Error) -> Result<Self::JsValue> {
+ Err(err)
+ }
}

v0.2.12

Compare Source

v0.2.11

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.87...@​napi-rs/wasm-runtime@0.2.11

v0.2.10

Compare Source

What's Changed

Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/wasm-runtime@0.2.9...@​napi-rs/wasm-runtime@0.2.10

v0.2.9

Compare Source

v0.2.8

Compare Source

v0.2.7

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/napi-rs-wasm-runtime-1.x branch from 3009c22 to 215876c Compare July 21, 2025 14:01
@renovate renovate bot force-pushed the renovate/napi-rs-wasm-runtime-1.x branch 2 times, most recently from 296b4b7 to beb66e5 Compare August 8, 2025 13:09
@renovate renovate bot force-pushed the renovate/napi-rs-wasm-runtime-1.x branch 5 times, most recently from 6e6c92b to 31b0a37 Compare August 16, 2025 14:28
@renovate renovate bot force-pushed the renovate/napi-rs-wasm-runtime-1.x branch from 31b0a37 to d454bf7 Compare August 16, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

AltStyle によって変換されたページ (->オリジナル) /