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

elastic-apm-http-client

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elastic-apm-http-client - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

17

index.js

@@ -72,3 +72,18 @@ 'use strict'

this._onflushed = null
this._transport = require(opts.serverUrl.protocol.slice(0, -1)) // 'http:' => 'http'
this._transport = null
switch (opts.serverUrl.protocol.slice(0, -1)) { // 'http:' => 'http'
case 'http': {
this._transport = require('http')
break
}
case 'https': {
this._transport = require('https')
break
}
default: {
throw new Error('Unknown protocol ' + opts.serverUrl.protocol.slice(0, -1))
}
}
this._agent = new this._transport.Agent(opts)

@@ -75,0 +90,0 @@ this._chopper = new StreamChopper({

6

package.json
{
"name": "elastic-apm-http-client",
"version": "7.0.1",
"version": "7.0.2",
"description": "A low-level HTTP client for communicating with the Elastic APM intake API",

@@ -52,5 +52,5 @@ "main": "index.js",

"coordinates": [
55.778248,
12.593108
55.778267,
12.593169
]
}
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