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

@shopify/statsd

Package Overview
Dependencies
Maintainers
19
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 3.0.0 to 3.0.1-address-mocks-minified-beta.0

4

build/ts/client.d.ts

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

}
declare type Tags = Record<string, string | number | boolean | null | undefined> | string[];
declare type Tags = {
[key: string]: string | number | boolean | null | undefined;
} | string[];
export interface Options extends ClientOptions {

@@ -8,0 +10,0 @@ logger?: Logger;

@@ -19,3 +19,3 @@ import { StatsD } from 'hot-shots';

distribution(stat, value, tags) {
return new Promise(resolve => {
return new Promise((resolve) => {
this.statsd.distribution(stat, value, this.normalizeTags(tags), this.createCallback(resolve));

@@ -25,3 +25,3 @@ });

timing(stat, value, tags) {
return new Promise(resolve => {
return new Promise((resolve) => {
this.statsd.timing(stat, value, this.normalizeTags(tags), this.createCallback(resolve));

@@ -31,3 +31,3 @@ });

gauge(stat, value, tags) {
return new Promise(resolve => {
return new Promise((resolve) => {
this.statsd.gauge(stat, value, this.normalizeTags(tags), this.createCallback(resolve));

@@ -37,3 +37,3 @@ });

increment(stat, tags) {
return new Promise(resolve => {
return new Promise((resolve) => {
this.statsd.increment(stat, 1, this.normalizeTags(tags), this.createCallback(resolve));

@@ -43,3 +43,3 @@ });

close() {
return new Promise(resolve => {
return new Promise((resolve) => {
this.statsd.close(this.createCallback(resolve));

@@ -46,0 +46,0 @@ });

{
"name": "@shopify/statsd",
"version": "3.0.0",
"version": "3.0.1-address-mocks-minified-beta.0",
"license": "MIT",

@@ -48,3 +48,3 @@ "description": "An opinionated StatsD client for Shopify Node.js servers and other StatsD utilities",

},
"gitHead": "40de4af181104f298cbab42d2d3d68e228a9a31a"
"gitHead": "1a19759d10db9ca65d346141b10e7b0654e023e6"
}

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