Comparing version 1.1.6 to 1.1.7
@@ -5,8 +5,6 @@ var shallowProperty = key => obj => obj == null ? void 0 : obj[key]; | ||
const MAX_ARRAY_INDEX = 2 ** 53 - 1; | ||
var isArrayLike = (collection) => { | ||
const length = getLength(collection); | ||
return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX; | ||
return typeof length == 'number' && length >= 0 && length <= Number.MAX_SAFE_INTEGER; | ||
}; | ||
@@ -13,0 +11,0 @@ |
{ | ||
"name": "flat-util", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Flatten a nested array.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,8 +11,6 @@ (function (global, factory) { | ||
const MAX_ARRAY_INDEX = 2 ** 53 - 1; | ||
var isArrayLike = (collection) => { | ||
const length = getLength(collection); | ||
return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX; | ||
return typeof length == 'number' && length >= 0 && length <= Number.MAX_SAFE_INTEGER; | ||
}; | ||
@@ -19,0 +17,0 @@ |
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
8156
127