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

landing-page-experiments

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

landing-page-experiments - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

13

dist/index.js

@@ -94,2 +94,5 @@ "use strict";

if (currentUrl.pathname == newUrl.pathname) {
if (__sbpd !== null) {
document.body.style.display = __sbpd;
}
return;

@@ -112,6 +115,16 @@ }

console.log(reason);
})
.finally(function () {
if (__sbpd !== null) {
document.body.style.display = __sbpd;
}
});
}
};
var __sbpd = null;
if (document.currentScript && document.currentScript.src) {
window.addEventListener('DOMContentLoaded', function () {
__sbpd = document.body.style.display;
document.body.style.display = 'none';
});
var url = new URL(document.currentScript.src);

@@ -118,0 +131,0 @@ var apiKey = url.searchParams.get('apikey');

2

package.json
{
"name": "landing-page-experiments",
"version": "1.0.12",
"version": "1.0.13",
"description": "Statsig helps run landing page experiments by redirecting users to two or more landing pages based on an ABn Test.",

@@ -5,0 +5,0 @@ "jsdelivr": "dist/index.js",

@@ -51,2 +51,5 @@ window["StatsigABHelper"] = window["StatsigABHelper"] || {

if (currentUrl.pathname == newUrl.pathname) {
if (__sbpd !== null) {
document.body.style.display = __sbpd;
}
return;

@@ -68,7 +71,17 @@ }

console.log(reason);
});
})
.finally(() => {
if (__sbpd !== null) {
document.body.style.display = __sbpd;
}
});
}
}
var __sbpd = null;
if (document.currentScript && document.currentScript.src) {
window.addEventListener('DOMContentLoaded', () => {
__sbpd = document.body.style.display;
document.body.style.display = 'none';
});
const url = new URL(document.currentScript.src);

@@ -75,0 +88,0 @@ const apiKey = url.searchParams.get('apikey');

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