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

crowdstart-analytics

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crowdstart-analytics - npm Package Compare versions

Comparing version 0.2.12 to 0.2.14

23

lib/integrations/generic.js

@@ -16,19 +16,7 @@ // Generated by CoffeeScript 1.10.0

}
this.fn = new Function(this.opts.code);
}
Generic.prototype.init = function() {
if (window._fbq != null) {
return;
}
return window._fbq = [];
};
Generic.prototype.page = function(category, name, props, opts, cb) {
if (arguments.length === 1) {
name = category;
}
return this.track(name, props, opts, cb);
};
Generic.prototype.track = function(event, props, opts, cb) {
var err, error;
if (cb == null) {

@@ -41,3 +29,8 @@ cb = function() {};

this.log('Generic.track', this.opts.name, event, props, opts);
return this.opts.fn(event, props, opts, cb);
try {
return this.opts.fn(event, props, opts, cb);
} catch (error) {
err = error;
return this.log("Generic integration failed, " + (err.toString()));
}
};

@@ -44,0 +37,0 @@

{
"name": "crowdstart-analytics",
"version": "0.2.12",
"version": "0.2.14",
"description": "Analytics support for Hanzo.",

@@ -9,2 +9,4 @@ "main": "lib",

"cake": "^0.1.1",
"cake-publish": "0.1.1",
"cake-version": "0.1.9",
"chai": "^3.1.0",

@@ -18,3 +20,3 @@ "coffee-script": "^1.9.3",

"serve-static": "^1.10.0",
"shortcake": "^0.2.3",
"shortcake": "1.1.18",
"uglify-js": "^2.4.23",

@@ -21,0 +23,0 @@ "webdriverio": "^2.4.5"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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