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

@opentelemetry/instrumentation-fetch

Package Overview
Dependencies
Maintainers
4
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-fetch - npm Package Compare versions

Comparing version

to
0.25.1-alpha.9

5

build/esm/fetch.js

@@ -108,2 +108,7 @@ /*

}
else if (options.headers instanceof Headers) {
api.propagation.inject(api.context.active(), options.headers, {
set: function (h, k, v) { return h.set(k, typeof v === 'string' ? v : String(v)); },
});
}
else {

@@ -110,0 +115,0 @@ var headers = {};

@@ -93,2 +93,7 @@ "use strict";

}
else if (options.headers instanceof Headers) {
api.propagation.inject(api.context.active(), options.headers, {
set: (h, k, v) => h.set(k, typeof v === 'string' ? v : String(v)),
});
}
else {

@@ -95,0 +100,0 @@ const headers = {};

8

package.json
{
"name": "@opentelemetry/instrumentation-fetch",
"version": "0.25.1-alpha.7+dfb597de",
"version": "0.25.1-alpha.9+dbfabd2b",
"description": "OpenTelemetry fetch automatic instrumentation package.",

@@ -53,3 +53,3 @@ "main": "build/src/index.js",

"@opentelemetry/propagator-b3": "^0.25.0",
"@opentelemetry/sdk-trace-base": "^0.25.1-alpha.7+dfb597de",
"@opentelemetry/sdk-trace-base": "^0.25.0",
"@types/mocha": "8.2.3",

@@ -85,6 +85,6 @@ "@types/node": "14.17.11",

"@opentelemetry/instrumentation": "^0.25.0",
"@opentelemetry/sdk-trace-web": "^0.25.1-alpha.7+dfb597de",
"@opentelemetry/sdk-trace-web": "^0.25.0",
"@opentelemetry/semantic-conventions": "^0.25.0"
},
"gitHead": "dfb597def863b15b37b24d965018e8c92d2ee70c"
"gitHead": "dbfabd2bff113b6cfd17096b12f287472c30c751"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet