Comparing version 0.0.3 to 0.1.2
48
index.js
@@ -19,2 +19,3 @@ var Dogstatsy = require('dogstatsy'); | ||
path: filterPath(options.path), | ||
targetType: options.targetType || 'unknown', | ||
method: options.method, | ||
@@ -26,3 +27,4 @@ socketPath: modem.socketPath, | ||
success: err == null, | ||
statusCode: err && err.statusCode | ||
statusCode: err && err.statusCode, | ||
errorCode: err && err.code | ||
}); | ||
@@ -35,26 +37,34 @@ callback(err, payload); | ||
var dockerNouns = [ | ||
'attach', | ||
'auth', | ||
'build', | ||
'changes', | ||
'containers', | ||
'commit', | ||
'copy', | ||
'create', | ||
'events', | ||
'exec', | ||
'export', | ||
'history', | ||
'images', | ||
'info', | ||
'insert', | ||
'json', | ||
'history', | ||
'kill', | ||
'load', | ||
'logs', | ||
'pause', | ||
'push', | ||
'resize', | ||
'restart', | ||
'search', | ||
'start', | ||
'stop', | ||
'tag', | ||
'containers', | ||
'top', | ||
'changes', | ||
'export', | ||
'start', | ||
'commit', | ||
'stop', | ||
'restart', | ||
'kill', | ||
'resize', | ||
'attach', | ||
'copy', | ||
'create', | ||
'auth', | ||
'build', | ||
'search', | ||
'info', | ||
'events', | ||
'unpause', | ||
'version', | ||
'wait', | ||
'_ping', | ||
]; | ||
@@ -61,0 +71,0 @@ |
{ | ||
"name": "dogerode", | ||
"version": "0.0.3", | ||
"version": "0.1.2", | ||
"description": "DogStatsD shim for dockerode", | ||
@@ -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
3382
97
1