sliftutils 1.1.47 → 1.1.48
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/index.d.ts
CHANGED
|
@@ -817,10 +817,7 @@ declare module "sliftutils/storage/BulkDatabase2/BulkDatabase2" {
|
|
|
817
817
|
private baseFieldsLoading;
|
|
818
818
|
private ensureBaseColumn;
|
|
819
819
|
private ensureBaseField;
|
|
820
|
-
getSingleFieldSync<Column extends keyof T>(
|
|
821
|
-
key: string;
|
|
822
|
-
column: Column;
|
|
823
|
-
}): T[Column] | undefined;
|
|
820
|
+
getSingleFieldSync<Column extends keyof T>(key: string, column: Column): T[Column] | undefined;
|
|
824
821
|
getColumnSync<Column extends keyof T>(column: Column): {
|
|
825
822
|
key: string;
|
|
826
823
|
value: T[Column];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sliftutils",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.48",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"mobx": "^6.13.3",
|
|
52
52
|
"preact-old-types": "^10.28.1",
|
|
53
53
|
"shell-quote": "^1.8.3",
|
|
54
|
-
"socket-function": "^1.1.
|
|
54
|
+
"socket-function": "^1.1.40",
|
|
55
55
|
"typenode": "*",
|
|
56
56
|
"typesafecss": "*",
|
|
57
57
|
"ws": "^8.18.3",
|
|
@@ -52,10 +52,7 @@ export declare class BulkDatabase2<T extends {
|
|
|
52
52
|
private baseFieldsLoading;
|
|
53
53
|
private ensureBaseColumn;
|
|
54
54
|
private ensureBaseField;
|
|
55
|
-
getSingleFieldSync<Column extends keyof T>(
|
|
56
|
-
key: string;
|
|
57
|
-
column: Column;
|
|
58
|
-
}): T[Column] | undefined;
|
|
55
|
+
getSingleFieldSync<Column extends keyof T>(key: string, column: Column): T[Column] | undefined;
|
|
59
56
|
getColumnSync<Column extends keyof T>(column: Column): {
|
|
60
57
|
key: string;
|
|
61
58
|
value: T[Column];
|
|
@@ -627,10 +627,9 @@ export class BulkDatabase2<T extends { key: string }> {
|
|
|
627
627
|
})();
|
|
628
628
|
}
|
|
629
629
|
|
|
630
|
-
public getSingleFieldSync<Column extends keyof T>(
|
|
630
|
+
public getSingleFieldSync<Column extends keyof T>(key: string, column: Column): T[Column] | undefined {
|
|
631
631
|
void this.syncSetup();
|
|
632
632
|
this.loadVersion.get();
|
|
633
|
-
let { key, column } = config;
|
|
634
633
|
let col = String(column);
|
|
635
634
|
let entry = this.overlay.get(key);
|
|
636
635
|
if (entry !== undefined) {
|
package/yarn.lock
CHANGED
|
@@ -1940,10 +1940,10 @@ slash@^3.0.0:
|
|
|
1940
1940
|
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
|
|
1941
1941
|
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
|
|
1942
1942
|
|
|
1943
|
-
socket-function@^1.1.
|
|
1944
|
-
version "1.1.
|
|
1945
|
-
resolved "https://registry.yarnpkg.com/socket-function/-/socket-function-1.1.
|
|
1946
|
-
integrity sha512-
|
|
1943
|
+
socket-function@^1.1.40:
|
|
1944
|
+
version "1.1.40"
|
|
1945
|
+
resolved "https://registry.yarnpkg.com/socket-function/-/socket-function-1.1.40.tgz#0994aa018b3fcc64a131d29e5926377b7baff280"
|
|
1946
|
+
integrity sha512-PtU8csq90nbjM/Jr/irRHzj2PojUgcMXTctfBMDEHJrLKmeOM4flf87svn0M8ad5iwNiSyav8SdxCzCl9IwZJw==
|
|
1947
1947
|
dependencies:
|
|
1948
1948
|
"@types/pako" "^2.0.3"
|
|
1949
1949
|
"@types/ws" "^8.5.3"
|