perf.plugin
Advanced tools
Comparing version 1.1.0 to 1.3.0
{ | ||
"name": "perf.plugin", | ||
"version": "1.1.0", | ||
"version": "1.3.0", | ||
"description": "基础插件", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"ioredis": "^3.1.1", | ||
"node-statsd": "^0.1.1" | ||
"statsd-client": "^0.4.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
const StatsD = require('node-statsd'); | ||
const StatsD = require('statsd-client'); | ||
@@ -9,3 +9,3 @@ module.exports = class statsd { | ||
this.KEY = 'perf.filter'; | ||
this.statsd = new StatsD({ host, port }); | ||
this.statsd = new StatsD({ host, port: Number(port) }); | ||
} | ||
@@ -12,0 +12,0 @@ |
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
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
3105
+ Addedstatsd-client@^0.4.0
+ Addedstatsd-client@0.4.7(transitive)
- Removednode-statsd@^0.1.1
- Removednode-statsd@0.1.1(transitive)