@aws-lambda-powertools/commons
Advanced tools
Comparing version 2.11.0 to 2.12.0
@@ -71,2 +71,8 @@ import type { ConfigServiceInterface } from '../types/ConfigServiceInterface.js'; | ||
/** | ||
* Helper function to determine if a value is considered falsy. | ||
* | ||
* @param value The value to check for falsiness. | ||
*/ | ||
isValueFalse(value: string): boolean; | ||
/** | ||
* Get the AWS X-Ray Trace data from the environment variable. | ||
@@ -73,0 +79,0 @@ * |
@@ -88,2 +88,11 @@ "use strict"; | ||
/** | ||
* Helper function to determine if a value is considered falsy. | ||
* | ||
* @param value The value to check for falsiness. | ||
*/ | ||
isValueFalse(value) { | ||
const falsyValues = ['0', 'n', 'no', 'f', 'false', 'off']; | ||
return falsyValues.includes(value.toLowerCase()); | ||
} | ||
/** | ||
* Get the AWS X-Ray Trace data from the environment variable. | ||
@@ -90,0 +99,0 @@ * |
@@ -1,2 +0,2 @@ | ||
export declare const PT_VERSION = "2.11.0"; | ||
export declare const PT_VERSION = "2.12.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,2 +5,2 @@ "use strict"; | ||
// this file is auto generated, do not modify | ||
exports.PT_VERSION = '2.11.0'; | ||
exports.PT_VERSION = '2.12.0'; |
@@ -71,2 +71,8 @@ import type { ConfigServiceInterface } from '../types/ConfigServiceInterface.js'; | ||
/** | ||
* Helper function to determine if a value is considered falsy. | ||
* | ||
* @param value The value to check for falsiness. | ||
*/ | ||
isValueFalse(value: string): boolean; | ||
/** | ||
* Get the AWS X-Ray Trace data from the environment variable. | ||
@@ -73,0 +79,0 @@ * |
@@ -85,2 +85,11 @@ /** | ||
/** | ||
* Helper function to determine if a value is considered falsy. | ||
* | ||
* @param value The value to check for falsiness. | ||
*/ | ||
isValueFalse(value) { | ||
const falsyValues = ['0', 'n', 'no', 'f', 'false', 'off']; | ||
return falsyValues.includes(value.toLowerCase()); | ||
} | ||
/** | ||
* Get the AWS X-Ray Trace data from the environment variable. | ||
@@ -87,0 +96,0 @@ * |
@@ -1,2 +0,2 @@ | ||
export declare const PT_VERSION = "2.11.0"; | ||
export declare const PT_VERSION = "2.12.0"; | ||
//# sourceMappingURL=version.d.ts.map |
// this file is auto generated, do not modify | ||
export const PT_VERSION = '2.11.0'; | ||
export const PT_VERSION = '2.12.0'; |
{ | ||
"name": "@aws-lambda-powertools/commons", | ||
"version": "2.11.0", | ||
"version": "2.12.0", | ||
"description": "A shared utility package for Powertools for AWS Lambda (TypeScript) libraries", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
159846
3653