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