1
1
/*
2
-
2
+
3
3
*
4
4
* A minimal test double library for TDD with JavaScript
5
5
*
@@ -9499,7 +9499,7 @@ var fakeConstructorFromNames = function fakeConstructorFromNames(funcNames) {
9499
9499
} ;
9500
9500
9501
9501
_lodash2 . default . each ( funcNames , function ( funcName ) {
9502
- fakeConstructor . prototype [ funcName ] = ( 0 , _function2 . default ) ( '#' + funcName ) ;
9502
+ fakeConstructor . prototype [ funcName ] = ( 0 , _function2 . default ) ( '#' + String ( funcName ) ) ;
9503
9503
} ) ;
9504
9504
} ) ;
9505
9505
} ;
@@ -9691,7 +9691,7 @@ exports.default = function (original, names) {
9691
9691
return original ;
9692
9692
} else {
9693
9693
// TODO: this will become src/function/create and include parent reference instead of name joining here
9694
- return ( 0 , _function2 . default ) ( names . join ( '' ) || '(anonymous function)' ) ;
9694
+ return ( 0 , _function2 . default ) ( _lodash2 . default . map ( names , String ) . join ( '' ) || '(anonymous function)' ) ;
9695
9695
}
9696
9696
} else {
9697
9697
return _lodash2 . default . clone ( original ) ;
@@ -10474,7 +10474,7 @@ var fakeObject = function fakeObject(nameOrType, config, argCount) {
10474
10474
10475
10475
var createTestDoublesForFunctionNames = function createTestDoublesForFunctionNames ( names ) {
10476
10476
return _lodash2 . default . transform ( names , function ( acc , funcName ) {
10477
- acc [ funcName ] = ( 0 , _function2 . default ) ( '.' + funcName ) ;
10477
+ acc [ funcName ] = ( 0 , _function2 . default ) ( '.' + String ( funcName ) ) ;
10478
10478
} ) ;
10479
10479
} ;
10480
10480
@@ -10484,7 +10484,7 @@ var createTestDoubleViaProxy = function createTestDoubleViaProxy(name, config) {
10484
10484
return new Proxy ( obj , {
10485
10485
get : function get ( target , propKey , receiver ) {
10486
10486
if ( ! obj . hasOwnProperty ( propKey ) && ! _lodash2 . default . includes ( config . excludeMethods , propKey ) ) {
10487
- obj [ propKey ] = ( 0 , _function2 . default ) ( nameOf ( name ) + '.' + propKey ) ;
10487
+ obj [ propKey ] = ( 0 , _function2 . default ) ( nameOf ( name ) + '.' + String ( propKey ) ) ;
10488
10488
}
10489
10489
return obj [ propKey ] ;
10490
10490
}
@@ -11158,7 +11158,7 @@ var ignoreMessage = function ignoreMessage(config) {
11158
11158
Object . defineProperty ( exports , "__esModule" , {
11159
11159
value : true
11160
11160
} ) ;
11161
- exports . default = '3.3.2 ' ;
11161
+ exports . default = '3.3.3 ' ;
11162
11162
11163
11163
} , { } ] , 339 :[ function ( require , module , exports ) {
11164
11164
'use strict' ;
0 commit comments