@visactor/vutils
Advanced tools
Comparing version 0.19.1 to 0.19.2
@@ -37,3 +37,3 @@ "use strict"; | ||
const value = arr[i]; | ||
(null !== (_a = null == compareFn ? void 0 : compareFn(value, max)) && void 0 !== _a ? _a : value - max > 0) && (max = value); | ||
(null !== (_a = null == compareFn ? void 0 : compareFn(value, max)) && void 0 !== _a ? _a : value - max) > 0 && (max = value); | ||
} | ||
@@ -51,3 +51,3 @@ return max; | ||
const value = arr[i]; | ||
(null !== (_a = null == compareFn ? void 0 : compareFn(value, min)) && void 0 !== _a ? _a : value - min < 0) && (min = value); | ||
(null !== (_a = null == compareFn ? void 0 : compareFn(value, min)) && void 0 !== _a ? _a : value - min) < 0 && (min = value); | ||
} | ||
@@ -54,0 +54,0 @@ return min; |
@@ -25,3 +25,3 @@ import isArray from "./isArray"; | ||
const value = arr[i]; | ||
(null !== (_a = null == compareFn ? void 0 : compareFn(value, max)) && void 0 !== _a ? _a : value - max > 0) && (max = value); | ||
(null !== (_a = null == compareFn ? void 0 : compareFn(value, max)) && void 0 !== _a ? _a : value - max) > 0 && (max = value); | ||
} | ||
@@ -37,3 +37,3 @@ return max; | ||
const value = arr[i]; | ||
(null !== (_a = null == compareFn ? void 0 : compareFn(value, min)) && void 0 !== _a ? _a : value - min < 0) && (min = value); | ||
(null !== (_a = null == compareFn ? void 0 : compareFn(value, min)) && void 0 !== _a ? _a : value - min) < 0 && (min = value); | ||
} | ||
@@ -40,0 +40,0 @@ return min; |
{ | ||
"name": "@visactor/vutils", | ||
"version": "0.19.1", | ||
"version": "0.19.2", | ||
"main": "cjs/index.js", | ||
@@ -30,6 +30,6 @@ "module": "es/index.js", | ||
"@types/node": "*", | ||
"@internal/jest-config": "0.0.1", | ||
"@internal/bundler": "0.0.1", | ||
"@internal/eslint-config": "0.0.1", | ||
"@internal/jest-config": "0.0.1", | ||
"@internal/ts-config": "0.0.1", | ||
"@internal/bundler": "0.0.1" | ||
"@internal/ts-config": "0.0.1" | ||
}, | ||
@@ -36,0 +36,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1852329