From eaed344f67515d3c6c85dc5f5450f8521438c435 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Wed, 28 Feb 2024 01:46:55 +0000 Subject: [PATCH] Auto-generated commit --- .npmignore | 3 ++- CONTRIBUTORS | 8 ++++++++ README.md | 4 ++-- docs/types/index.d.ts | 6 +++--- package.json | 2 +- 5 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.npmignore b/.npmignore index 5c7f09d..8eea7dc 100644 --- a/.npmignore +++ b/.npmignore @@ -29,8 +29,9 @@ branches.md .postinstall.json Makefile -# Ignore `binding.gyp` file to avoid compilation of native addon when installing package: +# Ignore files to avoid compilation of native addon when installing package: binding.gyp +include.gypi # Directories # ############### diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a084916..527a868 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -8,6 +8,7 @@ Amit Jimiwal Athan Reines Brendan Graetz Bruno Fenzl +Chinmay J <86140365+JawHawk@users.noreply.github.com> Christopher Dambamuromo Dan Rose Daniel Killenberger @@ -15,6 +16,7 @@ Dominik Moritz Dorrin Sotoudeh Frank Kovacs GUNJ JOSHI +Golden <103646877+AuenKr@users.noreply.github.com> Harshita Kalani James Gelok Jaysukh Makvana @@ -24,6 +26,7 @@ Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com> Joris Labie Justin Dennison Karthik Prakash <116057817+skoriop@users.noreply.github.com> +Khaldon Marcus Fantham Matt Cochrane Milan Raj @@ -32,13 +35,18 @@ Naresh Jagadeesan Nithin Katta <88046362+nithinkatta@users.noreply.github.com> Ognjen Jevremović Philipp Burckhardt +Prajwal Kulkarni Pranav Goswami +Praneki <97080887+PraneGIT@users.noreply.github.com> +Pratik <97464067+Pratik772846@users.noreply.github.com> Ricky Reusser Robert Gislason Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com> +Rutam <138517416+performant23@users.noreply.github.com> Ryan Seal Seyyed Parsa Neshaei Shraddheya Shendre +Shubham Spandan Barve <114365550+marsian83@users.noreply.github.com> Stephannie Jiménez Gacha Yernar Yergaziyev diff --git a/README.md b/README.md index ee52b01..280653b 100644 --- a/README.md +++ b/README.md @@ -251,8 +251,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/assert-is-safe-integer.svg [npm-url]: https://npmjs.org/package/@stdlib/assert-is-safe-integer -[test-image]: https://github.com/stdlib-js/assert-is-safe-integer/actions/workflows/test.yml/badge.svg?branch=v0.2.1 -[test-url]: https://github.com/stdlib-js/assert-is-safe-integer/actions/workflows/test.yml?query=branch:v0.2.1 +[test-image]: https://github.com/stdlib-js/assert-is-safe-integer/actions/workflows/test.yml/badge.svg?branch=main +[test-url]: https://github.com/stdlib-js/assert-is-safe-integer/actions/workflows/test.yml?query=branch:main [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-safe-integer/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/assert-is-safe-integer?branch=main diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts index 7bf87d9..55962e8 100644 --- a/docs/types/index.d.ts +++ b/docs/types/index.d.ts @@ -48,7 +48,7 @@ interface IsSafeInteger { * var bool = isSafeInteger( null ); * // returns false */ - ( value: any ): value is number | Number; + ( value: any ): boolean; /** * Tests if a value is a number primitive having a safe integer value. @@ -64,7 +64,7 @@ interface IsSafeInteger { * var bool = isSafeInteger.isPrimitive( new Number( -3.0 ) ); * // returns false */ - isPrimitive( value: any ): value is number; + isPrimitive( value: any ): boolean; /** @@ -81,7 +81,7 @@ interface IsSafeInteger { * var bool = isSafeInteger.isObject( new Number( 3.0 ) ); * // returns true */ - isObject( value: any ): value is Number; + isObject( value: any ): boolean; } /** diff --git a/package.json b/package.json index 806e101..1ae3262 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "tape": "git+https://github.com/kgryte/tape.git#fix/globby", "istanbul": "^0.4.1", "tap-min": "git+https://github.com/Planeshifter/tap-min.git", - "@stdlib/bench-harness": "^0.2.0" + "@stdlib/bench-harness": "^0.2.1" }, "engines": { "node": ">=0.10.0",