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

keen-tracking

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keen-tracking - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

CHANGELOG.md

@@ -9,2 +9,9 @@ <!--

<a name="1.0.1"></a>
# 1.0.1
**FIXED:**
* Event properties with `undefined` values no longer throw an error when used with `Keen.utils.extend`.
<a name="1.0.0"></a>

@@ -11,0 +18,0 @@ # 1.0.0

2

lib/utils/deepExtend.js

@@ -21,3 +21,3 @@ module.exports = deepExtend;

// Otherwise just copy it over...
else {
else if (arguments[i][prop] !== undefined) {
target[prop] = clone(arguments[i][prop]);

@@ -24,0 +24,0 @@ }

{
"name": "keen-tracking",
"version": "1.0.0",
"version": "1.0.1",
"description": "Data Collection SDK for Keen IO",

@@ -5,0 +5,0 @@ "main": "lib/server.js",

@@ -133,3 +133,3 @@ # keen-tracking.js [![Build Status](https://travis-ci.org/keen/keen-tracking.js.svg?branch=master)](https://travis-ci.org/keen/keen-tracking.js)

var latest,prev=name!=='Keen'&&window.Keen?window.Keen:false;ctx[name]=ctx[name]||{ready:function(fn){var h=document.getElementsByTagName('head')[0],s=document.createElement('script'),w=window,loaded;s.onload=s.onerror=s.onreadystatechange=function(){if((s.readyState&&!(/^c|loade/.test(s.readyState)))||loaded){return}s.onload=s.onreadystatechange=null;loaded=1;latest=w.Keen;if(prev){w.Keen=prev}else{try{delete w.Keen}catch(e){w.Keen=void 0}}ctx[name]=latest;ctx[name].ready(fn)};s.async=1;s.src=path;h.parentNode.insertBefore(s,h)}}
}('Keen','https://d26b395fwzu5fz.cloudfront.net/keen-tracking-1.0.0.min.js',this);
}('Keen','https://d26b395fwzu5fz.cloudfront.net/keen-tracking-1.0.1.min.js',this);

@@ -821,3 +821,3 @@ // Executes when the library is loaded and ready

Keen.listenTo({
'form#signup': function(e){
'submit form#signup': function(e){
// 500ms to record an event

@@ -831,3 +831,3 @@ var userEmail = document.getElementById('signup-email').value;

},
'click .nav li > a': function(e){
'click .nav a': function(e){
// 500ms to record an event

@@ -834,0 +834,0 @@ client.recordEvent('leave page');

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