Socket
Socket
Sign inDemoInstall

mixpanel-browser

Package Overview
Dependencies
Maintainers
9
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mixpanel-browser - npm Package Compare versions

Comparing version 2.26.0 to 2.27.0

5

CHANGELOG.md

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

**2.27.0** (7 Mar 2019)
- Support cross-subdomain tracking on TLDs longer than 6 chars (thanks @danielbaker)
- Support configurable network protocol for inapp resources (thanks @mkdai)
- Allow inapp links to open in new window/tab via config option (thanks @mkdai)
**2.26.0** (9 Jan 2019)

@@ -2,0 +7,0 @@ - Fix minification issue with DoNotTrack browser setting

2

package.json
{
"name": "mixpanel-browser",
"version": "2.26.0",
"version": "2.27.0",
"description": "The official Mixpanel JavaScript browser client library",

@@ -5,0 +5,0 @@ "main": "build/mixpanel.cjs.js",

@@ -71,2 +71,2 @@ # Mixpanel JavaScript Library

## Thanks
For patches and support: @bohanyang, @dehau, @drubin, @D1plo1d, @feychenie, @mogstad, @pfhayes, @sandorfr, @stefansedich, @gfx, @pkaminski, @austince
For patches and support: @bohanyang, @dehau, @drubin, @D1plo1d, @feychenie, @mogstad, @pfhayes, @sandorfr, @stefansedich, @gfx, @pkaminski, @austince, @danielbaker, @mkdai
var Config = {
DEBUG: false,
LIB_VERSION: '2.26.0'
LIB_VERSION: '2.27.0'
};
export default Config;

@@ -47,2 +47,4 @@ /* eslint camelcase: "off", eqeqeq: "off" */

var DOMAIN_MATCH_REGEX = /[a-z0-9][a-z0-9\-]+\.[a-z\.]+$/i;
var _ = {

@@ -989,3 +991,3 @@ trim: function(str) {

if (cross_subdomain) {
var matches = document.location.hostname.match(/[a-z0-9][a-z0-9\-]+\.[a-z\.]{2,6}$/i),
var matches = document.location.hostname.match(DOMAIN_MATCH_REGEX),
domain = matches ? matches[0] : '';

@@ -1013,3 +1015,3 @@

if (cross_subdomain) {
var matches = document.location.hostname.match(/[a-z0-9][a-z0-9\-]+\.[a-z\.]{2,6}$/i),
var matches = document.location.hostname.match(DOMAIN_MATCH_REGEX),
domain = matches ? matches[0] : '';

@@ -1016,0 +1018,0 @@

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

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

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

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

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

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

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