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
4
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 2.5.0 to 2.6.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.6.0](https://github.com/instana/nodejs/compare/v2.5.0...v2.6.0) (2022-06-28)
### Features
* **aws-lambda:** added support for Node v16 ([718cf9f](https://github.com/instana/nodejs/commit/718cf9f69de3062964a28390900dc3f158557cdf))
# [2.5.0](https://github.com/instana/nodejs/compare/v2.4.0...v2.5.0) (2022-06-23)

@@ -8,0 +19,0 @@

6

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

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

"dependencies": {
"@instana/aws-lambda": "2.5.0"
"@instana/aws-lambda": "2.6.0"
},

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

},
"gitHead": "0d11b04a5bee77f5a8dd8255bcc756b4c313804f"
"gitHead": "f1ad73bc1502d90038190991943950057e8d1aca"
}

@@ -18,4 +18,19 @@ /*

const lambdaRuntimeErrors = require(`${RUNTIME_PATH}/Errors.js`);
class HandlerNotFound extends Error {}
class MalformedHandlerName extends Error {}
class UserCodeSyntaxError extends Error {}
class ImportModuleError extends Error {}
let lambdaRuntimeErrors = {
HandlerNotFound,
MalformedHandlerName,
UserCodeSyntaxError,
ImportModuleError
};
// NOTE: Lambda v16 removed the ability to require `Error.js`
if (Number(process.versions.node.split('.')[0]) < 16) {
lambdaRuntimeErrors = require(`${RUNTIME_PATH}/Errors.js`);
}
let wrappedHandler;

@@ -22,0 +37,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