diff --git a/lib/node_modules/@stdlib/_tools/github/star-repo/lib/factory.js b/lib/node_modules/@stdlib/_tools/github/star-repo/lib/factory.js index 2b4360e7cb5d..871b31283a4d 100644 --- a/lib/node_modules/@stdlib/_tools/github/star-repo/lib/factory.js +++ b/lib/node_modules/@stdlib/_tools/github/star-repo/lib/factory.js @@ -84,19 +84,20 @@ function factory( options, clbk ) { throw new Error( format( 'invalid argument. Repository slug must consist of an owner and a repository (e.g., "stdlib-js/utils"). Value: `%s`.', slug ) ); } query( slug, opts, done ); - /** - * Callback invoked after receiving an API response. - * - * @private - * @param {(Error|null)} error - error object - * @param {Object} info - response info - * @returns {void} - */ - function done( error, info ) { - error = error || null; - info = info || null; - clbk( error, info ); - } + } + + /** + * Callback invoked after receiving an API response. + * + * @private + * @param {(Error|null)} error - error object + * @param {Object} info - response info + * @returns {void} + */ + function done( error, info ) { + error = error || null; + info = info || null; + clbk( error, info ); } } diff --git a/lib/node_modules/@stdlib/blas/base/idamax/test/test.ndarray.js b/lib/node_modules/@stdlib/blas/base/idamax/test/test.ndarray.js index 86f5977c4bd8..cfafebc4e52c 100644 --- a/lib/node_modules/@stdlib/blas/base/idamax/test/test.ndarray.js +++ b/lib/node_modules/@stdlib/blas/base/idamax/test/test.ndarray.js @@ -57,13 +57,13 @@ tape( 'the function finds the index of the element with the maximum absolute val idx = idamax( 4, x, 1, 0 ); t.strictEqual( idx, expected, 'returns expected value' ); - x = new Float64Array( [ + x = new Float64Array([ 0.2, // 1 -0.6, // 2 0.3, // 3 5.0, 5.0 - ] ); + ]); expected = 1; idx = idamax( 3, x, 1, 0 ); @@ -77,11 +77,11 @@ tape( 'if provided an `N` parameter less than `1`, the function returns `-1`', f var idx; var x; - x = new Float64Array( [ + x = new Float64Array([ 1.0, 2.0, 3.0 - ] ); + ]); expected = -1; idx = idamax( 0, x, 1, 0 ); @@ -95,11 +95,11 @@ tape( 'if provided an `N` parameter equal to `1`, the function returns `0`', fun var idx; var x; - x = new Float64Array( [ + x = new Float64Array([ 1.0, 2.0, 3.0 - ] ); + ]); expected = 0; idx = idamax( 1, x, 1, 1 ); diff --git a/lib/node_modules/@stdlib/strided/base/binary-dtype-signatures/lib/index.js b/lib/node_modules/@stdlib/strided/base/binary-dtype-signatures/lib/index.js index fca4f898f25a..fbff580f410d 100644 --- a/lib/node_modules/@stdlib/strided/base/binary-dtype-signatures/lib/index.js +++ b/lib/node_modules/@stdlib/strided/base/binary-dtype-signatures/lib/index.js @@ -34,7 +34,7 @@ * ]; * * var sigs = signatures( dtypes, dtypes, dtypes ); -* // returns [ 'float64', 'float64', 'float64', ... ] +* // returns [ 'float32', 'float32', 'float32', ... ] */ // MODULES //