diff --git a/.github/.keepalive b/.github/.keepalive
deleted file mode 100644
index 3d46a95..0000000
--- a/.github/.keepalive
+++ /dev/null
@@ -1 +0,0 @@
-2023-08-01T04:09:52.969Z
diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml
index 334eb59..91f2b93 100644
--- a/.github/workflows/productionize.yml
+++ b/.github/workflows/productionize.yml
@@ -82,21 +82,6 @@ jobs:
id: transform-error-messages
uses: stdlib-js/transform-errors-action@main
- # Format error messages:
- - name: 'Replace double quotes with single quotes in rewritten format string error messages'
- run: |
- find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \;
-
- # Format string literal error messages:
- - name: 'Replace double quotes with single quotes in rewritten string literal error messages'
- run: |
- find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \;
-
- # Format code:
- - name: 'Replace double quotes with single quotes in inserted `require` calls'
- run: |
- find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \;
-
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
- name: 'Update dependencies in package.json'
run: |
diff --git a/dist/index.d.ts b/dist/index.d.ts
new file mode 100644
index 0000000..5ccc11c
--- /dev/null
+++ b/dist/index.d.ts
@@ -0,0 +1,3 @@
+///
+import noneBy from '../docs/types/index';
+export = noneBy;
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..dd46970
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";var f=function(r,e){return function(){return e||r((e={exports:{}}).exports,e),e.exports}};var s=f(function(q,i){
+var m=require('@stdlib/assert-is-collection/dist'),o=require('@stdlib/assert-is-function/dist'),a=require('@stdlib/error-tools-fmtprodmsg/dist');function g(r,e,v){var t,n,u;if(!m(r))throw new TypeError(a('1VzAh',r));if(!o(e))throw new TypeError(a('1Vz2H',e));for(n=r.length,u=0;u 0 );\n* }\n*\n* var arr = [ -1, -2, -3, -4 ];\n*\n* var bool = noneBy( arr, isPositive );\n* // returns true\n*/\nfunction noneBy( collection, predicate, thisArg ) {\n\tvar out;\n\tvar len;\n\tvar i;\n\tif ( !isCollection( collection ) ) {\n\t\tthrow new TypeError( format( 'invalid argument. First argument must be a collection. Value: `%s`.', collection ) );\n\t}\n\tif ( !isFunction( predicate ) ) {\n\t\tthrow new TypeError( format( 'invalid argument. Second argument must be a function. Value: `%s`.', predicate ) );\n\t}\n\tlen = collection.length;\n\tfor ( i = 0; i < len; i++ ) {\n\t\tout = predicate.call( thisArg, collection[ i ], i, collection );\n\t\tif ( out ) {\n\t\t\treturn false;\n\t\t}\n\t\t// Account for dynamically resizing a collection:\n\t\tlen = collection.length;\n\t}\n\treturn true;\n}\n\n\n// EXPORTS //\n\nmodule.exports = noneBy;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Test whether all elements in a collection fail a test implemented by a predicate function.\n*\n* @module @stdlib/utils-none-by\n*\n* @example\n* var none = require( '@stdlib/utils-none-by' );\n*\n* function isPositive( v ) {\n* return ( v > 0 );\n* }\n*\n* var arr = [ -1, -2, -3, -4 ];\n*\n* var bool = noneBy( arr, isPositive );\n* // returns true\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
+ "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAe,QAAS,8BAA+B,EACvDC,EAAa,QAAS,4BAA6B,EACnDC,EAAS,QAAS,uBAAwB,EAyB9C,SAASC,EAAQC,EAAYC,EAAWC,EAAU,CACjD,IAAIC,EACAC,EACAC,EACJ,GAAK,CAACT,EAAcI,CAAW,EAC9B,MAAM,IAAI,UAAWF,EAAQ,sEAAuEE,CAAW,CAAE,EAElH,GAAK,CAACH,EAAYI,CAAU,EAC3B,MAAM,IAAI,UAAWH,EAAQ,qEAAsEG,CAAU,CAAE,EAGhH,IADAG,EAAMJ,EAAW,OACXK,EAAI,EAAGA,EAAID,EAAKC,IAAM,CAE3B,GADAF,EAAMF,EAAU,KAAMC,EAASF,EAAYK,CAAE,EAAGA,EAAGL,CAAW,EACzDG,EACJ,MAAO,GAGRC,EAAMJ,EAAW,MAClB,CACA,MAAO,EACR,CAKAL,EAAO,QAAUI,IClCjB,IAAIO,EAAO,IAKX,OAAO,QAAUA",
+ "names": ["require_main", "__commonJSMin", "exports", "module", "isCollection", "isFunction", "format", "noneBy", "collection", "predicate", "thisArg", "out", "len", "i", "main"]
+}
diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts
index e5026b3..4baa670 100644
--- a/docs/types/index.d.ts
+++ b/docs/types/index.d.ts
@@ -20,7 +20,7 @@
///
-import { Collection } from '@stdlib/types/object';
+import { Collection } from '@stdlib/types/array';
/**
* Checks whether an element in a collection passes a test.
@@ -35,7 +35,7 @@ type Nullary = () => boolean;
* @param value - collection value
* @returns boolean indicating whether an element in a collection passes a test
*/
-type Unary = ( value: any ) => boolean;
+type Unary = ( value: T ) => boolean;
/**
* Checks whether an element in a collection passes a test.
@@ -44,7 +44,7 @@ type Unary = ( value: any ) => boolean;
* @param index - collection index
* @returns boolean indicating whether an element in a collection passes a test
*/
-type Binary = ( value: any, index: number ) => boolean;
+type Binary = ( value: T, index: number ) => boolean;
/**
* Checks whether an element in a collection passes a test.
@@ -54,7 +54,7 @@ type Binary = ( value: any, index: number ) => boolean;
* @param collection - input collection
* @returns boolean indicating whether an element in a collection passes a test
*/
-type Ternary = ( value: any, index: number, collection: Collection ) => boolean;
+type Ternary = ( value: T, index: number, collection: Collection ) => boolean;
/**
* Checks whether an element in a collection passes a test.
@@ -64,7 +64,7 @@ type Ternary = ( value: any, index: number, collection: Collection ) => boolean;
* @param collection - input collection
* @returns boolean indicating whether an element in a collection passes a test
*/
-type Predicate = Nullary | Unary | Binary | Ternary;
+type Predicate = Nullary | Unary | Binary | Ternary;
/**
* Tests whether all elements in a collection fail a test implemented by a predicate function.
@@ -95,7 +95,7 @@ type Predicate = Nullary | Unary | Binary | Ternary;
* var bool = noneBy( arr, isPositive );
* // returns true
*/
-declare function noneBy( collection: Collection, predicate: Predicate, thisArg?: any ): boolean; // tslint-disable-line max-line-length
+declare function noneBy( collection: Collection, predicate: Predicate, thisArg?: ThisParameterType> ): boolean;
// EXPORTS //