@socotra/ec-react-utils 2.29.0-next.6 → 2.29.0-next.8
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/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -6445,7 +6445,7 @@ De.prototype.vm = {
|
|
|
6445
6445
|
const vb = (e, t, a = "locator") => {
|
|
6446
6446
|
const c = De({
|
|
6447
6447
|
json: e,
|
|
6448
|
-
path: ["$", `[?(@.${a}=="${t}")]`]
|
|
6448
|
+
path: ["$", `[?(@ && @.${a}=="${t}")]`]
|
|
6449
6449
|
});
|
|
6450
6450
|
return c.length ? c[0] : null;
|
|
6451
6451
|
}, Lj = (e) => {
|
|
@@ -32825,13 +32825,13 @@ function lne(e) {
|
|
|
32825
32825
|
const dne = (e, t) => {
|
|
32826
32826
|
const a = De({
|
|
32827
32827
|
json: e,
|
|
32828
|
-
path: ["$", `[?(@.type=="${t}")]`]
|
|
32828
|
+
path: ["$", `[?(@ && @.type=="${t}")]`]
|
|
32829
32829
|
});
|
|
32830
32830
|
return a.length ? a[0] : null;
|
|
32831
32831
|
}, pne = (e, t) => {
|
|
32832
32832
|
const a = De({
|
|
32833
32833
|
json: e,
|
|
32834
|
-
path: ["$", `[?(@.type=="${t}")]`]
|
|
32834
|
+
path: ["$", `[?(@ && @.type=="${t}")]`]
|
|
32835
32835
|
});
|
|
32836
32836
|
return a.length === 0 ? null : a;
|
|
32837
32837
|
}, Zre = ({
|