diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b17435bf3..0037bdbc4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -182,7 +182,11 @@ jobs: fi # Trim leading and trailing whitespace: dep=$(echo "$dep" | xargs) - version="^$(npm view $dep version)" + version="$(npm view $dep version)" + if [[ -z "$version" ]]; then + continue + fi + version="^$version" jq -r --arg dep "$dep" --arg version "$version" '.dependencies[$dep] = $version' package.json > package.json.tmp mv package.json.tmp package.json done @@ -192,7 +196,11 @@ jobs: fi # Trim leading and trailing whitespace: dep=$(echo "$dep" | xargs) - version="^$(npm view $dep version)" + version="$(npm view $dep version)" + if [[ -z "$version" ]]; then + continue + fi + version="^$version" jq -r --arg dep "$dep" --arg version "$version" '.devDependencies[$dep] = $version' package.json > package.json.tmp mv package.json.tmp package.json done diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 93c4bdefc..2db37dbad 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -37,3 +37,4 @@ Stephannie Jiménez Gacha Yernar Yergaziyev orimiles5 <97595296+orimiles5@users.noreply.github.com> rei2hu +rgizz diff --git a/LICENSE b/LICENSE index 447a91624..11b385433 100644 --- a/LICENSE +++ b/LICENSE @@ -181,6 +181,36 @@ The library links against the following external libraries or contains implementations from the following external libraries, which have their own licenses: +* FreeBSD + +Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved. + +Developed at SunPro, a Sun Microsystems, Inc. business. +Permission to use, copy, modify, and distribute this +software is freely granted, provided that this notice +is preserved. + +Developed at SunPro, a Sun Microsystems, Inc. business. +Permission to use, copy, modify, and distribute this +software is freely granted, provided that this notice +is preserved. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +* Cephes + +Copyright (c) 1984-2000 Stephen L. Moshier + +Some software in this archive may be from the book _Methods and Programs for +Mathematical Functions_ (Prentice-Hall or Simon & Schuster International, 1989) +or from the Cephes Mathematical Library, a commercial product. In either event, +it is copyrighted by the author. What you see here may be used freely but it +comes with no support or guarantee. + +Stephen L. Moshier +moshier@na-net.ornl.gov + * Boost Boost Software License - Version 1.0 - August 17th, 2003 @@ -207,19 +237,6 @@ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -* Cephes - -Copyright (c) 1984-2000 Stephen L. Moshier - -Some software in this archive may be from the book _Methods and Programs for -Mathematical Functions_ (Prentice-Hall or Simon & Schuster International, 1989) -or from the Cephes Mathematical Library, a commercial product. In either event, -it is copyrighted by the author. What you see here may be used freely but it -comes with no support or guarantee. - -Stephen L. Moshier -moshier@na-net.ornl.gov - * Go Copyright (c) 2009 The Go Authors. All rights reserved. @@ -250,50 +267,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* FreeBSD - -Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved. - -Developed at SunPro, a Sun Microsystems, Inc. business. -Permission to use, copy, modify, and distribute this -software is freely granted, provided that this notice -is preserved. - -* SLATEC Common Mathematical Library - -Public domain. - -* Faddeeva - -Copyright (c) 2012 Massachusetts Institute of Technology - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Developed at SunPro, a Sun Microsystems, Inc. business. -Permission to use, copy, modify, and distribute this -software is freely granted, provided that this notice -is preserved. - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - * FDLIBM Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved. @@ -325,3 +298,30 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +* SLATEC Common Mathematical Library + +Public domain. + +* Faddeeva + +Copyright (c) 2012 Massachusetts Institute of Technology + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/base/special/README.md b/base/special/README.md index 85cacb430..3f9a401e2 100644 --- a/base/special/README.md +++ b/base/special/README.md @@ -154,7 +154,7 @@ var fcns = special; - [`ceiln( x, n )`][@stdlib/math/base/special/ceiln]: round a numeric value to the nearest multiple of 10^n toward positive infinity. - [`ceilsd( x, n[, b] )`][@stdlib/math/base/special/ceilsd]: round a numeric value to the nearest number toward positive infinity with N significant figures. - [`cfloor( z )`][@stdlib/math/base/special/cfloor]: round a double-precision complex floating-point number toward negative infinity. -- [`cfloorn( [out,] re, im, n )`][@stdlib/math/base/special/cfloorn]: round a complex number to the nearest multiple of `10^n` toward negative infinity. +- [`cfloorn( z, n )`][@stdlib/math/base/special/cfloorn]: round each component of a double-precision complex floating-point number to the nearest multiple of `10^n` toward negative infinity. - [`clamp( v, min, max )`][@stdlib/math/base/special/clamp]: restrict a double-precision floating-point number to a specified range. - [`clampf( v, min, max )`][@stdlib/math/base/special/clampf]: restrict a single-precision floating-point number to a specified range. - [`cround( z )`][@stdlib/math/base/special/cround]: round each component of a double-precision complex floating-point number to the nearest integer. @@ -165,7 +165,7 @@ var fcns = special; - [`floor2( x )`][@stdlib/math/base/special/floor2]: round a numeric value to the nearest power of two toward negative infinity. - [`floorb( x, n, b )`][@stdlib/math/base/special/floorb]: round a numeric value to the nearest multiple of b^n toward negative infinity. - [`floorf( x )`][@stdlib/math/base/special/floorf]: round a single-precision floating-point numeric value toward negative infinity. -- [`floorn( x, n )`][@stdlib/math/base/special/floorn]: round a numeric value to the nearest multiple of 10^n toward negative infinity. +- [`floorn( x, n )`][@stdlib/math/base/special/floorn]: round a double-precision floating-point number to the nearest multiple of 10^n toward negative infinity. - [`floorsd( x, n[, b] )`][@stdlib/math/base/special/floorsd]: round a numeric value to the nearest number toward negative infinity with N significant figures. - [`labs( x )`][@stdlib/math/base/special/labs]: compute an absolute value of a signed 32-bit integer. - [`maxabs( x, y )`][@stdlib/math/base/special/maxabs]: return the maximum absolute value. diff --git a/test/dist/test.js b/test/dist/test.js index 4de5002f2..a8a9c60f3 100644 --- a/test/dist/test.js +++ b/test/dist/test.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2023 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,20 +21,13 @@ // MODULES // var tape = require( 'tape' ); -var objectKeys = require( '@stdlib/utils/keys' ); -var math = require( './../../dist' ); +var main = require( './../../dist' ); // TESTS // -tape( 'main export is an object', function test( t ) { +tape( 'main export is defined', function test( t ) { t.ok( true, __filename ); - t.strictEqual( typeof math, 'object', 'main export is an object' ); - t.end(); -}); - -tape( 'the exported object contains key-value pairs', function test( t ) { - var keys = objectKeys( math ); - t.equal( keys.length > 0, true, 'has keys' ); + t.strictEqual( main !== void 0, true, 'main export is defined' ); t.end(); });