@directus/storage-driver-s3 12.0.5 → 12.0.7

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/dist/index.js +6 -6
  2. package/package.json +8 -7
package/dist/index.js CHANGED
@@ -20,12 +20,12 @@ import { Semaphore } from "@shopify/semaphore";
20
20
  import { NodeHttpHandler } from "@smithy/node-http-handler";
21
21
  import { ERRORS, StreamSplitter, TUS_RESUMABLE } from "@tus/utils";
22
22
  import ms from "ms";
23
- import fs, { promises as fsProm } from "node:fs";
24
- import { Agent as HttpAgent } from "node:http";
25
- import { Agent as HttpsAgent } from "node:https";
26
- import os from "node:os";
27
- import { join } from "node:path";
28
- import { promises as streamProm } from "node:stream";
23
+ import fs, { promises as fsProm } from "fs";
24
+ import { Agent as HttpAgent } from "http";
25
+ import { Agent as HttpsAgent } from "https";
26
+ import os from "os";
27
+ import { join } from "path";
28
+ import { promises as streamProm } from "stream";
29
29
  var DriverS3 = class {
30
30
  config;
31
31
  client;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directus/storage-driver-s3",
3
- "version": "12.0.5",
3
+ "version": "12.0.7",
4
4
  "description": "S3 file storage abstraction for `@directus/storage`",
5
5
  "homepage": "https://directus.io",
6
6
  "repository": {
@@ -28,20 +28,21 @@
28
28
  "@tus/utils": "0.5.1",
29
29
  "ms": "2.1.3",
30
30
  "@directus/storage": "12.0.0",
31
- "@directus/utils": "13.0.6"
31
+ "@directus/utils": "13.0.8"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@directus/tsconfig": "3.0.0",
35
35
  "@ngneat/falso": "7.3.0",
36
36
  "@types/ms": "2.1.0",
37
- "@vitest/coverage-v8": "2.1.9",
38
- "tsup": "8.4.0",
39
- "typescript": "5.8.2",
40
- "vitest": "2.1.9"
37
+ "@vitest/coverage-v8": "3.2.4",
38
+ "tsup": "8.5.0",
39
+ "typescript": "5.8.3",
40
+ "vitest": "3.2.4"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsup src/index.ts --format=esm --dts",
44
44
  "dev": "tsup src/index.ts --format=esm --dts --watch",
45
- "test": "vitest --watch=false"
45
+ "test": "vitest run",
46
+ "test:coverage": "vitest run --coverage"
46
47
  }
47
48
  }