napi-rs/examples/napi
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
..
__test__ fix(napi): big numbers losing precision on serde_json::Value (#1538) 2023-03-23 13:34:34 +08:00
src fix(napi): big numbers losing precision on serde_json::Value (#1538) 2023-03-23 13:34:34 +08:00
tests test(napi-derive): add trybuild negative macro tests 2022-05-23 11:55:19 +08:00
.gitignore test(napi-derive): add trybuild negative macro tests 2022-05-23 11:55:19 +08:00
build.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
Cargo.toml fix(cli,napi-derive): re-export types from shared crate (#1531) 2023-03-21 18:12:52 +08:00
electron.js fix(napi): fallback to copy arraybuffer if zero copy is not allowed (#1455) 2023-01-24 22:39:46 +08:00
index.d.ts fix(napi): big numbers losing precision on serde_json::Value (#1538) 2023-03-23 13:34:34 +08:00
package.json chore: upgrade npm dependencies (#1443) 2023-01-19 00:32:52 +08:00
tsconfig.json test(napi): add electron tests 2022-05-10 18:39:37 +08:00