@atlaspack/cache 3.1.1-canary.45 → 3.1.1-canary.46
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/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaspack/cache",
|
3
3
|
"description": "Interface for defining caches and file-system, IDB and LMDB implementations.",
|
4
|
-
"version": "3.1.1-canary.
|
4
|
+
"version": "3.1.1-canary.46+1ef91fcc8",
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
6
6
|
"type": "commonjs",
|
7
7
|
"publishConfig": {
|
@@ -23,12 +23,12 @@
|
|
23
23
|
"check-ts": "tsc --noEmit index.d.ts"
|
24
24
|
},
|
25
25
|
"dependencies": {
|
26
|
-
"@atlaspack/build-cache": "2.13.3-canary.
|
27
|
-
"@atlaspack/feature-flags": "2.14.1-canary.
|
28
|
-
"@atlaspack/fs": "2.14.5-canary.
|
29
|
-
"@atlaspack/logger": "2.14.5-canary.
|
30
|
-
"@atlaspack/rust": "3.2.1-canary.
|
31
|
-
"@atlaspack/utils": "2.14.5-canary.
|
26
|
+
"@atlaspack/build-cache": "2.13.3-canary.114+1ef91fcc8",
|
27
|
+
"@atlaspack/feature-flags": "2.14.1-canary.114+1ef91fcc8",
|
28
|
+
"@atlaspack/fs": "2.14.5-canary.46+1ef91fcc8",
|
29
|
+
"@atlaspack/logger": "2.14.5-canary.46+1ef91fcc8",
|
30
|
+
"@atlaspack/rust": "3.2.1-canary.46+1ef91fcc8",
|
31
|
+
"@atlaspack/utils": "2.14.5-canary.46+1ef91fcc8",
|
32
32
|
"ncp": "^2.0.0"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
@@ -37,5 +37,5 @@
|
|
37
37
|
"browser": {
|
38
38
|
"./src/IDBCache.js": "./src/IDBCache.browser.js"
|
39
39
|
},
|
40
|
-
"gitHead": "
|
40
|
+
"gitHead": "1ef91fcc863fdd2831511937083dbbc1263b3d9d"
|
41
41
|
}
|
@@ -86,7 +86,6 @@ describe('LMDBLiteCache', () => {
|
|
86
86
|
cache = new LMDBLiteCache(path.join(cacheDir, 'close_and_reopen_test'));
|
87
87
|
await cache.ensure();
|
88
88
|
await cache.setBlob('key', Buffer.from(serialize({value: 42})));
|
89
|
-
cache.getNativeRef().close();
|
90
89
|
cache = new LMDBLiteCache(path.join(cacheDir, 'close_and_reopen_test'));
|
91
90
|
await cache.ensure();
|
92
91
|
const buffer = await cache.getBlob('key');
|
@@ -129,7 +128,6 @@ describe('LMDBLiteCache', () => {
|
|
129
128
|
const cache = new LMDBLiteCache(testDir);
|
130
129
|
await cache.ensure();
|
131
130
|
await cache.setBlob(`key${i}`, Buffer.from(serialize({value: i})));
|
132
|
-
cache.getNativeRef().close();
|
133
131
|
|
134
132
|
await new Promise((resolve) => setTimeout(resolve, 10));
|
135
133
|
}
|
@@ -158,7 +156,6 @@ describe('LMDBLiteCache', () => {
|
|
158
156
|
hello: 'world',
|
159
157
|
});
|
160
158
|
setTimeout(() => {
|
161
|
-
cache?.getNativeRef().close();
|
162
159
|
cache = null;
|
163
160
|
|
164
161
|
if (global.gc) {
|