ITADN

Document how to update @duckdb/duckdb-wasm

#2024Closedtschaub 创建于 2025-09-01
enhancement
T
tschaubcommented
I'm hoping to update the version of `@duckdb/duckdb-wasm` used in a SQL fenced code block Markdown like this: ```sql SELECT version(); ``` I have tried deleting `src/.observable/cache` and installing `@duckdb/duckdb-wasm` with ```sh npm install @duckdb/duckdb-wasm@latest ``` After doing this, the version reported by `npm ls` looks like what I would expect: ```sh #npm ls @duckdb/duckdb-wasm versions@ /path/to/framework/project └── @duckdb/duckdb-wasm@1.29.1-dev132.0 ``` And the version in the `src/.observablehq/cache/_npm` directory looks like what I would expect (given how they are using the `latest` tag): ```sh # ls src/.observablehq/cache/_npm/@duckdb duckdb-wasm@1.29.0 ``` However, the `SELECT version()` as shown above in a fenced SQL code block still shows `v1.1.1`. I'd like to figure out how to control the version of DuckDB used in SQL code blocks. I have read through #1007 #1009, #1070, and #1223. But I'm still uncertain how to update the version of DuckDB used.
关闭于 2025-09-01 2 条评论