@pie-element/shared-lodash 0.1.1-next.0 → 0.1.1-next.1

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/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -101,6 +101,10 @@ function b(e, t) {
101
101
  return e;
102
102
  }
103
103
  function x(e, t, r) {
104
+ if (!Array.isArray(t) && e != null && Object.prototype.hasOwnProperty.call(Object(e), t)) {
105
+ let n = e[t];
106
+ return n === void 0 ? r : n;
107
+ }
104
108
  let i = e;
105
109
  for (let e of n(t)) {
106
110
  if (i == null) return r;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/shared-lodash",
3
- "version": "0.1.1-next.0",
3
+ "version": "0.1.1-next.1",
4
4
  "description": "Vendored lodash helper subset for PIE elements",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",