@azure/storage-blob 12.9.0-alpha.20211213.2 → 12.9.0-alpha.20211217.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azure/storage-blob",
3
3
  "sdk-type": "client",
4
- "version": "12.9.0-alpha.20211213.2",
4
+ "version": "12.9.0-alpha.20211217.2",
5
5
  "description": "Microsoft Azure Storage SDK for JavaScript - Blob",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist-esm/storage-blob/src/index.js",
@@ -60,8 +60,7 @@
60
60
  "unit-test:browser": "karma start --single-run",
61
61
  "unit-test:node": "mocha --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --full-trace -t 120000 \"dist-test/index.node.js\"",
62
62
  "unit-test": "npm run unit-test:node && npm run unit-test:browser",
63
- "emulator-tests": "cross-env STORAGE_CONNECTION_STRING=UseDevelopmentStorage=true && npm run test:node",
64
- "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src"
63
+ "emulator-tests": "cross-env STORAGE_CONNECTION_STRING=UseDevelopmentStorage=true && npm run test:node"
65
64
  },
66
65
  "files": [
67
66
  "BreakingChanges.md",
@@ -135,7 +134,6 @@
135
134
  "tslib": "^2.2.0"
136
135
  },
137
136
  "devDependencies": {
138
- "@azure/core-rest-pipeline": "^1.1.0",
139
137
  "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
140
138
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
141
139
  "@azure/identity": "^2.0.1",
@@ -146,10 +144,11 @@
146
144
  "@rollup/plugin-multi-entry": "^3.0.0",
147
145
  "@rollup/plugin-replace": "^2.2.0",
148
146
  "@rollup/plugin-json": "^4.0.0",
147
+ "@types/chai": "^4.1.6",
149
148
  "@types/mocha": "^7.0.2",
150
149
  "@types/node": "^12.0.0",
151
150
  "@types/node-fetch": "^2.5.0",
152
- "assert": "^1.4.1",
151
+ "chai": "^4.2.0",
153
152
  "cross-env": "^7.0.2",
154
153
  "dotenv": "^8.2.0",
155
154
  "downlevel-dts": "~0.4.0",
@@ -171,8 +170,7 @@
171
170
  "karma-mocha-reporter": "^2.2.5",
172
171
  "karma-sourcemap-loader": "^0.3.8",
173
172
  "mocha": "^7.1.1",
174
- "mocha-junit-reporter": "^1.18.0",
175
- "node-fetch": "^2.6.0",
173
+ "mocha-junit-reporter": "^2.0.0",
176
174
  "nyc": "^15.0.0",
177
175
  "prettier": "^1.16.4",
178
176
  "puppeteer": "^10.2.0",
@@ -187,7 +185,6 @@
187
185
  "source-map-support": "^0.5.9",
188
186
  "ts-node": "^10.0.0",
189
187
  "typescript": "~4.2.0",
190
- "typedoc": "0.15.2",
191
188
  "util": "^0.12.1"
192
189
  }
193
190
  }
@@ -5380,7 +5380,7 @@ export declare class ContainerClient extends StorageClient {
5380
5380
  * if (item.kind === "prefix") {
5381
5381
  * console.log(`\tBlobPrefix: ${item.name}`);
5382
5382
  * } else {
5383
- * console.log(`\tBlobItem: name - ${item.name}, last modified - ${item.properties.lastModified}`);
5383
+ * console.log(`\tBlobItem: name - ${item.name}`);
5384
5384
  * }
5385
5385
  * }
5386
5386
  * ```
@@ -5395,7 +5395,7 @@ export declare class ContainerClient extends StorageClient {
5395
5395
  * if (item.kind === "prefix") {
5396
5396
  * console.log(`\tBlobPrefix: ${item.name}`);
5397
5397
  * } else {
5398
- * console.log(`\tBlobItem: name - ${item.name}, last modified - ${item.properties.lastModified}`);
5398
+ * console.log(`\tBlobItem: name - ${item.name}`);
5399
5399
  * }
5400
5400
  * entity = await iter.next();
5401
5401
  * }
@@ -5413,7 +5413,7 @@ export declare class ContainerClient extends StorageClient {
5413
5413
  * }
5414
5414
  * }
5415
5415
  * for (const blob of response.segment.blobItems) {
5416
- * console.log(`\tBlobItem: name - ${blob.name}, last modified - ${blob.properties.lastModified}`);
5416
+ * console.log(`\tBlobItem: name - ${blob.name}`);
5417
5417
  * }
5418
5418
  * }
5419
5419
  * ```
@@ -5424,7 +5424,9 @@ export declare class ContainerClient extends StorageClient {
5424
5424
  * console.log("Listing blobs by hierarchy by page, specifying a prefix and a max page size");
5425
5425
  *
5426
5426
  * let i = 1;
5427
- * for await (const response of containerClient.listBlobsByHierarchy("/", { prefix: "prefix2/sub1/"}).byPage({ maxPageSize: 2 })) {
5427
+ * for await (const response of containerClient
5428
+ * .listBlobsByHierarchy("/", { prefix: "prefix2/sub1/" })
5429
+ * .byPage({ maxPageSize: 2 })) {
5428
5430
  * console.log(`Page ${i++}`);
5429
5431
  * const segment = response.segment;
5430
5432
  *
@@ -5435,7 +5437,7 @@ export declare class ContainerClient extends StorageClient {
5435
5437
  * }
5436
5438
  *
5437
5439
  * for (const blob of response.segment.blobItems) {
5438
- * console.log(`\tBlobItem: name - ${blob.name}, last modified - ${blob.properties.lastModified}`);
5440
+ * console.log(`\tBlobItem: name - ${blob.name}`);
5439
5441
  * }
5440
5442
  * }
5441
5443
  * ```
@@ -5564,7 +5564,7 @@ export declare class ContainerClient extends StorageClient {
5564
5564
  * if (item.kind === "prefix") {
5565
5565
  * console.log(`\tBlobPrefix: ${item.name}`);
5566
5566
  * } else {
5567
- * console.log(`\tBlobItem: name - ${item.name}, last modified - ${item.properties.lastModified}`);
5567
+ * console.log(`\tBlobItem: name - ${item.name}`);
5568
5568
  * }
5569
5569
  * }
5570
5570
  * ```
@@ -5579,7 +5579,7 @@ export declare class ContainerClient extends StorageClient {
5579
5579
  * if (item.kind === "prefix") {
5580
5580
  * console.log(`\tBlobPrefix: ${item.name}`);
5581
5581
  * } else {
5582
- * console.log(`\tBlobItem: name - ${item.name}, last modified - ${item.properties.lastModified}`);
5582
+ * console.log(`\tBlobItem: name - ${item.name}`);
5583
5583
  * }
5584
5584
  * entity = await iter.next();
5585
5585
  * }
@@ -5597,7 +5597,7 @@ export declare class ContainerClient extends StorageClient {
5597
5597
  * }
5598
5598
  * }
5599
5599
  * for (const blob of response.segment.blobItems) {
5600
- * console.log(`\tBlobItem: name - ${blob.name}, last modified - ${blob.properties.lastModified}`);
5600
+ * console.log(`\tBlobItem: name - ${blob.name}`);
5601
5601
  * }
5602
5602
  * }
5603
5603
  * ```
@@ -5608,7 +5608,9 @@ export declare class ContainerClient extends StorageClient {
5608
5608
  * console.log("Listing blobs by hierarchy by page, specifying a prefix and a max page size");
5609
5609
  *
5610
5610
  * let i = 1;
5611
- * for await (const response of containerClient.listBlobsByHierarchy("/", { prefix: "prefix2/sub1/"}).byPage({ maxPageSize: 2 })) {
5611
+ * for await (const response of containerClient
5612
+ * .listBlobsByHierarchy("/", { prefix: "prefix2/sub1/" })
5613
+ * .byPage({ maxPageSize: 2 })) {
5612
5614
  * console.log(`Page ${i++}`);
5613
5615
  * const segment = response.segment;
5614
5616
  *
@@ -5619,7 +5621,7 @@ export declare class ContainerClient extends StorageClient {
5619
5621
  * }
5620
5622
  *
5621
5623
  * for (const blob of response.segment.blobItems) {
5622
- * console.log(`\tBlobItem: name - ${blob.name}, last modified - ${blob.properties.lastModified}`);
5624
+ * console.log(`\tBlobItem: name - ${blob.name}`);
5623
5625
  * }
5624
5626
  * }
5625
5627
  * ```