@pikku/kysely-sqlite 0.12.5 → 0.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @pikku/kysely-sqlite
|
|
2
2
|
|
|
3
|
+
## 0.12.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 34f254e: Bump the `kysely` dependency range to `^0.29.0` so it dedupes onto a single
|
|
8
|
+
copy alongside Better Auth (which bundles kysely 0.29.x), avoiding two
|
|
9
|
+
incompatible `Kysely` classes (the `#private` brand mismatch) when both pikku's
|
|
10
|
+
adapters and Better Auth share a database connection.
|
|
11
|
+
|
|
12
|
+
kysely 0.29 is ESM-only, which the unmaintained `kysely-plugin-serialize`
|
|
13
|
+
(no `exports` map, CommonJS build) cannot import. Its `SerializePlugin` is now
|
|
14
|
+
maintained directly in `@pikku/kysely` and re-exported, and the external
|
|
15
|
+
dependency is dropped from `@pikku/kysely`, `@pikku/kysely-sqlite`, and
|
|
16
|
+
`@pikku/cloudflare`.
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [6565b97]
|
|
19
|
+
- Updated dependencies [34f254e]
|
|
20
|
+
- @pikku/kysely@0.12.16
|
|
21
|
+
|
|
3
22
|
## 0.12.5
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely, SqliteDialect } from 'kysely';
|
|
2
|
-
import { SerializePlugin } from 'kysely
|
|
2
|
+
import { SerializePlugin } from '@pikku/kysely';
|
|
3
3
|
export function createSQLiteKysely(database) {
|
|
4
4
|
return new Kysely({
|
|
5
5
|
dialect: new SqliteDialect({ database }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/kysely-sqlite",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.6",
|
|
4
4
|
"author": "yasser.fadl@gmail.com",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "dist/src/index.js",
|
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@pikku/core": "^0.12.21",
|
|
17
|
-
"@pikku/kysely": "^0.12.
|
|
18
|
-
"kysely": "^0.
|
|
19
|
-
"kysely-plugin-serialize": "^0.8.2"
|
|
17
|
+
"@pikku/kysely": "^0.12.16",
|
|
18
|
+
"kysely": "^0.29.0"
|
|
20
19
|
},
|
|
21
20
|
"devDependencies": {
|
|
22
21
|
"typescript": "^5.9"
|
|
22
|
+
},
|
|
23
|
+
"exports": {
|
|
24
|
+
".": "./dist/src/index.js"
|
|
23
25
|
}
|
|
24
26
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely, SqliteDialect, type SqliteDatabase } from 'kysely'
|
|
2
|
-
import { SerializePlugin } from 'kysely
|
|
2
|
+
import { SerializePlugin } from '@pikku/kysely'
|
|
3
3
|
import type { KyselyPikkuDB } from '@pikku/kysely'
|
|
4
4
|
|
|
5
5
|
export function createSQLiteKysely(
|