File tree Expand file tree Collapse file tree 19 files changed +93
-30
lines changed Expand file tree Collapse file tree 19 files changed +93
-30
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
+ const defaults = ( obj , defaults ) => {
4
+ const result = { ...defaults } ;
5
+ for ( const key in obj ) {
6
+ if ( obj [ key ] !== undefined ) {
7
+ result [ key ] = obj [ key ] ;
8
+ }
9
+ }
10
+ return result ;
11
+ } ;
12
+
3
13
/**
4
14
* Module dependencies.
5
15
*/
6
16
7
- var defaults = require ( '@ndhoule/defaults' ) ;
8
17
var integration = require ( '@segment/analytics.js-integration' ) ;
9
18
var onBody = require ( 'on-body' ) ;
10
19
@@ -117,4 +126,4 @@ Chartbeat.prototype._initialize = function() {
117
126
// not load until that is confirmed. Otherwise it may trigger errors.
118
127
self . load ( { script : script } , self . ready ) ; // switch ready to true for real once the script has loaded
119
128
} ) ;
120
- } ;
129
+ } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @segment/analytics.js-integration-chartbeat" ,
3
3
"description" : " The Chartbeat analytics.js integration." ,
4
- "version" : " 2.2.3 " ,
4
+ "version" : " 2.2.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/defaults" : " ^2.0.1" ,
28
27
"@segment/analytics.js-integration" : " ^3.2.0" ,
29
28
"on-body" : " 0.0.1"
30
29
},
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @segment/analytics.js-integration-google-analytics-4" ,
3
- "version" : " 0.0.3 " ,
3
+ "version" : " 0.0.4 " ,
4
4
"description" : " " ,
5
5
"main" : " lib/index.js" ,
6
6
"directories" : {
21
21
"url" : " git+https://github.com/segmentio/analytics.js-integrations.git"
22
22
},
23
23
"dependencies" : {
24
- "@ndhoule/defaults" : " ^2.0.1" ,
25
24
"@segment/analytics.js-integration" : " ^3.1.0" ,
26
25
"component-each" : " ^0.2.6" ,
27
26
"extend" : " ^3.0.2" ,
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
+ const defaults = ( obj , defaults ) => {
4
+ const result = { ...defaults } ;
5
+ for ( const key in obj ) {
6
+ if ( obj [ key ] !== undefined ) {
7
+ result [ key ] = obj [ key ] ;
8
+ }
9
+ }
10
+ return result ;
11
+ } ;
12
+
3
13
/**
4
14
* Module dependencies.
5
15
*/
6
16
7
17
var Track = require ( 'segmentio-facade' ) . Track ;
8
- var defaults = require ( '@ndhoule/defaults' ) ;
9
18
var dot = require ( 'obj-case' ) ;
10
19
var each = require ( 'component-each' ) ;
11
20
var integration = require ( '@segment/analytics.js-integration' ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @segment/analytics.js-integration-google-analytics" ,
3
3
"description" : " The Google Analytics analytics.js integration." ,
4
- "version" : " 2.18.5 " ,
4
+ "version" : " 2.18.6 " ,
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/defaults" : " ^2.0.1" ,
28
27
"@segment/analytics.js-integration" : " ^3.1.0" ,
29
28
"component-each" : " ^0.2.6" ,
30
29
"extend" : " ^3.0.2" ,
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
+ const defaults = ( obj , defaults ) => {
4
+ const result = { ...defaults } ;
5
+ for ( const key in obj ) {
6
+ if ( obj [ key ] !== undefined ) {
7
+ result [ key ] = obj [ key ] ;
8
+ }
9
+ }
10
+ return result ;
11
+ } ;
12
+
3
13
/**
4
14
* Module dependencies.
5
15
*/
6
16
7
17
var integration = require ( '@segment/analytics.js-integration' ) ;
8
18
var Track = require ( 'segmentio-facade' ) . Track ;
9
19
var reject = require ( 'reject' ) ;
10
- var defaults = require ( '@ndhoule/defaults' ) ;
11
20
var extend = require ( 'extend' ) ;
12
21
13
22
/**
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @segment/analytics.js-integration-gtag" ,
3
3
"description" : " The Gtag analytics.js integration." ,
4
- "version" : " 1.0.2 " ,
4
+ "version" : " 1.0.3 " ,
5
5
"keywords" : [
6
6
" analytics.js" ,
7
7
" analytics.js-integration" ,
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
+ const defaults = ( obj , defaults ) => {
4
+ const result = { ...defaults } ;
5
+ for ( const key in obj ) {
6
+ if ( obj [ key ] !== undefined ) {
7
+ result [ key ] = obj [ key ] ;
8
+ }
9
+ }
10
+ return result ;
11
+ } ;
12
+
3
13
/**
4
14
* Module dependencies.
5
15
*/
6
16
7
17
var convertDates = require ( '@segment/convert-dates' ) ;
8
- var defaults = require ( '@ndhoule/defaults' ) ;
9
18
var del = require ( 'obj-case' ) . del ;
10
19
var integration = require ( '@segment/analytics.js-integration' ) ;
11
20
var is = require ( 'is' ) ;
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.1.0 " ,
4
+ "version" : " 3.1.1 " ,
5
5
"keywords" : [
6
6
" analytics.js" ,
7
7
" analytics.js-integration" ,
25
25
},
26
26
"dependencies" : {
27
27
"@ndhoule/clone" : " ^1.0.0" ,
28
- "@ndhoule/defaults" : " ^2.0.1" ,
29
28
"@ndhoule/each" : " ^2.0.1" ,
30
29
"@ndhoule/extend" : " ^2.0.0" ,
31
30
"@ndhoule/foldl" : " ^2.0.1" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @owneriq/analytics.js-integration-owneriq-pixel" ,
3
3
"description" : " The OwnerIQ analytics.js integration." ,
4
- "version" : " 1.0.19 " ,
4
+ "version" : " 1.0.20 " ,
5
5
"keywords" : [
6
6
" analytics.js" ,
7
7
" analytics.js-integration" ,
24
24
},
25
25
"homepage" : " https://github.com/owneriq/analytics.js-integration-owneriq#readme" ,
26
26
"dependencies" : {
27
- "@ndhoule/defaults" : " ^2.0.1" ,
28
27
"@segment/analytics.js-integration" : " ^3.1.0" ,
29
28
"component-each" : " ^0.2.6" ,
30
29
"extend" : " ^3.0.2" ,
You can’t perform that action at this time.
0 commit comments