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

instana-aws-lambda-auto-wrap

Package Overview
Dependencies
Maintainers
1
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

instana-aws-lambda-auto-wrap - npm Package Compare versions

Comparing version 1.79.0 to 1.79.1

6

package.json
{
"name": "instana-aws-lambda-auto-wrap",
"version": "1.79.0",
"version": "1.79.1",
"description": "Automatically wrap AWS Lambdas for Instana tracing and monitoring without code modification.",

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

"dependencies": {
"@instana/aws-lambda": "^1.79.0"
"@instana/aws-lambda": "^1.79.1"
},

@@ -66,3 +66,3 @@ "devDependencies": {

},
"gitHead": "58b5339a88d9f12e868889036b334562ce019fac"
"gitHead": "d5d38529721d9bd104c51c71484ed1233b0f2a02"
}

@@ -15,5 +15,10 @@ 'use strict';

let wrappedHandler;
if (!wrappedHandler) {
const targetHandler = loadTargetHandlerFunction();
wrappedHandler = instana.wrap(targetHandler);
}
exports.handler = function instanaAutowrapHandler(event, context, callback) {
const targetHandler = loadTargetHandlerFunction();
const wrappedHandler = instana.wrap(targetHandler);
return wrappedHandler(event, context, callback);

@@ -43,7 +48,5 @@ };

}
if (typeof targetHandlerFunction !== 'function') {
throw new lambdaRuntimeErrors.HandlerNotFound(`${targetHandlerEnvVar} is not a function`);
}
return targetHandlerFunction;

@@ -50,0 +53,0 @@ }

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