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

@aws-lambda-powertools/metrics

Package Overview
Dependencies
Maintainers
9
Versions
98
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 0.4.0 to 0.5.0

4

lib/Metrics.js

@@ -218,3 +218,3 @@ "use strict";

try {
result = await originalMethod?.apply(this, [event, context, callback]);
result = await originalMethod?.apply(target, [event, context, callback]);
}

@@ -419,2 +419,2 @@ catch (error) {

exports.Metrics = Metrics;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWV0cmljcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9NZXRyaWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUVBLHFDQUErRTtBQUMvRSxtQ0FTaUI7QUE0Y0MsNEZBN2NoQixtQkFBVyxPQTZjZ0I7QUExYzdCLE1BQU0sZ0JBQWdCLEdBQUcsR0FBRyxDQUFDO0FBQzdCLE1BQU0sbUJBQW1CLEdBQUcsQ0FBQyxDQUFDO0FBQzlCLE1BQU0saUJBQWlCLEdBQUcsbUJBQW1CLENBQUM7QUFFOUM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBOERHO0FBQ0gsTUFBTSxPQUFPO0lBYVgsWUFBbUIsVUFBMEIsRUFBRTtRQVh2QyxzQkFBaUIsR0FBZSxFQUFFLENBQUM7UUFDbkMsZUFBVSxHQUFlLEVBQUUsQ0FBQztRQUc1QixnQkFBVyxHQUFZLElBQUksQ0FBQztRQUM1QixtQkFBYyxHQUFZLEtBQUssQ0FBQztRQUNoQyxhQUFRLEdBQThCLEVBQUUsQ0FBQztRQU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0FBSyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztTQUNoQztJQUNILENBQUM7Q0FFRjtBQUVRLDBCQUFPIn0=
import type { Metrics } from '../Metrics';
import middy from '@middy/core';
import { ExtraOptions } from '../types';
import type middy from '@middy/core';
import type { ExtraOptions } from '../types';
declare const logMetrics: (target: Metrics | Metrics[], options?: ExtraOptions) => middy.MiddlewareObj;
export { logMetrics, };
//# sourceMappingURL=middy.d.ts.map
{
"name": "@aws-lambda-powertools/metrics",
"version": "0.4.0",
"version": "0.5.0",
"description": "The metrics package for the AWS Lambda powertools (TypeScript) library",

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

"@commitlint/cli": "^16.0.1",
"@middy/core": "^2.5.3",
"@middy/core": "^2.5.6",
"@types/aws-lambda": "^8.10.72",

@@ -91,3 +91,3 @@ "@types/jest": "^27.0.0",

},
"gitHead": "1b8d963974e9ccc5994148a44410a6e0cfe3f4ba"
"gitHead": "c571a9620a806990fa92b29ba1a613b0d6e63ea6"
}

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