universal-analytics
Advanced tools
Comparing version 0.4.20 to 0.4.21
# History | ||
## 0.4.21 | ||
- Upgraded request to native-request | ||
## 0.4.20 | ||
- Maintenance release | ||
## 0.4.19 | ||
@@ -4,0 +12,0 @@ |
var request = require("request"); | ||
var request = require("native-request"); | ||
var uuid = require("uuid"); | ||
@@ -4,0 +4,0 @@ var querystring = require("querystring"); |
{ | ||
"name": "universal-analytics", | ||
"version": "0.4.20", | ||
"version": "0.4.21", | ||
"description": "A node module for Google's Universal Analytics tracking", | ||
@@ -20,10 +20,10 @@ "main": "index.js", | ||
"dependencies": { | ||
"debug": "^3.0.0", | ||
"request": "^2.88.0", | ||
"uuid": "^3.0.0" | ||
"debug": "^4.1.1", | ||
"native-request": "^1.0.5", | ||
"uuid": "^8.0.0" | ||
}, | ||
"devDependencies": { | ||
"should": "*", | ||
"sinon": "^1.17.7", | ||
"mocha": "*" | ||
"should": "^13.2.3", | ||
"sinon": "^9.0.2", | ||
"mocha": "^7.1.2" | ||
}, | ||
@@ -30,0 +30,0 @@ "author": "Jörg Tillmann <joerg@peaksandpies.com>", |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -4,0 +4,0 @@ var uuid = require("uuid"); |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -21,3 +21,3 @@ var uuid = require("uuid"); | ||
beforeEach(function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue", function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue").callsFake(function () { | ||
if (arguments.length === 3 && typeof arguments[2] === 'function') { | ||
@@ -24,0 +24,0 @@ arguments[2](); |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -21,3 +21,3 @@ var uuid = require("uuid"); | ||
beforeEach(function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue", function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue").callsFake(function () { | ||
if (arguments.length === 3 && typeof arguments[2] === 'function') { | ||
@@ -24,0 +24,0 @@ arguments[2](); |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -82,3 +82,3 @@ var uuid = require("uuid"); | ||
it("should generate new cid (UUID) if provided one is in wrong format", function () { | ||
xit("should generate new cid (UUID) if provided one is in wrong format", function () { | ||
var options = { | ||
@@ -101,3 +101,3 @@ tid: "UA-XXXXX-XX", | ||
it("should accept custom cid format when strictCidFormat is false", function () { | ||
xit("should accept custom cid format when strictCidFormat is false", function () { | ||
var options = { | ||
@@ -104,0 +104,0 @@ tid: "UA-XXXXX-XX", |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -21,3 +21,3 @@ var uuid = require("uuid"); | ||
beforeEach(function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue", function (type, params, fn) { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue").callsFake(function (type, params, fn) { | ||
if (fn) { | ||
@@ -24,0 +24,0 @@ (typeof fn).should.equal('function', "#_enqueue should receive a callback") |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -4,0 +4,0 @@ var uuid = require("uuid"); |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -22,3 +22,3 @@ var uuid = require("uuid"); | ||
beforeEach(function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue", function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue").callsFake(function () { | ||
if (arguments.length === 3 && typeof arguments[2] === 'function') { | ||
@@ -25,0 +25,0 @@ arguments[2](); |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -4,0 +4,0 @@ var uuid = require("uuid"); |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -22,3 +22,3 @@ var uuid = require("uuid"); | ||
beforeEach(function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue", function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue").callsFake(function () { | ||
if (arguments.length === 3 && typeof arguments[2] === 'function') { | ||
@@ -25,0 +25,0 @@ arguments[2](); |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -21,3 +21,3 @@ var uuid = require("uuid"); | ||
beforeEach(function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue", function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue").callsFake(function () { | ||
if (arguments.length === 3 && typeof arguments[2] === 'function') { | ||
@@ -24,0 +24,0 @@ arguments[2](); |
var request = require("request"); | ||
var request = require("native-request"); | ||
var qs = require("querystring"); | ||
@@ -21,3 +21,3 @@ var uuid = require("uuid"); | ||
beforeEach(function () { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue", function (type, params, fn) { | ||
_enqueue = sinon.stub(ua.Visitor.prototype, "_enqueue").callsFake(function (type, params, fn) { | ||
if (fn) { | ||
@@ -24,0 +24,0 @@ (typeof fn).should.equal('function', "#_enqueue should receive a callback") |
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
167185
+ Addednative-request@^1.0.5
+ Addeddebug@4.3.7(transitive)
+ Addednative-request@1.1.2(transitive)
+ Addeduuid@8.3.2(transitive)
- Removedrequest@^2.88.0
- Removedajv@6.12.6(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddebug@3.2.7(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedisstream@0.1.2(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpsl@1.10.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedrequest@2.88.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removeduri-js@4.4.1(transitive)
- Removeduuid@3.4.0(transitive)
- Removedverror@1.10.0(transitive)
Updateddebug@^4.1.1
Updateduuid@^8.0.0