New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qb-statsd

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qb-statsd - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

5

index.js

@@ -8,2 +8,5 @@ // statsd/index.js

module.exports = function (qb, statsdconf) {
if (!statsdconf)
throw new Error('Cannot attach statsd component without configuration options')
var existing_instance = statsdconf.instance instanceof StatsD

@@ -36,3 +39,3 @@ , statsd = existing_instance ? statsdconf.instance : createInstance(statsdconf)

qb.on('fail', function (type, task, next) {
qb.on('fail', function (err, type, task, next) {
statsd.increment(type + '.failure')

@@ -39,0 +42,0 @@ next()

4

package.json
{
"name": "qb-statsd",
"version": "2.0.0",
"version": "2.1.0",
"description": "Adds statsd listeners to qb",

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

"moniker": "^0.1.2",
"qb": "^2.0.0",
"qb": "^2.1.0",
"xtend": "^4.0.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