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

@segment/analytics.js-integration-segmentio

Package Overview
Dependencies
Maintainers
131
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 4.4.3 to 4.4.4

yarn-error.log

14

lib/utm.js

@@ -8,6 +8,9 @@ function utm(query) {

return query.split('&').reduce(function(acc, str) {
var k = str.split('=')[0]
var v = str.split('=')[1]
var split = query.split('&')
var acc = {}
for (var i = 0; i < split.length; i++) {
var k = split[i].split('=')[0]
var v = split[i].split('=')[1]
if (k.indexOf('utm_') !== -1) {

@@ -20,6 +23,7 @@ var utmParam = k.substr(4)

}
return acc
})
}
return acc
}
module.exports = utm
{
"name": "@segment/analytics.js-integration-segmentio",
"description": "The Segmentio analytics.js integration.",
"version": "4.4.3",
"version": "4.4.4",
"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