harperdb 4.3.0-alpha.2 → 4.3.0-beta.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/README.md +1 -1
- package/bin/harperdb.js +54 -54
- package/bin/lite.js +18 -18
- package/launchServiceScripts/launchInstallNATSServer.js +1 -1
- package/launchServiceScripts/launchNatsIngestService.js +17 -17
- package/launchServiceScripts/launchNatsReplyService.js +17 -17
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +17 -17
- package/npm-shrinkwrap.json +48 -48
- package/package.json +2 -2
- package/resources/RecordEncoder.d.ts +1 -0
- package/resources/search.d.ts +10 -1
- package/server/jobs/jobProcess.js +17 -17
- package/server/threads/threadServer.js +17 -17
- package/studio/build-local/asset-manifest.json +2 -2
- package/studio/build-local/index.html +1 -1
- package/studio/build-local/static/js/main.67d8f5e6.js +2 -0
- package/utility/scripts/restartHdb.js +17 -17
- package/studio/build-local/static/js/main.824bbe07.js +0 -2
- /package/studio/build-local/static/js/{main.824bbe07.js.LICENSE.txt → main.67d8f5e6.js.LICENSE.txt} +0 -0
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "harperdb",
|
|
3
|
-
"version": "4.3.0-
|
|
3
|
+
"version": "4.3.0-beta.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "harperdb",
|
|
9
|
-
"version": "4.3.0-
|
|
9
|
+
"version": "4.3.0-beta.1",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE",
|
|
12
12
|
"dependencies": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"json2csv": "5.0.7",
|
|
46
46
|
"jsonata": "1.8.6",
|
|
47
47
|
"jsonwebtoken": "9.0.2",
|
|
48
|
-
"lmdb": "2.9.3-beta.
|
|
48
|
+
"lmdb": "2.9.3-beta.3-debug",
|
|
49
49
|
"lodash": "4.17.21",
|
|
50
50
|
"mathjs": "11.11.2",
|
|
51
51
|
"minimist": "1.2.8",
|
|
@@ -1127,9 +1127,9 @@
|
|
|
1127
1127
|
}
|
|
1128
1128
|
},
|
|
1129
1129
|
"node_modules/@babel/runtime": {
|
|
1130
|
-
"version": "7.23.
|
|
1131
|
-
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.
|
|
1132
|
-
"integrity": "sha512-
|
|
1130
|
+
"version": "7.23.8",
|
|
1131
|
+
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.8.tgz",
|
|
1132
|
+
"integrity": "sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw==",
|
|
1133
1133
|
"dependencies": {
|
|
1134
1134
|
"regenerator-runtime": "^0.14.0"
|
|
1135
1135
|
},
|
|
@@ -1438,9 +1438,9 @@
|
|
|
1438
1438
|
}
|
|
1439
1439
|
},
|
|
1440
1440
|
"node_modules/@lmdb/lmdb-darwin-arm64": {
|
|
1441
|
-
"version": "2.9.3-beta.
|
|
1442
|
-
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.9.3-beta.
|
|
1443
|
-
"integrity": "sha512-
|
|
1441
|
+
"version": "2.9.3-beta.3-debug",
|
|
1442
|
+
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.9.3-beta.3-debug.tgz",
|
|
1443
|
+
"integrity": "sha512-Xjzv1ODZVhkvnDdt+3npMUI6OYb0PNTJX7qe2ysshByZmLunhYfE7CMM+0RSMDI5vpD5vs9jQVjZpB0HpsLeJA==",
|
|
1444
1444
|
"cpu": [
|
|
1445
1445
|
"arm64"
|
|
1446
1446
|
],
|
|
@@ -1450,9 +1450,9 @@
|
|
|
1450
1450
|
]
|
|
1451
1451
|
},
|
|
1452
1452
|
"node_modules/@lmdb/lmdb-darwin-x64": {
|
|
1453
|
-
"version": "2.9.3-beta.
|
|
1454
|
-
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.9.3-beta.
|
|
1455
|
-
"integrity": "sha512-
|
|
1453
|
+
"version": "2.9.3-beta.3-debug",
|
|
1454
|
+
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.9.3-beta.3-debug.tgz",
|
|
1455
|
+
"integrity": "sha512-lXBcBKuThkIRw4osUsGBLizc44x3MBgHIAGbQ2/Z0dbUIXrN/tXlcshaIHS/NxIFApbLKV3FBLXRka2zlJgh5w==",
|
|
1456
1456
|
"cpu": [
|
|
1457
1457
|
"x64"
|
|
1458
1458
|
],
|
|
@@ -1462,9 +1462,9 @@
|
|
|
1462
1462
|
]
|
|
1463
1463
|
},
|
|
1464
1464
|
"node_modules/@lmdb/lmdb-linux-arm": {
|
|
1465
|
-
"version": "2.9.3-beta.
|
|
1466
|
-
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.9.3-beta.
|
|
1467
|
-
"integrity": "sha512
|
|
1465
|
+
"version": "2.9.3-beta.3-debug",
|
|
1466
|
+
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.9.3-beta.3-debug.tgz",
|
|
1467
|
+
"integrity": "sha512-yFQufeeua9iyi8cRMxmsgoXNM+r41HI+R6POVMqe+cE7wRrYl/C+PspShijbA5osk4v43zhoNl/YVmedRSHZLg==",
|
|
1468
1468
|
"cpu": [
|
|
1469
1469
|
"arm"
|
|
1470
1470
|
],
|
|
@@ -1474,9 +1474,9 @@
|
|
|
1474
1474
|
]
|
|
1475
1475
|
},
|
|
1476
1476
|
"node_modules/@lmdb/lmdb-linux-arm64": {
|
|
1477
|
-
"version": "2.9.3-beta.
|
|
1478
|
-
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.9.3-beta.
|
|
1479
|
-
"integrity": "sha512-
|
|
1477
|
+
"version": "2.9.3-beta.3-debug",
|
|
1478
|
+
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.9.3-beta.3-debug.tgz",
|
|
1479
|
+
"integrity": "sha512-WCsMrp8smp2JDAklhh9bZ0cPk3OPGYJr+QDv4xBdsW+Q/fsd+vsSujy9ugcTKeQ5JK4NWJrLsGC5uOjIaxQQgw==",
|
|
1480
1480
|
"cpu": [
|
|
1481
1481
|
"arm64"
|
|
1482
1482
|
],
|
|
@@ -1486,9 +1486,9 @@
|
|
|
1486
1486
|
]
|
|
1487
1487
|
},
|
|
1488
1488
|
"node_modules/@lmdb/lmdb-linux-x64": {
|
|
1489
|
-
"version": "2.9.3-beta.
|
|
1490
|
-
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.9.3-beta.
|
|
1491
|
-
"integrity": "sha512-
|
|
1489
|
+
"version": "2.9.3-beta.3-debug",
|
|
1490
|
+
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.9.3-beta.3-debug.tgz",
|
|
1491
|
+
"integrity": "sha512-Ll2RXTQfgPR+LDZXuNdTDVSIPb0WbFdTLAm+DDZzb9J0V6Uyw3GdJglv04ae5nOPDx6WtO6n2xKQO4nB9foWNQ==",
|
|
1492
1492
|
"cpu": [
|
|
1493
1493
|
"x64"
|
|
1494
1494
|
],
|
|
@@ -1498,9 +1498,9 @@
|
|
|
1498
1498
|
]
|
|
1499
1499
|
},
|
|
1500
1500
|
"node_modules/@lmdb/lmdb-win32-x64": {
|
|
1501
|
-
"version": "2.9.3-beta.
|
|
1502
|
-
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.9.3-beta.
|
|
1503
|
-
"integrity": "sha512-
|
|
1501
|
+
"version": "2.9.3-beta.3-debug",
|
|
1502
|
+
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.9.3-beta.3-debug.tgz",
|
|
1503
|
+
"integrity": "sha512-Nsf7WjVKLqB48Mk3GXQqobXeb8koCYR9Us4hO0snnIsAgRhssG6cisdTBijh7tSuhhswp7M0DfjZLW2+lE2qOQ==",
|
|
1504
1504
|
"cpu": [
|
|
1505
1505
|
"x64"
|
|
1506
1506
|
],
|
|
@@ -3856,9 +3856,9 @@
|
|
|
3856
3856
|
"integrity": "sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ=="
|
|
3857
3857
|
},
|
|
3858
3858
|
"node_modules/fast-json-stringify": {
|
|
3859
|
-
"version": "5.
|
|
3860
|
-
"resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-5.
|
|
3861
|
-
"integrity": "sha512-
|
|
3859
|
+
"version": "5.10.0",
|
|
3860
|
+
"resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-5.10.0.tgz",
|
|
3861
|
+
"integrity": "sha512-fu1BhzPzgOdvK+sVhSPFzm06DQl0Dwbo+NQxWm21k03ili2wsJExXbGZ9qsD4Lsn7zFGltF8h9I1fuhk4JPnrQ==",
|
|
3862
3862
|
"dependencies": {
|
|
3863
3863
|
"@fastify/deepmerge": "^1.0.0",
|
|
3864
3864
|
"ajv": "^8.10.0",
|
|
@@ -4829,9 +4829,9 @@
|
|
|
4829
4829
|
"integrity": "sha512-n9wh8tvBe5sFmsqlg+XQhaQLumwpqoAUruLwjCopgTmUBjJ/fjtBsJzKleCaIGBOMXYEhp1YfKl4d7rJ5ZKJGA=="
|
|
4830
4830
|
},
|
|
4831
4831
|
"node_modules/lmdb": {
|
|
4832
|
-
"version": "2.9.3-beta.
|
|
4833
|
-
"resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.9.3-beta.
|
|
4834
|
-
"integrity": "sha512-
|
|
4832
|
+
"version": "2.9.3-beta.3-debug",
|
|
4833
|
+
"resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.9.3-beta.3-debug.tgz",
|
|
4834
|
+
"integrity": "sha512-wk0VicGlEtLT7K+Rv08nVhEBxvR4K3K7JsTIyHTCMS5GoJdnuvt1Jg7rCDnW1OHAd6ouqSluRTEatPBfch5evA==",
|
|
4835
4835
|
"hasInstallScript": true,
|
|
4836
4836
|
"dependencies": {
|
|
4837
4837
|
"msgpackr": "^1.9.9",
|
|
@@ -4844,12 +4844,12 @@
|
|
|
4844
4844
|
"download-lmdb-prebuilds": "bin/download-prebuilds.js"
|
|
4845
4845
|
},
|
|
4846
4846
|
"optionalDependencies": {
|
|
4847
|
-
"@lmdb/lmdb-darwin-arm64": "2.9.3-beta.
|
|
4848
|
-
"@lmdb/lmdb-darwin-x64": "2.9.3-beta.
|
|
4849
|
-
"@lmdb/lmdb-linux-arm": "2.9.3-beta.
|
|
4850
|
-
"@lmdb/lmdb-linux-arm64": "2.9.3-beta.
|
|
4851
|
-
"@lmdb/lmdb-linux-x64": "2.9.3-beta.
|
|
4852
|
-
"@lmdb/lmdb-win32-x64": "2.9.3-beta.
|
|
4847
|
+
"@lmdb/lmdb-darwin-arm64": "2.9.3-beta.3-debug",
|
|
4848
|
+
"@lmdb/lmdb-darwin-x64": "2.9.3-beta.3-debug",
|
|
4849
|
+
"@lmdb/lmdb-linux-arm": "2.9.3-beta.3-debug",
|
|
4850
|
+
"@lmdb/lmdb-linux-arm64": "2.9.3-beta.3-debug",
|
|
4851
|
+
"@lmdb/lmdb-linux-x64": "2.9.3-beta.3-debug",
|
|
4852
|
+
"@lmdb/lmdb-win32-x64": "2.9.3-beta.3-debug"
|
|
4853
4853
|
}
|
|
4854
4854
|
},
|
|
4855
4855
|
"node_modules/locate-path": {
|
|
@@ -5255,9 +5255,9 @@
|
|
|
5255
5255
|
}
|
|
5256
5256
|
},
|
|
5257
5257
|
"node_modules/node-gyp-build": {
|
|
5258
|
-
"version": "4.
|
|
5259
|
-
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.
|
|
5260
|
-
"integrity": "sha512-
|
|
5258
|
+
"version": "4.8.0",
|
|
5259
|
+
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.0.tgz",
|
|
5260
|
+
"integrity": "sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==",
|
|
5261
5261
|
"optional": true,
|
|
5262
5262
|
"bin": {
|
|
5263
5263
|
"node-gyp-build": "bin.js",
|
|
@@ -6710,9 +6710,9 @@
|
|
|
6710
6710
|
"integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ=="
|
|
6711
6711
|
},
|
|
6712
6712
|
"node_modules/sonic-boom": {
|
|
6713
|
-
"version": "3.
|
|
6714
|
-
"resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-3.
|
|
6715
|
-
"integrity": "sha512-
|
|
6713
|
+
"version": "3.8.0",
|
|
6714
|
+
"resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-3.8.0.tgz",
|
|
6715
|
+
"integrity": "sha512-ybz6OYOUjoQQCQ/i4LU8kaToD8ACtYP+Cj5qd2AO36bwbdewxWJ3ArmJ2cr6AvxlL2o0PqnCcPGUgkILbfkaCA==",
|
|
6716
6716
|
"dependencies": {
|
|
6717
6717
|
"atomic-sleep": "^1.0.0"
|
|
6718
6718
|
}
|
|
@@ -6812,9 +6812,9 @@
|
|
|
6812
6812
|
}
|
|
6813
6813
|
},
|
|
6814
6814
|
"node_modules/stream-shift": {
|
|
6815
|
-
"version": "1.0.
|
|
6816
|
-
"resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.
|
|
6817
|
-
"integrity": "sha512-
|
|
6815
|
+
"version": "1.0.2",
|
|
6816
|
+
"resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.2.tgz",
|
|
6817
|
+
"integrity": "sha512-rV4Bovi9xx0BFzOb/X0B2GqoIjvqPCttZdu0Wgtx2Dxkj7ETyWl9gmqJ4EutWRLvtZWm8dxE+InQZX1IryZn/w=="
|
|
6818
6818
|
},
|
|
6819
6819
|
"node_modules/string_decoder": {
|
|
6820
6820
|
"version": "1.1.1",
|
|
@@ -7012,9 +7012,9 @@
|
|
|
7012
7012
|
}
|
|
7013
7013
|
},
|
|
7014
7014
|
"node_modules/toad-cache": {
|
|
7015
|
-
"version": "3.
|
|
7016
|
-
"resolved": "https://registry.npmjs.org/toad-cache/-/toad-cache-3.
|
|
7017
|
-
"integrity": "sha512
|
|
7015
|
+
"version": "3.7.0",
|
|
7016
|
+
"resolved": "https://registry.npmjs.org/toad-cache/-/toad-cache-3.7.0.tgz",
|
|
7017
|
+
"integrity": "sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==",
|
|
7018
7018
|
"engines": {
|
|
7019
7019
|
"node": ">=12"
|
|
7020
7020
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "harperdb",
|
|
3
|
-
"version": "4.3.0-
|
|
3
|
+
"version": "4.3.0-beta.1",
|
|
4
4
|
"description": "HarperDB is a distributed SQL & NoSQL data platform focused on speed, flexibility, and ease of use.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"database",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"json2csv": "5.0.7",
|
|
69
69
|
"jsonata": "1.8.6",
|
|
70
70
|
"jsonwebtoken": "9.0.2",
|
|
71
|
-
"lmdb": "2.9.3-beta.
|
|
71
|
+
"lmdb": "2.9.3-beta.3-debug",
|
|
72
72
|
"lodash": "4.17.21",
|
|
73
73
|
"mathjs": "11.11.2",
|
|
74
74
|
"minimist": "1.2.8",
|
|
@@ -21,5 +21,6 @@ export declare class RecordEncoder extends Encoder {
|
|
|
21
21
|
constructor(options: any);
|
|
22
22
|
decode(buffer: any, options: any): any;
|
|
23
23
|
}
|
|
24
|
+
export declare function fromResource(callback: any): any;
|
|
24
25
|
export declare function handleLocalTimeForGets(store: any): any;
|
|
25
26
|
export declare function getUpdateRecord(store: any, table_id: any, audit_store: any): (id: any, record: any, existing_entry: any, new_version: any, assign_metadata?: number, audit?: boolean, context?: any, expires_at?: number, type?: string, resolve_record?: boolean, audit_record?: any) => any;
|
package/resources/search.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
export declare const COERCIBLE_OPERATORS: {
|
|
2
|
+
lt: boolean;
|
|
3
|
+
le: boolean;
|
|
4
|
+
gt: boolean;
|
|
5
|
+
ge: boolean;
|
|
6
|
+
ne: boolean;
|
|
7
|
+
eq: boolean;
|
|
8
|
+
};
|
|
1
9
|
export declare function searchByIndex(search_condition: any, transaction: any, reverse: any, Table: any, allow_full_scan?: any, filtered?: any): any;
|
|
2
10
|
export declare function findAttribute(attributes: any, attribute_name: any): any;
|
|
3
11
|
/**
|
|
@@ -5,7 +13,7 @@ export declare function findAttribute(attributes: any, attribute_name: any): any
|
|
|
5
13
|
* @param {SearchObject} search_condition
|
|
6
14
|
* @returns {({}) => boolean}
|
|
7
15
|
*/
|
|
8
|
-
export declare function filterByType(search_condition: any, Table: any, context: any, filtered: any): any;
|
|
16
|
+
export declare function filterByType(search_condition: any, Table: any, context: any, filtered: any, is_primary_key?: any, estimated_incoming_count?: any): any;
|
|
9
17
|
export declare function estimateCondition(table: any): (condition: any) => any;
|
|
10
18
|
/**
|
|
11
19
|
* This is responsible for taking a query string (from a get()) and converting it to a standard query object
|
|
@@ -14,3 +22,4 @@ export declare function estimateCondition(table: any): (condition: any) => any;
|
|
|
14
22
|
*/
|
|
15
23
|
export declare function parseQuery(query_to_parse: any): any;
|
|
16
24
|
export declare function flattenKey(key: any): any;
|
|
25
|
+
export declare function intersectionEstimate(store: any, left: any, right: any): number;
|