Commit 8a00f66
committed
fix(node-smol-builder): use socket package bootstrap not local stub
Fix bootstrap path to use packages/socket/dist/bootstrap.js instead of
attempting to create a local stub. The socket package contains the thin
wrapper bootstrap that downloads @socketsecurity/cli on first run.
Architecture:
- packages/socket builds dist/bootstrap.js (thin wrapper)
- node-smol-builder embeds it into Node.js as internal/bootstrap/socketsecurity
- node-sea-builder uses same bootstrap in SEA blob
Previous error:
Cannot find native builtin: "internal/bootstrap/socketsecurity"
SIGABRT at startup
Root cause: Bootstrap was not being copied because it was looking in
the wrong location (node-smol-builder/bin/ instead of socket/dist/).1 parent b596bd1 commit 8a00f66
2 files changed
+5
-11
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
| 285 | + | |
285 | 286 | | |
286 | | - | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | | - | |
| 290 | + | |
| 291 | + | |
290 | 292 | | |
291 | 293 | | |
292 | 294 | | |
| |||
0 commit comments