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

analybase

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analybase - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

browser.js

@@ -1,1 +0,1 @@

(function(){"use strict";var e=function(a){var b=a.server,i=a.domain,j=function(){fetch(b+"/pageview",{method:"POST",body:JSON.stringify({url:location.href,domain:i}),headers:{"content-type":"application/json"}})};return{pageview:j}},c=document.currentScript||document.querySelector("script[data-analybase-site]");if(c){var f=c.getAttribute("data-analybase-site"),g=c.getAttribute("data-analybase-server")||"https://api.analybase.com",d=e({server:g,domain:f});d.pageview();var h=history.pushState;history.pushState=function(){for(var a=[],b=arguments.length;b--;)a[b]=arguments[b];h.apply(void 0,a),d.pageview()},window.addEventListener("popstate",function(){d.pageview()})}})();
(function(){"use strict";var e=function(a){var b=a.server,i=a.domain,j=function(){fetch(b+"/pageview",{method:"POST",body:JSON.stringify({url:location.href,domain:i,referrer:document.referrer}),headers:{"content-type":"application/json"}})};return{pageview:j}},c=document.currentScript||document.querySelector("script[data-analybase-site]");if(c){var f=c.getAttribute("data-analybase-site"),g=c.getAttribute("data-analybase-server")||"https://api.analybase.com",d=e({server:g,domain:f});d.pageview();var h=history.pushState;history.pushState=function(){for(var a=[],b=arguments.length;b--;)a[b]=arguments[b];h.apply(void 0,a),d.pageview()},window.addEventListener("popstate",function(){d.pageview()})}})();

@@ -13,3 +13,4 @@ (function () {

url: location.href,
domain: domain
domain: domain,
referrer: document.referrer
}),

@@ -16,0 +17,0 @@ headers: {

{
"name": "analybase",
"version": "1.0.1",
"version": "1.0.2",
"files": [

@@ -5,0 +5,0 @@ "*.js",

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