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

@aws-lambda-powertools/commons

Package Overview
Dependencies
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-lambda-powertools/commons - npm Package Compare versions

Comparing version 2.11.0 to 2.12.0

6

lib/cjs/config/EnvironmentVariablesService.d.ts

@@ -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 @@ *

2

lib/cjs/version.d.ts

@@ -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

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