dbm 1.4.1 → 1.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dbm",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -0,0 +1,14 @@
1
+ import Dbm from "../index.js";
2
+
3
+ export const convertPropertiesToArray = function(aObject, aPropertyNames) {
4
+
5
+ let returnArray = new Array();
6
+
7
+ let currentArray = aPropertyNames;
8
+ let currentArrayLength = currentArray.length;
9
+ for(let i = 0; i < currentArrayLength; i++) {
10
+ returnArray.push(aObject[currentArray[i]]);
11
+ }
12
+
13
+ return returnArray;
14
+ }
package/utils/index.js CHANGED
@@ -5,6 +5,7 @@ export * as UrlFunctions from "./UrlFunctions.js";
5
5
  export * as CompareFunctions from "./CompareFunctions.js";
6
6
  export * as TranslationFunctions from "./TranslationFunctions.js";
7
7
  export * as LevenshteinDistance from "./LevenshteinDistance.js";
8
+ export * as ObjectFunctions from "./ObjectFunctions.js";
8
9
 
9
10
  export {default as MultidimensionalArrayHolder} from "./MultidimensionalArrayHolder.js";
10
11
  export {default as ArrayOperationResult} from "./ArrayOperationResult.js";