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
1
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 5.0.0 to 5.1.0

2

index.js

@@ -27,3 +27,3 @@ 'use strict'

transport: url.protocol === 'https:' ? require('https') : http,
path: '/v1/',
path: url.path === '/' ? '/v1/' : url.path + '/v1/',
rejectUnauthorized: opts.rejectUnauthorized !== false

@@ -30,0 +30,0 @@ }

{
"name": "elastic-apm-http-client",
"version": "5.0.0",
"version": "5.1.0",
"description": "A low-level HTTP client for communicating with the Elastic APM intake API",

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

"coordinates": [
55.777343,
12.5900855
55.777531,
12.589865
]
}

@@ -187,3 +187,16 @@ 'use strict'

})
t.test('serverUrl contains path', function (t) {
var client = Client({userAgent: 'foo', serverUrl: 'http://localhost:8200/sub'})
var scope = nock('http://localhost:8200')
.post('/sub/v1/endpoint')
.reply()
client.request('endpoint', body, function (err, res, body) {
t.error(err)
scope.done()
t.end()
})
})
})
})
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