Socket
Socket
Sign inDemoInstall

@opencensus/instrumentation-http2

Package Overview
Dependencies
Maintainers
7
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencensus/instrumentation-http2 - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

5

build/src/http2.js

@@ -51,3 +51,2 @@ "use strict";

shimmer.wrap(client, 'request', original => plugin.getPatchRequestFunction()(original, authority));
shimmer.unwrap(plugin.moduleExports, 'connect');
return client;

@@ -108,3 +107,5 @@ };

const userAgent = headers['user-agent'] || headers['User-Agent'] || null;
const host = url.parse(authority).host;
const host = (authority instanceof url.URL
? authority
: url.parse(authority)).host;
if (host) {

@@ -111,0 +112,0 @@ span.addAttribute(Http2Plugin.ATTRIBUTE_HTTP_HOST, host);

6

package.json
{
"name": "@opencensus/instrumentation-http2",
"version": "0.0.17",
"version": "0.0.18",
"description": "Opencensus http2 automatic instrumentation package.",

@@ -66,4 +66,4 @@ "main": "build/src/index.js",

"dependencies": {
"@opencensus/core": "^0.0.17",
"@opencensus/instrumentation-http": "^0.0.17",
"@opencensus/core": "^0.0.18",
"@opencensus/instrumentation-http": "^0.0.18",
"semver": "^6.0.0",

@@ -70,0 +70,0 @@ "shimmer": "^1.2.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