@prisma/adapter-libsql 6.8.0-dev.2 → 6.8.0-dev.4
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 -0
- package/dist/index-node.mjs +3 -0
- package/dist/index-web.js +3 -0
- package/dist/index-web.mjs +3 -0
- package/package.json +2 -2
package/dist/index-node.js
CHANGED
|
@@ -270,6 +270,9 @@ var LibSqlQueryable = class {
|
|
|
270
270
|
*/
|
|
271
271
|
async performIO(query) {
|
|
272
272
|
const release = await this[LOCK_TAG].acquire();
|
|
273
|
+
if (query.args.some((arg) => Array.isArray(arg))) {
|
|
274
|
+
throw new Error("Attempted to pass an array argument to the LibSQL client, which is not supported");
|
|
275
|
+
}
|
|
273
276
|
try {
|
|
274
277
|
const result = await this.client.execute(query);
|
|
275
278
|
return result;
|
package/dist/index-node.mjs
CHANGED
|
@@ -244,6 +244,9 @@ var LibSqlQueryable = class {
|
|
|
244
244
|
*/
|
|
245
245
|
async performIO(query) {
|
|
246
246
|
const release = await this[LOCK_TAG].acquire();
|
|
247
|
+
if (query.args.some((arg) => Array.isArray(arg))) {
|
|
248
|
+
throw new Error("Attempted to pass an array argument to the LibSQL client, which is not supported");
|
|
249
|
+
}
|
|
247
250
|
try {
|
|
248
251
|
const result = await this.client.execute(query);
|
|
249
252
|
return result;
|
package/dist/index-web.js
CHANGED
|
@@ -270,6 +270,9 @@ var LibSqlQueryable = class {
|
|
|
270
270
|
*/
|
|
271
271
|
async performIO(query) {
|
|
272
272
|
const release = await this[LOCK_TAG].acquire();
|
|
273
|
+
if (query.args.some((arg) => Array.isArray(arg))) {
|
|
274
|
+
throw new Error("Attempted to pass an array argument to the LibSQL client, which is not supported");
|
|
275
|
+
}
|
|
273
276
|
try {
|
|
274
277
|
const result = await this.client.execute(query);
|
|
275
278
|
return result;
|
package/dist/index-web.mjs
CHANGED
|
@@ -244,6 +244,9 @@ var LibSqlQueryable = class {
|
|
|
244
244
|
*/
|
|
245
245
|
async performIO(query) {
|
|
246
246
|
const release = await this[LOCK_TAG].acquire();
|
|
247
|
+
if (query.args.some((arg) => Array.isArray(arg))) {
|
|
248
|
+
throw new Error("Attempted to pass an array argument to the LibSQL client, which is not supported");
|
|
249
|
+
}
|
|
247
250
|
try {
|
|
248
251
|
const result = await this.client.execute(query);
|
|
249
252
|
return result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/adapter-libsql",
|
|
3
|
-
"version": "6.8.0-dev.
|
|
3
|
+
"version": "6.8.0-dev.4",
|
|
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.8.0-dev.
|
|
46
|
+
"@prisma/driver-adapter-utils": "6.8.0-dev.4"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"jest": "29.7.0",
|