@did-space/s3-driver 1.0.39 → 1.0.41

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.
@@ -28,7 +28,7 @@ const mime_types_1 = __importDefault(require("mime-types"));
28
28
  const isEmpty_1 = __importDefault(require("lodash/isEmpty"));
29
29
  const debug_1 = __importDefault(require("debug"));
30
30
  const p_all_1 = __importDefault(require("p-all"));
31
- const lodash_1 = require("lodash");
31
+ const omit_1 = __importDefault(require("lodash/omit"));
32
32
  const aws_sdk_v3_proxy_1 = require("aws-sdk-v3-proxy");
33
33
  const common_1 = require("../utils/common");
34
34
  const { version: s3ClientVersion } = require('@aws-sdk/client-s3/package.json');
@@ -430,7 +430,7 @@ class S3SpaceOperator {
430
430
  list(options) {
431
431
  var _a;
432
432
  return __awaiter(this, void 0, void 0, function* () {
433
- debug('list.before', JSON.stringify({ options: (0, lodash_1.omit)(options, 'data') }));
433
+ debug('list.before', JSON.stringify({ options: (0, omit_1.default)(options, 'data') }));
434
434
  const absolutePath = (0, common_1.getSafeKey)((options === null || options === void 0 ? void 0 : options.useGlobal) ? options.key : (0, path_1.join)(this.options.root, options.key));
435
435
  debug('list.before.$absolutePath', absolutePath);
436
436
  const response = yield this.s3Client.send(new client_s3_1.ListObjectsCommand({
@@ -455,7 +455,7 @@ class S3SpaceOperator {
455
455
  }
456
456
  writeAsOwner(key, data, options) {
457
457
  return __awaiter(this, void 0, void 0, function* () {
458
- debug('writeAsOwner.before', JSON.stringify({ key, options: (0, lodash_1.omit)(options, 'data') }));
458
+ debug('writeAsOwner.before', JSON.stringify({ key, options: (0, omit_1.default)(options, 'data') }));
459
459
  const $key = (0, common_1.getSafeKey)((options === null || options === void 0 ? void 0 : options.useGlobal) ? key : (0, path_1.join)(this.options.root, key));
460
460
  const isDirectory = $key.endsWith('/');
461
461
  debug('writeAsOwner.$$key', $key);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@did-space/s3-driver",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -28,10 +28,10 @@
28
28
  "verify": "npm run lint && npm run test && npm run build"
29
29
  },
30
30
  "dependencies": {
31
- "@aws-sdk/client-s3": "^3.779.0",
32
- "@aws-sdk/lib-storage": "^3.779.0",
31
+ "@aws-sdk/client-s3": "^3.782.0",
32
+ "@aws-sdk/lib-storage": "^3.782.0",
33
33
  "@aws-sdk/util-utf8-browser": "^3.259.0",
34
- "@did-space/core": "^1.0.39",
34
+ "@did-space/core": "^1.0.41",
35
35
  "aws-sdk-v3-proxy": "^2.2.0",
36
36
  "debug": "^4.4.0",
37
37
  "js-yaml": "^4.1.0",
@@ -56,5 +56,5 @@
56
56
  "typescript": "^4.9.5",
57
57
  "vitest": "^3.1.1"
58
58
  },
59
- "gitHead": "91f6b51438b570b2c8a244bd3f3a606bbb9b09d7"
59
+ "gitHead": "7747108164c8e0cc847146ff34eb9bf289523cc1"
60
60
  }