napi-rs/crates/napi/src/js_values
Jānis Gailis d1fe0f0eb1
feat(napi): Bigint deserialization (#1592)
* Handle little endianness;
* Make sure get_<u/i>128 methods don't panic when words.len() < 2;
* Make sure BigInt deserialization takes into account word length and
  sign;

Signed-off-by: Janis Gailis <JanisGailis@users.noreply.github.com>
Co-authored-by: Janis Gailis <>
2023-05-19 17:27:29 +08:00
..
string style: clippy fix 2022-12-16 20:19:39 +08:00
arraybuffer.rs refactor(napi): Either now perform ValidateNapiValue::validate rather than type_of 2022-07-05 17:01:21 +08:00
bigint.rs feat(napi): Bigint deserialization (#1592) 2023-05-19 17:27:29 +08:00
boolean.rs refactor(napi): Either now perform ValidateNapiValue::validate rather than type_of 2022-07-05 17:01:21 +08:00
buffer.rs refactor(napi): Either now perform ValidateNapiValue::validate rather than type_of 2022-07-05 17:01:21 +08:00
date.rs refactor(napi): use libloading on Windows 2022-05-06 22:27:09 +08:00
de.rs feat(napi): Bigint deserialization (#1592) 2023-05-19 17:27:29 +08:00
deferred.rs fix(napi): do nothing in deferred if thread is destroyed (#1568) 2023-04-15 18:58:53 +08:00
either.rs refactor(napi): remove compatible Either struct 2021-11-25 17:53:41 +08:00
escapable_handle_scope.rs style: clippy fix 2022-03-05 23:05:04 +08:00
function.rs chore(napi): enhance the error messages while converting types failed (#1473) 2023-02-06 00:52:59 +08:00
global.rs chore(napi): enhance the error messages while converting types failed (#1473) 2023-02-06 00:52:59 +08:00
mod.rs feat(napi): property getter and setter with closure (#1526) 2023-03-21 11:22:07 +08:00
number.rs refactor(napi): Either now perform ValidateNapiValue::validate rather than type_of 2022-07-05 17:01:21 +08:00
object.rs chore: forbid unsafe_op_in_unsafe_fn 2022-01-13 11:26:28 +08:00
object_property.rs fix(napi): access violation in property getter/setter closure (#1552) 2023-04-03 11:12:07 +08:00
ser.rs fix(napi): convert u64 to u32 in serialization (#1478) 2023-02-08 22:25:03 +08:00
tagged_object.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
undefined.rs refactor(napi): Either now perform ValidateNapiValue::validate rather than type_of 2022-07-05 17:01:21 +08:00
value.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
value_ref.rs fix(napi): clippy error on 1.58 2022-01-14 11:21:03 +08:00