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 4.6.1 to 4.6.2

2

index.js

@@ -10,5 +10,7 @@ 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) {

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

6

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

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

"devDependencies": {
"@middy/core": "4.6.1",
"@middy/core": "4.6.2",
"@types/aws-lambda": "^8.10.101"
},
"gitHead": "253ed0e4ca95623decbade03938a07d837a1eba2"
"gitHead": "8b03a01abf5a9c08231ec5ced775e87f8be8f67d"
}

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