connect-datadog
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -7,2 +7,3 @@ var DD = require("node-dogstatsd").StatsD; | ||
var tags = options.tags || []; | ||
var path = options.path || false; | ||
var response_code = options.response_code || false; | ||
@@ -32,3 +33,2 @@ | ||
if (options.protocol && req.protocol) { | ||
@@ -38,3 +38,3 @@ statTags.push("protocol:" + req.protocol); | ||
if (options.path !== false) { | ||
if (path !== false) { | ||
statTags.push("path:" + req.path); | ||
@@ -41,0 +41,0 @@ } |
{ | ||
"name": "connect-datadog", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Datadog middleware for Connect JS / Express", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3627
41
1