Socket
Socket
Sign inDemoInstall

@aws-sdk/util-endpoints

Package Overview
Dependencies
2
Maintainers
5
Versions
106
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.162.0 to 3.167.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [3.167.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.166.0...v3.167.0) (2022-09-08)
**Note:** Version bump only for package @aws-sdk/util-endpoints
# [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)

@@ -8,0 +16,0 @@

2

dist-cjs/utils/evaluateCondition.js

@@ -7,3 +7,3 @@ "use strict";

const evaluateCondition = ({ assign, ...fnArgs }, options) => {
if (assign && options.referenceRecord[assign]) {
if (assign && assign in options.referenceRecord) {
throw new types_1.EndpointError(`'${assign}' is already defined in Reference Record.`);

@@ -10,0 +10,0 @@ }

@@ -6,3 +6,3 @@ import { __assign, __rest } from "tslib";

var assign = _a.assign, fnArgs = __rest(_a, ["assign"]);
if (assign && options.referenceRecord[assign]) {
if (assign && assign in options.referenceRecord) {
throw new EndpointError("'".concat(assign, "' is already defined in Reference Record."));

@@ -9,0 +9,0 @@ }

@@ -0,1 +1,2 @@

import { EndpointV2 } from "@aws-sdk/types";
import { EndpointResolverOptions, RuleSetObject } from "./types";

@@ -5,2 +6,2 @@ /**

*/
export declare const resolveEndpoint: (ruleSetObject: RuleSetObject, options: EndpointResolverOptions) => import("@aws-sdk/types").EndpointV2;
export declare const resolveEndpoint: (ruleSetObject: RuleSetObject, options: EndpointResolverOptions) => EndpointV2;

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

import { EndpointV2 } from "@aws-sdk/types";
import { EndpointResolverOptions, RuleSetObject } from "./types";
export declare const resolveEndpoint: (ruleSetObject: RuleSetObject, options: EndpointResolverOptions) => import("@aws-sdk/types").EndpointV2;
export declare const resolveEndpoint: (ruleSetObject: RuleSetObject, options: EndpointResolverOptions) => EndpointV2;

@@ -0,2 +1,3 @@

import { EndpointV2 } from "@aws-sdk/types";
import { EvaluateOptions, RuleSetRules } from "../types";
export declare const evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => import("@aws-sdk/types").EndpointV2;
export declare const evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2;

@@ -0,2 +1,3 @@

import { EndpointV2 } from "@aws-sdk/types";
import { EvaluateOptions, RuleSetRules } from "../types";
export declare const evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => import("@aws-sdk/types").EndpointV2;
export declare const evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2;
{
"name": "@aws-sdk/util-endpoints",
"version": "3.162.0",
"version": "3.167.0",
"description": "Utilities to help with endpoint resolution",

@@ -5,0 +5,0 @@ "main": "./dist-cjs/index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc