Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Rust crate napi to 2.16.4 (#1847)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [napi](https://togithub.com/napi-rs/napi-rs) | dependencies | minor | `2` -> `2.16.4` | --- ### Release Notes <details> <summary>napi-rs/napi-rs (napi)</summary> ### [`v2.16.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.16.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.16.3...napi@2.16.4) #### What changed - feat(napi): allow user defined tokio runtime by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) [#​2040](https://togithub.com/napi-rs/napi-rs/issues/2040) - fix(napi): handle panic in async block by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) ([napi-rs/napi-rs#2050) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.16.2...napi@2.16.4 ### [`v2.16.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.16.2...napi@2.16.3) #### What Changed - fix(napi-derive): bail the unexpected factory directive by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) [#​2051](https://togithub.com/napi-rs/napi-rs/issues/2051) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4...napi-derive@2.16.3 ### [`v2.16.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.16.1...napi@2.16.2) ##### What's Changed - feat(napi-derive): enhance the error messages in object validator by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#2034 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.1...napi-derive@2.16.2 ### [`v2.16.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.16.0...napi@2.16.1) #### What's Changed - feat(napi-derive): add optional enum_string case conversion by [@​andrewtoth](https://togithub.com/andrewtoth) in [napi-rs/napi-rs#1995 #### New Contributors - [@​andrewtoth](https://togithub.com/andrewtoth) made their first contribution in [napi-rs/napi-rs#1995 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.0...napi-derive@2.16.1 ### [`v2.16.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.15.4...napi@2.16.0) #### What's Changed - feat(napi-derive): add use_nullable attribute by [@​sup39](https://togithub.com/sup39) in [napi-rs/napi-rs#1971 - style(napi-derive): clippy fix by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1976 - fix(napi-derive): HashMap/IndexMap and slice generated types by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1977 - fix(napi-derive): wrong dependency condition by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1980 #### New Contributors - [@​sup39](https://togithub.com/sup39) made their first contribution in [napi-rs/napi-rs#1971 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.15.4...napi-derive@2.16.0 ### [`v2.15.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.15.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.15.2...napi@2.15.4) #### What's Changed - fix(napi): no hard fail on ThreadsafeFunction::call_async by [@​lbarthon](https://togithub.com/lbarthon) in [napi-rs/napi-rs#1970 - fix(napi): JsObject.add_finalizer callback being allowed to reference non-static things by [@​tomb-msft](https://togithub.com/tomb-msft) in [napi-rs/napi-rs#1968 #### New Contributors - [@​tomb-msft](https://togithub.com/tomb-msft) made their first contribution in [napi-rs/napi-rs#1968 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.15.3...napi@2.15.4 ### [`v2.15.2`](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.15.1...napi-derive@2.15.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.15.1...napi@2.15.2) ### [`v2.15.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.15.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.15.0...napi@2.15.1) #### What's Changed - fix(napi-derive): serde Number typing by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1941 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.15.1...napi-derive@2.15.1 ### [`v2.15.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.15.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.4...napi@2.15.0) #### What's Changed - feat(napi): new Function/FunctionRef API by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1913 - fix(napi-derive): JsArrayBuffer generated type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1922 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.6...napi-derive@2.15.0 ### [`v2.14.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.3...napi@2.14.4) #### What's Changed - fix(napi-derive): upgrade syn by [@​forehalo](https://togithub.com/forehalo) in [napi-rs/napi-rs#1849 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.3...napi-derive@2.14.4 ### [`v2.14.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.2...napi@2.14.3) #### What's Changed - fix(napi-derive,cli): register function cross crates by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1848 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.15...napi-derive@2.14.3 ### [`v2.14.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.1...napi@2.14.2) #### What's Changed - fix(napi-derive): compile warning by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1820 - fix(napi): compile error for wasm32-unknown-unknown target by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1822 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2 ### [`v2.14.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.0...napi@2.14.1) #### What's Changed - fix(napi-derive): async task void output type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1795 - fix(napi-derive): async task optional output type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1796 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...napi-derive@2.14.1 ### [`v2.14.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.13.3...napi@2.14.0) #### What's Changed - fix(napi-derive): throw **is not a valid identifier** when generating getters and setters by [@​yoogoc](https://togithub.com/yoogoc) in [napi-rs/napi-rs#1701 - feat: integrate with emnapi, support **wasm32-wasi-preview1-threads** target by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1669 ### [`v2.13.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.13.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.13.2...napi@2.13.3) #### What's Changed - Fix promise resolve error by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1664 - feat(napi): impl FromNapiValue for HashMap with custom hasher by [@​arucil](https://togithub.com/arucil) in [napi-rs/napi-rs#1682 #### New Contributors - [@​H4ad](https://togithub.com/H4ad) made their first contribution in [napi-rs/napi-rs#1660 - [@​arucil](https://togithub.com/arucil) made their first contribution in [napi-rs/napi-rs#1682 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.5...napi@2.13.3 ### [`v2.13.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.13.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.13.1...napi@2.13.2) #### What's Changed - docs(README): update platform support status by [@​kxxt](https://togithub.com/kxxt) in [napi-rs/napi-rs#1607 - chore(deps): update dependency electron to v25 by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1610 - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1612 - chore(deps): update yarn to v3.6.0 by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1614 - chore: remove extra #\[cfg] attribute by [@​aqrln](https://togithub.com/aqrln) in [napi-rs/napi-rs#1616 - chore(deps): update dependency electron to v25.1.0 by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1617 - fix(napi): impl send + sync for ThreadsafeFunction by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1622 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.13.1...napi@2.13.2 ### [`v2.13.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/%40napi-rs/cli%402.13.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.13.0...napi@2.13.1) ##### Bug Fixes - **cli:** zig cross armv7 ([#​1384](https://togithub.com/napi-rs/napi-rs/issues/1384)) ([2abc946](https://togithub.com/napi-rs/napi-rs/commit/2abc94681ecc1010106ae4e2a9c076a9e964094d)) ### [`v2.13.0`](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.12.5...napi-derive@2.13.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.7...napi@2.13.0) ### [`v2.12.7`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.12.7) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.6...napi@2.12.7) #### What's Changed - chore(deps): update dependency electron to v24.1.3 by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1578 - chore(deps): update yarn to v3.5.1 by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1579 - chore(deps): update dependency electron to v24.2.0 by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1580 - feat(cli): add --use-cross command for building with `cross` by [@​Boshen](https://togithub.com/Boshen) in [napi-rs/napi-rs#1584 - chore(deps): update dependency [@​rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) to v25 by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1588 - chore(deps): update dependency electron to v24.3.0 by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1587 - chore(example): add callback return promise by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [napi-rs/napi-rs#1590 - chore(deps): update dependency electron to v24.3.1 by [@​renovate](https://togithub.com/renovate) in [napi-rs/napi-rs#1593 - feat(napi): Bigint deserialization by [@​JanisGailis](https://togithub.com/JanisGailis) in [napi-rs/napi-rs#1592 #### New Contributors - [@​Boshen](https://togithub.com/Boshen) made their first contribution in [napi-rs/napi-rs#1584 - [@​JanisGailis](https://togithub.com/JanisGailis) made their first contribution in [napi-rs/napi-rs#1592 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.5...napi@2.12.7 ### [`v2.12.6`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.12.6) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.5...napi@2.12.6) #### What's Changed - chore(napi): adds support for `Rc / Arc / Mutex` by [@​arcanis](https://togithub.com/arcanis) in [napi-rs/napi-rs#1573 #### New Contributors - [@​arcanis](https://togithub.com/arcanis) made their first contribution in [napi-rs/napi-rs#1573 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.12.5...napi@2.12.6 </details> --- ### 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 becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
- Loading branch information