New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@instana/aws-lambda

Package Overview
Dependencies
Maintainers
6
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instana/aws-lambda - npm Package Compare versions

Comparing version 2.10.0 to 2.11.0

11

CHANGELOG.md

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

# [2.11.0](https://github.com/instana/nodejs/compare/v2.10.0...v2.11.0) (2022-11-04)
### Bug Fixes
* **serverless:** do not send x-instana-time header ([7ce7673](https://github.com/instana/nodejs/commit/7ce7673a514069b47c5b883faa9d86bc240244b6))
# [2.10.0](https://github.com/instana/nodejs/compare/v2.9.0...v2.10.0) (2022-10-06)

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

8

package.json
{
"name": "@instana/aws-lambda",
"version": "2.10.0",
"version": "2.11.0",
"description": "Instana tracing and monitoring for Node.js based AWS Lambdas",

@@ -71,4 +71,4 @@ "author": {

"dependencies": {
"@instana/core": "2.10.0",
"@instana/serverless": "2.10.0"
"@instana/core": "2.11.0",
"@instana/serverless": "2.11.0"
},

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

},
"gitHead": "5f25a6d46370feaed952d85b5f891e57bc64512e"
"gitHead": "c326cc5b0ce29b5ca89158b128d192750b243600"
}

@@ -340,25 +340,10 @@ /*

const traceCorrelationData = {};
traceCorrelationData.traceId = readSqsMessageAttributeWithFallback(
attributes,
tracingConstants.sqsAttributeNames.TRACE_ID,
tracingConstants.sqsAttributeNames.LEGACY_TRACE_ID
);
traceCorrelationData.parentId = readSqsMessageAttributeWithFallback(
attributes,
tracingConstants.sqsAttributeNames.SPAN_ID,
tracingConstants.sqsAttributeNames.LEGACY_SPAN_ID
);
traceCorrelationData.level = readSqsMessageAttributeWithFallback(
attributes,
tracingConstants.sqsAttributeNames.LEVEL,
tracingConstants.sqsAttributeNames.LEGACY_LEVEL
);
traceCorrelationData.traceId = readSqsMessageAttribute(attributes, tracingConstants.sqsAttributeNames.TRACE_ID);
traceCorrelationData.parentId = readSqsMessageAttribute(attributes, tracingConstants.sqsAttributeNames.SPAN_ID);
traceCorrelationData.level = readSqsMessageAttribute(attributes, tracingConstants.sqsAttributeNames.LEVEL);
return traceCorrelationData;
}
function readSqsMessageAttributeWithFallback(messageAttributes, key, keyFallback) {
return (
readSqsStringMessageAttribute(messageAttributes, key) ||
readSqsStringMessageAttribute(messageAttributes, keyFallback)
);
function readSqsMessageAttribute(messageAttributes, key) {
return readSqsStringMessageAttribute(messageAttributes, key);
}

@@ -365,0 +350,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