File tree Expand file tree Collapse file tree 6 files changed +6
-12
lines changed Expand file tree Collapse file tree 6 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 7
7
var integration = require ( '@segment/analytics.js-integration' ) ;
8
8
var Track = require ( 'segmentio-facade' ) . Track ;
9
9
var del = require ( 'obj-case' ) . del ;
10
- var clone = require ( '@ndhoule/clone' ) ;
11
10
var appboyUtil = require ( './appboyUtil' ) ;
12
11
13
12
/**
@@ -194,7 +193,7 @@ Appboy.prototype.identify = function(identify) {
194
193
var gender = identify . gender ( ) ;
195
194
var lastName = identify . lastName ( ) ;
196
195
var phone = identify . phone ( ) ;
197
- var traits = clone ( identify . traits ( ) ) ;
196
+ var traits = { ... identify . traits ( ) } ;
198
197
199
198
var options = this . options ;
200
199
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @segment/analytics.js-integration-appboy" ,
3
3
"description" : " The Appboy analytics.js integration." ,
4
- "version" : " 1.14.1 " ,
4
+ "version" : " 1.14.2 " ,
5
5
"keywords" : [
6
6
" analytics.js" ,
7
7
" analytics.js-integration" ,
24
24
"url" : " git+https://github.com/segmentio/analytics.js-integrations.git"
25
25
},
26
26
"dependencies" : {
27
- "@ndhoule/clone" : " ^1.0.0" ,
28
27
"@segment/analytics.js-integration" : " ^3.3.2" ,
29
28
"obj-case" : " ^0.2.0" ,
30
29
"@segment/facade" : " ^3.3.1"
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ var del = require('obj-case').del;
9
9
var integration = require ( '@segment/analytics.js-integration' ) ;
10
10
var is = require ( 'is' ) ;
11
11
var extend = require ( '@ndhoule/extend' ) ;
12
- var clone = require ( '@ndhoule/clone' ) ;
13
12
var pick = require ( '@ndhoule/pick' ) ;
14
13
15
14
/**
@@ -267,7 +266,7 @@ function formatNestedCustomTraits(obj, settings) {
267
266
var semanticTraits = basicIntercomTraits . concat ( richLinkProperties ) ;
268
267
269
268
// clone traits so we don't modify the original object
270
- var customTraits = clone ( obj ) ;
269
+ var customTraits = { ... obj } ;
271
270
272
271
// filter out semanticTraits so that we only format custom nested traits
273
272
semanticTraits . forEach ( function ( trait ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @segment/analytics.js-integration-intercom" ,
3
3
"description" : " The Intercom analytics.js integration." ,
4
- "version" : " 3.0.3 " ,
4
+ "version" : " 3.0.4 " ,
5
5
"keywords" : [
6
6
" analytics.js" ,
7
7
" analytics.js-integration" ,
24
24
"url" : " git+https://github.com/segmentio/analytics.js-integrations.git"
25
25
},
26
26
"dependencies" : {
27
- "@ndhoule/clone" : " ^1.0.0" ,
28
27
"@ndhoule/extend" : " ^2.0.0" ,
29
28
"@ndhoule/foldl" : " ^2.0.1" ,
30
29
"@ndhoule/pick" : " ^2.0.0" ,
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
var integration = require ( '@segment/analytics.js-integration' ) ;
8
- var clone = require ( '@ndhoule/clone' ) ;
9
8
10
9
/**
11
10
* Expose `Keen IO` integration.
@@ -144,7 +143,7 @@ Keen.prototype.identify = function(identify) {
144
143
props = this . addons ( props , identify ) ;
145
144
this . client . setGlobalProperties ( function ( ) {
146
145
// Clone the props so the Keen Client can't manipulate the ref
147
- return clone ( props ) ;
146
+ return { ... props } ;
148
147
} ) ;
149
148
} ;
150
149
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @segment/analytics.js-integration-keen-io" ,
3
3
"description" : " The Keen Io analytics.js integration." ,
4
- "version" : " 2.1.2 " ,
4
+ "version" : " 2.1.3 " ,
5
5
"keywords" : [
6
6
" analytics.js" ,
7
7
" analytics.js-integration" ,
24
24
"url" : " git+https://github.com/segmentio/analytics.js-integrations.git"
25
25
},
26
26
"dependencies" : {
27
- "@ndhoule/clone" : " ^1.0.0" ,
28
27
"@segment/analytics.js-integration" : " ^3.3.2"
29
28
},
30
29
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments