Socket
Socket
Sign inDemoInstall

@segment/analytics.js-core

Package Overview
Dependencies
Maintainers
135
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 4.1.10 to 4.1.11

10

build/analytics.js

@@ -38,2 +38,3 @@ 'use strict';

var prevent = require('@segment/prevent-default');
var url = require('component-url');
var store = require('./store');

@@ -725,9 +726,4 @@ var user = require('./user');

// Parse querystring to an object
var a = document.createElement('a');
a.href = query;
var parsedQuery = a.search.slice(1);
console.log(parsedQuery);
var q = parsedQuery
.split('&')
.reduce(function (acc, str) {
var parsed = url.parse(query);
var q = parsed.query.split('&').reduce(function (acc, str) {
var _a = str.split('='), k = _a[0], v = _a[1];

@@ -734,0 +730,0 @@ acc[k] = decodeURI(v).replace('+', ' ');

@@ -6,3 +6,3 @@ declare var bindAll: any;

*/
declare var has: (v: string | number | symbol) => boolean;
declare var has: (v: PropertyKey) => boolean;
/**

@@ -9,0 +9,0 @@ * Initialize `Memory` store

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

@@ -110,3 +110,3 @@ "types": "lib/index.d.ts",

"ts-node": "^8.10.2",
"typescript": "^4.0.2",
"typescript": "^4.2.4",
"wait-on": "^5.0.1",

@@ -113,0 +113,0 @@ "watchify": "^3.11.1"

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