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.1.4 to 1.1.5

2

browser.js

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

(function(){"use strict";var d=function(c){var i=c.server,j=c.domain,k=function(){var l=location.origin+location.pathname+location.search;fetch(i+"/pageview",{method:"POST",body:JSON.stringify({url:l,domain:j,referrer:document.referrer}),headers:{"content-type":"application/json"}})};return{pageview:k}},a=document.currentScript||document.querySelector("script[data-analybase]");if(a){var e=a.getAttribute("data-site"),f=a.getAttribute("data-server")||"https://api.analybase.com",g=location.hostname==="localhost"||/\.local$/.test(location.hostname);if(!g){var b=d({server:f,domain:e});b.pageview();var h=history.pushState;history.pushState=function(){h.apply(this,arguments),b.pageview()},window.addEventListener("popstate",function(){b.pageview()})}}})();
(function(){"use strict";var d=function(c){var i=c.server,j=c.domain,k=function(){var l=location.origin+location.pathname+location.search;fetch(i+"/event",{method:"POST",body:JSON.stringify({url:l,domain:j,referrer:document.referrer}),headers:{"content-type":"application/json"}})};return{pageview:k}},a=document.currentScript||document.querySelector("script[data-analybase]");if(a){var e=a.getAttribute("data-site"),f=a.getAttribute("data-server")||"https://api.analybase.com",g=location.hostname==="localhost"||/\.local$/.test(location.hostname);if(!g){var b=d({server:f,domain:e});b.pageview();var h=history.pushState;history.pushState=function(){h.apply(this,arguments),b.pageview()},window.addEventListener("popstate",function(){b.pageview()})}}})();

@@ -10,3 +10,3 @@ (function () {

var url = location.origin + location.pathname + location.search;
fetch((server + "/pageview"), {
fetch((server + "/event"), {
method: "POST",

@@ -13,0 +13,0 @@ body: JSON.stringify({

{
"name": "analybase",
"version": "1.1.4",
"version": "1.1.5",
"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