@directus/storage-driver-gcs 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.
- package/dist/index.js +3 -2
- package/package.json +8 -7
package/dist/index.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import { DEFAULT_CHUNK_SIZE } from "@directus/constants";
|
|
3
3
|
import { normalizePath } from "@directus/utils";
|
|
4
4
|
import { Storage } from "@google-cloud/storage";
|
|
5
|
-
import { join } from "
|
|
6
|
-
import
|
|
5
|
+
import { join } from "path";
|
|
6
|
+
import "stream";
|
|
7
|
+
import { pipeline } from "stream/promises";
|
|
7
8
|
var MINIMUM_CHUNK_SIZE = 262144;
|
|
8
9
|
var DriverGCS = class {
|
|
9
10
|
root;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@directus/storage-driver-gcs",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.7",
|
|
4
4
|
"description": "GCS file storage abstraction for `@directus/storage`",
|
|
5
5
|
"homepage": "https://directus.io",
|
|
6
6
|
"repository": {
|
|
@@ -24,19 +24,20 @@
|
|
|
24
24
|
"@google-cloud/storage": "7.15.2",
|
|
25
25
|
"@directus/storage": "12.0.0",
|
|
26
26
|
"@directus/constants": "13.0.1",
|
|
27
|
-
"@directus/utils": "13.0.
|
|
27
|
+
"@directus/utils": "13.0.8"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@directus/tsconfig": "3.0.0",
|
|
31
31
|
"@ngneat/falso": "7.3.0",
|
|
32
|
-
"@vitest/coverage-v8": "2.
|
|
33
|
-
"tsup": "8.
|
|
34
|
-
"typescript": "5.8.
|
|
35
|
-
"vitest": "2.
|
|
32
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
33
|
+
"tsup": "8.5.0",
|
|
34
|
+
"typescript": "5.8.3",
|
|
35
|
+
"vitest": "3.2.4"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsup src/index.ts --format=esm --dts",
|
|
39
39
|
"dev": "tsup src/index.ts --format=esm --dts --watch",
|
|
40
|
-
"test": "vitest
|
|
40
|
+
"test": "vitest run",
|
|
41
|
+
"test:coverage": "vitest run --coverage"
|
|
41
42
|
}
|
|
42
43
|
}
|