Socket
Socket
Sign inDemoInstall

@segment/analytics.js-core

Package Overview
Dependencies
Maintainers
61
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@segment/analytics.js-core - npm Package Compare versions

Comparing version 3.2.3 to 3.2.5

11

HISTORY.md
3.2.5 / 2017-11-09
==================
* This release has no application changes - it's an attempt to fix release commits on CI.
3.2.4 / 2017-11-09
==================
* Revert "update page defaults search method" (#51).
3.2.3 / 2017-11-09

@@ -3,0 +14,0 @@ ==================

17

lib/pageDefaults.js

@@ -23,3 +23,3 @@ 'use strict';

referrer: document.referrer,
search: searchPath(),
search: location.search,
title: document.title,

@@ -59,17 +59,2 @@ url: canonicalUrl(location.search)

/**
* Return the search path for the page
* This is preferable to window.location.search because SPAs
* can have a # in the url which will include the query param in
* the hash
*
* @return {string}
*/
function searchPath() {
var url = window.location.href;
var u = url.indexOf('?');
return u === -1 ? '' : url.slice(u, -1);
}
/*

@@ -76,0 +61,0 @@ * Exports.

{
"name": "@segment/analytics.js-core",
"author": "Segment <friends@segment.com>",
"version": "3.2.3",
"version": "3.2.5",
"description": "The hassle-free way to integrate analytics into any web application.",

@@ -6,0 +6,0 @@ "keywords": [

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