Skip to content

Commit 482aef2

Browse files
committed
Auto-generated commit
1 parent bb4707c commit 482aef2

File tree

11 files changed

+26
-25
lines changed

11 files changed

+26
-25
lines changed

CHANGELOG.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-09-25)
7+
## Unreleased (2024-09-26)
88

99
<section class="packages">
1010

@@ -542,7 +542,7 @@ This release closes the following issue:
542542
A total of 7 people contributed to this release. Thank you to the following contributors:
543543

544544
- Athan Reines
545-
- DebashisMaharana
545+
- Debashis Maharana
546546
- HarshaNP
547547
- Kaif Mohd
548548
- Philipp Burckhardt
@@ -559,6 +559,7 @@ A total of 7 people contributed to this release. Thank you to the following cont
559559

560560
<details>
561561

562+
- [`6207381`](https://github.com/stdlib-js/stdlib/commit/62073818e83d5bdd87b2b8ffea18a43767f1ae29) - **chore:** minor clean-up _(by Philipp Burckhardt)_
562563
- [`bffda37`](https://github.com/stdlib-js/stdlib/commit/bffda37bf1104bc6e62776ee811c76873edf5461) - **refactor:** use `array/little-endian-factory` _(by Athan Reines)_
563564
- [`5a2c12b`](https://github.com/stdlib-js/stdlib/commit/5a2c12bd3973e3b3a6f5e971ecac17c391570e60) - **feat:** add `Float64ArrayFE` and `Float64ArrayLE` to namespace _(by Athan Reines)_
564565
- [`77794fd`](https://github.com/stdlib-js/stdlib/commit/77794fd44350d8cd242cff9f23258382c5ad3cd2) - **docs:** fix missing private annotation _(by Athan Reines)_
@@ -567,7 +568,7 @@ A total of 7 people contributed to this release. Thank you to the following cont
567568
- [`17fa3d2`](https://github.com/stdlib-js/stdlib/commit/17fa3d277b28d85634444424f2af75edf60ab030) - **docs:** fix example _(by Athan Reines)_
568569
- [`7d9b31b`](https://github.com/stdlib-js/stdlib/commit/7d9b31bcaf049f263228d7d5c020bb24c408e6d7) - **refactor:** use `array/fixed-endian-factory` _(by Athan Reines)_
569570
- [`a3a04e3`](https://github.com/stdlib-js/stdlib/commit/a3a04e32057b878529b86180e38ed3ae383c34ef) - **feat:** add `array/fixed-endian-factory` _(by Athan Reines)_
570-
- [`5742947`](https://github.com/stdlib-js/stdlib/commit/5742947f31198648b2f753e1f9322367c9e3ae06) - **feat:** add `array/base/cuany-by-right` [(#2667)](https://github.com/stdlib-js/stdlib/pull/2667) _(by DebashisMaharana, Philipp Burckhardt)_
571+
- [`5742947`](https://github.com/stdlib-js/stdlib/commit/5742947f31198648b2f753e1f9322367c9e3ae06) - **feat:** add `array/base/cuany-by-right` [(#2667)](https://github.com/stdlib-js/stdlib/pull/2667) _(by Debashis Maharana, Philipp Burckhardt)_
571572
- [`8f72b43`](https://github.com/stdlib-js/stdlib/commit/8f72b432c0fc81a78641d5689722ecc9671c6f02) - **style:** add missing spaces around parentheses _(by Philipp Burckhardt)_
572573
- [`73266bf`](https://github.com/stdlib-js/stdlib/commit/73266bf9d7f82198bd752dafccedbc017d8c8bb1) - **feat:** add `array/base/cuany-by` [(#2818)](https://github.com/stdlib-js/stdlib/pull/2818) _(by yaswanth, Philipp Burckhardt)_
573574
- [`e3078e5`](https://github.com/stdlib-js/stdlib/commit/e3078e56df8858a8f79fb3f3ded3fc76da955db5) - **feat:** add `array/base/cuevery-by` package _(by Kaif Mohd, Philipp Burckhardt)_
@@ -6251,12 +6252,11 @@ This release closes the following issue:
62516252

62526253
### Contributors
62536254

6254-
A total of 5 people contributed to this release. Thank you to the following contributors:
6255+
A total of 4 people contributed to this release. Thank you to the following contributors:
62556256

62566257
- Athan Reines
62576258
- Jaysukh Makvana
62586259
- Philipp Burckhardt
6259-
- Planeshifter
62606260
- kgryte
62616261

62626262
</section>

base/cuany-by-right/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ The function supports the following parameters:
116116
<!-- eslint no-undef: "error" -->
117117

118118
```javascript
119+
var bernoulli = require( '@stdlib/random/array/bernoulli' );
120+
var cuanyByRight = require( '@stdlib/array/base/cuany-by-right' );
121+
119122
function isPositive( value ) {
120123
return ( value > 0 );
121124
}
122125

123-
var bernoulli = require( '@stdlib/random/array/bernoulli' );
124-
var cuanyByRight = require( '@stdlib/array/base/cuany-by-right' );
125-
126126
// Create an array of random values:
127127
var x = bernoulli( 10, 0.1 );
128128
console.log( x );

base/cuany-by/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ The function supports the following parameters:
116116
<!-- eslint no-undef: "error" -->
117117

118118
```javascript
119+
var bernoulli = require( '@stdlib/random/array/bernoulli' );
120+
var cuanyBy = require( '@stdlib/array/base/cuany-by' );
121+
119122
function isPositive( value ) {
120123
return ( value > 0 );
121124
}
122125

123-
var bernoulli = require( '@stdlib/random/array/bernoulli' );
124-
var cuanyBy = require( '@stdlib/array/base/cuany-by' );
125-
126126
// Create an array of random values:
127127
var x = bernoulli( 10, 0.1 );
128128
console.log( x );

base/cuany-by/benchmark/benchmark.assign.length.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var isArray = require( '@stdlib/assert/is-array' );
2626
var filled = require( './../../../base/filled' );
27-
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' );
27+
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' ).isPrimitive;
2828
var pkg = require( './../package.json' ).name;
2929
var cuanyBy = require( './../lib' );
3030

@@ -39,7 +39,7 @@ var cuanyBy = require( './../lib' );
3939
* @returns {Function} benchmark function
4040
*/
4141
function createBenchmark( len ) {
42-
var x = filled( 1.5, len );
42+
var x = filled( 0, len );
4343
return benchmark;
4444

4545
/**

base/cuany-by/benchmark/benchmark.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var isArray = require( '@stdlib/assert/is-array' );
25-
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' );
25+
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' ).isPrimitive;
2626
var pkg = require( './../package.json' ).name;
2727
var cuanyBy = require( './../lib' );
2828

base/cuany-by/benchmark/benchmark.length.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var isArray = require( '@stdlib/assert/is-array' );
2626
var filled = require( './../../../base/filled' );
27-
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' );
27+
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' ).isPrimitive;
2828
var pkg = require( './../../../base/cuany-by/package.json' ).name;
2929
var cuanyBy = require( './../../../base/cuany-by/lib' );
3030

base/cuany-by/docs/types/index.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ interface CuAnyBy {
7979
* @returns output array
8080
*
8181
* @example
82-
*
8382
* function isPositive( v ) {
8483
* return v > 0;
8584
* }

base/cuany-by/docs/types/test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
2019
import cuanyBy = require( './index' );
2120

2221
/**

base/cuevery-by/benchmark/benchmark.length.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var isArray = require( '@stdlib/assert/is-array' );
26-
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' );
26+
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' ).isPrimitive;
2727
var filled = require( './../../../base/filled' );
2828
var pkg = require( './../package.json' ).name;
2929
var cueveryBy = require( './../lib' );

base/cuevery-by/test/test.main.js

+9-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,19 @@ var Float64Array = require( './../../../float64' );
2626
var cueveryBy = require( './../lib' );
2727

2828

29-
// TESTS //
29+
// FUNCTIONS //
3030

3131
function isPositive( v ) {
3232
return ( v > 0 );
3333
}
3434

35+
function isNotNull( v ) {
36+
return v !== null;
37+
}
38+
39+
40+
// TESTS //
41+
3542
tape( 'main export is a function', function test( t ) {
3643
t.ok( true, __filename );
3744
t.strictEqual(typeof cueveryBy, 'function', 'main export is a function');
@@ -43,10 +50,6 @@ tape( 'the function cumulatively tests whether every array element in a provided
4350
var actual;
4451
var x;
4552

46-
function isNotNull( v ) {
47-
return v !== null;
48-
}
49-
5053
x = [ 1, 2, 0, 4 ];
5154

5255
actual = cueveryBy( x, isPositive );
@@ -137,7 +140,7 @@ tape( 'the function cumulatively tests whether every array element in a provided
137140
t.end();
138141
});
139142

140-
tape( 'the function returns an empty array if provided an empty input array as first argument', function test( t ) {
143+
tape( 'the function returns an empty array if provided an empty input array as a first argument', function test( t ) {
141144
var x = [];
142145
t.deepEqual( cueveryBy( x, isPositive ), [], 'returns expected value' );
143146
t.end();

base/cunone-by/test/test.main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ tape( 'the function cumulatively tests whether every array element in a provided
140140
t.end();
141141
});
142142

143-
tape( 'the function returns an empty array if provided an empty input array as first argument', function test( t ) {
143+
tape( 'the function returns an empty array if provided an empty input array as a first argument', function test( t ) {
144144
var x = [];
145145
t.deepEqual( cunoneBy( x, isPositive ), [], 'returns expected value' );
146146
t.end();

0 commit comments

Comments
 (0)