From 0a00634f1272d85cd5996a6459610fbf86a47d6f Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sun, 7 Jul 2024 17:10:10 +0000 Subject: [PATCH] Auto-generated commit --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ README.md | 4 ++-- dist/index.js.map | 4 ++-- lib/main.js | 6 +++--- 4 files changed, 41 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e788754..8a11f78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,40 @@ > Package changelog. +
+ +## Unreleased (2024-07-07) + +
+ +### Commits + +
+ +- [`659f752`](https://github.com/stdlib-js/stdlib/commit/659f752db18317bf5fc237fdbcad0d74b61e1ed9) - **style:** add missing spaces _(by Philipp Burckhardt)_ + +
+ +
+ + + +
+ +### Contributors + +A total of 1 person contributed to this release. Thank you to this contributor: + +- Philipp Burckhardt + +
+ + + +
+ + +
## 0.0.1 (2024-06-19) diff --git a/README.md b/README.md index ab06ca5..beacb57 100644 --- a/README.md +++ b/README.md @@ -159,8 +159,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-special-nanmin.svg [npm-url]: https://npmjs.org/package/@stdlib/math-base-special-nanmin -[test-image]: https://github.com/stdlib-js/math-base-special-nanmin/actions/workflows/test.yml/badge.svg?branch=v0.0.1 -[test-url]: https://github.com/stdlib-js/math-base-special-nanmin/actions/workflows/test.yml?query=branch:v0.0.1 +[test-image]: https://github.com/stdlib-js/math-base-special-nanmin/actions/workflows/test.yml/badge.svg?branch=main +[test-url]: https://github.com/stdlib-js/math-base-special-nanmin/actions/workflows/test.yml?query=branch:main [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-nanmin/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-nanmin?branch=main diff --git a/dist/index.js.map b/dist/index.js.map index 4ce468f..0e50e2f 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../lib/main.js", "../lib/index.js"], - "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 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// MODULES //\n\nvar min = require( '@stdlib/math-base-special-min');\nvar isnan = require( '@stdlib/math-base-assert-is-nan');\n\n\n// MAIN //\n\n/**\n* Returns the minimum value, ignoring NaN.\n*\n* @param {number} x - first number\n* @param {number} y - second number\n* @returns {number} minimum value\n*\n* @example\n* var v = nanmin( 3.14, 4.2 );\n* // returns 3.14\n*\n* @example\n* var v = nanmin( 4.14, NaN );\n* // returns 4.14\n*\n* @example\n* var v = nanmin( NaN, NaN);\n* // returns NaN\n*/\nfunction nanmin( x, y ) {\n\tif ( isnan( x ) ) {\n\t\treturn ( isnan( y ) ) ? NaN : y;\n\t}\n\treturn ( isnan( y ) ) ? x : min( x, y );\n}\n\n\n// EXPORTS //\n\nmodule.exports = nanmin;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 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* Return the minimum value, ignoring NaN.\n*\n* @module @stdlib/math-base-special-nanmin\n*\n* @example\n* var nanmin = require( '@stdlib/math-base-special-nanmin' );\n*\n* var v = nanmin( 3.14, 4.2 );\n* // returns 3.14\n*\n* v = nanmin( 4.14, NaN );\n* // returns 4.14\n*\n* v = nanmin( NaN, NaN );\n* // returns NaN\n*/\n\n// MODULES //\n\nvar nanmin = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = nanmin;\n"], - "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAM,QAAS,+BAA+B,EAC9CC,EAAQ,QAAS,iCAAiC,EAwBtD,SAASC,EAAQC,EAAGC,EAAI,CACvB,OAAKH,EAAOE,CAAE,EACJF,EAAOG,CAAE,EAAM,IAAMA,EAEtBH,EAAOG,CAAE,EAAMD,EAAIH,EAAKG,EAAGC,CAAE,CACvC,CAKAL,EAAO,QAAUG,ICjBjB,IAAIG,EAAS,IAKb,OAAO,QAAUA", + "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 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// MODULES //\n\nvar min = require( '@stdlib/math-base-special-min' );\nvar isnan = require( '@stdlib/math-base-assert-is-nan' );\n\n\n// MAIN //\n\n/**\n* Returns the minimum value, ignoring NaN.\n*\n* @param {number} x - first number\n* @param {number} y - second number\n* @returns {number} minimum value\n*\n* @example\n* var v = nanmin( 3.14, 4.2 );\n* // returns 3.14\n*\n* @example\n* var v = nanmin( 4.14, NaN );\n* // returns 4.14\n*\n* @example\n* var v = nanmin( NaN, NaN );\n* // returns NaN\n*/\nfunction nanmin( x, y ) {\n\tif ( isnan( x ) ) {\n\t\treturn ( isnan( y ) ) ? NaN : y;\n\t}\n\treturn ( isnan( y ) ) ? x : min( x, y );\n}\n\n\n// EXPORTS //\n\nmodule.exports = nanmin;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 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* Return the minimum value, ignoring NaN.\n*\n* @module @stdlib/math-base-special-nanmin\n*\n* @example\n* var nanmin = require( '@stdlib/math-base-special-nanmin' );\n*\n* var v = nanmin( 3.14, 4.2 );\n* // returns 3.14\n*\n* v = nanmin( 4.14, NaN );\n* // returns 4.14\n*\n* v = nanmin( NaN, NaN );\n* // returns NaN\n*/\n\n// MODULES //\n\nvar nanmin = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = nanmin;\n"], + "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAM,QAAS,+BAAgC,EAC/CC,EAAQ,QAAS,iCAAkC,EAwBvD,SAASC,EAAQC,EAAGC,EAAI,CACvB,OAAKH,EAAOE,CAAE,EACJF,EAAOG,CAAE,EAAM,IAAMA,EAEtBH,EAAOG,CAAE,EAAMD,EAAIH,EAAKG,EAAGC,CAAE,CACvC,CAKAL,EAAO,QAAUG,ICjBjB,IAAIG,EAAS,IAKb,OAAO,QAAUA", "names": ["require_main", "__commonJSMin", "exports", "module", "min", "isnan", "nanmin", "x", "y", "nanmin"] } diff --git a/lib/main.js b/lib/main.js index f2b57ec..2596290 100644 --- a/lib/main.js +++ b/lib/main.js @@ -20,8 +20,8 @@ // MODULES // -var min = require( '@stdlib/math-base-special-min'); -var isnan = require( '@stdlib/math-base-assert-is-nan'); +var min = require( '@stdlib/math-base-special-min' ); +var isnan = require( '@stdlib/math-base-assert-is-nan' ); // MAIN // @@ -42,7 +42,7 @@ var isnan = require( '@stdlib/math-base-assert-is-nan'); * // returns 4.14 * * @example -* var v = nanmin( NaN, NaN); +* var v = nanmin( NaN, NaN ); * // returns NaN */ function nanmin( x, y ) {