Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/statsd

Package Overview
Dependencies
Maintainers
13
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/statsd - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

6

CHANGELOG.md

@@ -8,2 +8,8 @@ # Changelog

## [1.2.0] - 2019-12-24
### Added
- added `gauge` metric support from `hot-spot`
## [1.1.0] - 2019-10-08

@@ -10,0 +16,0 @@

1

dist/src/client.d.ts

@@ -16,2 +16,3 @@ import { ClientOptions } from 'hot-shots';

distribution(stat: string | string[], value: number, tags?: Tags): Promise<void>;
gauge(stat: string | string[], value: number, tags?: Tags): Promise<void>;
increment(stat: string | string[], tags?: Tags): Promise<void>;

@@ -18,0 +19,0 @@ close(): Promise<void>;

@@ -29,2 +29,8 @@ "use strict";

};
StatsDClient.prototype.gauge = function (stat, value, tags) {
var _this = this;
return new Promise(function (resolve) {
_this.statsd.gauge(stat, value, _this.normalizeTags(tags), _this.createCallback(resolve));
});
};
StatsDClient.prototype.increment = function (stat, tags) {

@@ -31,0 +37,0 @@ var _this = this;

2

package.json
{
"name": "@shopify/statsd",
"version": "1.1.2",
"version": "1.2.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "An opinionated StatsD client for Shopify Node.js server and other StatsD utilities.",

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