Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@aws-lambda-powertools/metrics

Package Overview
Dependencies
Maintainers
2
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version
2.30.0
to
2.30.1
+5
-7
lib/cjs/Metrics.js

@@ -762,3 +762,6 @@ "use strict";

setConsole() {
if (!this.#envConfig.devMode) {
if (this.#envConfig.devMode) {
this.console = console;
}
else {
this.console = new node_console_1.Console({

@@ -769,5 +772,2 @@ stdout: process.stdout,

}
else {
this.console = console;
}
}

@@ -780,5 +780,3 @@ /**

setCustomConfigService(customConfigService) {
this.customConfigService = customConfigService
? customConfigService
: undefined;
this.customConfigService = customConfigService;
}

@@ -785,0 +783,0 @@ /**

@@ -759,3 +759,6 @@ import { Console } from 'node:console';

setConsole() {
if (!this.#envConfig.devMode) {
if (this.#envConfig.devMode) {
this.console = console;
}
else {
this.console = new Console({

@@ -766,5 +769,2 @@ stdout: process.stdout,

}
else {
this.console = console;
}
}

@@ -777,5 +777,3 @@ /**

setCustomConfigService(customConfigService) {
this.customConfigService = customConfigService
? customConfigService
: undefined;
this.customConfigService = customConfigService;
}

@@ -782,0 +780,0 @@ /**

{
"name": "@aws-lambda-powertools/metrics",
"version": "2.30.0",
"version": "2.30.1",
"description": "The metrics package for the Powertools for AWS Lambda (TypeScript) library",

@@ -28,3 +28,3 @@ "author": {

"@aws/lambda-invoke-store": "0.2.2",
"@aws-lambda-powertools/commons": "2.30.0"
"@aws-lambda-powertools/commons": "2.30.1"
},

@@ -31,0 +31,0 @@ "peerDependencies": {

@@ -165,2 +165,3 @@ # Powertools for AWS Lambda (TypeScript)

- [Codeac](https://www.codeac.io/)
- [EF Education First](https://www.ef.com/)
- [Elva](https://elva-group.com)

@@ -167,0 +168,0 @@ - [Flyweight](https://flyweight.io/)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet