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

aws-xray-sdk-fetch

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-xray-sdk-fetch - npm Package Compare versions

Comparing version 3.7.0 to 3.8.0

10

lib/fetch_p.js

@@ -107,9 +107,7 @@ /**

let traceHeader = 'Root=' + (parent.segment ? parent.segment : parent).trace_id;
if (!(parent && parent.noOp)) {
traceHeader += ';Parent=' + subsegment.id + ';Sampled=' + (subsegment.notTraced ? '0' : '1');
}
request.headers.set('X-Amzn-Trace-Id',
'Root=' + (parent.segment ? parent.segment : parent).trace_id +
';Parent=' + subsegment.id +
';Sampled=' + (subsegment.notTraced ? '0' : '1'));
request.headers.set('X-Amzn-Trace-Id', traceHeader);
// Set up fetch call and capture any thrown errors

@@ -116,0 +114,0 @@ const capturedFetch = async () => {

6

package.json
{
"name": "aws-xray-sdk-fetch",
"version": "3.7.0",
"version": "3.8.0",
"description": "AWS X-Ray plugin for node-fetch",

@@ -24,3 +24,3 @@ "author": "Amazon Web Services",

"peerDependencies": {
"aws-xray-sdk-core": "^3.7.0"
"aws-xray-sdk-core": "^3.8.0"
},

@@ -51,3 +51,3 @@ "keywords": [

},
"gitHead": "23ff8bb7321a9bc2e9edd42636b3714df6af8deb"
"gitHead": "41a17d6a1b7e23279fa24061f0be757e3f5e5f18"
}
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