@atlaspack/cache 3.1.1-canary.45 → 3.1.1-canary.47

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.45+124b7fff4",
4
+ "version": "3.1.1-canary.47+29c2f106d",
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.113+124b7fff4",
27
- "@atlaspack/feature-flags": "2.14.1-canary.113+124b7fff4",
28
- "@atlaspack/fs": "2.14.5-canary.45+124b7fff4",
29
- "@atlaspack/logger": "2.14.5-canary.45+124b7fff4",
30
- "@atlaspack/rust": "3.2.1-canary.45+124b7fff4",
31
- "@atlaspack/utils": "2.14.5-canary.45+124b7fff4",
26
+ "@atlaspack/build-cache": "2.13.3-canary.115+29c2f106d",
27
+ "@atlaspack/feature-flags": "2.14.1-canary.115+29c2f106d",
28
+ "@atlaspack/fs": "2.14.5-canary.47+29c2f106d",
29
+ "@atlaspack/logger": "2.14.5-canary.47+29c2f106d",
30
+ "@atlaspack/rust": "3.2.1-canary.47+29c2f106d",
31
+ "@atlaspack/utils": "2.14.5-canary.47+29c2f106d",
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": "124b7fff44f71aac9fbad289a9a9509b3dfc9aaa"
40
+ "gitHead": "29c2f106de9679adfb5afa04e1910471dc65a427"
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) {
@@ -26,8 +26,6 @@ if (!isMainThread) {
26
26
  });
27
27
 
28
28
  setTimeout(() => {
29
- cache.getNativeRef().close();
30
-
31
29
  parentPort.postMessage({
32
30
  type: 'close',
33
31
  workerId: threadId,