instana-aws-lambda-auto-wrap
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -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 @@ |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10596
108
+ Added@instana/aws-lambda@2.6.0(transitive)
+ Added@instana/core@2.6.0(transitive)
- Removed@instana/aws-lambda@2.5.0(transitive)
- Removed@instana/core@2.5.0(transitive)
Updated@instana/aws-lambda@2.6.0