Socket
Socket
Sign inDemoInstall

app-usage-stats

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-usage-stats - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

es5/lib/app-usage-stats.js

@@ -48,2 +48,3 @@ 'use strict';

value: function hit(dimension, metric, options) {
if (this._disabled) return Promise.resolve([]);
this.unsent.add({ dimension: dimension, metric: metric });

@@ -224,2 +225,3 @@

if (this._disabled) return Promise.resolve([]);
this._convertToHits();

@@ -226,0 +228,0 @@ var toSend = clone(this.unsent.stats);

2

package.json
{
"name": "app-usage-stats",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "0.3.0",
"version": "0.3.1",
"description": "A convention for tracking javascript application usage",

@@ -6,0 +6,0 @@ "repository": "https://github.com/75lb/app-usage-stats.git",

@@ -67,2 +67,3 @@ 'use strict'

hit (dimension, metric, options) {
if (this._disabled) return Promise.resolve([])
this.unsent.add({ dimension, metric })

@@ -183,2 +184,3 @@

send (options) {
if (this._disabled) return Promise.resolve([])
this._convertToHits()

@@ -185,0 +187,0 @@ const toSend = clone(this.unsent.stats)

@@ -1,1 +0,1 @@

1475181746868
1475265016481

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