File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 50
50
"auto-changelog" : " ^2.5.0" ,
51
51
"encoding" : " ^0.1.13" ,
52
52
"eslint" : " =8.8.0" ,
53
+ "for-each" : " ^0.3.3" ,
53
54
"in-publish" : " ^2.0.1" ,
54
55
"make-async-function" : " ^1.0.0" ,
55
56
"make-generator-function" : " ^2.0.0" ,
Original file line number Diff line number Diff line change @@ -8,12 +8,7 @@ var generatorFuncs = require('make-generator-function')();
8
8
var asyncFuncs = require ( 'make-async-function' ) . list ( ) ;
9
9
var hasToStringTag = require ( 'has-tostringtag/shams' ) ( ) ;
10
10
11
- var forEach = function ( arr , func ) {
12
- var i ;
13
- for ( i = 0 ; i < arr . length ; ++ i ) {
14
- func ( arr [ i ] , i , arr ) ;
15
- }
16
- } ;
11
+ var forEach = require ( 'for-each' ) ;
17
12
18
13
test ( 'returns false for non-functions' , function ( t ) {
19
14
var nonFuncs = [
You can’t perform that action at this time.
0 commit comments