@ocap/indexdb-fs 1.28.6 → 1.28.8

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/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  ```sh
10
10
  npm install @ocap/indexdb-fs
11
11
  // or
12
- pnpm install @ocap/indexdb-fs
12
+ bun install @ocap/indexdb-fs
13
13
  ```
14
14
 
15
15
  ## Usage
package/lib/table/base.js CHANGED
@@ -1,5 +1,4 @@
1
- /* eslint-disable no-underscore-dangle */
2
- const path = require('path');
1
+ const path = require('node:path');
3
2
  const { BaseIndex } = require('@ocap/indexdb');
4
3
  const Lokijs = require('lokijs');
5
4
  const FsAdapter = require('lokijs/src/loki-fs-structured-adapter');
@@ -1,4 +1,3 @@
1
- /* eslint-disable no-underscore-dangle */
2
1
  const { formatTxBeforeInsert } = require('@ocap/indexdb/lib/util');
3
2
  const Base = require('./base');
4
3
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocap/indexdb-fs",
3
3
  "description": "OCAP indexdb adapter that uses file system as backend",
4
- "version": "1.28.6",
4
+ "version": "1.28.8",
5
5
  "author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/ArcBlock/blockchain/issues",
@@ -14,8 +14,7 @@
14
14
  "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)"
15
15
  ],
16
16
  "devDependencies": {
17
- "jest": "^29.7.0",
18
- "@ocap/indexdb-test": "1.28.6"
17
+ "@ocap/indexdb-test": "1.28.8"
19
18
  },
20
19
  "homepage": "https://github.com/ArcBlock/blockchain/tree/master/indexdb/fs",
21
20
  "keywords": [
@@ -32,19 +31,19 @@
32
31
  "type": "git",
33
32
  "url": "https://github.com/ArcBlock/blockchain/tree/master/indexdb/fs"
34
33
  },
34
+ "scripts": {
35
+ "lint": "biome check",
36
+ "lint:fix": "biome check --write",
37
+ "test": "bun test",
38
+ "coverage": "npm run test -- --coverage"
39
+ },
35
40
  "gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e",
36
41
  "dependencies": {
42
+ "@ocap/indexdb": "1.28.8",
43
+ "@ocap/indexdb-memory": "1.28.8",
44
+ "@ocap/util": "1.28.8",
37
45
  "debug": "^4.3.6",
38
46
  "lodash": "^4.17.21",
39
- "lokijs": "^1.5.12",
40
- "@ocap/indexdb": "1.28.6",
41
- "@ocap/indexdb-memory": "1.28.6",
42
- "@ocap/util": "1.28.6"
43
- },
44
- "scripts": {
45
- "lint": "eslint tests lib",
46
- "lint:fix": "eslint --fix tests lib",
47
- "test": "jest --forceExit --detectOpenHandles",
48
- "coverage": "npm run test -- --coverage"
47
+ "lokijs": "^1.5.12"
49
48
  }
50
- }
49
+ }