@panneau/core 3.0.187 → 3.0.190

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/es/utils.js CHANGED
@@ -412,8 +412,8 @@ var getFileName$1 = getFileName;
412
412
 
413
413
  var getPathValue = function getPathValue(it, path) {
414
414
  var value = get(it, path, null);
415
- return value !== null && isObject(value) ? Object.values(value).reduce(function (foundValue, value) {
416
- return foundValue !== null ? foundValue : value;
415
+ return value !== null && isObject(value) ? Object.values(value).reduce(function (foundValue, val) {
416
+ return foundValue !== null ? foundValue : val;
417
417
  }, null) : value;
418
418
  };
419
419
  var getPathValue$1 = getPathValue;
package/lib/utils.js CHANGED
@@ -588,8 +588,8 @@ var getFileName$1 = getFileName;
588
588
 
589
589
  var getPathValue = function getPathValue(it, path) {
590
590
  var value = get(it, path, null);
591
- return value !== null && isObject(value) ? Object.values(value).reduce(function (foundValue, value) {
592
- return foundValue !== null ? foundValue : value;
591
+ return value !== null && isObject(value) ? Object.values(value).reduce(function (foundValue, val) {
592
+ return foundValue !== null ? foundValue : val;
593
593
  }, null) : value;
594
594
  };
595
595
  var getPathValue$1 = getPathValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/core",
3
- "version": "3.0.187",
3
+ "version": "3.0.190",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -111,5 +111,5 @@
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  },
114
- "gitHead": "659bc65b0123e1d2d5b9aefa6628d49726100747"
114
+ "gitHead": "ec38fa9c18606a8d5566183b8acf659a894eca0d"
115
115
  }