🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@aws-sdk/client-ecr

Package Overview
Dependencies
Maintainers
2
Versions
469
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-ecr - npm Package Compare versions

Comparing version

to
3.800.0

6

dist-cjs/endpoint/ruleset.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ruleSet = void 0;
const v = "required", w = "fn", x = "argv", y = "ref";
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [v]: false, "type": "String" }, j = { [v]: true, "default": false, "type": "Boolean" }, k = { [y]: "Endpoint" }, l = { [w]: c, [x]: [{ [y]: "UseFIPS" }, true] }, m = { [w]: c, [x]: [{ [y]: "UseDualStack" }, true] }, n = {}, o = { [w]: "getAttr", [x]: [{ [y]: g }, "supportsFIPS"] }, p = { [w]: c, [x]: [true, { [w]: "getAttr", [x]: [{ [y]: g }, "supportsDualStack"] }] }, q = { [w]: "getAttr", [x]: [{ [y]: g }, "name"] }, r = { "url": "https://ecr-fips.{Region}.amazonaws.com", "properties": {}, "headers": {} }, s = [l], t = [m], u = [{ [y]: "Region" }];
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [w]: b, [x]: [k] }], rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [w]: b, [x]: u }], rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [w]: c, [x]: [a, o] }, p], rules: [{ endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: s, rules: [{ conditions: [{ [w]: c, [x]: [o, a] }], rules: [{ conditions: [{ [w]: h, [x]: [q, "aws"] }], endpoint: r, type: e }, { conditions: [{ [w]: h, [x]: [q, "aws-us-gov"] }], endpoint: r, type: e }, { endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: t, rules: [{ conditions: [p], rules: [{ endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
const B = "required", C = "fn", D = "argv", E = "ref", F = "url", G = "properties", H = "headers";
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "aws", j = "aws-us-gov", k = { [B]: false, "type": "String" }, l = { [B]: true, "default": false, "type": "Boolean" }, m = { [E]: "Endpoint" }, n = { [C]: c, [D]: [{ [E]: "UseFIPS" }, true] }, o = { [C]: c, [D]: [{ [E]: "UseDualStack" }, true] }, p = {}, q = { [C]: "getAttr", [D]: [{ [E]: g }, "supportsFIPS"] }, r = { [C]: c, [D]: [true, { [C]: "getAttr", [D]: [{ [E]: g }, "supportsDualStack"] }] }, s = { [C]: "getAttr", [D]: [{ [E]: g }, "name"] }, t = { [F]: "https://ecr-fips.{Region}.api.aws", [G]: {}, [H]: {} }, u = { [F]: "https://ecr-fips.{Region}.amazonaws.com", [G]: {}, [H]: {} }, v = { [F]: "https://ecr.{Region}.api.aws", [G]: {}, [H]: {} }, w = [n], x = [o], y = [{ [E]: "Region" }], z = [{ [C]: h, [D]: [i, s] }], A = [{ [C]: h, [D]: [j, s] }];
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [C]: b, [D]: [m] }], rules: [{ conditions: w, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: x, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { [F]: m, [G]: p, [H]: p }, type: e }], type: f }, { conditions: [{ [C]: b, [D]: y }], rules: [{ conditions: [{ [C]: "aws.partition", [D]: y, assign: g }], rules: [{ conditions: [n, o], rules: [{ conditions: [{ [C]: c, [D]: [a, q] }, r], rules: [{ conditions: z, endpoint: t, type: e }, { conditions: A, endpoint: t, type: e }, { endpoint: { [F]: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: w, rules: [{ conditions: [{ [C]: c, [D]: [q, a] }], rules: [{ conditions: [{ [C]: h, [D]: [s, i] }], endpoint: u, type: e }, { conditions: [{ [C]: h, [D]: [s, j] }], endpoint: u, type: e }, { endpoint: { [F]: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: x, rules: [{ conditions: [r], rules: [{ conditions: z, endpoint: v, type: e }, { conditions: [{ [C]: h, [D]: ["aws-cn", s] }], endpoint: { [F]: "https://ecr.{Region}.api.amazonwebservices.com.cn", [G]: p, [H]: p }, type: e }, { conditions: A, endpoint: v, type: e }, { endpoint: { [F]: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { [F]: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
exports.ruleSet = _data;

@@ -1,4 +0,4 @@

const v = "required", w = "fn", x = "argv", y = "ref";
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [v]: false, "type": "String" }, j = { [v]: true, "default": false, "type": "Boolean" }, k = { [y]: "Endpoint" }, l = { [w]: c, [x]: [{ [y]: "UseFIPS" }, true] }, m = { [w]: c, [x]: [{ [y]: "UseDualStack" }, true] }, n = {}, o = { [w]: "getAttr", [x]: [{ [y]: g }, "supportsFIPS"] }, p = { [w]: c, [x]: [true, { [w]: "getAttr", [x]: [{ [y]: g }, "supportsDualStack"] }] }, q = { [w]: "getAttr", [x]: [{ [y]: g }, "name"] }, r = { "url": "https://ecr-fips.{Region}.amazonaws.com", "properties": {}, "headers": {} }, s = [l], t = [m], u = [{ [y]: "Region" }];
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [w]: b, [x]: [k] }], rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [w]: b, [x]: u }], rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [w]: c, [x]: [a, o] }, p], rules: [{ endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: s, rules: [{ conditions: [{ [w]: c, [x]: [o, a] }], rules: [{ conditions: [{ [w]: h, [x]: [q, "aws"] }], endpoint: r, type: e }, { conditions: [{ [w]: h, [x]: [q, "aws-us-gov"] }], endpoint: r, type: e }, { endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: t, rules: [{ conditions: [p], rules: [{ endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
const B = "required", C = "fn", D = "argv", E = "ref", F = "url", G = "properties", H = "headers";
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "aws", j = "aws-us-gov", k = { [B]: false, "type": "String" }, l = { [B]: true, "default": false, "type": "Boolean" }, m = { [E]: "Endpoint" }, n = { [C]: c, [D]: [{ [E]: "UseFIPS" }, true] }, o = { [C]: c, [D]: [{ [E]: "UseDualStack" }, true] }, p = {}, q = { [C]: "getAttr", [D]: [{ [E]: g }, "supportsFIPS"] }, r = { [C]: c, [D]: [true, { [C]: "getAttr", [D]: [{ [E]: g }, "supportsDualStack"] }] }, s = { [C]: "getAttr", [D]: [{ [E]: g }, "name"] }, t = { [F]: "https://ecr-fips.{Region}.api.aws", [G]: {}, [H]: {} }, u = { [F]: "https://ecr-fips.{Region}.amazonaws.com", [G]: {}, [H]: {} }, v = { [F]: "https://ecr.{Region}.api.aws", [G]: {}, [H]: {} }, w = [n], x = [o], y = [{ [E]: "Region" }], z = [{ [C]: h, [D]: [i, s] }], A = [{ [C]: h, [D]: [j, s] }];
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [C]: b, [D]: [m] }], rules: [{ conditions: w, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: x, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { [F]: m, [G]: p, [H]: p }, type: e }], type: f }, { conditions: [{ [C]: b, [D]: y }], rules: [{ conditions: [{ [C]: "aws.partition", [D]: y, assign: g }], rules: [{ conditions: [n, o], rules: [{ conditions: [{ [C]: c, [D]: [a, q] }, r], rules: [{ conditions: z, endpoint: t, type: e }, { conditions: A, endpoint: t, type: e }, { endpoint: { [F]: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: w, rules: [{ conditions: [{ [C]: c, [D]: [q, a] }], rules: [{ conditions: [{ [C]: h, [D]: [s, i] }], endpoint: u, type: e }, { conditions: [{ [C]: h, [D]: [s, j] }], endpoint: u, type: e }, { endpoint: { [F]: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: x, rules: [{ conditions: [r], rules: [{ conditions: z, endpoint: v, type: e }, { conditions: [{ [C]: h, [D]: ["aws-cn", s] }], endpoint: { [F]: "https://ecr.{Region}.api.amazonwebservices.com.cn", [G]: p, [H]: p }, type: e }, { conditions: A, endpoint: v, type: e }, { endpoint: { [F]: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { [F]: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", [G]: p, [H]: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
export const ruleSet = _data;

@@ -32,6 +32,6 @@ import { Command as $Command } from "@smithy/smithy-client";

* <note>
* <p>Starting with Docker version 1.9, the Docker client compresses image layers before
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
* command shows the uncompressed image size. Therefore, Docker might return a larger
* image than the image shown in the Amazon Web Services Management Console.</p>
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers
* before pushing them to a V2 Docker registry. The output of the <code>docker
* images</code> command shows the uncompressed image size, so it may return a
* larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
* </note>

@@ -38,0 +38,0 @@ * @example

{
"name": "@aws-sdk/client-ecr",
"description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
"version": "3.799.0",
"version": "3.800.0",
"scripts": {

@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

Sorry, the diff of this file is too big to display