@prisma/adapter-libsql 6.9.0-dev.8 → 6.9.0-integration-push-xtvzqtsrpwpk.1
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/dist/index-node.js +3 -3
- package/dist/index-node.mjs +3 -3
- package/dist/index-web.js +3 -3
- package/dist/index-web.mjs +3 -3
- package/package.json +2 -2
package/dist/index-node.js
CHANGED
|
@@ -205,17 +205,17 @@ function convertDriverError(error) {
|
|
|
205
205
|
} else if (error.message.startsWith("no such table")) {
|
|
206
206
|
return {
|
|
207
207
|
kind: "TableDoesNotExist",
|
|
208
|
-
table: error.message.split(": ").
|
|
208
|
+
table: error.message.split(": ").at(1)
|
|
209
209
|
};
|
|
210
210
|
} else if (error.message.startsWith("no such column")) {
|
|
211
211
|
return {
|
|
212
212
|
kind: "ColumnNotFound",
|
|
213
|
-
column: error.message.split(": ").
|
|
213
|
+
column: error.message.split(": ").at(1)
|
|
214
214
|
};
|
|
215
215
|
} else if (error.message.includes("has no column named ")) {
|
|
216
216
|
return {
|
|
217
217
|
kind: "ColumnNotFound",
|
|
218
|
-
column: error.message.split("has no column named ").
|
|
218
|
+
column: error.message.split("has no column named ").at(1)
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
221
|
return {
|
package/dist/index-node.mjs
CHANGED
|
@@ -179,17 +179,17 @@ function convertDriverError(error) {
|
|
|
179
179
|
} else if (error.message.startsWith("no such table")) {
|
|
180
180
|
return {
|
|
181
181
|
kind: "TableDoesNotExist",
|
|
182
|
-
table: error.message.split(": ").
|
|
182
|
+
table: error.message.split(": ").at(1)
|
|
183
183
|
};
|
|
184
184
|
} else if (error.message.startsWith("no such column")) {
|
|
185
185
|
return {
|
|
186
186
|
kind: "ColumnNotFound",
|
|
187
|
-
column: error.message.split(": ").
|
|
187
|
+
column: error.message.split(": ").at(1)
|
|
188
188
|
};
|
|
189
189
|
} else if (error.message.includes("has no column named ")) {
|
|
190
190
|
return {
|
|
191
191
|
kind: "ColumnNotFound",
|
|
192
|
-
column: error.message.split("has no column named ").
|
|
192
|
+
column: error.message.split("has no column named ").at(1)
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
return {
|
package/dist/index-web.js
CHANGED
|
@@ -205,17 +205,17 @@ function convertDriverError(error) {
|
|
|
205
205
|
} else if (error.message.startsWith("no such table")) {
|
|
206
206
|
return {
|
|
207
207
|
kind: "TableDoesNotExist",
|
|
208
|
-
table: error.message.split(": ").
|
|
208
|
+
table: error.message.split(": ").at(1)
|
|
209
209
|
};
|
|
210
210
|
} else if (error.message.startsWith("no such column")) {
|
|
211
211
|
return {
|
|
212
212
|
kind: "ColumnNotFound",
|
|
213
|
-
column: error.message.split(": ").
|
|
213
|
+
column: error.message.split(": ").at(1)
|
|
214
214
|
};
|
|
215
215
|
} else if (error.message.includes("has no column named ")) {
|
|
216
216
|
return {
|
|
217
217
|
kind: "ColumnNotFound",
|
|
218
|
-
column: error.message.split("has no column named ").
|
|
218
|
+
column: error.message.split("has no column named ").at(1)
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
221
|
return {
|
package/dist/index-web.mjs
CHANGED
|
@@ -179,17 +179,17 @@ function convertDriverError(error) {
|
|
|
179
179
|
} else if (error.message.startsWith("no such table")) {
|
|
180
180
|
return {
|
|
181
181
|
kind: "TableDoesNotExist",
|
|
182
|
-
table: error.message.split(": ").
|
|
182
|
+
table: error.message.split(": ").at(1)
|
|
183
183
|
};
|
|
184
184
|
} else if (error.message.startsWith("no such column")) {
|
|
185
185
|
return {
|
|
186
186
|
kind: "ColumnNotFound",
|
|
187
|
-
column: error.message.split(": ").
|
|
187
|
+
column: error.message.split(": ").at(1)
|
|
188
188
|
};
|
|
189
189
|
} else if (error.message.includes("has no column named ")) {
|
|
190
190
|
return {
|
|
191
191
|
kind: "ColumnNotFound",
|
|
192
|
-
column: error.message.split("has no column named ").
|
|
192
|
+
column: error.message.split("has no column named ").at(1)
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/adapter-libsql",
|
|
3
|
-
"version": "6.9.0-
|
|
3
|
+
"version": "6.9.0-integration-push-xtvzqtsrpwpk.1",
|
|
4
4
|
"description": "Prisma's driver adapter for libSQL and Turso",
|
|
5
5
|
"main": "dist/index-node.js",
|
|
6
6
|
"module": "dist/index-node.mjs",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@libsql/client": "^0.3.5 || ^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0",
|
|
45
45
|
"async-mutex": "0.5.0",
|
|
46
|
-
"@prisma/driver-adapter-utils": "6.9.0-
|
|
46
|
+
"@prisma/driver-adapter-utils": "6.9.0-integration-push-xtvzqtsrpwpk.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"jest": "29.7.0",
|