@segment/analytics.js-core
Advanced tools
Comparing version 3.2.6 to 3.2.7
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 @@ ================== |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
175427
3959
+ Addedextend@3.0.1
+ Addedextend@3.0.1(transitive)
- Removedlodash.clonedeep@4.5.0
- Removedlodash.clonedeep@4.5.0(transitive)