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 Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
napi6 Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
napi7 test(napi): remove outdated assersion (#1423) 2023-01-09 16:04:18 +08:00
napi8 Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
serde test: update snapshots format for ava@4 2022-01-04 11:04:45 +08:00
array.spec.ts Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
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 Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
cleanup-env.spec.ts Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
create-external.spec.ts Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
either.spec.ts Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
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 Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
js-value.spec.ts Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
napi-version.ts Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
object.spec.ts chore: upgrade dependencies 2022-03-13 18:30:11 +08:00
object.spec.ts.md Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
object.spec.ts.snap test: update snapshots format for ava@4 2022-01-04 11:04:45 +08:00
spawn.spec.ts Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
string.spec.ts Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
string.spec.ts.md Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
string.spec.ts.snap test: update snapshots format for ava@4 2022-01-04 11:04:45 +08:00
symbol.spec.ts Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
throw.spec.ts test: update snapshots format for ava@4 2022-01-04 11:04:45 +08:00