ReviewOS

also looking at this

stacks/bun-query-builder

fix(deps): main is red — kysely bumped past its adapter's peer range

#1078
Merged glennmichael123 wants to merge fix/kysely-peer-range into main
3 files +11 -8
bun.lockmodified+4-6
Changes to bun.lock
@@ -16,7 +16,7 @@
1616 },
1717 "packages/benchmark": {
1818 "name": "@bun-query-builder/benchmark",
19 "version": "0.2.25",
19 "version": "0.2.26",
2020 "dependencies": {
2121 "@prisma/adapter-better-sqlite3": "^7.9.1",
2222 "@prisma/client": "6.19.3",
@@ -25,7 +25,7 @@
2525 "chalk": "^5.6.2",
2626 "cli-table3": "^0.6.5",
2727 "drizzle-orm": "^0.45.2",
28 "kysely": "^0.29.5",
28 "kysely": "^0.28.14",
2929 "kysely-bun-sqlite": "^0.4.0",
3030 "mitata": "^1.0.34",
3131 "prisma": "6.19.3",
@@ -38,7 +38,7 @@
3838 },
3939 "packages/bun-query-builder": {
4040 "name": "bun-query-builder",
41 "version": "0.2.25",
41 "version": "0.2.26",
4242 "bin": {
4343 "query-builder": "./dist/bin/cli.js",
4444 "qbx": "./dist/bin/cli.js",
@@ -485,7 +485,7 @@
485485
486486 "kleur": ["kleur@3.0.3", "", {}, "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="],
487487
488 "kysely": ["kysely@0.29.5", "", {}, "sha512-ooa+eSbBNPTo3MycPEuW5jdrxQdQwdtB3LC3h43FiXQbIry5tR0C5lDG7eealK0E4D7XjrnOP5DIUg/LyjRMYQ=="],
488 "kysely": ["kysely@0.28.17", "", {}, "sha512-nbD8lB9EB3wNdMhOCdx5Li8DxnLbvKByylRLcJ1h+4SkrowVeECAyZlyiKMThF7xFdRz0jSQ2MoJr+wXux2y0Q=="],
489489
490490 "kysely-bun-sqlite": ["kysely-bun-sqlite@0.4.0", "", { "dependencies": { "bun-types": "^1.1.31" }, "peerDependencies": { "kysely": "^0.28.2" } }, "sha512-2EkQE5sT4ewiw7IWfJsAkpxJ/QPVKXKO5sRYI/xjjJIJlECuOdtG+ssYM0twZJySrdrmuildNPFYVreyu1EdZg=="],
491491
@@ -763,8 +763,6 @@
763763
764764 "electron/@types/node": ["@types/node@22.20.1", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q=="],
765765
766 "kysely-bun-sqlite/kysely": ["kysely@0.28.17", "", {}, "sha512-nbD8lB9EB3wNdMhOCdx5Li8DxnLbvKByylRLcJ1h+4SkrowVeECAyZlyiKMThF7xFdRz0jSQ2MoJr+wXux2y0Q=="],
767
768766 "lazystream/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
769767
770768 "nypm/citty": ["citty@0.2.2", "", {}, "sha512-+6vJA3L98yv+IdfKGZHBNiGW5KHn22e/JwID0Strsz8h4S/csAu/OuICwxrg44k5MRiZHWIo8XXuJgQTriRP4w=="],
packages/benchmark/package.jsonmodified+1-1
Changes to packages/benchmark/package.json
@@ -20,7 +20,7 @@
2020 "chalk": "^5.6.2",
2121 "cli-table3": "^0.6.5",
2222 "drizzle-orm": "^0.45.2",
23 "kysely": "^0.29.5",
23 "kysely": "^0.28.14",
2424 "kysely-bun-sqlite": "^0.4.0",
2525 "mitata": "^1.0.34",
2626 "prisma": "6.19.3",
packages/bun-query-builder/src/types.tsmodified+6-1
Changes to packages/bun-query-builder/src/types.ts
@@ -514,7 +514,12 @@ export interface QueryBuilderConfig {
514514 * `QueryBuilderConfig`. If one is ever added, give it a clause here too: a
515515 * mapped type shreds its methods exactly like a function's.
516516 */
517export type DeepPartial<T> = T extends (...args: any[]) => any // eslint-disable-line pickier/no-unused-vars -- `args` names a parameter in a function TYPE, not a binding
517// `args` names a parameter in a function TYPE, not a binding, so there is
518// nothing that could reference it. The trailing `eslint-disable-line` form this
519// used to carry stopped being honoured in pickier 0.1.56; only the
520// next-line form is.
521// eslint-disable-next-line pickier/no-unused-vars
522export type DeepPartial<T> = T extends (...args: any[]) => any
518523 ? T
519524 : T extends readonly (infer E)[]
520525 ? readonly E[]