From 2eced6e13ca507e9bd99b9c761fe9cb3f20b6c3c Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Tue, 27 Sep 2022 18:54:24 +0000 Subject: [PATCH] Auto-generated commit --- .github/.keepalive | 1 - benchmark/benchmark.js | 4 ++-- lib/index.js | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 .github/.keepalive diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index ac1a22a..0000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2022-09-01T00:42:06.345Z diff --git a/benchmark/benchmark.js b/benchmark/benchmark.js index 64df373..0d6caef 100644 --- a/benchmark/benchmark.js +++ b/benchmark/benchmark.js @@ -74,7 +74,7 @@ bench( pkg, function benchmark( b ) { b.tic(); for ( i = 0; i < b.iterations; i++ ) { bool = iterEvery( arr ); - if ( !isBoolean( bool ) ) { + if ( typeof bool !== 'boolean' ) { b.fail( 'should return a boolean' ); } arr.reset(); @@ -106,7 +106,7 @@ bench( pkg+'::loop', function benchmark( b ) { break; } } - if ( !isBoolean( bool ) ) { + if ( typeof bool !== 'boolean' ) { b.fail( 'should be a boolean' ); } arr.reset(); diff --git a/lib/index.js b/lib/index.js index c39bc4e..582d31b 100644 --- a/lib/index.js +++ b/lib/index.js @@ -35,9 +35,9 @@ // MODULES // -var iterEvery = require( './main.js' ); +var main = require( './main.js' ); // EXPORTS // -module.exports = iterEvery; +module.exports = main;