@live-change/db-server 0.9.96 → 0.9.98
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/lib/Server.js +2 -2
- package/package.json +14 -14
package/lib/Server.js
CHANGED
|
@@ -428,13 +428,13 @@ class Server {
|
|
|
428
428
|
const database = this.databases.get(databaseName)
|
|
429
429
|
if(objectDir !== 'indexes') {
|
|
430
430
|
console.error(`unknown object dir ${objectDir}, something is wrong, exiting...`)
|
|
431
|
-
process.exit(
|
|
431
|
+
process.exit(2)
|
|
432
432
|
}
|
|
433
433
|
const indexName = pathParts[2]
|
|
434
434
|
if(!database) {
|
|
435
435
|
if(this.initializingDatabase.name !== databaseName) {
|
|
436
436
|
console.error('error in non existing database?!', databaseName)
|
|
437
|
-
process.exit(
|
|
437
|
+
process.exit(3)
|
|
438
438
|
}
|
|
439
439
|
console.error('error when initializing database', databaseName)
|
|
440
440
|
this.initializingDatabase.handleUnhandledRejectionInIndex(indexName, reason, promise)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/db-server",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.98",
|
|
4
4
|
"description": "Database with observable data for live queries",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"tape": "^5.7.4"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@live-change/dao": "^0.9.
|
|
36
|
-
"@live-change/dao-message": "^0.9.
|
|
37
|
-
"@live-change/dao-sockjs": "^0.9.
|
|
38
|
-
"@live-change/dao-websocket": "^0.9.
|
|
39
|
-
"@live-change/db": "^0.9.
|
|
40
|
-
"@live-change/db-admin": "^0.9.
|
|
41
|
-
"@live-change/db-client": "^0.9.
|
|
42
|
-
"@live-change/db-store-level": "^0.9.
|
|
43
|
-
"@live-change/db-store-lmdb": "^0.9.
|
|
44
|
-
"@live-change/db-store-observable-db": "^0.9.
|
|
45
|
-
"@live-change/db-store-rbtree": "^0.9.
|
|
46
|
-
"@live-change/server": "^0.9.
|
|
35
|
+
"@live-change/dao": "^0.9.98",
|
|
36
|
+
"@live-change/dao-message": "^0.9.98",
|
|
37
|
+
"@live-change/dao-sockjs": "^0.9.98",
|
|
38
|
+
"@live-change/dao-websocket": "^0.9.98",
|
|
39
|
+
"@live-change/db": "^0.9.98",
|
|
40
|
+
"@live-change/db-admin": "^0.9.98",
|
|
41
|
+
"@live-change/db-client": "^0.9.98",
|
|
42
|
+
"@live-change/db-store-level": "^0.9.98",
|
|
43
|
+
"@live-change/db-store-lmdb": "^0.9.98",
|
|
44
|
+
"@live-change/db-store-observable-db": "^0.9.98",
|
|
45
|
+
"@live-change/db-store-rbtree": "^0.9.98",
|
|
46
|
+
"@live-change/server": "^0.9.98",
|
|
47
47
|
"@live-change/sockjs": "0.4.1",
|
|
48
48
|
"@tailwindcss/vite": "^4.1.0",
|
|
49
49
|
"express": "^4.18.2",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"websocket": "^1.0.34",
|
|
54
54
|
"yargs": "^17.7.2"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "a0e25c0ac835707d27763e56a2c20bd75d978583"
|
|
57
57
|
}
|