@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.
@@ -4442,6 +4442,10 @@ function kw_set_dict_value(gobj, kw, path, value) {
4442
4442
  log_error(`${gobj ? gobj_short_name(gobj) + ": " : ""}kw_set_dict_value(): path empty`);
4443
4443
  return -1;
4444
4444
  }
4445
+ if (path.split("`").includes("")) {
4446
+ log_error(`${gobj ? gobj_short_name(gobj) + ": " : ""}kw_set_dict_value(): empty segment in path: '${path}'`);
4447
+ return -1;
4448
+ }
4445
4449
  let ss = path.split("`");
4446
4450
  let len = ss.length;
4447
4451
  for (let i = 0; i < len; i++) {