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

dd-trace

Package Overview
Dependencies
Maintainers
3
Versions
583
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dd-trace - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

lib/version.js
// generated by genversion
module.exports = '0.1.2'
module.exports = '0.1.3'
{
"name": "dd-trace",
"version": "0.1.2",
"version": "0.1.3",
"description": "Datadog APM tracing client for JavaScript (experimental)",

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

@@ -22,2 +22,6 @@ 'use strict'

extract (carrier) {
if (!carrier[traceKey] || !carrier[spanKey]) {
return null
}
const baggageItems = {}

@@ -24,0 +28,0 @@

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

})
it('should return null if the carrier does not contain a trace', () => {
const carrier = {}
const spanContext = propagator.extract(carrier)
expect(spanContext).to.equal(null)
})
})
})
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