@noldova/context.collections 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/index.d.ts +2 -0
- package/package.json +4 -4
package/api/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export declare class BinarySearchService {
|
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* ```ts
|
|
31
|
+
* import { BinarySearchService } from "@noldova/context.collections";
|
|
32
|
+
*
|
|
31
33
|
* BinarySearchService.floorIndex([1, 3, 5, 7], 5); // 2: exact match.
|
|
32
34
|
* BinarySearchService.floorIndex([1, 3, 5, 7], 4); // 1: the nearest lower value is 3.
|
|
33
35
|
* BinarySearchService.floorIndex([1, 3, 3, 5], 3); // 2: the last duplicate.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noldova/context.collections",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "api/index.js",
|
|
6
6
|
"types": "api/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"registry": "https://registry.npmjs.org/"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@noldova/context.core": ">=0.0.
|
|
23
|
-
"@noldova/context.exceptions": ">=0.0.
|
|
22
|
+
"@noldova/context.core": ">=0.0.13 <0.1.0",
|
|
23
|
+
"@noldova/context.exceptions": ">=0.0.13 <0.1.0"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "369ff7e46413dd5278f3623ead81e08137d609dd"
|
|
26
26
|
}
|