Socket
Socket
Sign inDemoInstall

@stdlib/assert-is-nan

Package Overview
Dependencies
54
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.8 to 0.1.0

CITATION.cff

8

docs/types/index.d.ts

@@ -19,3 +19,3 @@ /*

// TypeScript Version: 2.0
// TypeScript Version: 4.1

@@ -48,3 +48,3 @@ /**

*/
( value: any ): boolean;
( value: any ): value is number | Number;

@@ -69,3 +69,3 @@ /**

*/
isPrimitive( value: any ): boolean;
isPrimitive( value: any ): value is number;

@@ -86,3 +86,3 @@ /**

*/
isObject( value: any ): boolean;
isObject( value: any ): value is Number;
}

@@ -89,0 +89,0 @@

@@ -66,3 +66,3 @@ /**

var setReadOnly = require( '@stdlib/utils-define-nonenumerable-read-only-property' );
var isnan = require( './main.js' );
var main = require( './main.js' );
var isPrimitive = require( './primitive.js' );

@@ -74,4 +74,4 @@ var isObject = require( './object.js' );

setReadOnly( isnan, 'isPrimitive', isPrimitive );
setReadOnly( isnan, 'isObject', isObject );
setReadOnly( main, 'isPrimitive', isPrimitive );
setReadOnly( main, 'isObject', isObject );

@@ -81,2 +81,2 @@

module.exports = isnan;
module.exports = main;
{
"name": "@stdlib/assert-is-nan",
"version": "0.0.8",
"version": "0.1.0",
"description": "Test if a value is NaN.",

@@ -40,15 +40,15 @@ "license": "Apache-2.0",

"dependencies": {
"@stdlib/assert-is-number": "^0.0.x",
"@stdlib/math-base-assert-is-nan": "^0.0.x",
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.0.x"
"@stdlib/assert-is-number": "^0.1.0",
"@stdlib/math-base-assert-is-nan": "^0.1.0",
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.0"
},
"devDependencies": {
"@stdlib/assert-has-symbol-support": "^0.0.x",
"@stdlib/assert-is-boolean": "^0.0.x",
"@stdlib/bench": "^0.0.x",
"@stdlib/number-ctor": "^0.0.x",
"@stdlib/symbol-ctor": "^0.0.x",
"@stdlib/assert-has-symbol-support": "^0.1.0",
"@stdlib/assert-is-boolean": "^0.1.0",
"@stdlib/bench": "^0.1.0",
"@stdlib/number-ctor": "^0.1.0",
"@stdlib/symbol-ctor": "^0.1.0",
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
"istanbul": "^0.4.1",
"tap-spec": "5.x.x"
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
},

@@ -92,5 +92,5 @@ "engines": {

"funding": {
"type": "patreon",
"url": "https://www.patreon.com/athan"
"type": "opencollective",
"url": "https://opencollective.com/stdlib"
}
}

@@ -21,2 +21,13 @@ <!--

<details>
<summary>
About stdlib...
</summary>
<p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>
<p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>
<p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>
<p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
</details>
# isNaN

@@ -151,3 +162,3 @@

- <span class="package-name">[`@stdlib/assert/is-number`][@stdlib/assert/is-number]</span><span class="delimiter">: </span><span class="description">test if a value is a number.</span>
- <span class="package-name">[`@stdlib/assert-is-number`][@stdlib/assert/is-number]</span><span class="delimiter">: </span><span class="description">test if a value is a number.</span>

@@ -184,3 +195,3 @@ </section>

Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].

@@ -198,4 +209,4 @@ </section>

[test-image]: https://github.com/stdlib-js/assert-is-nan/actions/workflows/test.yml/badge.svg
[test-url]: https://github.com/stdlib-js/assert-is-nan/actions/workflows/test.yml
[test-image]: https://github.com/stdlib-js/assert-is-nan/actions/workflows/test.yml/badge.svg?branch=v0.1.0
[test-url]: https://github.com/stdlib-js/assert-is-nan/actions/workflows/test.yml?query=branch:v0.1.0

@@ -212,2 +223,9 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-nan/main.svg

[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
[stdlib]: https://github.com/stdlib-js/stdlib
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
[umd]: https://github.com/umdjs/umd

@@ -219,10 +237,4 @@ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules

[esm-url]: https://github.com/stdlib-js/assert-is-nan/tree/esm
[branches-url]: https://github.com/stdlib-js/assert-is-nan/blob/main/branches.md
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
[chat-url]: https://gitter.im/stdlib-js/stdlib/
[stdlib]: https://github.com/stdlib-js/stdlib
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/assert-is-nan/main/LICENSE

@@ -229,0 +241,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc