Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-http

Package Overview
Dependencies
Maintainers
4
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-http - npm Package Compare versions

Comparing version 0.18.1-alpha.16 to 0.18.1-alpha.20

3

build/src/http.js

@@ -173,3 +173,4 @@ "use strict";

var _a;
const hostname = options.hostname || ((_a = options.host) === null || _a === void 0 ? void 0 : _a.replace(/^(.*)(:[0-9]{1,5})/, '$1')) ||
const hostname = options.hostname ||
((_a = options.host) === null || _a === void 0 ? void 0 : _a.replace(/^(.*)(:[0-9]{1,5})/, '$1')) ||
'localhost';

@@ -176,0 +177,0 @@ const attributes = utils.getOutgoingRequestAttributes(options, {

@@ -272,3 +272,4 @@ "use strict";

const host = requestOptions.host;
const hostname = requestOptions.hostname || (host === null || host === void 0 ? void 0 : host.replace(/^(.*)(:[0-9]{1,5})/, '$1')) ||
const hostname = requestOptions.hostname ||
(host === null || host === void 0 ? void 0 : host.replace(/^(.*)(:[0-9]{1,5})/, '$1')) ||
'localhost';

@@ -344,3 +345,4 @@ const requestMethod = requestOptions.method;

const host = (requestUrl === null || requestUrl === void 0 ? void 0 : requestUrl.host) || headers.host;
const hostname = (requestUrl === null || requestUrl === void 0 ? void 0 : requestUrl.hostname) || (host === null || host === void 0 ? void 0 : host.replace(/^(.*)(:[0-9]{1,5})/, '$1')) ||
const hostname = (requestUrl === null || requestUrl === void 0 ? void 0 : requestUrl.hostname) ||
(host === null || host === void 0 ? void 0 : host.replace(/^(.*)(:[0-9]{1,5})/, '$1')) ||
'localhost';

@@ -347,0 +349,0 @@ const serverName = options.serverName;

{
"name": "@opentelemetry/instrumentation-http",
"version": "0.18.1-alpha.16+f045eef8",
"version": "0.18.1-alpha.20+24bcfe82",
"description": "OpenTelemetry http/https automatic instrumentation package.",

@@ -44,12 +44,12 @@ "main": "build/src/index.js",

"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.18.0",
"@opentelemetry/core": "^0.18.0",
"@opentelemetry/node": "^0.18.1-alpha.16+f045eef8",
"@opentelemetry/tracing": "^0.18.1-alpha.16+f045eef8",
"@opentelemetry/context-async-hooks": "^0.18.1-alpha.20+24bcfe82",
"@opentelemetry/core": "^0.18.1-alpha.20+24bcfe82",
"@opentelemetry/node": "^0.18.1-alpha.20+24bcfe82",
"@opentelemetry/tracing": "^0.18.1-alpha.20+24bcfe82",
"@types/got": "9.6.11",
"@types/mocha": "8.2.0",
"@types/node": "14.14.20",
"@types/mocha": "8.2.2",
"@types/node": "14.14.35",
"@types/request-promise-native": "1.0.17",
"@types/semver": "7.3.4",
"@types/sinon": "9.0.10",
"@types/sinon": "9.0.11",
"@types/superagent": "4.1.10",

@@ -66,15 +66,15 @@ "axios": "0.21.1",

"rimraf": "3.0.2",
"sinon": "9.2.3",
"sinon": "9.2.4",
"superagent": "6.1.0",
"ts-mocha": "8.0.0",
"ts-node": "9.1.1",
"typescript": "4.1.3"
"typescript": "4.2.3"
},
"dependencies": {
"@opentelemetry/api": "^0.18.0",
"@opentelemetry/instrumentation": "^0.18.0",
"@opentelemetry/semantic-conventions": "^0.18.0",
"@opentelemetry/api": "^0.18.1",
"@opentelemetry/instrumentation": "^0.18.1-alpha.20+24bcfe82",
"@opentelemetry/semantic-conventions": "^0.18.1-alpha.20+24bcfe82",
"semver": "^7.1.3"
},
"gitHead": "f045eef8b02e6dda452aab3cdbeaf78b225c2fd4"
"gitHead": "24bcfe82340e02e605c5c722b0f955da50bf82cf"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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