@dxos/random-access-storage 0.1.58-main.09c7b08 → 0.1.58-main.0b23736

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/random-access-storage",
3
- "version": "0.1.58-main.09c7b08",
3
+ "version": "0.1.58-main.0b23736",
4
4
  "description": "Multiple random storage types.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -24,14 +24,14 @@
24
24
  "random-access-memory": "^4.1.0",
25
25
  "random-access-storage": "^3.0.0",
26
26
  "random-access-web": "^2.0.3",
27
- "@dxos/async": "0.1.58-main.09c7b08",
28
- "@dxos/context": "0.1.58-main.09c7b08",
29
- "@dxos/debug": "0.1.58-main.09c7b08",
30
- "@dxos/invariant": "0.1.58-main.09c7b08",
31
- "@dxos/log": "0.1.58-main.09c7b08",
32
- "@dxos/node-std": "0.1.58-main.09c7b08",
33
- "@dxos/tracing": "0.1.58-main.09c7b08",
34
- "@dxos/util": "0.1.58-main.09c7b08"
27
+ "@dxos/context": "0.1.58-main.0b23736",
28
+ "@dxos/async": "0.1.58-main.0b23736",
29
+ "@dxos/debug": "0.1.58-main.0b23736",
30
+ "@dxos/invariant": "0.1.58-main.0b23736",
31
+ "@dxos/log": "0.1.58-main.0b23736",
32
+ "@dxos/node-std": "0.1.58-main.0b23736",
33
+ "@dxos/tracing": "0.1.58-main.0b23736",
34
+ "@dxos/util": "0.1.58-main.0b23736"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/pify": "^3.0.2",
@@ -15,7 +15,7 @@ import { storageBenchmark } from '../testing/benchmark.blueprint-test';
15
15
  const ROOT_DIRECTORY = 'testing';
16
16
 
17
17
  describe.skip('bench', () => {
18
- for (const dataStore of [StorageType.RAM, StorageType.IDB] as StorageType[]) {
19
- storageBenchmark(dataStore, () => createStorage({ type: dataStore, root: ROOT_DIRECTORY }));
18
+ for (const storageType of [StorageType.RAM, StorageType.IDB] as StorageType[]) {
19
+ storageBenchmark(storageType, () => createStorage({ type: storageType, root: ROOT_DIRECTORY }));
20
20
  }
21
21
  });
@@ -16,12 +16,12 @@ import { storageTests } from '../testing';
16
16
  const ROOT_DIRECTORY = 'testing';
17
17
 
18
18
  describe('Tests for different storage types in different browsers', () => {
19
- for (const dataStore of [StorageType.RAM, StorageType.IDB, StorageType.WEBFS] as StorageType[]) {
20
- if (mochaExecutor.environment === 'webkit' && dataStore === StorageType.WEBFS) {
19
+ for (const storageType of [StorageType.RAM, StorageType.IDB, StorageType.WEBFS] as StorageType[]) {
20
+ if (mochaExecutor.environment === 'webkit' && storageType === StorageType.WEBFS) {
21
21
  // Skip WEBFS in webkit.
22
22
  continue;
23
23
  }
24
- storageTests(dataStore, () => createStorage({ type: dataStore, root: ROOT_DIRECTORY }));
24
+ storageTests(storageType, () => createStorage({ type: storageType, root: ROOT_DIRECTORY }));
25
25
  }
26
26
 
27
27
  test.skip(`Used ${StorageType.WEBFS} by default`, async () => {
@@ -23,7 +23,7 @@ describe.skip('storage benchmark', () => {
23
23
 
24
24
  afterAll(() => del(ROOT_DIRECTORY));
25
25
 
26
- for (const dataStore of [StorageType.RAM, StorageType.NODE] as StorageType[]) {
27
- storageBenchmark(dataStore, () => createStorage({ type: dataStore, root: ROOT_DIRECTORY }));
26
+ for (const storageType of [StorageType.RAM, StorageType.NODE] as StorageType[]) {
27
+ storageBenchmark(storageType, () => createStorage({ type: storageType, root: ROOT_DIRECTORY }));
28
28
  }
29
29
  });
@@ -37,8 +37,8 @@ describe('testing node storage types', () => {
37
37
 
38
38
  afterAll(() => del(ROOT_DIRECTORY));
39
39
 
40
- for (const dataStore of [StorageType.RAM, StorageType.NODE] as StorageType[]) {
41
- storageTests(dataStore, () => createStorage({ type: dataStore, root: ROOT_DIRECTORY }));
40
+ for (const storageType of [StorageType.RAM, StorageType.NODE] as StorageType[]) {
41
+ storageTests(storageType, () => createStorage({ type: storageType, root: ROOT_DIRECTORY }));
42
42
  }
43
43
 
44
44
  test('create storage with node file by default', async () => {