some-common-functions-js 1.0.7 → 1.0.8

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/CHANGELOG.md CHANGED
@@ -26,3 +26,6 @@ Improve README.md documentation.
26
26
  - Updated package.json version in lieu of changes. Otherwise the updated package won't be published on npm.
27
27
  ## Version 1.0.7 - 2025/11/21 - ITA
28
28
  - Corrected README documentation.
29
+
30
+ ## Version 1.0.8 - 2025/11/21 - ITA
31
+ - Corrected test code and README documentation
package/README.md CHANGED
@@ -318,7 +318,7 @@ let teamsArray = [
318
318
  { score: 85, numGames: 10 }
319
319
  ]; // Sorted by "score desc", "numGames asc".
320
320
  let searchObj = { score: 85, numGames: 8 };
321
- let anIndex = binarySearchObj(teamsArray, searchObj, "score desc", "numGames asc");
321
+ let anIndex = binarySearchObj(teamsArray, searchObj, 0, "score desc", "numGames asc");
322
322
 
323
323
  let result = objCompare(searchObj, teamsArray[anIndex], "score desc", "numGames asc"); // 0 -- an object with value { score: 85, numGames: 8} exists at teamsArray[anIndex];
324
324
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "some-common-functions-js",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Common functions used with Javascript objects, and field validation functions.",
5
5
  "keywords": [
6
6
  "validation",
@@ -20,7 +20,10 @@
20
20
  "functions",
21
21
  "helpers",
22
22
  "object utils",
23
+ "object utilities",
23
24
  "object validation",
25
+ "object array search",
26
+ "object compaare",
24
27
  "nodejs"
25
28
  ],
26
29
  "repository": {