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.6.4 to 3.6.5

12

browser/float16.js

@@ -1,2 +0,2 @@

/*! @petamoriken/float16 v3.6.4 | MIT License - https://github.com/petamoriken/float16 */
/*! @petamoriken/float16 v3.6.5 | MIT License - https://github.com/petamoriken/float16 */

@@ -1023,8 +1023,8 @@ const float16 = (function (exports) {

}
sort(...opts) {
sort(compareFn) {
assertFloat16Array(this);
const float16bitsArray = getFloat16BitsArray(this);
const compare = opts[0] !== undefined ? opts[0] : defaultCompare;
const sortCompare = compareFn !== undefined ? compareFn : defaultCompare;
TypedArrayPrototypeSort(float16bitsArray, (x, y) => {
return compare(convertToNumber(x), convertToNumber(y));
return sortCompare(convertToNumber(x), convertToNumber(y));
});

@@ -1177,7 +1177,7 @@ return this;

}
join(...opts) {
join(separator) {
assertFloat16Array(this);
const float16bitsArray = getFloat16BitsArray(this);
const array = copyToArray(float16bitsArray);
return ArrayPrototypeJoin(array, ...safeIfNeeded(opts));
return ArrayPrototypeJoin(array, separator);
}

@@ -1184,0 +1184,0 @@ toLocaleString(...opts) {

{
"name": "@petamoriken/float16",
"version": "3.6.4",
"version": "3.6.5",
"description": "IEEE 754 half-precision floating-point for JavaScript",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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