deepbase-json 3.6.9 → 3.7.0

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.
Files changed (2) hide show
  1. package/package.json +7 -7
  2. package/test/test.js +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepbase-json",
3
- "version": "3.6.9",
3
+ "version": "3.7.0",
4
4
  "description": "⚡ DeepBase JSON - filesystem driver",
5
5
  "type": "module",
6
6
  "main": "src/index.cjs",
@@ -18,10 +18,7 @@
18
18
  "steno": "^0.4.4"
19
19
  },
20
20
  "peerDependencies": {
21
- "deepbase": "^3.6.9"
22
- },
23
- "scripts": {
24
- "test": "mocha test/test.js"
21
+ "deepbase": "^3.7.0"
25
22
  },
26
23
  "devDependencies": {
27
24
  "mocha": "^10.8.2"
@@ -45,5 +42,8 @@
45
42
  "bugs": {
46
43
  "url": "https://github.com/clasen/DeepBase/issues"
47
44
  },
48
- "homepage": "https://github.com/clasen/DeepBase/tree/main/packages/driver-json"
49
- }
45
+ "homepage": "https://github.com/clasen/DeepBase/tree/main/packages/driver-json",
46
+ "scripts": {
47
+ "test": "mocha test/test.js"
48
+ }
49
+ }
package/test/test.js CHANGED
@@ -699,7 +699,6 @@ describe('Multi-Driver: JsonDriver + SqliteDriver (add + pop + shift)', function
699
699
  beforeEach(async function() {
700
700
  testCounter++;
701
701
  JsonDriver._instances = {};
702
- SqliteDriver._instances = {};
703
702
 
704
703
  jsonDriver = new JsonDriver({ name: `multi-${testCounter}`, path: multiDataPath });
705
704
  sqliteDriver = new SqliteDriver({ name: `multi-${testCounter}`, path: multiDataPath });
@@ -711,7 +710,6 @@ describe('Multi-Driver: JsonDriver + SqliteDriver (add + pop + shift)', function
711
710
  afterEach(async function() {
712
711
  await db.disconnect();
713
712
  JsonDriver._instances = {};
714
- SqliteDriver._instances = {};
715
713
  if (fs.existsSync(multiDataPath)) {
716
714
  fs.rmSync(multiDataPath, { recursive: true, force: true });
717
715
  }