Socket
Socket
Sign inDemoInstall

dd-trace

Package Overview
Dependencies
Maintainers
3
Versions
579
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.7.2 to 0.7.3

2

lib/version.js

@@ -1,1 +0,1 @@

module.exports = '0.7.2'
module.exports = '0.7.3'
{
"name": "dd-trace",
"version": "0.7.2",
"version": "0.7.3",
"description": "Datadog APM tracing client for JavaScript",

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

@@ -14,3 +14,3 @@ # dd-trace-js

For a basic product overview, check out our [setup documentation](https://docs.datadoghq.com/tracing/setup/javascript/).
For a basic product overview, check out our [setup documentation](https://docs.datadoghq.com/tracing/languages/nodejs/).

@@ -17,0 +17,0 @@ For installation, configuration, and details about using the API, check out our [API documentation](https://datadog.github.io/dd-trace-js).

@@ -22,8 +22,8 @@ 'use strict'

if (callback) {
if (typeof callback === 'function') {
callback = tx.wrap(span, callback)
} else if (args) {
args[(args.length || 1) - 1] = tx.wrap(span, args[args.length - 1])
} else if (Array.isArray(args) && typeof args[args.length - 1] === 'function') {
args[args.length - 1] = tx.wrap(span, args[args.length - 1])
} else {
args = [tx.wrap(span)]
callback = tx.wrap(span)
}

@@ -30,0 +30,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