Skip to content

Commit ffcd6a1

Browse files
committed
Auto-generated commit
1 parent d05c1cb commit ffcd6a1

File tree

3 files changed

+11
-23
lines changed

3 files changed

+11
-23
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@
148148

149149
### Closed Issues
150150

151-
A total of 16 issues were closed in this release:
151+
A total of 17 issues were closed in this release:
152152

153-
[#6004](https://github.com/stdlib-js/stdlib/issues/6004), [#6786](https://github.com/stdlib-js/stdlib/issues/6786), [#6800](https://github.com/stdlib-js/stdlib/issues/6800), [#7060](https://github.com/stdlib-js/stdlib/issues/7060), [#7350](https://github.com/stdlib-js/stdlib/issues/7350), [#7694](https://github.com/stdlib-js/stdlib/issues/7694), [#7914](https://github.com/stdlib-js/stdlib/issues/7914), [#8000](https://github.com/stdlib-js/stdlib/issues/8000), [#8043](https://github.com/stdlib-js/stdlib/issues/8043), [#8061](https://github.com/stdlib-js/stdlib/issues/8061), [#8140](https://github.com/stdlib-js/stdlib/issues/8140), [#8155](https://github.com/stdlib-js/stdlib/issues/8155), [#8169](https://github.com/stdlib-js/stdlib/issues/8169), [#8183](https://github.com/stdlib-js/stdlib/issues/8183), [#8241](https://github.com/stdlib-js/stdlib/issues/8241), [#8260](https://github.com/stdlib-js/stdlib/issues/8260)
153+
[#6004](https://github.com/stdlib-js/stdlib/issues/6004), [#6786](https://github.com/stdlib-js/stdlib/issues/6786), [#6800](https://github.com/stdlib-js/stdlib/issues/6800), [#7060](https://github.com/stdlib-js/stdlib/issues/7060), [#7350](https://github.com/stdlib-js/stdlib/issues/7350), [#7694](https://github.com/stdlib-js/stdlib/issues/7694), [#7914](https://github.com/stdlib-js/stdlib/issues/7914), [#8000](https://github.com/stdlib-js/stdlib/issues/8000), [#8043](https://github.com/stdlib-js/stdlib/issues/8043), [#8061](https://github.com/stdlib-js/stdlib/issues/8061), [#8140](https://github.com/stdlib-js/stdlib/issues/8140), [#8155](https://github.com/stdlib-js/stdlib/issues/8155), [#8169](https://github.com/stdlib-js/stdlib/issues/8169), [#8183](https://github.com/stdlib-js/stdlib/issues/8183), [#8227](https://github.com/stdlib-js/stdlib/issues/8227), [#8241](https://github.com/stdlib-js/stdlib/issues/8241), [#8260](https://github.com/stdlib-js/stdlib/issues/8260)
154154

155155
</section>
156156

@@ -162,6 +162,7 @@ A total of 16 issues were closed in this release:
162162

163163
<details>
164164

165+
- [`67a57a2`](https://github.com/stdlib-js/stdlib/commit/67a57a2861401202eb362b67971cf023ecf1518b) - **docs:** refactor example to use array PRNG [(#8233)](https://github.com/stdlib-js/stdlib/pull/8233) _(by Udit Agarwal, Athan Reines)_
165166
- [`de7f81a`](https://github.com/stdlib-js/stdlib/commit/de7f81a291cbabdd093f465844316bdff3a363b9) - **chore:** fix JavaScript lint errors [(#8261)](https://github.com/stdlib-js/stdlib/pull/8261) _(by Payal Goswami)_
166167
- [`c08b5f1`](https://github.com/stdlib-js/stdlib/commit/c08b5f1e9ab95ed8f8710a9002b48578959e220a) - **chore:** fix JavaScript lint errors [(#8243)](https://github.com/stdlib-js/stdlib/pull/8243) _(by Mohsin)_
167168
- [`447a1ea`](https://github.com/stdlib-js/stdlib/commit/447a1ea0a03fa642d8193bdefd6bcb2533f99148) - **chore:** fix JavaScript lint errors [(#8222)](https://github.com/stdlib-js/stdlib/pull/8222) _(by youzi-forge)_
@@ -259,7 +260,7 @@ A total of 16 issues were closed in this release:
259260

260261
### Contributors
261262

262-
A total of 17 people contributed to this release. Thank you to the following contributors:
263+
A total of 18 people contributed to this release. Thank you to the following contributors:
263264

264265
- Athan Reines
265266
- Dudhat Hemil Pravinkumar
@@ -275,6 +276,7 @@ A total of 17 people contributed to this release. Thank you to the following con
275276
- Srinivas Batthula
276277
- Tyson Cung
277278
- Uday Kakade
279+
- Udit Agarwal
278280
- Vara Rahul Rajana
279281
- Zuhair Ahmad
280282
- youzi-forge

some-by-right/README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -159,23 +159,16 @@ var mean = context.sum / context.count;
159159
<!-- eslint no-undef: "error" -->
160160

161161
```javascript
162-
var randu = require( '@stdlib/random/base/randu' );
162+
var randu = require( '@stdlib/random/array/randu' );
163163
var someByRight = require( '@stdlib/utils/some-by-right' );
164164

165165
function threshold( value ) {
166166
return ( value > 0.95 );
167167
}
168168

169-
var bool;
170-
var arr;
171-
var i;
169+
var arr = randu( 100 );
172170

173-
arr = new Array( 100 );
174-
for ( i = 0; i < arr.length; i++ ) {
175-
arr[ i ] = randu();
176-
}
177-
178-
bool = someByRight( arr, 5, threshold );
171+
var bool = someByRight( arr, 5, threshold );
179172
// returns <boolean>
180173
```
181174

some-by-right/examples/index.js

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,14 @@
1818

1919
'use strict';
2020

21-
var randu = require( '@stdlib/random/base/randu' );
21+
var randu = require( '@stdlib/random/array/randu' );
2222
var someByRight = require( './../lib' );
2323

2424
function threshold( value ) {
2525
return ( value > 0.95 );
2626
}
2727

28-
var bool;
29-
var arr;
30-
var i;
28+
var arr = randu( 100 );
3129

32-
arr = new Array( 100 );
33-
for ( i = 0; i < arr.length; i++ ) {
34-
arr[ i ] = randu();
35-
}
36-
37-
bool = someByRight( arr, 5, threshold );
30+
var bool = someByRight( arr, 5, threshold );
3831
console.log( bool );

0 commit comments

Comments
 (0)