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

@middy/cloudwatch-metrics

Package Overview
Dependencies
Maintainers
3
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@middy/cloudwatch-metrics - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

2

index.js

@@ -10,7 +10,5 @@ import awsEmbeddedMetrics from 'aws-embedded-metrics';

const metrics = awsEmbeddedMetrics.createMetricsLogger();
// If not set, defaults to aws-embedded-metrics
if (namespace) {
metrics.setNamespace(namespace);
}
// If not set, keeps defaults as defined here https://github.com/awslabs/aws-embedded-metrics-node/#configuration
if (dimensions) {

@@ -17,0 +15,0 @@ metrics.setDimensions(dimensions);

6

package.json
{
"name": "@middy/cloudwatch-metrics",
"version": "5.0.2",
"version": "5.0.3",
"description": "Embedded CloudWatch metrics middleware for the middy framework",

@@ -69,6 +69,6 @@ "type": "module",

"devDependencies": {
"@middy/core": "5.0.2",
"@middy/core": "5.0.3",
"@types/aws-lambda": "^8.10.101"
},
"gitHead": "6d17e155237022f2a0abd095ac7cd99ebfc7fc71"
"gitHead": "87660575a7ac2b52e4153c407a4c63c9449dcd0d"
}
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