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.22

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 = {};

25

package.json
{
"name": "@opentelemetry/instrumentation-fetch",
"version": "0.25.1-alpha.21+0ef1fc28",
"version": "0.25.1-alpha.22+3acebdcc",
"description": "OpenTelemetry fetch automatic instrumentation package.",

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

"test:browser": "nyc karma start --single-run",
"watch": "tsc --build --watch tsconfig.json tsconfig.esm.json"
"watch": "tsc --build --watch tsconfig.json tsconfig.esm.json",
"precompile": "lerna run version --scope $(npm pkg get name) --include-filtered-dependencies",
"prewatch": "npm run precompile"
},

@@ -52,8 +54,7 @@ "keywords": [

"@opentelemetry/api": "^1.0.2",
"@opentelemetry/context-zone": "^0.25.1-alpha.21+0ef1fc28",
"@opentelemetry/propagator-b3": "^0.25.1-alpha.21+0ef1fc28",
"@opentelemetry/sdk-trace-base": "^0.25.1-alpha.21+0ef1fc28",
"@opentelemetry/context-zone": "^0.25.0",
"@opentelemetry/propagator-b3": "^0.25.0",
"@opentelemetry/sdk-trace-base": "^0.25.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.9",
"@types/shimmer": "1.0.2",
"@types/node": "14.17.11",
"@types/sinon": "10.0.2",

@@ -85,8 +86,8 @@ "@types/webpack-env": "1.16.2",

"dependencies": {
"@opentelemetry/core": "^0.25.1-alpha.21+0ef1fc28",
"@opentelemetry/instrumentation": "^0.25.1-alpha.21+0ef1fc28",
"@opentelemetry/sdk-trace-web": "^0.25.1-alpha.21+0ef1fc28",
"@opentelemetry/semantic-conventions": "^0.25.1-alpha.21+0ef1fc28"
"@opentelemetry/core": "^0.25.0",
"@opentelemetry/instrumentation": "^0.25.1-alpha.22+3acebdcc",
"@opentelemetry/sdk-trace-web": "^0.25.0",
"@opentelemetry/semantic-conventions": "^0.25.0"
},
"gitHead": "0ef1fc28d366b74d98b73b5d6334ffdc75342fe2"
"gitHead": "3acebdcc070cf736e932c9ab9b683eb047c5cabc"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet