napi-rs/examples/napi-compat-mode/__test__
Victor Teo aee742f185
feat(napi): property getter and setter with closure (#1526)
* getter with closure with segment fault

* fix getter closure pointer

* add setter

* Cleanup API

* Add test for `create_function_from_closure`

* Fix compile error

* Fix flaky test title

---------

Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-03-21 11:22:07 +08:00
..
napi4 feat(napi): refactor ThreadsafeFunction to allow get return value of it (#1427) 2023-01-11 18:54:45 +08:00
napi5
napi6
napi7 test(napi): remove outdated assersion (#1423) 2023-01-09 16:04:18 +08:00
napi8
serde test: update snapshots format for ava@4 2022-01-04 11:04:45 +08:00
array.spec.ts
arraybuffer.spec.ts fix(napi): typed arrays ref shouldn't use offset. (#1376) 2022-11-30 20:54:13 +08:00
buffer.spec.ts fix(napi): use create_buffer/arrary_buffer if provided data is empty 2022-04-26 16:53:13 +08:00
class.spec.ts
cleanup-env.spec.ts
create-external.spec.ts
either.spec.ts
env.spec.ts fix(napi): missing coerce_to_bool on JsValue 2021-11-21 23:10:29 +08:00
function.spec.ts feat(napi): property getter and setter with closure (#1526) 2023-03-21 11:22:07 +08:00
get-napi-version.spec.ts fix(napi-derive): BigInt in TypeScript should be bigint 2022-01-06 22:33:34 +08:00
global.spec.ts
js-value.spec.ts
napi-version.ts
object.spec.ts chore: upgrade dependencies 2022-03-13 18:30:11 +08:00
object.spec.ts.md
object.spec.ts.snap test: update snapshots format for ava@4 2022-01-04 11:04:45 +08:00
spawn.spec.ts
string.spec.ts
string.spec.ts.md
string.spec.ts.snap test: update snapshots format for ava@4 2022-01-04 11:04:45 +08:00
symbol.spec.ts
throw.spec.ts test: update snapshots format for ava@4 2022-01-04 11:04:45 +08:00