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

@snowplow/browser-tracker

Package Overview
Dependencies
Maintainers
0
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snowplow/browser-tracker - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2-dev.0

2

dist/index.module.js
/*!
* Browser tracker for Snowplow v4.0.1 (http://bit.ly/sp-js)
* Browser tracker for Snowplow v4.0.2-dev.0 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause

/*!
* Browser tracker for Snowplow v4.0.1 (http://bit.ly/sp-js)
* Browser tracker for Snowplow v4.0.2-dev.0 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

@@ -99,7 +99,7 @@ * Licensed under BSD-3-Clause

function(c){c.crossDomainLinker(a)})};v.disableActivityTracking=function(a){B(a,function(b){b.disableActivityTracking()})};v.disableActivityTrackingCallback=function(a){B(a,function(b){b.disableActivityTrackingCallback()})};v.disableAnonymousTracking=function(a,b){B(b,function(c){c.disableAnonymousTracking(a)})};v.discardBrace=function(a,b){B(b,function(c){c.discardBrace(a)})};v.discardHashTag=function(a,b){B(b,function(c){c.discardHashTag(a)})};v.enableActivityTracking=function(a,b){B(b,function(c){c.enableActivityTracking(a)})};
v.enableActivityTrackingCallback=function(a,b){B(b,function(c){c.enableActivityTrackingCallback(a)})};v.enableAnonymousTracking=function(a,b){B(b,function(c){c.enableAnonymousTracking(a)})};v.flushBuffer=function(a,b){B(b,function(c){c.flushBuffer(a)})};v.newSession=function(a){B(a,function(b){b.newSession()})};v.newTracker=function(a,b,c){if(Oc){var d="js-".concat("4.0.1");Ta.hasOwnProperty(a)?a=null:(Ta[a]=qd(a,a,d,b,Oc,c),a=Ta[a]);return a}};v.preservePageViewId=function(a){B(a,function(b){b.preservePageViewId()})};
v.enableActivityTrackingCallback=function(a,b){B(b,function(c){c.enableActivityTrackingCallback(a)})};v.enableAnonymousTracking=function(a,b){B(b,function(c){c.enableAnonymousTracking(a)})};v.flushBuffer=function(a,b){B(b,function(c){c.flushBuffer(a)})};v.newSession=function(a){B(a,function(b){b.newSession()})};v.newTracker=function(a,b,c){if(Oc){var d="js-".concat("4.0.2-dev.0");Ta.hasOwnProperty(a)?a=null:(Ta[a]=qd(a,a,d,b,Oc,c),a=Ta[a]);return a}};v.preservePageViewId=function(a){B(a,function(b){b.preservePageViewId()})};
v.removeGlobalContexts=function(a,b){B(b,function(c){c.core.removeGlobalContexts(a)})};v.setBufferSize=function(a,b){B(b,function(c){c.setBufferSize(a)})};v.setCollectorUrl=function(a,b){B(b,function(c){c.setCollectorUrl(a)})};v.setCookiePath=function(a,b){B(b,function(c){c.setCookiePath(a)})};v.setCustomUrl=function(a,b){B(b,function(c){c.setCustomUrl(a)})};v.setDocumentTitle=function(a,b){B(b,function(c){c.setDocumentTitle(a)})};v.setOptOutCookie=function(a,b){B(b,function(c){c.setOptOutCookie(a)})};
v.setReferrerUrl=function(a,b){B(b,function(c){c.setReferrerUrl(a)})};v.setUserId=function(a,b){B(b,function(c){c.setUserId(a)})};v.setUserIdFromCookie=function(a,b){B(b,function(c){c.setUserIdFromCookie(a)})};v.setUserIdFromLocation=function(a,b){B(b,function(c){c.setUserIdFromLocation(a)})};v.setUserIdFromReferrer=function(a,b){B(b,function(c){c.setUserIdFromReferrer(a)})};v.setVisitorCookieTimeout=function(a,b){B(b,function(c){c.setVisitorCookieTimeout(a)})};v.trackPageView=function(a,b){B(b,function(c){c.trackPageView(a)})};
v.trackSelfDescribingEvent=function(a,b){B(b,function(c){c=c.core;var d=c.track,f=a.event,g=f.schema,h=f.data;f=Va();g={schema:"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",data:{schema:g,data:h}};f.add("e","ue");f.addJson("ue_px","ue_pr",g);d.call(c,f,a.context,a.timestamp)})};v.trackStructEvent=function(a,b){B(b,function(c){c=c.core;var d=c.track,f=a.category,g=a.action,h=a.label,k=a.property,p=a.value,m=Va();m.add("e","se");m.add("se_ca",f);m.add("se_ac",g);m.add("se_la",
h);m.add("se_pr",k);m.add("se_va",null==p?void 0:p.toString());d.call(c,m,a.context,a.timestamp)})};v.updatePageActivity=function(a){B(a,function(b){b.updatePageActivity()})};v.version="4.0.1";Object.defineProperty(v,"__esModule",{value:!0})})
h);m.add("se_pr",k);m.add("se_va",null==p?void 0:p.toString());d.call(c,m,a.context,a.timestamp)})};v.updatePageActivity=function(a){B(a,function(b){b.updatePageActivity()})};v.version="4.0.2-dev.0";Object.defineProperty(v,"__esModule",{value:!0})})
//# sourceMappingURL=index.umd.min.js.map
{
"name": "@snowplow/browser-tracker",
"version": "4.0.1",
"version": "4.0.2-dev.0",
"description": "Browser tracker for Snowplow",

@@ -36,4 +36,4 @@ "keywords": [

"tslib": "^2.3.1",
"@snowplow/browser-tracker-core": "4.0.1",
"@snowplow/tracker-core": "4.0.1"
"@snowplow/browser-tracker-core": "4.0.2-dev.0",
"@snowplow/tracker-core": "4.0.2-dev.0"
},

@@ -44,3 +44,3 @@ "devDependencies": {

"@rollup/plugin-node-resolve": "~13.1.3",
"@types/jest": "~27.4.1",
"@types/jest": "~28.1.1",
"@types/jsdom": "~16.2.14",

@@ -51,5 +51,5 @@ "@types/lodash": "~4.14.180",

"eslint": "~8.11.0",
"jest": "~27.5.1",
"jest-environment-jsdom": "~27.5.1",
"jest-environment-jsdom-global": "~3.0.0",
"jest": "~28.1.3",
"jest-environment-jsdom": "~28.1.3",
"jest-environment-jsdom-global": "~4.0.0",
"jest-standard-reporter": "~2.0.0",

@@ -62,3 +62,3 @@ "lodash": "~4.17.21",

"rollup-plugin-ts": "~2.0.5",
"ts-jest": "~27.1.3",
"ts-jest": "~28.0.8",
"typescript": "~4.6.2",

@@ -65,0 +65,0 @@ "whatwg-fetch": "~3.6.20"

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

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