@tursodatabase/database 0.4.0-pre.1 → 0.4.0-pre.3
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/compat.test.js +1 -1
- package/dist/promise.test.js +1 -1
- package/package.json +6 -6
package/dist/compat.test.js
CHANGED
|
@@ -39,7 +39,7 @@ test('readonly-db', () => {
|
|
|
39
39
|
});
|
|
40
40
|
test('file-must-exist', () => {
|
|
41
41
|
const path = `test-${(Math.random() * 10000) | 0}.db`;
|
|
42
|
-
expect(() => new Database(path, { fileMustExist: true })).toThrowError(/failed to open
|
|
42
|
+
expect(() => new Database(path, { fileMustExist: true })).toThrowError(/failed to open database/);
|
|
43
43
|
});
|
|
44
44
|
test('on-disk db', () => {
|
|
45
45
|
const path = `test-${(Math.random() * 10000) | 0}.db`;
|
package/dist/promise.test.js
CHANGED
|
@@ -59,7 +59,7 @@ test('readonly-db', async () => {
|
|
|
59
59
|
});
|
|
60
60
|
test('file-must-exist', async () => {
|
|
61
61
|
const path = `test-${(Math.random() * 10000) | 0}.db`;
|
|
62
|
-
await expect(async () => await connect(path, { fileMustExist: true })).rejects.toThrowError(/failed to open
|
|
62
|
+
await expect(async () => await connect(path, { fileMustExist: true })).rejects.toThrowError(/failed to open database/);
|
|
63
63
|
});
|
|
64
64
|
test('implicit connect', async () => {
|
|
65
65
|
const db = new Database(':memory:');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tursodatabase/database",
|
|
3
|
-
"version": "0.4.0-pre.
|
|
3
|
+
"version": "0.4.0-pre.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/tursodatabase/turso"
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@tursodatabase/database-common": "^0.4.0-pre.
|
|
50
|
+
"@tursodatabase/database-common": "^0.4.0-pre.3"
|
|
51
51
|
},
|
|
52
52
|
"imports": {
|
|
53
53
|
"#index": "./index.js"
|
|
54
54
|
},
|
|
55
55
|
"optionalDependencies": {
|
|
56
|
-
"@tursodatabase/database-linux-x64-gnu": "0.4.0-pre.
|
|
57
|
-
"@tursodatabase/database-win32-x64-msvc": "0.4.0-pre.
|
|
58
|
-
"@tursodatabase/database-darwin-arm64": "0.4.0-pre.
|
|
59
|
-
"@tursodatabase/database-linux-arm64-gnu": "0.4.0-pre.
|
|
56
|
+
"@tursodatabase/database-linux-x64-gnu": "0.4.0-pre.3",
|
|
57
|
+
"@tursodatabase/database-win32-x64-msvc": "0.4.0-pre.3",
|
|
58
|
+
"@tursodatabase/database-darwin-arm64": "0.4.0-pre.3",
|
|
59
|
+
"@tursodatabase/database-linux-arm64-gnu": "0.4.0-pre.3"
|
|
60
60
|
}
|
|
61
61
|
}
|