@aws-sdk/client-ecr 3.958.0 → 3.964.0
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-cjs/index.js
CHANGED
|
@@ -3377,10 +3377,10 @@ const paginateListImages = core.createPaginator(ECRClient, ListImagesCommand, "n
|
|
|
3377
3377
|
const checkState$1 = async (client, input) => {
|
|
3378
3378
|
let reason;
|
|
3379
3379
|
try {
|
|
3380
|
-
|
|
3380
|
+
let result = await client.send(new DescribeImageScanFindingsCommand(input));
|
|
3381
3381
|
reason = result;
|
|
3382
3382
|
try {
|
|
3383
|
-
|
|
3383
|
+
const returnComparator = () => {
|
|
3384
3384
|
return result.imageScanStatus.status;
|
|
3385
3385
|
};
|
|
3386
3386
|
if (returnComparator() === "COMPLETE") {
|
|
@@ -3389,7 +3389,7 @@ const checkState$1 = async (client, input) => {
|
|
|
3389
3389
|
}
|
|
3390
3390
|
catch (e) { }
|
|
3391
3391
|
try {
|
|
3392
|
-
|
|
3392
|
+
const returnComparator = () => {
|
|
3393
3393
|
return result.imageScanStatus.status;
|
|
3394
3394
|
};
|
|
3395
3395
|
if (returnComparator() === "FAILED") {
|
|
@@ -3416,10 +3416,10 @@ const waitUntilImageScanComplete = async (params, input) => {
|
|
|
3416
3416
|
const checkState = async (client, input) => {
|
|
3417
3417
|
let reason;
|
|
3418
3418
|
try {
|
|
3419
|
-
|
|
3419
|
+
let result = await client.send(new GetLifecyclePolicyPreviewCommand(input));
|
|
3420
3420
|
reason = result;
|
|
3421
3421
|
try {
|
|
3422
|
-
|
|
3422
|
+
const returnComparator = () => {
|
|
3423
3423
|
return result.status;
|
|
3424
3424
|
};
|
|
3425
3425
|
if (returnComparator() === "COMPLETE") {
|
|
@@ -3428,7 +3428,7 @@ const checkState = async (client, input) => {
|
|
|
3428
3428
|
}
|
|
3429
3429
|
catch (e) { }
|
|
3430
3430
|
try {
|
|
3431
|
-
|
|
3431
|
+
const returnComparator = () => {
|
|
3432
3432
|
return result.status;
|
|
3433
3433
|
};
|
|
3434
3434
|
if (returnComparator() === "FAILED") {
|
|
@@ -3,10 +3,10 @@ import { DescribeImageScanFindingsCommand, } from "../commands/DescribeImageScan
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImageScanFindingsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.imageScanStatus.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "COMPLETE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.imageScanStatus.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "FAILED") {
|
|
@@ -3,10 +3,10 @@ import { GetLifecyclePolicyPreviewCommand, } from "../commands/GetLifecyclePolic
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetLifecyclePolicyPreviewCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "COMPLETE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "FAILED") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecr",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.964.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecr",
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/core": "3.964.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.964.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.964.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
33
33
|
"@aws-sdk/types": "3.957.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.957.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.964.0",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.5",
|
|
38
38
|
"@smithy/core": "^3.20.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.8",
|