Skip to content

Commit f3ff1b4

Browse files
committed
Auto-generated commit
1 parent 3a5b97f commit f3ff1b4

File tree

5 files changed

+65
-10
lines changed

5 files changed

+65
-10
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2024-09-22)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`b723a6e`](https://github.com/stdlib-js/stdlib/commit/b723a6eaec97adad2da4ffbecb532a3d1ae1e0ba) - **docs:** fix errors in comments and clean-up _(by Philipp Burckhardt)_
16+
17+
</details>
18+
19+
</section>
20+
21+
<!-- /.commits -->
22+
23+
<section class="contributors">
24+
25+
### Contributors
26+
27+
A total of 1 person contributed to this release. Thank you to this contributor:
28+
29+
- Philipp Burckhardt
30+
31+
</section>
32+
33+
<!-- /.contributors -->
34+
35+
</section>
36+
37+
<!-- /.release -->
38+
539
<section class="release" id="v0.0.2">
640

741
## 0.0.2 (2024-07-29)

CONTRIBUTORS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33
# Contributors listed in alphabetical order.
44

5+
Aayush Khanna <96649223+aayush0325@users.noreply.github.com>
56
Adarsh Palaskar <adarshpalaskar99@gmail.com>
67
Aditya Sapra <adityaework@gmail.com>
78
AgPriyanshu18 <113460573+AgPriyanshu18@users.noreply.github.com>
@@ -26,17 +27,20 @@ EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
2627
Frank Kovacs <fran70kk@gmail.com>
2728
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
2829
Gunj Joshi <gunjjoshi8372@gmail.com>
30+
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
2931
Harshita Kalani <harshitakalani02@gmail.com>
3032
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
3133
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
3234
James Gelok <jdgelok@gmail.com>
3335
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
36+
Jenish Thapa <141203631+jenish-thapa@users.noreply.github.com>
3437
Jithin KS <jithinks112@gmail.com>
3538
Joel Mathew Koshy <joelmathewkoshy@gmail.com>
3639
Joey Reed <joeyrreed@gmail.com>
3740
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
3841
Joris Labie <joris.labie1@gmail.com>
3942
Justin Dennison <justin1dennison@gmail.com>
43+
Kaif Mohd <mdkaifprofession@gmail.com>
4044
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
4145
Khaldon <kahmd1444@gmail.com>
4246
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
@@ -46,6 +50,7 @@ Marcus Fantham <mfantham@users.noreply.github.com>
4650
Matt Cochrane <matthew.cochrane.eng@gmail.com>
4751
Mihir Pandit <129577900+MSP20086@users.noreply.github.com>
4852
Milan Raj <rajsite@users.noreply.github.com>
53+
Mohammad Kaif <98884589+Kaif987@users.noreply.github.com>
4954
Momtchil Momtchev <momtchil@momtchev.com>
5055
Muhammad Haris <harriskhan047@outlook.com>
5156
Naresh Jagadeesan <naresh.naresh000@gmail.com>
@@ -70,6 +75,7 @@ Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
7075
Rutam <138517416+performant23@users.noreply.github.com>
7176
Ryan Seal <splrk@users.noreply.github.com>
7277
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
78+
SarthakPaandey <145528240+SarthakPaandey@users.noreply.github.com>
7379
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
7480
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
7581
Shivam <11shivam00@gmail.com>
@@ -84,8 +90,10 @@ Stephannie Jiménez Gacha <steff456@hotmail.com>
8490
Suraj kumar <125961509+kumarsuraj212003@users.noreply.github.com>
8591
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
8692
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
93+
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
8794
Utkarsh <http://utkarsh11105@gmail.com>
8895
Utkarsh Raj <rajutkarsh2505@gmail.com>
96+
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
8997
Varad Gupta <varadgupta21@gmail.com>
9098
Xiaochuan Ye <tap91624@gmail.com>
9199
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
@@ -94,3 +102,4 @@ nishant-s7 <97207366+nishant-s7@users.noreply.github.com>
94102
orimiles5 <97595296+orimiles5@users.noreply.github.com>
95103
rainn <88160429+AmCodesLame@users.noreply.github.com>
96104
rei2hu <reimu@reimu.ws>
105+
yaswanth <116426380+yaswanthkosuru@users.noreply.github.com>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
237237
[npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-mskreject-map.svg
238238
[npm-url]: https://npmjs.org/package/@stdlib/array-base-mskreject-map
239239

240-
[test-image]: https://github.com/stdlib-js/array-base-mskreject-map/actions/workflows/test.yml/badge.svg?branch=v0.0.2
241-
[test-url]: https://github.com/stdlib-js/array-base-mskreject-map/actions/workflows/test.yml?query=branch:v0.0.2
240+
[test-image]: https://github.com/stdlib-js/array-base-mskreject-map/actions/workflows/test.yml/badge.svg?branch=main
241+
[test-url]: https://github.com/stdlib-js/array-base-mskreject-map/actions/workflows/test.yml?query=branch:main
242242

243243
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-mskreject-map/main.svg
244244
[coverage-url]: https://codecov.io/github/stdlib-js/array-base-mskreject-map?branch=main

docs/types/test.ts

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,28 @@
1616
* limitations under the License.
1717
*/
1818

19-
import mskrejectMap from './index';
19+
import mskrejectMap = require( './index' );
20+
21+
22+
// FUNCTIONS //
23+
24+
function timesTwo( val: number ): number {
25+
return val * 2;
26+
}
27+
28+
function identity( val: string ): string {
29+
return val;
30+
}
31+
2032

2133
// TESTS //
2234

2335
// The function returns an array...
2436
{
25-
mskrejectMap( [ 1, 2, 3, 4 ], [ 0, 0, 0, 0 ], function( val ) { return val * 2 } ); // $ExpectType number[]
26-
mskrejectMap<any>( [ 1, 2, 3, 4 ], [ 0, 0, 0, 0 ], function( val ) { return val * 2 } ); // $ExpectType any[]
27-
mskrejectMap<number>( [ 1, 2, 3, 4 ], [ 0, 0, 0, 0 ], function( val ) { return val * 2 } ); // $ExpectType number[]
28-
mskrejectMap<string>( [ '1', '2', '3', '4' ], [ 0, 0, 0, 0 ], function( val ) { return val } ); // $ExpectType string[]
37+
mskrejectMap( [ 1, 2, 3, 4 ], [ 0, 0, 0, 0 ], timesTwo ); // $ExpectType number[]
38+
mskrejectMap<any>( [ 1, 2, 3, 4 ], [ 0, 0, 0, 0 ], timesTwo ); // $ExpectType any[]
39+
mskrejectMap<number>( [ 1, 2, 3, 4 ], [ 0, 0, 0, 0 ], timesTwo ); // $ExpectType number[]
40+
mskrejectMap<string>( [ '1', '2', '3', '4' ], [ 0, 0, 0, 0 ], identity ); // $ExpectType string[]
2941
}
3042

3143
// The compiler throws an error if the function is provided a first argument which is not an array-like object...

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
"@stdlib/array-base-assert-is-complex-floating-point-data-type": "^0.2.1",
4242
"@stdlib/array-base-resolve-getter": "^0.2.2",
4343
"@stdlib/strided-base-reinterpret-complex": "^0.1.2",
44-
"@stdlib/types": "^0.3.2",
44+
"@stdlib/types": "^0.4.1",
4545
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2"
4646
},
4747
"devDependencies": {
48-
"@stdlib/array-base-to-accessor-array": "^0.2.1",
48+
"@stdlib/array-base-to-accessor-array": "^0.2.2",
4949
"@stdlib/array-base-zero-to": "^0.2.1",
5050
"@stdlib/array-base-zeros": "^0.2.2",
5151
"@stdlib/array-complex64": "^0.3.0",
@@ -55,7 +55,7 @@
5555
"@stdlib/assert-is-array": "^0.2.2",
5656
"@stdlib/assert-is-method": "^0.2.2",
5757
"@stdlib/assert-is-nan": "^0.2.2",
58-
"@stdlib/assert-is-same-complex64array": "^0.2.1",
58+
"@stdlib/assert-is-same-complex64array": "^0.2.2",
5959
"@stdlib/math-base-special-pow": "^0.3.0",
6060
"@stdlib/random-array-bernoulli": "^0.2.1",
6161
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",

0 commit comments

Comments
 (0)