@atlaspack/rust 3.2.1-canary.10 → 3.2.1-canary.11

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
@@ -136,6 +136,8 @@ export class Lmdb {
136
136
  startWriteTransaction(): Promise<void>
137
137
  commitWriteTransaction(): Promise<void>
138
138
  close(): void
139
+ /** Compact the database to the target path */
140
+ compact(targetPath: string): void
139
141
  constructor(options: LMDBOptions)
140
142
  get(key: string): Promise<Buffer | null | undefined>
141
143
  hasSync(key: string): boolean
@@ -151,6 +153,7 @@ export class Lmdb {
151
153
  startWriteTransaction(): Promise<void>
152
154
  commitWriteTransaction(): Promise<void>
153
155
  close(): void
156
+ compact(targetPath: string): void
154
157
  }
155
158
  export class Hash {
156
159
  constructor()
Binary file
Binary file
package/index.js.flow CHANGED
@@ -340,6 +340,7 @@ declare export class Lmdb {
340
340
  commitWriteTransaction(): Promise<void>;
341
341
  delete(key: string): Promise<void>;
342
342
  close(): void;
343
+ compact(targetPath: string): void;
343
344
  }
344
345
 
345
346
  export interface InlineRequiresOptimizerInput {
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/rust",
3
- "version": "3.2.1-canary.10+e28fbeb3a",
3
+ "version": "3.2.1-canary.11+e2ba0f697",
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": "e28fbeb3a609aad3e44af9b8d3d5fd83dda38941"
37
+ "gitHead": "e2ba0f69702656f3d1ce95ab1454e35062b13b39"
38
38
  }