@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 +2 -2
- package/lib/utils.js +2 -2
- package/package.json +2 -2
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,
|
|
416
|
-
return foundValue !== null ? foundValue :
|
|
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,
|
|
592
|
-
return foundValue !== null ? foundValue :
|
|
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.
|
|
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": "
|
|
114
|
+
"gitHead": "ec38fa9c18606a8d5566183b8acf659a894eca0d"
|
|
115
115
|
}
|