Skip to content

Commit 6446671

Browse files
committed
Auto-generated commit
1 parent 75a4726 commit 6446671

File tree

3 files changed

+56
-4
lines changed

3 files changed

+56
-4
lines changed

CHANGELOG.md

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,71 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-09-29)
7+
## Unreleased (2024-10-19)
88

99
<section class="packages">
1010

1111
### Packages
1212

13+
<section class="package" id="random-shuffle-unreleased">
14+
15+
#### [@stdlib/random/shuffle](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/random/shuffle)
16+
17+
<details>
18+
19+
<section class="bug-fixes">
20+
21+
##### Bug Fixes
22+
23+
- [`93560b9`](https://github.com/stdlib-js/stdlib/commit/93560b988c750b47e68cf5a789cc5e9d74b8e2d8) - ensure correct seed validation [(#3007)](https://github.com/stdlib-js/stdlib/pull/3007)
24+
25+
</section>
26+
27+
<!-- /.bug-fixes -->
28+
29+
<section class="issues">
30+
31+
##### Closed Issues
32+
33+
This release closes the following issue:
34+
35+
[#2952](https://github.com/stdlib-js/stdlib/issues/2952)
36+
37+
</section>
38+
39+
<!-- /.issues -->
40+
41+
</details>
42+
43+
</section>
44+
45+
<!-- /.package -->
46+
1347
</section>
1448

1549
<!-- /.packages -->
1650

51+
<section class="issues">
52+
53+
### Closed Issues
54+
55+
This release closes the following issue:
56+
57+
[#2952](https://github.com/stdlib-js/stdlib/issues/2952)
58+
59+
</section>
60+
61+
<!-- /.issues -->
62+
1763
<section class="contributors">
1864

1965
### Contributors
2066

21-
A total of 3 people contributed to this release. Thank you to the following contributors:
67+
A total of 4 people contributed to this release. Thank you to the following contributors:
2268

2369
- Jenish Thapa
2470
- Philipp Burckhardt
71+
- RISHAV
2572
- Tirtadwipa Manunggal
2673

2774
</section>
@@ -34,6 +81,7 @@ A total of 3 people contributed to this release. Thank you to the following cont
3481

3582
<details>
3683

84+
- [`93560b9`](https://github.com/stdlib-js/stdlib/commit/93560b988c750b47e68cf5a789cc5e9d74b8e2d8) - **fix:** ensure correct seed validation [(#3007)](https://github.com/stdlib-js/stdlib/pull/3007) _(by RISHAV)_
3785
- [`2c4e5d8`](https://github.com/stdlib-js/stdlib/commit/2c4e5d824e0c5dc8fd536bf79ff565cee100ce46) - **build:** disable additional lint rule in TS tests _(by Philipp Burckhardt)_
3886
- [`aad48ea`](https://github.com/stdlib-js/stdlib/commit/aad48eab1f19217854f4ffbfaed2a8be664b0f47) - **chore:** resolve lint errors _(by Philipp Burckhardt)_
3987
- [`62bb1e0`](https://github.com/stdlib-js/stdlib/commit/62bb1e0759f54abf61b84bb48ebf74a97128f779) - **docs:** improve examples of `random/array` namespace _(by Tirtadwipa Manunggal, Philipp Burckhardt)_

CONTRIBUTORS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Contributors listed in alphabetical order.
44

5-
Aayush Khanna <[email protected].com>
5+
Aayush Khanna <aayushiitbhu23@gmail.com>
66
Adarsh Palaskar <[email protected]>
77
Aditya Sapra <[email protected]>
88
AgPriyanshu18 <[email protected]>
@@ -28,6 +28,7 @@ EuniceSim142 <[email protected]>
2828
Frank Kovacs <[email protected]>
2929
Golden Kumar <[email protected]>
3030
Gunj Joshi <[email protected]>
31+
Gururaj Gurram <[email protected]>
3132
3233
Harshita Kalani <[email protected]>
3334
Hridyanshu <[email protected]>
@@ -44,6 +45,7 @@ Justin Dennison <[email protected]>
4445
Kaif Mohd <[email protected]>
4546
Karthik Prakash <[email protected]>
4647
48+
Kohantika Nath <[email protected]>
4749
Krishnendu Das <[email protected]>
4850
4951
Manik Sharma <[email protected]>
@@ -94,6 +96,7 @@ Tudor Pagu <[email protected]>
9496
Tufailahmed Bargir <[email protected]>
9597
Utkarsh <http://[email protected]>
9698
Utkarsh Raj <[email protected]>
99+
UtkershBasnet <[email protected]>
97100
Vaibhav Patel <[email protected]>
98101
Varad Gupta <[email protected]>
99102
Xiaochuan Ye <[email protected]>

shuffle/lib/factory.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var deepCopy = require( '@stdlib/utils/copy' );
2828
var floor = require( '@stdlib/math/base/special/floor' );
2929
var randu = require( './../../base/mt19937' ).factory;
3030
var format = require( '@stdlib/string/format' );
31+
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
3132
var defaults = require( './defaults.json' );
3233
var validate = require( './validate.js' );
3334

@@ -63,7 +64,7 @@ function factory( config ) {
6364
throw err;
6465
}
6566
}
66-
if ( config && config.seed ) {
67+
if ( config && hasOwnProp( config, 'seed' ) ) {
6768
rand = randu({
6869
'seed': config.seed
6970
});

0 commit comments

Comments
 (0)