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