@did-space/fs-driver 0.5.39 → 0.5.40

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.
@@ -120,7 +120,7 @@ class FsSpaceOperator {
120
120
  return __awaiter(this, void 0, void 0, function* () {
121
121
  const objectPath = yield this.getObjectKey(options);
122
122
  const { data } = options;
123
- yield fs_extra_1.default.ensureDir((0, path_1.dirname)(objectPath));
123
+ yield (0, fs_extra_1.ensureDir)((0, path_1.dirname)(objectPath));
124
124
  if (objectPath.endsWith('/')) {
125
125
  // 这是一个文件夹
126
126
  yield fs_extra_1.default.ensureDir(objectPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@did-space/fs-driver",
3
- "version": "0.5.39",
3
+ "version": "0.5.40",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -28,7 +28,7 @@
28
28
  "verify": "npm run lint && npm run test && npm run build"
29
29
  },
30
30
  "dependencies": {
31
- "@did-space/core": "0.5.39",
31
+ "@did-space/core": "0.5.40",
32
32
  "debug": "^4.3.7",
33
33
  "filehound": "^1.17.6",
34
34
  "fs-extra": "^10.1.0",
@@ -46,11 +46,11 @@
46
46
  "@types/lodash": "^4.17.7",
47
47
  "@types/node": "18.19.31",
48
48
  "@typescript-eslint/eslint-plugin": "^7.18.0",
49
- "eslint": "^8.57.0",
49
+ "eslint": "^8.57.1",
50
50
  "lint-staged": "^13.3.0",
51
51
  "ts-jest": "^28.0.8",
52
52
  "typescript": "^4.9.5",
53
53
  "vitest": "^2.1.1"
54
54
  },
55
- "gitHead": "3ade4fc273551f2fe94fdcf279c8acd429460ffe"
56
- }
55
+ "gitHead": "68039e449aceb269852bec9e94ac8ea14738c014"
56
+ }