ffjavascript
Advanced tools
Comparing version 0.2.37 to 0.2.38
{ | ||
"name": "ffjavascript", | ||
"type": "module", | ||
"version": "0.2.37", | ||
"version": "0.2.38", | ||
"description": "Finite Field Library in Javascript", | ||
@@ -6,0 +6,0 @@ "main": "./build/main.cjs", |
@@ -23,2 +23,4 @@ import bigInt from "big-integer"; | ||
return bigInt(o); | ||
} else if ((typeof(o) == "string") && (/^0x[0-9a-fA-F]+$/.test(o) )) { | ||
return bigInt(o); | ||
} else if (Array.isArray(o)) { | ||
@@ -25,0 +27,0 @@ return o.map(unstringifyBigInts); |
@@ -26,2 +26,4 @@ /* global BigInt */ | ||
return BigInt(o); | ||
} else if ((typeof(o) == "string") && (/^0x[0-9a-fA-F]+$/.test(o) )) { | ||
return BigInt(o); | ||
} else if (Array.isArray(o)) { | ||
@@ -28,0 +30,0 @@ return o.map(unstringifyBigInts); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
436162
11821