New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-shield

Package Overview
Dependencies
Maintainers
5
Versions
434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.433.0 to 3.435.0

6

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

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

const w = "required", x = "fn", y = "argv", z = "ref";
const a = false, b = "isSet", c = "tree", d = "booleanEquals", e = "error", f = "endpoint", g = "PartitionResult", h = { [w]: false, "type": "String" }, i = { [w]: true, "default": false, "type": "Boolean" }, j = { [z]: "Endpoint" }, k = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, l = { [z]: "UseFIPS" }, m = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, n = {}, o = { [x]: "stringEquals", [y]: [{ [x]: "getAttr", [y]: [{ [z]: g }, "name"] }, "aws"] }, p = { [x]: d, [y]: [{ [z]: "UseDualStack" }, false] }, q = { "authSchemes": [{ "name": "sigv4", "signingName": "shield", "signingRegion": "us-east-1" }] }, r = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsFIPS"] }] }, s = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsDualStack"] }] }, t = [k], u = [m], v = [{ [z]: "Region" }];
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [x]: b, [y]: [j] }], type: c, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: j, properties: n, headers: n }, type: f }] }, { conditions: [{ [x]: b, [y]: v }], type: c, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], type: c, rules: [{ conditions: [o, { [x]: d, [y]: [l, a] }, p], endpoint: { url: "https://shield.us-east-1.amazonaws.com", properties: q, headers: n }, type: f }, { conditions: [o, k, p], endpoint: { url: "https://shield-fips.us-east-1.amazonaws.com", properties: q, headers: n }, type: f }, { conditions: [k, m], type: c, rules: [{ conditions: [r, s], type: c, rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: f }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }] }, { conditions: t, type: c, rules: [{ conditions: [r], type: c, rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: f }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }] }, { conditions: u, type: c, rules: [{ conditions: [s], type: c, rules: [{ endpoint: { url: "https://shield.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: f }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }] }, { endpoint: { url: "https://shield.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: f }] }] }, { error: "Invalid Configuration: Missing Region", type: e }] };
const x = "required", y = "fn", z = "argv", A = "ref";
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = { [x]: false, "type": "String" }, j = { [x]: true, "default": false, "type": "Boolean" }, k = { [A]: "Endpoint" }, l = { [y]: d, [z]: [{ [A]: "UseFIPS" }, true] }, m = { [A]: "UseFIPS" }, n = { [y]: d, [z]: [{ [A]: "UseDualStack" }, true] }, o = {}, p = { [y]: "stringEquals", [z]: [{ [y]: "getAttr", [z]: [{ [A]: h }, "name"] }, "aws"] }, q = { [y]: d, [z]: [{ [A]: "UseDualStack" }, false] }, r = { "authSchemes": [{ "name": "sigv4", "signingName": "shield", "signingRegion": "us-east-1" }] }, s = { [y]: "getAttr", [z]: [{ [A]: h }, "supportsFIPS"] }, t = { [y]: d, [z]: [true, { [y]: "getAttr", [z]: [{ [A]: h }, "supportsDualStack"] }] }, u = [l], v = [n], w = [{ [A]: "Region" }];
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [y]: c, [z]: [k] }], rules: [{ conditions: u, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { conditions: v, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, properties: o, headers: o }, type: f }], type: g }, { conditions: [{ [y]: c, [z]: w }], rules: [{ conditions: [{ [y]: "aws.partition", [z]: w, assign: h }], rules: [{ conditions: [p, { [y]: d, [z]: [m, a] }, q], endpoint: { url: "https://shield.us-east-1.amazonaws.com", properties: r, headers: o }, type: f }, { conditions: [p, l, q], endpoint: { url: "https://shield-fips.us-east-1.amazonaws.com", properties: r, headers: o }, type: f }, { conditions: [l, n], rules: [{ conditions: [{ [y]: d, [z]: [b, s] }, t], rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: u, rules: [{ conditions: [{ [y]: d, [z]: [s, b] }], rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: v, rules: [{ conditions: [t], rules: [{ endpoint: { url: "https://shield.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://shield.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }] };
export const ruleSet = _data;
{
"name": "@aws-sdk/client-shield",
"description": "AWS SDK for JavaScript Shield Client for Node.js, Browser and React Native",
"version": "3.433.0",
"version": "3.435.0",
"scripts": {

@@ -24,4 +24,4 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "3.433.0",
"@aws-sdk/credential-provider-node": "3.433.0",
"@aws-sdk/client-sts": "3.435.0",
"@aws-sdk/credential-provider-node": "3.435.0",
"@aws-sdk/middleware-host-header": "3.433.0",

@@ -28,0 +28,0 @@ "@aws-sdk/middleware-logger": "3.433.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc