napi-rs/examples/napi/__test__
Gabriel Francisco 3983be23f5
fix(napi): big numbers losing precision on serde_json::Value (#1538)
* fix(napi): big numbers losing precision on serde_json::Value

* fix(napi): add feature flags for bigint on number conversion

* chore(napi): change MAX_SAFE_INT to constant and convert big numbers to string when bigint is not available

* chore(napi): change how the check for safe integer range is made
2023-03-23 13:34:34 +08:00
..
error-msg.spec.ts chore(napi): enhance the error messages while converting types failed (#1473) 2023-02-06 00:52:59 +08:00
generator.spec.ts fix(napi): missing iterator implementation from class factory 2022-05-10 21:50:20 +08:00
object-attr.spec.ts feat(napi-derive): support set property attribute in napi macro (#1257) 2022-08-06 21:54:58 +08:00
strict.spec.ts fix(napi): validate fn for Option<T> 2022-07-06 14:01:32 +08:00
tsfn-error.js fix(napi): ThreadsafeFunction with ErrorStrategy::Fatal should throw fatal exception 2021-12-14 12:47:23 +08:00
typegen.spec.ts feat(cli): dts flag for build command 2021-10-01 15:01:23 +08:00
typegen.spec.ts.md fix(napi): big numbers losing precision on serde_json::Value (#1538) 2023-03-23 13:34:34 +08:00
typegen.spec.ts.snap fix(napi): big numbers losing precision on serde_json::Value (#1538) 2023-03-23 13:34:34 +08:00
unload.spec.js chore(napi): reduce the complex about destroying tokio runtime 2022-12-16 14:32:32 +08:00
values.spec.ts fix(napi): big numbers losing precision on serde_json::Value (#1538) 2023-03-23 13:34:34 +08:00
values.spec.ts.md test(napi): add electron tests 2022-05-10 18:39:37 +08:00
values.spec.ts.snap test(napi): add electron tests 2022-05-10 18:39:37 +08:00
worker-thread.spec.ts test(napi): tests for custom gc in worker_threads (#1505) 2023-03-05 16:51:06 +08:00
worker.js test(napi): tests for custom gc in worker_threads (#1505) 2023-03-05 16:51:06 +08:00