Socket
Socket
Sign inDemoInstall

@segment/analytics.js-core

Package Overview
Dependencies
Maintainers
63
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.6 to 3.2.7

5

HISTORY.md
3.2.7 / 2018-02-09
==================
* Replace lodash deepclone with extend to lower ajs size
3.2.6 / 2018-02-06

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

6

lib/analytics.js

@@ -17,4 +17,4 @@ 'use strict';

var bindAll = require('bind-all');
var cloneDeep = require('lodash.clonedeep');
var clone = require('@ndhoule/clone');
var extend = require('extend');
var cookie = require('./cookie');

@@ -122,3 +122,5 @@ var debug = require('debug');

var Integration = self.Integrations[name];
var integration = new Integration(cloneDeep(opts));
var clonedOpts = {};
extend(true, clonedOpts, opts); // deep clone opts
var integration = new Integration(clonedOpts);
self.log('initialize %o - %o', name, opts);

@@ -125,0 +127,0 @@ self.add(integration);

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

@@ -26,3 +26,2 @@ "keywords": [

"dependencies": {
"lodash.clonedeep": "4.5.0",
"@ndhoule/after": "^1.0.0",

@@ -46,2 +45,3 @@ "@ndhoule/clone": "^1.0.0",

"bind-all": "^1.0.0",
"extend": "3.0.1",
"component-cookie": "^1.1.2",

@@ -48,0 +48,0 @@ "component-emitter": "^1.2.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