Socket
Socket
Sign inDemoInstall

hot-shots

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hot-shots - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

CHANGES.md

8

lib/statsd.js

@@ -44,4 +44,6 @@ var dgram = require('dgram'),

dns.lookup(options.host, function(err, address, family){
if(err == null){
if(err === null){
self.host = address;
} else {
throw new Error(err);
}

@@ -260,3 +262,3 @@ });

this.send(message, tags, callback);
}
};

@@ -299,5 +301,5 @@ /**

this.socket.close();
}
};
exports = module.exports = Client;
exports.StatsD = Client;
{
"name": "hot-shots",
"description": "Node.js client for statsd and DogStatsD",
"version": "1.0.1",
"version": "1.0.2",
"author": "Steve Ivy",

@@ -10,2 +10,8 @@ "contributors": [

],
"keywords": [
"statsd",
"dogstatsd",
"datadog",
"metrics"
],
"repository": {

@@ -25,9 +31,12 @@ "type": "git",

"scripts": {
"test": "mocha -R spec"
"test": "mocha -R spec",
"lint": "jshint lib/**.js test/**.js",
"pretest": "npm run lint"
},
"dependencies": {},
"devDependencies": {
"mocha": "*"
"jshint": "2.x",
"mocha": "2.x"
},
"license": "MIT"
}

@@ -8,2 +8,4 @@ # hot-shots

[![Build Status](https://secure.travis-ci.org/brightcove/hot-shots.png?branch=master)](http://travis-ci.org/brightcove/hot-shots)
## Installation

@@ -127,2 +129,11 @@

## Submitting changes
Thanks for considering making any updates to this project! Here are the steps to take in your fork:
1. Make sure you've added any new tests needed
2. Run "npm install && npm unit"
3. Update the HEAD section in CHANGES.md with a description of what you have done
4. Push your changes and create the PR, and we'll try to get this merged in right away
## Name

@@ -129,0 +140,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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