LongYinan
5ac153388f
feat(napi): accept slice as TypedArray ( #1951 )
2024-02-15 23:40:45 +08:00
LongYinan
d7dc4dc5a2
feat(napi): extends the Map types interoperability ( #1950 )
2024-02-15 15:43:21 +08:00
LongYinan
f69771e2d4
fix(napi-derive): JsArrayBuffer generated type
2024-01-26 14:32:24 +08:00
LongYinan
5be7ab0f6b
feat(napi): new Function/FunctionRef API
2024-01-26 02:27:46 +00:00
LongYinan
120accd965
feat: add wasm runtime package ( #1904 )
2024-01-16 23:28:40 +08:00
LongYinan
7d3b53d41d
feat(cli): support generate browser compatible codes ( #1891 )
2024-01-08 21:02:46 +08:00
LongYinan
02dd4c3fd3
fix(napi-derive): catch_unwind on constructor ( #1869 )
...
- Close https://github.com/napi-rs/napi-rs/issues/1852
2023-12-27 12:49:10 +08:00
LongYinan
e930a6aab3
fix(napi-derive): async task optional output type ( #1796 )
2023-11-08 20:06:27 +08:00
LongYinan
938f4df83d
fix(napi-derive): async task void output type ( #1795 )
2023-11-08 20:05:09 +08:00
LongYinan
feabcd7f16
test(napi): add tests for napi9 features ( #1784 )
2023-11-06 11:03:44 +08:00
LongYinan
546b108a5b
feat(napi): support async class factory ( #1779 )
...
- Close https://github.com/napi-rs/napi-rs/issues/1777
2023-11-06 10:58:23 +08:00
LongYinan
2e03db1fec
test: refactor the example tests to esm, add bun:test => ava polyfill ( #1730 )
2023-09-20 01:18:01 -07:00
Tom Sherman
3418fd3e8f
feat(napi,sys): implement Symbol.for ( #1721 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-09-13 15:45:14 -07:00
yoogo
4259e85e0e
fix(backend): attribute of a struct marked as #[napi(constructor)] contain Rust keywords, causing to throw is not a valid identifier
when generating getters and setters
2023-08-17 20:48:54 +08:00
Markus
73a704a19e
feat(napi): keep stack traces in a deferred context ( #1637 )
...
* feat(napi): keep stack traces in deferred context
* chore: reformat code
Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
* chore: use napi wrappers
Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
* test(napi): add test for deferred trace
Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
* chore: fix format
Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
---------
Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
2023-07-15 12:07:14 +08:00
LongYinan
c6258cf633
feat(napi): support chrono::NaiveDateTime ( #1601 )
2023-05-26 18:28:34 +08:00
LongYinan
5bc098144c
chore(example): add callback return promise ( #1590 )
2023-05-16 11:05:37 +08:00
LongYinan
88773a7a8e
fix(napi): re-throw error in ThreadsafeFunction callback if we could
2023-04-10 17:02:13 +08:00
forehal
a781a4f27e
feat(cli): brand new cli tool with both cli and programmatical usage ( #1492 )
...
BREAKING CHANGE: requires node >= 16 and some cli options have been renamed
2023-04-06 11:04:53 +08:00