@shopify/statsd
Advanced tools
Comparing version 2.1.0-sk-next-beta.0 to 2.1.0-sk-next-beta.1
@@ -28,2 +28,4 @@ "use strict"; | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
@@ -39,4 +41,2 @@ | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
var UNKNOWN = 'Unknown'; | ||
@@ -53,8 +53,6 @@ | ||
_defineProperty(this, "statsd", void 0); | ||
this.statsd = void 0; | ||
this.logger = console; | ||
this.options = void 0; | ||
_defineProperty(this, "logger", console); | ||
_defineProperty(this, "options", void 0); | ||
if (logger) { | ||
@@ -61,0 +59,0 @@ this.logger = logger; |
@@ -12,4 +12,2 @@ "use strict"; | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
const UNKNOWN = 'Unknown'; | ||
@@ -22,8 +20,6 @@ | ||
}) { | ||
_defineProperty(this, "statsd", void 0); | ||
this.statsd = void 0; | ||
this.logger = console; | ||
this.options = void 0; | ||
_defineProperty(this, "logger", console); | ||
_defineProperty(this, "options", void 0); | ||
if (logger) { | ||
@@ -30,0 +26,0 @@ this.logger = logger; |
{ | ||
"name": "@shopify/statsd", | ||
"version": "2.1.0-sk-next-beta.0", | ||
"version": "2.1.0-sk-next-beta.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "An opinionated StatsD client for Shopify Node.js servers and other StatsD utilities", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
30141
481