@petamoriken/float16
Advanced tools
Comparing version 3.7.0 to 3.7.1
@@ -1,2 +0,2 @@ | ||
/*! @petamoriken/float16 v3.7.0 | MIT License - https://github.com/petamoriken/float16 */ | ||
/*! @petamoriken/float16 v3.7.1 | MIT License - https://github.com/petamoriken/float16 */ | ||
@@ -198,3 +198,6 @@ var float16 = (function (exports) { | ||
function safeIfNeeded(array) { | ||
if (array[SymbolIterator] === NativeArrayPrototypeSymbolIterator) { | ||
if ( | ||
array[SymbolIterator] === NativeArrayPrototypeSymbolIterator && | ||
ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext | ||
) { | ||
return array; | ||
@@ -230,4 +233,6 @@ } | ||
function isObject(value) { | ||
return (value !== null && typeof value === "object") || | ||
typeof value === "function"; | ||
return ( | ||
(value !== null && typeof value === "object") || | ||
typeof value === "function" | ||
); | ||
} | ||
@@ -242,4 +247,6 @@ function isObjectLike(value) { | ||
const typedArrayName = TypedArrayPrototypeGetSymbolToStringTag(value); | ||
return typedArrayName === "BigInt64Array" || | ||
typedArrayName === "BigUint64Array"; | ||
return ( | ||
typedArrayName === "BigInt64Array" || | ||
typedArrayName === "BigUint64Array" | ||
); | ||
} | ||
@@ -269,7 +276,6 @@ function isArrayBuffer(value) { | ||
} | ||
if (value[SymbolIterator] === NativeArrayPrototypeSymbolIterator) { | ||
return true; | ||
} | ||
const iterator = value[SymbolIterator](); | ||
return iterator[SymbolToStringTag] === "Array Iterator"; | ||
return ( | ||
value[SymbolIterator] === NativeArrayPrototypeSymbolIterator && | ||
ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext | ||
); | ||
} | ||
@@ -280,7 +286,6 @@ function isOrdinaryNativeTypedArray(value) { | ||
} | ||
if (value[SymbolIterator] === NativeTypedArrayPrototypeSymbolIterator) { | ||
return true; | ||
} | ||
const iterator = value[SymbolIterator](); | ||
return iterator[SymbolToStringTag] === "Array Iterator"; | ||
return ( | ||
value[SymbolIterator] === NativeTypedArrayPrototypeSymbolIterator && | ||
ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext | ||
); | ||
} | ||
@@ -287,0 +292,0 @@ function isCanonicalIntegerIndexString(value) { |
{ | ||
"name": "@petamoriken/float16", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"description": "IEEE 754 half-precision floating-point for JavaScript", | ||
@@ -75,10 +75,10 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/cli": "^7.19.3", | ||
"@babel/core": "^7.20.5", | ||
"@babel/plugin-transform-modules-commonjs": "^7.19.6", | ||
"@types/nightwatch": "^2.3.15", | ||
"@babel/cli": "^7.20.7", | ||
"@babel/core": "^7.20.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.20.11", | ||
"@types/nightwatch": "^2.3.17", | ||
"babel-plugin-replace-import-extension": "^1.1.3", | ||
"browserslist": "^4.21.4", | ||
"concurrently": "^7.6.0", | ||
"eslint": "^8.29.0", | ||
"eslint": "^8.31.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
@@ -91,8 +91,8 @@ "eslint-plugin-jsdoc": "^39.6.4", | ||
"http-server": "^14.1.1", | ||
"mocha": "^10.1.0", | ||
"nightwatch": "^2.5.3", | ||
"mocha": "^10.2.0", | ||
"nightwatch": "^2.6.4", | ||
"nightwatch-saucelabs-endsauce": "^2.1.0", | ||
"nyc": "^15.1.0", | ||
"power-assert": "^1.4.2", | ||
"rollup": "^3.6.0", | ||
"rollup": "^3.9.1", | ||
"rollup-plugin-cleanup": "^3.2.1", | ||
@@ -99,0 +99,0 @@ "source-map-support": "^0.5.21" |
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
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
6057
234564