@reldens/utils 0.38.0 → 0.39.0

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.
Files changed (2) hide show
  1. package/lib/shortcuts.js +2 -2
  2. package/package.json +1 -1
package/lib/shortcuts.js CHANGED
@@ -263,11 +263,11 @@ class Shortcuts
263
263
  fetchAllByPropertyOnObject(objectList, propertyName, propertyValue)
264
264
  {
265
265
  if(!objectList){
266
- return false;
266
+ return [];
267
267
  }
268
268
  let objKeys = Object.keys(objectList);
269
269
  if(0 === objKeys.length){
270
- return false;
270
+ return [];
271
271
  }
272
272
  let results = [];
273
273
  for(let i of objKeys){
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@reldens/utils",
3
3
  "scope": "@reldens",
4
- "version": "0.38.0",
4
+ "version": "0.39.0",
5
5
  "description": "Reldens - Utils",
6
6
  "author": "Damian A. Pastorini",
7
7
  "license": "MIT",