Skip to content

Commit 8a64fe2

Browse files
committed
chore(deps): use @Moeru new @moeru/std package for defu, bump dependencies
1 parent cdbe752 commit 8a64fe2

File tree

5 files changed

+923
-1337
lines changed

5 files changed

+923
-1337
lines changed

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "duckdb-wasm",
33
"type": "module",
44
"private": true,
5-
"packageManager": "pnpm@10.10.0",
5+
"packageManager": "pnpm@10.11.0",
66
"description": "Easy to use wrapper and Drizzle ORM driver for DuckDB WASM",
77
"author": {
88
"name": "Neko Ayaka",
@@ -30,27 +30,27 @@
3030
"nolyfill": "pnpm dlx nolyfill"
3131
},
3232
"devDependencies": {
33-
"@antfu/eslint-config": "^4.13.0",
34-
"@antfu/ni": "^24.3.0",
33+
"@antfu/eslint-config": "^4.13.2",
34+
"@antfu/ni": "^24.4.0",
3535
"@cspell/dict-ru_ru": "^2.3.0",
36-
"@types/node": "^22.15.17",
37-
"@unocss/eslint-config": "^66.1.1",
38-
"@unocss/eslint-plugin": "^66.1.1",
39-
"@vitest/coverage-v8": "^3.1.3",
40-
"bumpp": "^10.1.0",
41-
"changelogithub": "^13.13.0",
36+
"@types/node": "^22.15.21",
37+
"@unocss/eslint-config": "^66.1.2",
38+
"@unocss/eslint-plugin": "^66.1.2",
39+
"@vitest/coverage-v8": "^3.1.4",
40+
"bumpp": "^10.1.1",
41+
"changelogithub": "^13.14.0",
4242
"cross-env": "^7.0.3",
43-
"eslint": "^9.26.0",
44-
"lint-staged": "^15.5.2",
45-
"rollup": "^4.40.2",
43+
"eslint": "^9.27.0",
44+
"lint-staged": "^16.0.0",
45+
"rollup": "^4.41.0",
4646
"simple-git-hooks": "^2.13.0",
4747
"taze": "^19.1.0",
4848
"typescript": "~5.8.3",
4949
"unbuild": "^3.5.0",
50-
"unocss": "^66.1.1",
50+
"unocss": "^66.1.2",
5151
"vite": "^6.3.5",
52-
"vite-plugin-inspect": "^11.0.1",
53-
"vitest": "^3.1.3"
52+
"vite-plugin-inspect": "^11.1.0",
53+
"vitest": "^3.1.4"
5454
},
5555
"workspaces": [
5656
"packages/**",

packages/drizzle-duckdb-wasm/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,21 @@
7171
"dependencies": {
7272
"@date-fns/tz": "^1.2.0",
7373
"@duckdb/duckdb-wasm": "1.29.1-dev68.0",
74+
"@moeru/std": "0.1.0-beta.1",
7475
"@proj-airi/duckdb-wasm": "workspace:^",
75-
"apache-arrow": "^19.0.1",
76+
"apache-arrow": "^20.0.0",
7677
"date-fns": "^4.1.0",
77-
"defu": "^6.1.4",
78-
"es-toolkit": "^1.37.2"
78+
"es-toolkit": "^1.38.0"
7979
},
8080
"devDependencies": {
8181
"@iconify-json/simple-icons": "^1.2.35",
8282
"@iconify-json/solar": "^1.2.2",
8383
"@types/d3": "^7.4.3",
8484
"@types/d3-force": "^3.0.10",
85-
"@unocss/reset": "^66.1.1",
85+
"@unocss/reset": "^66.1.2",
8686
"@vitejs/plugin-vue": "^5.2.4",
87-
"@vitest/browser": "^3.1.3",
88-
"@vueuse/core": "^13.1.0",
87+
"@vitest/browser": "^3.1.4",
88+
"@vueuse/core": "^13.2.0",
8989
"d3": "^7.9.0",
9090
"d3-force": "^3.0.0",
9191
"drizzle-kit": "^0.31.1",
@@ -94,7 +94,7 @@
9494
"superjson": "^2.2.2",
9595
"unplugin-vue-router": "^0.12.0",
9696
"vite": "^6.3.5",
97-
"vue": "^3.5.13",
97+
"vue": "^3.5.14",
9898
"vue-router": "^4.5.1",
9999
"vue-tsc": "^3.0.0-alpha.6"
100100
}

packages/duckdb-wasm/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@
6565
"dependencies": {
6666
"@date-fns/tz": "^1.2.0",
6767
"@duckdb/duckdb-wasm": "1.29.1-dev68.0",
68-
"apache-arrow": "^19.0.1",
68+
"@moeru/std": "0.1.0-beta.1",
69+
"apache-arrow": "^20.0.0",
6970
"date-fns": "^4.1.0",
70-
"defu": "^6.1.4",
71-
"es-toolkit": "^1.37.2"
71+
"es-toolkit": "^1.38.0"
7272
},
7373
"devDependencies": {
7474
"drizzle-kit": "^0.31.1"

packages/duckdb-wasm/src/duckdb.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ import type { AsyncDuckDBConnection, DuckDBBundle, DuckDBBundles, Logger } from
22
import type { DBStorage } from './storage'
33

44
import { AsyncDuckDB, ConsoleLogger, selectBundle, VoidLogger } from '@duckdb/duckdb-wasm'
5-
import { defu } from 'defu'
5+
import { merge } from '@moeru/std/merge'
66

77
import { getEnvironment } from './common'
88
import { mapStructRowData } from './format'
99
import { DBStorageType } from './storage'
1010

1111
export type ConnectOptions = ConnectRequiredOptions & ConnectOptionalOptions
1212

13-
export interface ConnectOptionalOptions {
13+
export interface ConnectOptionalOptions extends Record<string, unknown> {
1414
bundles?: DuckDBBundles | Promise<DuckDBBundles>
1515
logger?: boolean | Logger
1616
storage?: DBStorage
1717
}
1818

19-
export interface ConnectRequiredOptions {
19+
export interface ConnectRequiredOptions extends Record<string, unknown> {
2020

2121
}
2222

@@ -29,7 +29,7 @@ export interface DuckDBWasmClient {
2929
}
3030

3131
export async function connect(options: ConnectOptions): Promise<DuckDBWasmClient> {
32-
const opts = defu(options, { logger: false })
32+
const opts = merge<ConnectOptions>({ logger: false }, options)
3333

3434
let worker: Worker
3535
let bundle: DuckDBBundle

0 commit comments

Comments
 (0)