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 5050 "auto-changelog" : " ^2.5.0" ,
5151 "encoding" : " ^0.1.13" ,
5252 "eslint" : " =8.8.0" ,
53+ "for-each" : " ^0.3.3" ,
5354 "in-publish" : " ^2.0.1" ,
5455 "make-async-function" : " ^1.0.0" ,
5556 "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')();
88var asyncFuncs = require ( 'make-async-function' ) . list ( ) ;
99var hasToStringTag = require ( 'has-tostringtag/shams' ) ( ) ;
1010
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' ) ;
1712
1813test ( 'returns false for non-functions' , function ( t ) {
1914 var nonFuncs = [
You can’t perform that action at this time.
0 commit comments