@directus/storage-driver-azure 12.0.6 → 12.0.8

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.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { TusDriver, ReadOptions, ChunkedUploadContext } from '@directus/storage';
1
+ import { TusDriver } from '@directus/storage';
2
+ import { ReadOptions, ChunkedUploadContext } from '@directus/types';
2
3
  import { Readable } from 'node:stream';
3
4
 
4
5
  type DriverAzureConfig = {
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  // src/index.ts
2
2
  import { BlobServiceClient, StorageSharedKeyCredential } from "@azure/storage-blob";
3
3
  import { normalizePath } from "@directus/utils";
4
- import { join } from "node:path";
5
- import { finished } from "node:stream/promises";
4
+ import { join } from "path";
5
+ import { finished } from "stream/promises";
6
6
  var MAXIMUM_CHUNK_SIZE = 104857600;
7
7
  var DriverAzure = class {
8
8
  containerClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directus/storage-driver-azure",
3
- "version": "12.0.6",
3
+ "version": "12.0.8",
4
4
  "description": "Azure file storage abstraction for `@directus/storage`",
5
5
  "homepage": "https://directus.io",
6
6
  "repository": {
@@ -21,21 +21,23 @@
21
21
  "dist"
22
22
  ],
23
23
  "dependencies": {
24
- "@azure/storage-blob": "12.26.0",
25
- "@directus/storage": "12.0.0",
26
- "@directus/utils": "13.0.7"
24
+ "@azure/storage-blob": "12.28.0",
25
+ "@directus/storage": "12.0.1",
26
+ "@directus/utils": "13.0.9"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@directus/tsconfig": "3.0.0",
30
- "@ngneat/falso": "7.3.0",
31
- "@vitest/coverage-v8": "2.1.9",
32
- "tsup": "8.4.0",
33
- "typescript": "5.8.2",
34
- "vitest": "2.1.9"
30
+ "@ngneat/falso": "8.0.2",
31
+ "@vitest/coverage-v8": "3.2.4",
32
+ "tsup": "8.5.0",
33
+ "typescript": "5.8.3",
34
+ "vitest": "3.2.4",
35
+ "@directus/types": "13.2.1"
35
36
  },
36
37
  "scripts": {
37
38
  "build": "tsup src/index.ts --format=esm --dts",
38
39
  "dev": "tsup src/index.ts --format=esm --dts --watch",
39
- "test": "vitest --watch=false"
40
+ "test": "vitest run",
41
+ "test:coverage": "vitest run --coverage"
40
42
  }
41
43
  }