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