@smithy/util-endpoints
Advanced tools
Comparing version 1.2.0 to 2.0.0
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
72077
+ Added@smithy/node-config-provider@3.1.9(transitive)
+ Added@smithy/property-provider@3.1.8(transitive)
+ Added@smithy/shared-ini-file-loader@3.1.9(transitive)
+ Added@smithy/types@3.6.0(transitive)
- Removed@smithy/node-config-provider@2.3.0(transitive)
- Removed@smithy/property-provider@2.2.0(transitive)
- Removed@smithy/shared-ini-file-loader@2.4.0(transitive)
- Removed@smithy/types@2.12.0(transitive)
Updated@smithy/types@^3.0.0