Skip to content

Commit 5e54c17

Browse files
committed
Auto-generated commit
1 parent 8a660fb commit 5e54c17

File tree

7 files changed

+60
-48
lines changed

7 files changed

+60
-48
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-07-28)
7+
## Unreleased (2025-09-06)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`6bb3c64`](https://github.com/stdlib-js/stdlib/commit/6bb3c64c915bb33715e5256fa8073e46b9a4d443) - **docs:** update examples in TSDoc comments in `utils/async` for doctesting _(by Philipp Burckhardt)_
16+
- [`11581aa`](https://github.com/stdlib-js/stdlib/commit/11581aaca8c3cb824cbb92c0c0f80e76890bdb20) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
17+
- [`07f7c05`](https://github.com/stdlib-js/stdlib/commit/07f7c0522c73e6ad9505e1d45035ae439344200d) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
1518
- [`6e9f42e`](https://github.com/stdlib-js/stdlib/commit/6e9f42e4c912485d9896eaa16c88b70fd3688e97) - **docs:** harmonize list formatting in repl.txt and ensure starting newline _(by Philipp Burckhardt)_
1619

1720
</details>

CONTRIBUTORS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ Abdelrahman Samir <[email protected]>
99
Abdul Kaium <[email protected]>
1010
Abhay Punia <[email protected]>
1111
Abhijit Raut <[email protected]>
12+
Abhishek G <[email protected]>
1213
Abhishek Jain <[email protected]>
1314
Adarsh Palaskar <[email protected]>
1415
Aditya Sapra <[email protected]>
16+
Aditya Singh <[email protected]>
1517
Ahmed Atwa <[email protected]>
1618
Ahmed Kashkoush <[email protected]>
1719
Ahmed Khaled <[email protected]>
@@ -40,6 +42,7 @@ Bruno Fenzl <[email protected]>
4042
Bryan Elee <[email protected]>
4143
Chinmay Joshi <[email protected]>
4244
Christopher Dambamuromo <[email protected]>
45+
DUDHAT HEMIL PRAVINKUMAR <[email protected]>
4346
4447
Daniel Hernandez Gomez <[email protected]>
4548
Daniel Killenberger <[email protected]>
@@ -119,6 +122,8 @@ Momtchil Momtchev <[email protected]>
119122
Muhammad Haris <[email protected]>
120123
Muhammad Taaha Tariq <[email protected]>
121124
Muhmmad Saad <[email protected]>
125+
NEEKUorAAYUSH <[email protected]>
126+
Nakul Krishnakumar <[email protected]>
122127
Naresh Jagadeesan <[email protected]>
123128
Naveen Kumar <[email protected]>
124129
Neeraj Pathak <[email protected]>
@@ -133,6 +138,7 @@ Oneday12323 <[email protected]>
133138
Ori Miles <[email protected]>
134139
Philipp Burckhardt <[email protected]>
135140
Pierre Forstmann <[email protected]>
141+
Pradyumn Prasad <[email protected]>
136142
Prajjwal Bajpai <[email protected]>
137143
Prajwal Kulkarni <[email protected]>
138144
Pranav Goswami <[email protected]>
@@ -161,6 +167,7 @@ Ruthwik Chikoti <[email protected]>
161167
Ryan Seal <[email protected]>
162168
Rylan Yang <[email protected]>
163169
SAHIL KUMAR <[email protected]>
170+
SAUJANYA MAGARDE <[email protected]>
164171
SHIVAM YADAV <[email protected]>
165172
Sachin Raj <[email protected]>
166173
Sahil Goyal <[email protected]>
@@ -183,6 +190,7 @@ Sivam Das <[email protected]>
183190
Snehil Shah <[email protected]>
184191
Soumajit Chatterjee <[email protected]>
185192
Spandan Barve <[email protected]>
193+
Srinivas Batthula <[email protected]>
186194
Stephannie Jiménez Gacha <[email protected]>
187195
Suhaib Ilahi <[email protected]>
188196
Suraj Kumar <[email protected]>
@@ -198,10 +206,12 @@ Utkarsh <http://[email protected]>
198206
Utkarsh Raj <[email protected]>
199207
UtkershBasnet <[email protected]>
200208
Vaibhav Patel <[email protected]>
209+
Vansh Choudhary <[email protected]>
201210
Vara Rahul Rajana <[email protected]>
202211
Varad Gupta <[email protected]>
203212
Vinit Pandit <[email protected]>
204213
Vivek Maurya <[email protected]>
214+
Wendy Yuchen Sun <[email protected]>
205215
Xiaochuan Ye <[email protected]>
206216
Yaswanth Kosuru <[email protected]>
207217
Yernar Yergaziyev <[email protected]>

docs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ interface SomeByAsync {
266266
* };
267267
*
268268
* // Create a `someByAsync` function which invokes the predicate function for each collection element sequentially:
269-
* var someByAsync = factory( opts, predicate );
269+
* var someBy = someByAsync.factory( opts, predicate );
270270
*
271271
* // Create a collection over which to iterate:
272272
* var files = [
@@ -287,7 +287,7 @@ interface SomeByAsync {
287287
* }
288288
*
289289
* // Try to read each element in `files`:
290-
* someByAsync( files, 2, done );
290+
* someBy( files, 2, done );
291291
*/
292292
factory<T = unknown, V = unknown>( options: Options<T, V>, predicate: Predicate<T, V> ): FactoryFunction<T>;
293293

@@ -320,7 +320,7 @@ interface SomeByAsync {
320320
* }
321321
*
322322
* // Create a `someByAsync` function which invokes the predicate function for each collection element sequentially:
323-
* var someByAsync = factory( predicate );
323+
* var someBy = someByAsync.factory( predicate );
324324
*
325325
* // Create a collection over which to iterate:
326326
* var files = [
@@ -341,7 +341,7 @@ interface SomeByAsync {
341341
* }
342342
*
343343
* // Try to read each element in `files`:
344-
* someByAsync( files, 2, done );
344+
* someBy( files, 2, done );
345345
*/
346346
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
347347
}

test/test.factory.js

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,15 @@ tape( 'the function returns a function (no options)', function test( t ) {
163163
function next( value, clbk ) {
164164
clbk( null, false );
165165
}
166-
t.strictEqual( typeof factory( next ), 'function', 'returns a function' );
166+
t.strictEqual( typeof factory( next ), 'function', 'returns expected value' );
167167
t.end();
168168
});
169169

170170
tape( 'the function returns a function (options)', function test( t ) {
171171
function next( value, clbk ) {
172172
clbk( null, false );
173173
}
174-
t.strictEqual( typeof factory( {}, next ), 'function', 'returns a function' );
174+
t.strictEqual( typeof factory( {}, next ), 'function', 'returns expected value' );
175175
t.end();
176176
});
177177

@@ -426,7 +426,7 @@ tape( 'the returned function invokes a predicate function once for each element
426426
} else {
427427
t.pass( 'did not return an error' );
428428
}
429-
t.strictEqual( bool, false, 'returns false' );
429+
t.strictEqual( bool, false, 'returns expected value' );
430430
t.end();
431431
}
432432
});
@@ -463,7 +463,7 @@ tape( 'the returned function invokes a predicate function once for each element
463463
} else {
464464
t.pass( 'did not return an error' );
465465
}
466-
t.strictEqual( bool, false, 'returns false' );
466+
t.strictEqual( bool, false, 'returns expected value' );
467467
t.end();
468468
}
469469
});
@@ -501,7 +501,7 @@ tape( 'the returned function invokes a predicate function once for each element
501501
} else {
502502
t.pass( 'did not return an error' );
503503
}
504-
t.strictEqual( bool, false, 'returns false' );
504+
t.strictEqual( bool, false, 'returns expected value' );
505505
t.end();
506506
}
507507
});
@@ -541,7 +541,7 @@ tape( 'if a predicate function accepts fewer than 2 arguments, the function retu
541541
} else {
542542
t.pass( 'did not return an error' );
543543
}
544-
t.strictEqual( bool, false, 'returns false' );
544+
t.strictEqual( bool, false, 'returns expected value' );
545545
t.end();
546546
}
547547
});
@@ -581,7 +581,7 @@ tape( 'if a predicate function length is 0, the function returns a function whic
581581
} else {
582582
t.pass( 'did not return an error' );
583583
}
584-
t.strictEqual( bool, false, 'returns false' );
584+
t.strictEqual( bool, false, 'returns expected value' );
585585
t.end();
586586
}
587587
});
@@ -616,7 +616,7 @@ tape( 'by default, the returned function processes collection elements concurren
616616
} else {
617617
t.pass( 'did not return an error' );
618618
}
619-
t.strictEqual( bool, false, 'returns false' );
619+
t.strictEqual( bool, false, 'returns expected value' );
620620
t.end();
621621
}
622622
});
@@ -655,7 +655,7 @@ tape( 'the function supports returning a function for processing collection elem
655655
} else {
656656
t.pass( 'did not return an error' );
657657
}
658-
t.strictEqual( bool, false, 'returns false' );
658+
t.strictEqual( bool, false, 'returns expected value' );
659659
t.end();
660660
}
661661
});
@@ -695,7 +695,7 @@ tape( 'the function supports returning a function for processing collection elem
695695
} else {
696696
t.pass( 'did not return an error' );
697697
}
698-
t.strictEqual( bool, false, 'returns false' );
698+
t.strictEqual( bool, false, 'returns expected value' );
699699
t.end();
700700
}
701701
});
@@ -735,7 +735,7 @@ tape( 'the function supports returning a function which limits the maximum numbe
735735
} else {
736736
t.pass( 'did not return an error' );
737737
}
738-
t.strictEqual( bool, false, 'returns false' );
738+
t.strictEqual( bool, false, 'returns expected value' );
739739
t.end();
740740
}
741741
});
@@ -774,7 +774,7 @@ tape( 'the function supports specifying an execution context for the predicate f
774774
} else {
775775
t.pass( 'did not return an error' );
776776
}
777-
t.strictEqual( bool, false, 'returns false' );
777+
t.strictEqual( bool, false, 'returns expected value' );
778778
t.end();
779779
}
780780
});
@@ -811,7 +811,7 @@ tape( 'if an error is encountered while processing a collection element, the ret
811811
} else {
812812
t.fail( 'did not return an error' );
813813
}
814-
t.strictEqual( bool, false, 'returns false' );
814+
t.strictEqual( bool, false, 'returns expected value' );
815815
t.end();
816816
}
817817
});
@@ -851,7 +851,7 @@ tape( 'if an error is encountered while processing a collection element, the ret
851851
} else {
852852
t.fail( 'did not return an error' );
853853
}
854-
t.strictEqual( bool, false, 'returns false' );
854+
t.strictEqual( bool, false, 'returns expected value' );
855855
t.end();
856856
}
857857
});
@@ -886,7 +886,7 @@ tape( 'if an error is encountered while processing a collection element, the ret
886886
} else {
887887
t.fail( 'did not return an error' );
888888
}
889-
t.strictEqual( bool, false, 'returns false' );
889+
t.strictEqual( bool, false, 'returns expected value' );
890890
t.end();
891891
}
892892
});
@@ -918,7 +918,7 @@ tape( 'if an error is encountered while processing a collection element, the ret
918918
} else {
919919
t.fail( 'did not return an error' );
920920
}
921-
t.strictEqual( bool, false, 'returns false' );
921+
t.strictEqual( bool, false, 'returns expected value' );
922922
t.end();
923923
}
924924
});
@@ -955,7 +955,7 @@ tape( 'if a predicate function returns `n` truthy results, the returned function
955955
} else {
956956
t.pass( 'did not return an error' );
957957
}
958-
t.strictEqual( bool, true, 'returns true' );
958+
t.strictEqual( bool, true, 'returns expected value' );
959959
t.end();
960960
}
961961
});
@@ -995,7 +995,7 @@ tape( 'if a predicate function returns `n` truthy results, the returned function
995995
} else {
996996
t.pass( 'did not return an error' );
997997
}
998-
t.strictEqual( bool, true, 'returns true' );
998+
t.strictEqual( bool, true, 'returns expected value' );
999999
t.end();
10001000
}
10011001
});
@@ -1030,7 +1030,7 @@ tape( 'if a predicate function returns `n` truthy results, the returned function
10301030
} else {
10311031
t.pass( 'did not return an error' );
10321032
}
1033-
t.strictEqual( bool, true, 'returns true' );
1033+
t.strictEqual( bool, true, 'returns expected value' );
10341034
t.end();
10351035
}
10361036
});
@@ -1054,7 +1054,7 @@ tape( 'if provided an empty collection, the returned function never invokes a pr
10541054
} else {
10551055
t.pass( 'did not return an error' );
10561056
}
1057-
t.strictEqual( bool, false, 'returns false' );
1057+
t.strictEqual( bool, false, 'returns expected value' );
10581058
t.end();
10591059
}
10601060
});
@@ -1082,7 +1082,7 @@ tape( 'the returned function does not guarantee asynchronous execution', functio
10821082
} else {
10831083
t.pass( 'did not return an error' );
10841084
}
1085-
t.strictEqual( bool, false, 'returns false' );
1085+
t.strictEqual( bool, false, 'returns expected value' );
10861086
t.strictEqual( i, 0, 'releases the zalgo' );
10871087
t.end();
10881088
}

0 commit comments

Comments
 (0)