Context
The sequential Bun corpus frontier is js/third_party/duckdb/duckdb-basic-usage.test.ts at position 3958/4708, following completed Comlink work in #215 and the modern @duckdb/node-api port in #209. This contributes to #66.
Current gap
The copied test reaches the deprecated duckdb CommonJS package on supported ABI/platform combinations, but require("duckdb") is not represented. It constructs an in-memory database and uses the callback-style all API.
Acceptance criteria
- CommonJS duckdb resolution exposes Database.
- Database accepts :memory: and preserves connection lifecycle state.
- all executes the copied SELECT projection and invokes its callback asynchronously.
- Success returns null error and numeric row data; SQL errors preserve useful query/stack context.
- The copied test passes and is pinned in the permanent third-party gate.