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.
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/python-abi.cjs +3 -3
- package/dist/python-abi.cjs.map +1 -1
- package/dist/python-abi.js +3 -3
- package/dist/python-abi.js.map +1 -1
- package/dist/python-worker.js +12 -2
- package/dist/python-worker.js.map +1 -1
- package/package.json +1 -1
package/dist/python-abi.cjs
CHANGED
|
@@ -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 (; ; ) {
|