3224 Commits

Author SHA1 Message Date
LongYinan
0a9980bad5
fix(napi): JsObjectValue::get_property signature (#2628)
* fix(napi): JsObjectValue::get_property signature

* debug
2025-05-12 12:20:06 +08:00
LongYinan
6548414b8f
feat(napi): add create_ref on JsObjectValue (#2627) 2025-05-12 00:38:31 +08:00
LongYinan
be00a9b017
feat(napi): impl full Uint8ClampedSlice type (#2626) 2025-05-12 00:35:34 +08:00
LongYinan
7a972425b8
fix(napi): nested Either and Promise validate logic (#2625)
- Close https://github.com/napi-rs/napi-rs/issues/2578
2025-05-12 00:33:14 +08:00
LongYinan
1c0f127178
fix(napi): reference leak in DeferredTrace (#2624) 2025-05-12 00:31:07 +08:00
LongYinan
5956a00b39
chore(memory-testing): js style fix (#2623) 2025-05-11 22:58:54 +08:00
LongYinan
653212ac7a
fix(napi): unused warning on JsString::from_raw (#2622)
* fix(napi): unused warning on JsString::from_raw

* Fix compile
2025-05-11 22:18:47 +08:00
renovate[bot]
d42548d5e8
chore(deps): update dependency lint-staged to v16 (#2620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-11 21:39:08 +08:00
LongYinan
9de545e7a2
refactor!(napi): add lifetime to Object (#2619) 2025-05-11 19:51:29 +08:00
LongYinan
65fe29c854
refactor!(napi): add lifetime to JsString (#2614) 2025-05-08 13:20:09 +08:00
LongYinan
c808386a8f
refactor!(napi): move JsBigint behind compat-mode feature (#2613)
* refactor!(napi): move JsBigint behind compat-mode feature

* reduce asan flaky
2025-05-08 12:04:02 +08:00
LongYinan
813c51e16a
refactor!(napi): move depracated types behind compat-mode feature flag (#2612) 2025-05-07 22:34:26 +08:00
LongYinan
23e9de2caa
refactor!(napi): add lifetime to Unkonwn (#2611)
Remove JsUnknown
2025-05-07 22:32:24 +08:00
LongYinan
ed9ca20daa
refactor!(napi): add lifetime for JsSymbol (#2610) 2025-05-07 20:12:19 +08:00
LongYinan
a456fcdbc7
refactor!(napi): add lifetime for JsNumber (#2609) 2025-05-07 20:11:33 +08:00
LongYinan
8f852442cf
test: fix bun test runner (#2607) 2025-05-07 00:06:07 +08:00
LongYinan
95832ff168
refactor!(napi): introduce JsValue and JsObjectValue trait (#2606)
Add lifetime for JsGlobal JsTimeout and JSON
2025-05-06 23:45:37 +08:00
Iñaki Arango
7010f6059b
fix(cli): path escaping issue in metadata parser (#2605)
* fix: Fix path escaping issue in metadata parser

* fix: changed import from execSync to spawnSync
2025-05-06 11:32:20 +08:00
LongYinan
bcf5e14aa8
feat(napi): add from_napi_value for Ref<T: FromNapiValue> (#2603) 2025-05-05 23:38:46 +08:00
LongYinan
d942a6bab9
test: fix flaky (#2601) 2025-05-05 14:56:07 +08:00
LongYinan
55bed7e3fb
test(example): join all threads before return (#2600) 2025-05-05 14:30:53 +08:00
LongYinan
674d7c7b56
refactor!(napi): add lifetime to Array (#2599) 2025-05-05 14:16:53 +08:00
LongYinan
4681ac927c
feat(napi): impl into_unknown for External (#2598) 2025-05-05 12:29:29 +08:00
renovate[bot]
407a400ca0
chore(deps): update dependency @oxc-node/core to ^0.0.27 (#2595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 16:17:48 +00:00
renovate[bot]
4baae8dfb2
chore(deps): update dependency @oxc-node/core to ^0.0.25 (#2588)
* chore(deps): update dependency @oxc-node/core to ^0.0.25

* Update oxnode

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-05-03 08:55:22 +00:00
renovate[bot]
67c7f08834
chore(deps): lock file maintenance (#2587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 16:30:25 +08:00
renovate[bot]
69a092eb43
chore(deps): update dependency electron to v36 (#2577)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 15:51:53 +08:00
renovate[bot]
2189377875
fix(deps): update dependency pretty-bytes to v7 (#2579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 15:51:40 +08:00
renovate[bot]
9bf86466f9
chore(deps): update dependency npm-run-all2 to v8 (#2592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 15:51:15 +08:00
LongYinan
872a6e4f1c
ci: pin zig to 0.13 (#2591) 2025-05-03 15:51:01 +08:00
LongYinan
d046ea6cad
chore(cli): sort imports (#2590) 2025-05-02 23:15:49 +08:00
LongYinan
ebcf0ea88e
fix(napi-derive): make_ref with Vec<&S> cases (#2589)
- Close https://github.com/napi-rs/napi-rs/issues/2571
2025-05-02 23:13:46 +08:00
renovate[bot]
3c169b7187
chore(deps): update dependency vite to v6.2.7 [security] (#2586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-30 23:00:37 +00:00
renovate[bot]
a495e55e84
chore(deps): update dependency @oxc-node/core to ^0.0.24 (#2576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 17:00:37 +00:00
Kevin Deng 三咲智子
2eb2ab619f
fix(wasm-runtime): upgrade emnapi (#2568) 2025-04-17 18:07:08 -07:00
LongYinan
a35f721557
ci: test Windows on ARM (#2566) 2025-04-16 18:42:24 +08:00
LongYinan
84209fc829
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.78
 - @napi-rs/triples@2.0.0-alpha.40
 - @napi-rs/wasm-runtime@0.2.9
@napi-rs/cli@3.0.0-alpha.78 @napi-rs/triples@2.0.0-alpha.40 @napi-rs/wasm-runtime@0.2.9
2025-04-16 15:00:52 +08:00
CPunisher
e12d091847
fix(cli): replace .wasm extension of wasm artifact (#2556)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-04-16 15:00:05 +08:00
LongYinan
bc2e855e8c
test(wasm-runtime): testing fs proxy on CI (#2565) 2025-04-16 14:48:07 +08:00
Toyo Li
d28d8420d3
fix(wasm-runtime): wasm fs proxy serialization (#2564)
* fix: wasm fs proxy serialization

* type
2025-04-16 14:00:02 +08:00
renovate[bot]
ca42c0ce45
chore(deps): update yarn to v4.9.1 (#2562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-14 10:34:08 +00:00
Kevin Deng 三咲智子
2f88639191
fix(wasm-runtime): remove _isBuffer patch (#2560)
closes #2559
2025-04-14 10:03:07 +08:00
renovate[bot]
ee2ef3bb3d
chore(deps): update dependency vite to v6.2.6 [security] (#2554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 19:52:11 +00:00
Cong-Cong Pan
0ce726d9c7
feat(napi): serde value ref to napi_value (#2550)
* perf: convert serde value ref to napi_value

* chore: add test case

* fix: snapshot
2025-04-10 16:17:59 +08:00
renovate[bot]
9edd39a037
chore(deps): update dependency @oxc-node/core to ^0.0.23 (#2552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 03:13:17 +00:00
renovate[bot]
2f3c24a12b
chore(deps): update yarn to v4.9.0 (#2551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 19:53:43 +00:00
renovate[bot]
ee157e64d1
chore(deps): update dependency vite to v6.2.5 [security] (#2549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 19:03:40 +00:00
LongYinan
ff2c64b35d
chore: clippy fix (#2545) 2025-04-04 13:52:49 +08:00
renovate[bot]
c9c49973c1
chore(deps): update dependency @oxc-node/core to ^0.0.22 (#2543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 11:43:39 +00:00
LongYinan
6ce1393196
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.77
 - @napi-rs/triples@2.0.0-alpha.39
 - @napi-rs/wasm-runtime@0.2.8
@napi-rs/cli@3.0.0-alpha.77 @napi-rs/triples@2.0.0-alpha.39 @napi-rs/wasm-runtime@0.2.8
2025-04-02 00:04:16 +08:00