sandboxedjs 0.1.56 → 0.1.58
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/README.md +5 -0
- package/dist/agent.d.cts +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/{container-BAgb9I06.d.ts → container-CfOQpBhG.d.ts} +2 -0
- package/dist/{container-CY_hS650.d.cts → container-sd_UKlqo.d.cts} +2 -0
- package/dist/index.cjs +70 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +70 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -729,6 +729,11 @@ await box.exec("python3 -c 'import sqlite3; print(sqlite3.sqlite_version)'");
|
|
|
729
729
|
Python never falls back to a host interpreter. When selecting the optional
|
|
730
730
|
Pyodide backend, its module and asset directory must use the same version.
|
|
731
731
|
|
|
732
|
+
The ABI-matched Pydantic Core wheels are embedded in the package's JavaScript
|
|
733
|
+
bundle, so Vite and other bundlers do not need to copy or serve a separate
|
|
734
|
+
wheel directory. `configurePython({ wheelIndex })` remains available for a
|
|
735
|
+
private index containing additional native extensions.
|
|
736
|
+
|
|
732
737
|
## Uploading files
|
|
733
738
|
|
|
734
739
|
A file picker in a browser never hands over a path — it hands over the file's bytes. So getting a
|
package/dist/agent.d.cts
CHANGED
package/dist/agent.d.ts
CHANGED
|
@@ -1147,6 +1147,8 @@ interface WheelIndex {
|
|
|
1147
1147
|
/** Where `filename` is resolved against. */
|
|
1148
1148
|
baseUrl: string;
|
|
1149
1149
|
wheels: PrebuiltWheel[];
|
|
1150
|
+
/** Optional in-bundle wheel payloads, keyed by filename and base64 encoded. */
|
|
1151
|
+
files?: Record<string, string>;
|
|
1150
1152
|
}
|
|
1151
1153
|
|
|
1152
1154
|
/**
|
|
@@ -1147,6 +1147,8 @@ interface WheelIndex {
|
|
|
1147
1147
|
/** Where `filename` is resolved against. */
|
|
1148
1148
|
baseUrl: string;
|
|
1149
1149
|
wheels: PrebuiltWheel[];
|
|
1150
|
+
/** Optional in-bundle wheel payloads, keyed by filename and base64 encoded. */
|
|
1151
|
+
files?: Record<string, string>;
|
|
1150
1152
|
}
|
|
1151
1153
|
|
|
1152
1154
|
/**
|