@pi-r/azure 0.10.2 → 0.10.3
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/client/index.js +1 -0
- package/download/index.js +1 -1
- package/package.json +5 -5
package/client/index.js
CHANGED
|
@@ -170,6 +170,7 @@ async function deleteObjectsV3(credential, bucket, options = {}, service = 'azur
|
|
|
170
170
|
recursive = options.recursive;
|
|
171
171
|
delete options.recursive;
|
|
172
172
|
}
|
|
173
|
+
options.abortSignal = this.signal;
|
|
173
174
|
options.includeUncommitedBlobs ??= true;
|
|
174
175
|
const tasks = [];
|
|
175
176
|
let fileCount = 0;
|
package/download/index.js
CHANGED
|
@@ -31,7 +31,7 @@ function download(credential, service = 'azure') {
|
|
|
31
31
|
const deleteObject = target.deleteObject;
|
|
32
32
|
if (deleteObject) {
|
|
33
33
|
const location = Cloud.joinPath(Bucket, Key);
|
|
34
|
-
containerClient.delete((0, types_1.isPlainObject)(deleteObject) ?
|
|
34
|
+
containerClient.delete((0, types_1.isPlainObject)(deleteObject) ? { ...deleteObject, abortSignal: this.signal } : { abortSignal: this.signal })
|
|
35
35
|
.then(() => {
|
|
36
36
|
this.formatMessage(64, service, "Delete success", location, { ...Cloud.LOG_CLOUD_DELETE });
|
|
37
37
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/azure",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"description": "Azure cloud functions for E-mc.",
|
|
5
5
|
"main": "client/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"homepage": "https://github.com/anpham6/pi-r#readme",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@e-mc/cloud": "^0.12.
|
|
23
|
-
"@e-mc/module": "^0.12.
|
|
24
|
-
"@e-mc/types": "^0.12.
|
|
25
|
-
"@azure/cosmos": "^4.5.
|
|
22
|
+
"@e-mc/cloud": "^0.12.7",
|
|
23
|
+
"@e-mc/module": "^0.12.7",
|
|
24
|
+
"@e-mc/types": "^0.12.7",
|
|
25
|
+
"@azure/cosmos": "^4.5.1",
|
|
26
26
|
"@azure/identity": "*",
|
|
27
27
|
"@azure/storage-blob": "^12.28.0"
|
|
28
28
|
}
|