Open tobilg opened 2 weeks ago
Sorry for delay.
I just pushed a new version that makes @duckdb/duckdb-wasm a peer dependency instead. This way you can update the core duckdb version as you like, without blocking on me :)
You'll need to npm install @duckdb/duckdb-wasm
in your project, if you haven't already.
I've tested and everything seems to work, but let me know if you have any issues with this change.
hm, I'm trying to use a recent dev version and seeing this error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: testv2@0.0.0
npm ERR! Found: @duckdb/duckdb-wasm@1.28.1-dev271.0
npm ERR! node_modules/@duckdb/duckdb-wasm
npm ERR! @duckdb/duckdb-wasm@"1.28.1-dev271.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @duckdb/duckdb-wasm@"^1.28.0" from duckdb-wasm-kit@0.1.36
I'm not sure why 1.28.1-dev271.0
doesn't seem to be covered by ^1.28.0
though... :-/
Thanks, I pushed a new version, can you try again?
Looks like the dev version numbers aren't working with ^1.28.0
(it works in yarn, but not in npm).
For now, I made the peer dependency versioning very loose:
"@duckdb/duckdb-wasm": "*",
"apache-arrow": ">=15.0.0",
I think that should be fine, as this library doesn't depend on anything from duckdb-wasm that's likely to break. But let me know if you run into any issues.
I tested it works with "1.28.1-dev258.0" (but it looks like newer versions are currently broken)
Could you please upgrade the duckdb-wasm and apache-arrow? The latest version https://www.npmjs.com/package/@duckdb/duckdb-wasm/v/1.28.1-dev258.0 uses Arrow v17 instead of v15 a well:
https://github.com/duckdb/duckdb-wasm/blob/main/packages/duckdb-wasm/package.json#L26
I can create a PR if you like. Thanks!