@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.
@@ -2150,6 +2150,7 @@ function id(value) {
2150
2150
  return value;
2151
2151
  }
2152
2152
  function changeCred(cur, change) {
2153
+ if (typeof change !== "object" || change === null) throw fsError("EINVAL", "not a change");
2153
2154
  const privileged = cur.euid === 0;
2154
2155
  const next2 = copyCred(cur);
2155
2156
  for (const keys of [UIDS, GIDS]) {