New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@segment/analytics.js-integration-segmentio

Package Overview
Dependencies
Maintainers
155
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@segment/analytics.js-integration-segmentio - npm Package Compare versions

Comparing version 0.0.0-beta.2 to 0.0.0-beta.3

10

lib/index.js

@@ -473,6 +473,10 @@ 'use strict';

// Exclude the current domain from the list of servers we're querying
var currentTld = getTld(window.location.hostname);
var domains = [];
for (var i = 0; i < this.options.crossDomainIdServers.length; i++) {
var domain = this.options.crossDomainIdServers[i];
domains.push(domain);
if (getTld(domain) !== currentTld) {
domains.push(domain);
}
}

@@ -525,3 +529,5 @@

if (this.options.saveCrossDomainIdInLocalStorage) {
return localstorage('seg_xid');
if (localstorage('seg_xid') !== null) {
return localstorage('seg_xid');
}
}

@@ -528,0 +534,0 @@ return this.cookie('seg_xid');

2

package.json
{
"name": "@segment/analytics.js-integration-segmentio",
"description": "The Segmentio analytics.js integration.",
"version": "0.0.0-beta.2",
"version": "0.0.0-beta.3",
"keywords": [

@@ -6,0 +6,0 @@ "analytics.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