sandboxedjs 0.1.64 → 0.1.66

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.
@@ -1267,6 +1267,9 @@ var SocketDescription = class _SocketDescription {
1267
1267
 
1268
1268
  // src/runtime/python/syscall-server.ts
1269
1269
  var MAX_TRANSFER = 8 * 1024 * 1024;
1270
+ var POLLIN = 1;
1271
+ var POLLOUT = 4;
1272
+ var POLLHUP = 16;
1270
1273
  function createHostAbiServer(proc) {
1271
1274
  const files = new FileService(proc.vfs, proc.cred);
1272
1275
  const started = Date.now();
@@ -1629,9 +1632,6 @@ function createHostAbiServer(proc) {
1629
1632
  if (proc.signal.aborted) throw new PosixError(Errno.EINTR);
1630
1633
  }
1631
1634
  }
1632
- const POLLIN = 1;
1633
- const POLLOUT = 4;
1634
- const POLLHUP = 16;
1635
1635
  async function poll(requests, timeoutMs) {
1636
1636
  const deadline = timeoutMs < 0 ? Infinity : Date.now() + timeoutMs;
1637
1637
  for (; ; ) {