Skip to content

Commit 91b54e9

Browse files
committed
Release 3.0.0 for SDK 52
1 parent d89fb8b commit 91b54e9

File tree

9 files changed

+10680
-8818
lines changed

9 files changed

+10680
-8818
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ jspm_packages/
5858
.expo
5959
dist
6060
.DS_Store
61+
example/.yarn/install-state.gz

.yarnrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

example/.yarnrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

example/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010
},
1111
"dependencies": {
1212
"@babel/plugin-transform-private-methods": "^7.22.5",
13-
"expo": "^51.0.8",
14-
"expo-dev-client": "^4.0.14",
15-
"expo-file-system": "~17.0.1",
16-
"expo-image-picker": "~15.0.5",
17-
"expo-splash-screen": "~0.27.4",
18-
"expo-status-bar": "~1.12.1",
13+
"expo": "^52.0.0",
14+
"expo-dev-client": "~5.0.1",
15+
"expo-file-system": "~18.0.3",
16+
"expo-image-picker": "~16.0.2",
17+
"expo-splash-screen": "~0.29.10",
18+
"expo-status-bar": "~2.0.0",
1919
"kysely-expo": "file:./node_modules/kysely-expo",
20-
"react": "18.2.0",
21-
"react-native": "0.74.1"
20+
"react": "18.3.1",
21+
"react-native": "0.76.2"
2222
},
2323
"devDependencies": {
2424
"@babel/core": "^7.24.0",
25-
"@types/react": "~18.2.79",
25+
"@types/react": "~18.3.12",
2626
"@types/react-native": "^0.73.0",
27-
"expo-sqlite": "~14.0.3",
28-
"kysely": "^0.27.2",
27+
"expo-sqlite": "~15.0.3",
28+
"kysely": "^0.27.4",
2929
"typescript": "^5.1.3"
3030
},
3131
"private": true,

example/yarn.lock

+7,947-6,793
Large diffs are not rendered by default.

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "kysely-expo",
3-
"version": "2.0.3",
3+
"version": "3.0.0",
44
"description": "Expo SQLite support for Kysely",
55
"author": "mphill",
66
"scripts": {
7-
"build": "tsc",
7+
"build": "tsc && rm -rf example/node_modules/kysely-expo && mkdir example/node_modules/kysely-expo && cp package.json example/node_modules/kysely-expo && cp -R dist example/node_modules/kysely-expo",
88
"publish": "tsc && npm publish",
99
"lint": "eslint ."
1010
},
@@ -15,18 +15,18 @@
1515
],
1616
"license": "MIT",
1717
"peerDependencies": {
18-
"expo-sqlite": "^14.0.3",
19-
"kysely": "^0.27.3"
18+
"expo-sqlite": "^15.0.3",
19+
"kysely": "^0.27.4"
2020
},
2121
"dependencies": {
22-
"expo-sqlite": "^14.0.3",
23-
"kysely": "^0.27.3"
22+
"expo-sqlite": "^15.0.3",
23+
"kysely": "^0.27.4"
2424
},
2525
"devDependencies": {
26-
"@types/react": "^18.2.48",
27-
"eslint": "^8.56.0",
26+
"@types/react": "^18.3.12",
27+
"eslint": "^8.57.1",
2828
"eslint-config-prettier": "^9.1.0",
29-
"eslint-config-universe": "^12.0.0",
30-
"prettier": "^3.2.4"
29+
"eslint-config-universe": "^12.1.0",
30+
"prettier": "^3.3.3"
3131
}
3232
}

src/converters/serialize.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SQLiteBindValue } from "expo-sqlite/next";
1+
import { SQLiteBindValue } from "expo-sqlite";
22
import { isUint8Array } from "../helpers";
33

44
export const serialize = (parameters: unknown[]): SQLiteBindValue[] => {

src/driver.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
CompiledQuery,
1414
SelectQueryNode,
1515
} from "kysely";
16-
import * as SQLite from "expo-sqlite/next";
16+
import * as SQLite from "expo-sqlite";
1717
import { ExpoDialectConfig } from "./types/expo-dialect-config";
1818
import { deserialize as autoAffinityDeserialize } from "./converters/auto-affinity-deserialize";
1919
import { deserialize as nameBasedDeserialize } from "./converters/column-based-deserialize";

0 commit comments

Comments
 (0)