@petamoriken/float16
Advanced tools
Comparing version 3.4.5 to 3.4.6
@@ -1,2 +0,2 @@ | ||
/*! @petamoriken/float16 v3.4.5 | MIT License - https://git.io/float16 */ | ||
/*! @petamoriken/float16 v3.4.6 | MIT License - https://git.io/float16 */ | ||
@@ -332,2 +332,6 @@ var float16 = (function (exports) { | ||
function ToIntegerOrInfinity(target) { | ||
if (typeof target === "bigint") { | ||
throw TypeError("Cannot convert a BigInt value to a number"); | ||
} | ||
const number = Number(target); | ||
@@ -334,0 +338,0 @@ |
@@ -19,2 +19,6 @@ "use strict"; | ||
function ToIntegerOrInfinity(target) { | ||
if (typeof target === "bigint") { | ||
throw TypeError("Cannot convert a BigInt value to a number"); | ||
} | ||
const number = Number(target); | ||
@@ -21,0 +25,0 @@ |
{ | ||
"name": "@petamoriken/float16", | ||
"description": "half precision floating point for JavaScript", | ||
"version": "3.4.5", | ||
"version": "3.4.6", | ||
"main": "./lib/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./src/index.mjs", |
Sorry, the diff of this file is not supported yet
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
168817
4933