@azure/storage-blob 12.25.0-alpha.20240819.1 → 12.25.0-alpha.20240821.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
@@ -289,7 +289,7 @@ const blobServiceClient = new BlobServiceClient(
|
|
289
289
|
|
290
290
|
async function main() {
|
291
291
|
let i = 1;
|
292
|
-
|
292
|
+
const containers = blobServiceClient.listContainers();
|
293
293
|
for await (const container of containers) {
|
294
294
|
console.log(`Container ${i++}: ${container.name}`);
|
295
295
|
}
|
@@ -314,7 +314,7 @@ const blobServiceClient = new BlobServiceClient(
|
|
314
314
|
|
315
315
|
async function main() {
|
316
316
|
let i = 1;
|
317
|
-
|
317
|
+
const iter = blobServiceClient.listContainers();
|
318
318
|
let containerItem = await iter.next();
|
319
319
|
while (!containerItem.done) {
|
320
320
|
console.log(`Container ${i++}: ${containerItem.value.name}`);
|
@@ -406,7 +406,7 @@ async function main() {
|
|
406
406
|
const containerClient = blobServiceClient.getContainerClient(containerName);
|
407
407
|
|
408
408
|
let i = 1;
|
409
|
-
|
409
|
+
const blobs = containerClient.listBlobsFlat();
|
410
410
|
for await (const blob of blobs) {
|
411
411
|
console.log(`Blob ${i++}: ${blob.name}`);
|
412
412
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/storage-blob",
|
3
3
|
"sdk-type": "client",
|
4
|
-
"version": "12.25.0-alpha.
|
4
|
+
"version": "12.25.0-alpha.20240821.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",
|
@@ -46,8 +46,8 @@
|
|
46
46
|
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/storage-blob/test/*.spec.js' 'dist-esm/storage-blob/test/node/*.spec.js'",
|
47
47
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
48
48
|
"generate:client": "autorest --typescript ./swagger/README.md",
|
49
|
-
"lint:fix": "eslint package.json api-extractor.json README.md src test --
|
50
|
-
"lint": "eslint package.json api-extractor.json README.md src test
|
49
|
+
"lint:fix": "eslint package.json api-extractor.json README.md src test --fix",
|
50
|
+
"lint": "eslint package.json api-extractor.json README.md src test",
|
51
51
|
"pack": "npm pack 2>&1",
|
52
52
|
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
|
53
53
|
"test:node": "npm run clean && npm run build:test && npm run unit-test:node",
|