sandboxedjs 0.1.69 → 0.1.70
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 +33 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +33 -18
- package/dist/index.js.map +1 -1
- package/dist/python/python.data +148 -135
- package/dist/python/python.js +1 -1
- package/dist/python/python.wasm +0 -0
- package/dist/python/runtime.json +3 -3
- package/dist/python-abi.cjs +4 -0
- package/dist/python-abi.cjs.map +1 -1
- package/dist/python-abi.d.cts +2 -0
- package/dist/python-abi.d.ts +2 -0
- package/dist/python-abi.js +4 -0
- package/dist/python-abi.js.map +1 -1
- package/package.json +1 -1
package/dist/python-abi.d.cts
CHANGED
|
@@ -512,6 +512,8 @@ declare class DescriptorTable {
|
|
|
512
512
|
inherit(): DescriptorTable;
|
|
513
513
|
/** Drop every descriptor. Every resource has an owner and a cleanup path. */
|
|
514
514
|
closeAll(): void;
|
|
515
|
+
/** The numbers this table currently holds, in ascending order. */
|
|
516
|
+
fds(): number[];
|
|
515
517
|
get openCount(): number;
|
|
516
518
|
private release;
|
|
517
519
|
}
|
package/dist/python-abi.d.ts
CHANGED
|
@@ -512,6 +512,8 @@ declare class DescriptorTable {
|
|
|
512
512
|
inherit(): DescriptorTable;
|
|
513
513
|
/** Drop every descriptor. Every resource has an owner and a cleanup path. */
|
|
514
514
|
closeAll(): void;
|
|
515
|
+
/** The numbers this table currently holds, in ascending order. */
|
|
516
|
+
fds(): number[];
|
|
515
517
|
get openCount(): number;
|
|
516
518
|
private release;
|
|
517
519
|
}
|
package/dist/python-abi.js
CHANGED
|
@@ -1005,6 +1005,10 @@ var DescriptorTable = class _DescriptorTable {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
|
+
/** The numbers this table currently holds, in ascending order. */
|
|
1009
|
+
fds() {
|
|
1010
|
+
return [...this.slots.keys()].sort((a, b) => a - b);
|
|
1011
|
+
}
|
|
1008
1012
|
get openCount() {
|
|
1009
1013
|
return this.slots.size;
|
|
1010
1014
|
}
|