Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.5.8 to 3.5.9

14

browser/float16.js

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

/*! @petamoriken/float16 v3.5.8 | MIT License - https://git.io/float16 */
/*! @petamoriken/float16 v3.5.9 | MIT License - https://git.io/float16 */

@@ -37,2 +37,3 @@ const float16 = (function (exports) {

} = NativeNumber;
const NativeSymbol = Symbol;
const {

@@ -43,3 +44,7 @@ iterator: SymbolIterator,

for: SymbolFor,
} = Symbol;
} = NativeSymbol;
const SymbolHasInstance = NativeSymbol.hasInstance;
const FunctionPrototypeSymbolHasInstance = uncurryThis(
Function.prototype[SymbolHasInstance]
);
const NativeObject = Object;

@@ -539,3 +544,6 @@ const {

}
if (SetPrototypeHas(TypedArrayPrototypeGetterKeys, key)) {
if (
SetPrototypeHas(TypedArrayPrototypeGetterKeys, key) &&
FunctionPrototypeSymbolHasInstance(TypedArray, target)
) {
return ReflectGet(target, key);

@@ -542,0 +550,0 @@ }

@@ -44,4 +44,4 @@ /**

/**
* Access item by relative indexing.
* @param index index to access.
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
*/

@@ -366,2 +366,7 @@ at(index: number): number | undefined;

/**
* Returns the primitive value of the specified object.
*/
valueOf(): Float16Array;
readonly [Symbol.toStringTag]: "Float16Array";

@@ -368,0 +373,0 @@

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

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

"babel-plugin-replace-import-extension": "^1.1.1",
"browserslist": "^4.17.5",
"browserslist": "^4.17.6",
"concurrently": "^6.3.0",
"eslint": "^8.1.0",
"eslint": "^8.2.0",
"eslint-plugin-import": "^2.25.2",

@@ -84,0 +84,0 @@ "eslint-plugin-jsdoc": "^37.0.3",

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

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