binary-search
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -5,6 +5,6 @@ //Typescript type definition for: | ||
function binarySearch<A>( | ||
function binarySearch<A, B>( | ||
haystack: A[], | ||
needle: A, | ||
comparator: (a: A, b: A, index?: number, haystack?: A[]) => any, | ||
needle: B, | ||
comparator: (a: A, b: B, index?: number, haystack?: A[]) => any, | ||
// Notes about comparator return value: | ||
@@ -11,0 +11,0 @@ // * when a<b the comparator's returned value should be: |
{ | ||
"name": "binary-search", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "tiny binary search function with comparators", | ||
@@ -5,0 +5,0 @@ "license": "CC0-1.0", |
@@ -33,5 +33,5 @@ binary-search | ||
To the extend possible by law, The Dark Sky Company, LLC has [waived all | ||
To the extent possible by law, The Dark Sky Company, LLC has [waived all | ||
copyright and related or neighboring rights][cc0] to this library. | ||
[cc0]: http://creativecommons.org/publicdomain/zero/1.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
5473
1