@ai-ecoverse/slicc-kernel 1.80.0 → 1.81.0

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/node.js CHANGED
@@ -570,6 +570,7 @@ function id(value) {
570
570
  return value;
571
571
  }
572
572
  function changeCred(cur, change) {
573
+ if (typeof change !== "object" || change === null) throw fsError("EINVAL", "not a change");
573
574
  const privileged = cur.euid === 0;
574
575
  const next2 = copyCred(cur);
575
576
  for (const keys of [UIDS, GIDS]) {