@atlaspack/rust 3.1.2-canary.2 → 3.1.2-canary.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/index.d.ts +4 -0
- package/index.darwin-arm64.node +0 -0
- package/index.darwin-x64.node +0 -0
- package/index.js.flow +2 -0
- package/index.linux-arm64-gnu.node +0 -0
- package/index.linux-x64-gnu.node +0 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -123,11 +123,13 @@ export type LMDB = Lmdb
|
|
|
123
123
|
export class Lmdb {
|
|
124
124
|
constructor(options: LmdbOptions)
|
|
125
125
|
get(key: string): Promise<Buffer | null | undefined>
|
|
126
|
+
hasSync(key: string): boolean
|
|
126
127
|
getSync(key: string): Buffer | null
|
|
127
128
|
getManySync(keys: Array<string>): Array<Buffer | undefined | null>
|
|
128
129
|
putMany(entries: Array<Entry>): Promise<void>
|
|
129
130
|
put(key: string, data: Buffer): Promise<void>
|
|
130
131
|
putNoConfirm(key: string, data: Buffer): void
|
|
132
|
+
delete(key: string): Promise<void>
|
|
131
133
|
startReadTransaction(): void
|
|
132
134
|
commitReadTransaction(): void
|
|
133
135
|
startWriteTransaction(): Promise<void>
|
|
@@ -135,10 +137,12 @@ export class Lmdb {
|
|
|
135
137
|
close(): void
|
|
136
138
|
constructor(options: LMDBOptions)
|
|
137
139
|
get(key: string): Promise<Buffer | null | undefined>
|
|
140
|
+
hasSync(key: string): boolean
|
|
138
141
|
getSync(key: string): Buffer | null
|
|
139
142
|
getManySync(keys: Array<string>): Array<Buffer | undefined | null>
|
|
140
143
|
putMany(entries: Array<Entry>): Promise<void>
|
|
141
144
|
put(key: string, data: Buffer): Promise<void>
|
|
145
|
+
delete(key: string): Promise<void>
|
|
142
146
|
putNoConfirm(key: string, data: Buffer): void
|
|
143
147
|
startReadTransaction(): void
|
|
144
148
|
commitReadTransaction(): void
|
package/index.darwin-arm64.node
CHANGED
|
Binary file
|
package/index.darwin-x64.node
CHANGED
|
Binary file
|
package/index.js.flow
CHANGED
|
@@ -327,6 +327,7 @@ declare export function performStringReplacements(
|
|
|
327
327
|
declare export class Lmdb {
|
|
328
328
|
constructor(options: LmdbOptions): Lmdb;
|
|
329
329
|
get(key: string): Promise<Buffer | null | void>;
|
|
330
|
+
hasSync(key: string): boolean;
|
|
330
331
|
getSync(key: string): Buffer | null;
|
|
331
332
|
getManySync(keys: Array<string>): Array<Buffer | void | null>;
|
|
332
333
|
putMany(entries: Array<LmdbEntry>): Promise<void>;
|
|
@@ -336,6 +337,7 @@ declare export class Lmdb {
|
|
|
336
337
|
commitReadTransaction(): void;
|
|
337
338
|
startWriteTransaction(): Promise<void>;
|
|
338
339
|
commitWriteTransaction(): Promise<void>;
|
|
340
|
+
delete(key: string): Promise<void>;
|
|
339
341
|
close(): void;
|
|
340
342
|
}
|
|
341
343
|
|
|
Binary file
|
package/index.linux-x64-gnu.node
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/rust",
|
|
3
|
-
"version": "3.1.2-canary.
|
|
3
|
+
"version": "3.1.2-canary.3+cb9da16fb",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"test": "mocha"
|
|
35
35
|
},
|
|
36
36
|
"type": "commonjs",
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "cb9da16fb2648e7f53c64df0313f60d5fb8970cc"
|
|
38
38
|
}
|