Skip to content

Commit 72a868a

Browse files
committed
Auto-generated commit
1 parent b70fc1e commit 72a868a

File tree

6 files changed

+86
-38
lines changed

6 files changed

+86
-38
lines changed

.github/.keepalive

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-08-11T00:38:52.611Z
1+
2025-09-15T00:31:00.838Z

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,12 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191-
192-
# Cursor #
193-
##########
191+
.cursor
194192
.cursorignore
193+
.windsurfrules
194+
.clinerules
195+
196+
# AI coding agents #
197+
####################
198+
CLAUDE.md
199+
GEMINI.md

CHANGELOG.md

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

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2025-09-15)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`07f7c05`](https://github.com/stdlib-js/stdlib/commit/07f7c0522c73e6ad9505e1d45035ae439344200d) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
16+
- [`c894b66`](https://github.com/stdlib-js/stdlib/commit/c894b664661bfb87286304b24dd5a1758ae482b7) - **test:** use .strictEqual() instead of .equal() and fix lint errors _(by Philipp Burckhardt)_
17+
18+
</details>
19+
20+
</section>
21+
22+
<!-- /.commits -->
23+
24+
<section class="contributors">
25+
26+
### Contributors
27+
28+
A total of 1 person contributed to this release. Thank you to this contributor:
29+
30+
- Philipp Burckhardt
31+
32+
</section>
33+
34+
<!-- /.contributors -->
35+
36+
</section>
37+
38+
<!-- /.release -->
39+
540
<section class="release" id="v0.2.2">
641

742
## 0.2.2 (2024-07-27)

CONTRIBUTORS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Abhishek G <166795493+AbhishekG-Codes@users.noreply.github.com>
1313
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
1414
Adarsh Palaskar <adarshpalaskar99@gmail.com>
1515
Aditya Sapra <adityaework@gmail.com>
16+
Aditya Singh <adityasinghk099@gmail.com>
1617
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1718
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1819
Ahmed Khaled <kahmd1444@gmail.com>
@@ -41,6 +42,7 @@ Bruno Fenzl <brunofenzl@gmail.com>
4142
Bryan Elee <rxbryn@gmail.com>
4243
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
4344
Christopher Dambamuromo <chridam@gmail.com>
45+
DUDHAT HEMIL PRAVINKUMAR <138382078+Hemil36@users.noreply.github.com>
4446
Dan Rose <danoftheroses@gmail.com>
4547
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
4648
Daniel Killenberger <daniel.killenberger@gmail.com>
@@ -64,6 +66,7 @@ Frank Kovacs <fran70kk@gmail.com>
6466
GK Bishnoi <gkishan1kyt@gmail.com>
6567
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
6668
Gaurav <gaurav70380@gmail.com>
69+
Gaurav Kaushik <144526331+Gauravkaushik-1206@users.noreply.github.com>
6770
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
6871
Gautam sharma <gautamkrishnasharma1@gmail.com>
6972
GeoDaoyu <geodaoyu@foxmail.com>
@@ -121,6 +124,7 @@ Muhammad Haris <harriskhan047@outlook.com>
121124
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
122125
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
123126
NEEKUorAAYUSH <aayush10072004@gmail.com>
127+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
124128
Naresh Jagadeesan <naresh.naresh000@gmail.com>
125129
Naveen Kumar <stupiddint@gmail.com>
126130
Neeraj Pathak <neerajrpathak710@gmail.com>
@@ -164,6 +168,7 @@ Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
164168
Ryan Seal <splrk@users.noreply.github.com>
165169
Rylan Yang <137365285+rylany27@users.noreply.github.com>
166170
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
171+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
167172
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
168173
Sachin Raj <120590207+schnrj@users.noreply.github.com>
169174
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
@@ -176,6 +181,7 @@ Saurabh Singh <saurabhsraghuvanshi@gmail.com>
176181
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
177182
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
178183
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
184+
Shaswata Panda <106397517+shaswata-26@users.noreply.github.com>
179185
Shivam Ahir <11shivam00@gmail.com>
180186
Shivansh <114570926+shiv343@users.noreply.github.com>
181187
Shraddheya Shendre <shendreshraddheya@gmail.com>
@@ -186,6 +192,7 @@ Sivam Das <100067002+Sivam2313@users.noreply.github.com>
186192
Snehil Shah <snehilshah.989@gmail.com>
187193
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
188194
Spandan Barve <contact@marsian.dev>
195+
Srinivas Batthula <srinivasbatthula05.official@gmail.com>
189196
Stephannie Jiménez Gacha <steff456@hotmail.com>
190197
Suhaib Ilahi <suhaib.elahi87@gmail.com>
191198
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
@@ -195,6 +202,7 @@ Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
195202
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
196203
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
197204
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
205+
Tyson Cung <45380903+tysoncung@users.noreply.github.com>
198206
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
199207
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
200208
Utkarsh <http://utkarsh11105@gmail.com>

test/test.js

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ tape( 'the function returns an iterator protocol-compliant object which generate
181181
];
182182

183183
it = iterPulse();
184-
t.equal( it.next.length, 0, 'has zero arity' );
184+
t.strictEqual( it.next.length, 0, 'has zero arity' );
185185

186186
actual = [];
187187
for ( i = 0; i < expected.length; i++ ) {
@@ -253,7 +253,7 @@ tape( 'the function supports specifying the pulse period', function test( t ) {
253253
'period': 4
254254
};
255255
it = iterPulse( opts );
256-
t.equal( it.next.length, 0, 'has zero arity' );
256+
t.strictEqual( it.next.length, 0, 'has zero arity' );
257257

258258
actual = [];
259259
for ( i = 0; i < expected.length; i++ ) {
@@ -326,7 +326,7 @@ tape( 'the function supports specifying the pulse duration', function test( t )
326326
'duration': 2
327327
};
328328
it = iterPulse( opts );
329-
t.equal( it.next.length, 0, 'has zero arity' );
329+
t.strictEqual( it.next.length, 0, 'has zero arity' );
330330

331331
actual = [];
332332
for ( i = 0; i < expected.length; i++ ) {
@@ -401,7 +401,7 @@ tape( 'the function supports specifying the minimum and maximum amplitude', func
401401
'max': 10.0
402402
};
403403
it = iterPulse( opts );
404-
t.equal( it.next.length, 0, 'has zero arity' );
404+
t.strictEqual( it.next.length, 0, 'has zero arity' );
405405

406406
actual = [];
407407
for ( i = 0; i < expected.length; i++ ) {
@@ -475,7 +475,7 @@ tape( 'the function supports specifying the phase offset (left shift)', function
475475
'offset': -3
476476
};
477477
it = iterPulse( opts );
478-
t.equal( it.next.length, 0, 'has zero arity' );
478+
t.strictEqual( it.next.length, 0, 'has zero arity' );
479479

480480
actual = [];
481481
for ( i = 0; i < expected.length; i++ ) {
@@ -549,7 +549,7 @@ tape( 'the function supports specifying the phase offset (left shift; mod)', fun
549549
'offset': -13
550550
};
551551
it = iterPulse( opts );
552-
t.equal( it.next.length, 0, 'has zero arity' );
552+
t.strictEqual( it.next.length, 0, 'has zero arity' );
553553

554554
actual = [];
555555
for ( i = 0; i < expected.length; i++ ) {
@@ -623,7 +623,7 @@ tape( 'the function supports specifying the phase offset (right shift)', functio
623623
'offset': 3
624624
};
625625
it = iterPulse( opts );
626-
t.equal( it.next.length, 0, 'has zero arity' );
626+
t.strictEqual( it.next.length, 0, 'has zero arity' );
627627

628628
actual = [];
629629
for ( i = 0; i < expected.length; i++ ) {
@@ -697,7 +697,7 @@ tape( 'the function supports specifying the phase offset (right shift; mod)', fu
697697
'offset': 23
698698
};
699699
it = iterPulse( opts );
700-
t.equal( it.next.length, 0, 'has zero arity' );
700+
t.strictEqual( it.next.length, 0, 'has zero arity' );
701701

702702
actual = [];
703703
for ( i = 0; i < expected.length; i++ ) {
@@ -741,7 +741,7 @@ tape( 'the function supports limiting the number of iterations', function test(
741741
'iter': 4
742742
};
743743
it = iterPulse( opts );
744-
t.equal( it.next.length, 0, 'has zero arity' );
744+
t.strictEqual( it.next.length, 0, 'has zero arity' );
745745

746746
actual = [];
747747
for ( i = 0; i < opts.iter; i++ ) {
@@ -760,20 +760,20 @@ tape( 'the returned iterator has a `return` method for closing an iterator (no a
760760
it = iterPulse();
761761

762762
r = it.next();
763-
t.equal( typeof r.value, 'number', 'returns a number' );
764-
t.equal( r.done, false, 'returns expected value' );
763+
t.strictEqual( typeof r.value, 'number', 'returns expected value' );
764+
t.strictEqual( r.done, false, 'returns expected value' );
765765

766766
r = it.next();
767-
t.equal( typeof r.value, 'number', 'returns a number' );
768-
t.equal( r.done, false, 'returns expected value' );
767+
t.strictEqual( typeof r.value, 'number', 'returns expected value' );
768+
t.strictEqual( r.done, false, 'returns expected value' );
769769

770770
r = it.return();
771-
t.equal( r.value, void 0, 'returns expected value' );
772-
t.equal( r.done, true, 'returns expected value' );
771+
t.strictEqual( r.value, void 0, 'returns expected value' );
772+
t.strictEqual( r.done, true, 'returns expected value' );
773773

774774
r = it.next();
775-
t.equal( r.value, void 0, 'returns expected value' );
776-
t.equal( r.done, true, 'returns expected value' );
775+
t.strictEqual( r.value, void 0, 'returns expected value' );
776+
t.strictEqual( r.done, true, 'returns expected value' );
777777

778778
t.end();
779779
});
@@ -785,20 +785,20 @@ tape( 'the returned iterator has a `return` method for closing an iterator (argu
785785
it = iterPulse();
786786

787787
r = it.next();
788-
t.equal( typeof r.value, 'number', 'returns a number' );
789-
t.equal( r.done, false, 'returns expected value' );
788+
t.strictEqual( typeof r.value, 'number', 'returns expected value' );
789+
t.strictEqual( r.done, false, 'returns expected value' );
790790

791791
r = it.next();
792-
t.equal( typeof r.value, 'number', 'returns a number' );
793-
t.equal( r.done, false, 'returns expected value' );
792+
t.strictEqual( typeof r.value, 'number', 'returns expected value' );
793+
t.strictEqual( r.done, false, 'returns expected value' );
794794

795795
r = it.return( 'finished' );
796-
t.equal( r.value, 'finished', 'returns expected value' );
797-
t.equal( r.done, true, 'returns expected value' );
796+
t.strictEqual( r.value, 'finished', 'returns expected value' );
797+
t.strictEqual( r.done, true, 'returns expected value' );
798798

799799
r = it.next();
800-
t.equal( r.value, void 0, 'returns expected value' );
801-
t.equal( r.done, true, 'returns expected value' );
800+
t.strictEqual( r.value, void 0, 'returns expected value' );
801+
t.strictEqual( r.done, true, 'returns expected value' );
802802

803803
t.end();
804804
});
@@ -814,16 +814,16 @@ tape( 'if an environment supports `Symbol.iterator`, the returned iterator is it
814814
});
815815

816816
it1 = iterPulse();
817-
t.equal( typeof it1[ '__ITERATOR_SYMBOL__' ], 'function', 'has method' );
818-
t.equal( it1[ '__ITERATOR_SYMBOL__' ].length, 0, 'has zero arity' );
817+
t.strictEqual( typeof it1[ '__ITERATOR_SYMBOL__' ], 'function', 'has method' );
818+
t.strictEqual( it1[ '__ITERATOR_SYMBOL__' ].length, 0, 'has zero arity' );
819819

820820
it2 = it1[ '__ITERATOR_SYMBOL__' ]();
821-
t.equal( typeof it2, 'object', 'returns an object' );
822-
t.equal( typeof it2.next, 'function', 'has method' );
823-
t.equal( typeof it2.return, 'function', 'has method' );
821+
t.strictEqual( typeof it2, 'object', 'returns expected value' );
822+
t.strictEqual( typeof it2.next, 'function', 'has method' );
823+
t.strictEqual( typeof it2.return, 'function', 'has method' );
824824

825825
for ( i = 0; i < 10; i++ ) {
826-
t.equal( it2.next().value, it1.next().value, 'returns expected value' );
826+
t.strictEqual( it2.next().value, it1.next().value, 'returns expected value' );
827827
}
828828
t.end();
829829
});
@@ -837,7 +837,7 @@ tape( 'if an environment does not support `Symbol.iterator`, the returned iterat
837837
});
838838

839839
it = iterPulse();
840-
t.equal( it[ iteratorSymbol ], void 0, 'does not have property' );
840+
t.strictEqual( it[ iteratorSymbol ], void 0, 'does not have property' );
841841

842842
t.end();
843843
});

test/test.validate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ tape( 'the function returns `null` if all options are valid', function test( t )
249249
};
250250

251251
err = validate( opts, options );
252-
t.strictEqual( err, null, 'returns null' );
252+
t.strictEqual( err, null, 'returns expected value' );
253253
t.deepEqual( opts, options, 'sets options' );
254254

255255
t.end();
@@ -267,7 +267,7 @@ tape( 'the function will ignore unrecognized options', function test( t ) {
267267
};
268268

269269
err = validate( opts, options );
270-
t.strictEqual( err, null, 'returns null' );
270+
t.strictEqual( err, null, 'returns expected value' );
271271
t.deepEqual( opts, {}, 'ignores unrecognized options' );
272272

273273
t.end();

0 commit comments

Comments
 (0)