Socket
Socket
Sign inDemoInstall

@segment/analytics.js-core

Package Overview
Dependencies
Maintainers
72
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.6.0-alpha to 3.6.0-alpha.2

5

HISTORY.md
3.6.0-alpha.2 / 2018-05-09
==================
* Fix the tracking plan when load options are specified (#74).
3.6.0-alpha / 2018-05-09

@@ -3,0 +8,0 @@ ==================

2

lib/analytics.js

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

if (planIntegrations.All === false) {
integrations = {};
integrations = { All: false };
}

@@ -791,0 +791,0 @@

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

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

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

integrations: {
All: false,
Test: true

@@ -1374,3 +1375,3 @@ },

var track2 = analytics._invoke.args[1][1];
assert.deepEqual(track2.obj.integrations, { Test: false });
assert.deepEqual(track2.obj.integrations, { All: false, Test: false });
});

@@ -1377,0 +1378,0 @@

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