@did-space/s3-driver 0.2.116 → 0.2.117

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.
@@ -299,6 +299,9 @@ class S3SpaceOperator {
299
299
  var _d;
300
300
  return __awaiter(this, void 0, void 0, function* () {
301
301
  const prefix = (0, url_join_1.default)(this.options.root, options.key);
302
+ if (!(yield this.existsAsOwner(options.key))) {
303
+ return [];
304
+ }
302
305
  // 以 非递归的方式 && 显示文件夹 的方式列出当前文件
303
306
  if (!options.recursive) {
304
307
  return this.listsOneLevel(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@did-space/s3-driver",
3
- "version": "0.2.116",
3
+ "version": "0.2.117",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@aws-sdk/client-s3": "^3.241.0",
36
36
  "@aws-sdk/lib-storage": "^3.241.0",
37
- "@did-space/core": "0.2.116",
37
+ "@did-space/core": "0.2.117",
38
38
  "js-yaml": "^4.1.0",
39
39
  "lodash": "^4.17.21",
40
40
  "mime-types": "^2.1.35",
@@ -57,5 +57,5 @@
57
57
  "ts-jest": "^28.0.6",
58
58
  "typescript": "^4.9.5"
59
59
  },
60
- "gitHead": "ee442515a48192f8867e47990a94f66583a2d826"
60
+ "gitHead": "7f3de10d1715d6dba780f616b7d1234f65bb449b"
61
61
  }