Socket
Socket
Sign inDemoInstall

@petamoriken/float16

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@petamoriken/float16 - npm Package Compare versions

Comparing version 3.4.5 to 3.4.6

6

browser/float16.js

@@ -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 @@

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc