Socket
Socket
Sign inDemoInstall

universal-analytics

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-analytics - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

lib/index.js

@@ -34,3 +34,3 @@

this._context = context || {};
this.tid = tid || this.options.tid;

@@ -345,3 +345,3 @@ this.cid = this._determineCid(cid, this.options.cid, (this.options.strictCidFormat !== false));

self._log("Finished sending tracking calls")
fn.call(self, err);
fn.call(self, err || null, count - 1);
});

@@ -348,0 +348,0 @@ },

{
"name": "universal-analytics",
"version": "0.3.2",
"version": "0.3.3",
"description": "A node module for Google's Universal Analytics tracking",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -65,3 +65,3 @@

visitor.should.not.have.properties('tid')
visitor.should.have.property('tid', undefined);
utils.isUuid(visitor.cid).should.equal(true, "A valid random UUID should have been generated")

@@ -68,0 +68,0 @@ visitor.options.should.eql(options)

@@ -38,2 +38,3 @@

fn.thisValues[0].should.equal(visitor, "callback should be called in the context of the visitor instance");
fn.args[0].should.eql([null, 0], "no error, no requests");
});

@@ -51,2 +52,3 @@

fn.thisValues[0].should.equal(visitor, "callback should be called in the context of the visitor instance");
fn.args[0].should.eql([null, 3], "no error, 3 requests");

@@ -53,0 +55,0 @@ post.callCount.should.equal(paramSets.length, "each param set should have been POSTed");

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