@yuneta/gobj-js 7.26.12 → 7.26.13

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.
@@ -2136,6 +2136,7 @@ function Nl(e, t, n, r) {
2136
2136
  if (e && !el(e) && ir("GObj bad instanceof"), !Yr(t)) return ir("kw is not an object"), -1;
2137
2137
  if (!Jr(n)) return ir(`${e ? Rt(e) + ": " : ""}kw_set_dict_value(): path must be a string: ${String(n)}`), -1;
2138
2138
  if ("" === n) return ir((e ? Rt(e) + ": " : "") + "kw_set_dict_value(): path empty"), -1;
2139
+ if (n.split("`").includes("")) return ir(`${e ? Rt(e) + ": " : ""}kw_set_dict_value(): empty segment in path: '${n}'`), -1;
2139
2140
  let l = n.split("`"), o = l.length;
2140
2141
  for (let i = 0; i < o; i++) {
2141
2142
  let s = l[i];