Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@smithy/util-endpoints

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/util-endpoints - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

6

dist-cjs/index.js

@@ -281,3 +281,3 @@ var __defProp = Object.defineProperty;

const value = callFunction(fnArgs, options);
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, debugId, `evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`);
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`);
return {

@@ -306,3 +306,3 @@ result: value === "" ? true : !!value,

conditionsReferenceRecord[toAssign.name] = toAssign.value;
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, debugId, `assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`);
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`);
}

@@ -384,3 +384,3 @@ }

const { url, properties, headers } = endpoint;
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, debugId, `Resolving endpoint from template: ${toDebugString(endpoint)}`);
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`);
return {

@@ -387,0 +387,0 @@ ...headers != void 0 && {

@@ -9,3 +9,3 @@ import { debugId, toDebugString } from "../debug";

const value = callFunction(fnArgs, options);
options.logger?.debug?.(debugId, `evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`);
options.logger?.debug?.(`${debugId} evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`);
return {

@@ -12,0 +12,0 @@ result: value === "" ? true : !!value,

@@ -18,3 +18,3 @@ import { debugId, toDebugString } from "../debug";

conditionsReferenceRecord[toAssign.name] = toAssign.value;
options.logger?.debug?.(debugId, `assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`);
options.logger?.debug?.(`${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`);
}

@@ -21,0 +21,0 @@ }

@@ -17,3 +17,3 @@ import { debugId, toDebugString } from "../debug";

const { url, properties, headers } = endpoint;
options.logger?.debug?.(debugId, `Resolving endpoint from template: ${toDebugString(endpoint)}`);
options.logger?.debug?.(`${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`);
return {

@@ -20,0 +20,0 @@ ...(headers != undefined && {

{
"name": "@smithy/util-endpoints",
"version": "1.2.0",
"version": "2.0.0",
"description": "Utilities to help with endpoint resolution.",

@@ -29,9 +29,8 @@ "main": "./dist-cjs/index.js",

"dependencies": {
"@smithy/node-config-provider": "^2.3.0",
"@smithy/types": "^2.12.0",
"@smithy/node-config-provider": "^3.0.0",
"@smithy/types": "^3.0.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@tsconfig/recommended": "1.0.1",
"@types/node": "^14.14.31",
"@types/node": "^16.18.96",
"concurrently": "7.0.0",

@@ -44,3 +43,3 @@ "downlevel-dts": "0.10.1",

"engines": {
"node": ">= 14.0.0"
"node": ">=16.0.0"
},

@@ -47,0 +46,0 @@ "typesVersions": {

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