Skip to content

Commit 8d6311c

Browse files
committed
Auto-generated commit
1 parent bd57266 commit 8d6311c

7 files changed

Lines changed: 143 additions & 85 deletions

File tree

.github/.keepalive

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-05-19T01:52:05.661Z
1+
2025-09-15T00:54:48.390Z

.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: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-05-19)
7+
## Unreleased (2025-09-15)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`11581aa`](https://github.com/stdlib-js/stdlib/commit/11581aaca8c3cb824cbb92c0c0f80e76890bdb20) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
16+
- [`f9651e6`](https://github.com/stdlib-js/stdlib/commit/f9651e6411b4ebd3c95dcc6b46c02e6d5be009fa) - **test:** use .strictEqual() instead of .equal() and fix lint errors _(by Philipp Burckhardt)_
1517
- [`7d6450c`](https://github.com/stdlib-js/stdlib/commit/7d6450c671dd91fffbec536a216a76f9e094dad0) - **docs:** update related packages sections [(#4186)](https://github.com/stdlib-js/stdlib/pull/4186) _(by stdlib-bot)_
1618

1719
</details>
@@ -20,6 +22,18 @@
2022

2123
<!-- /.commits -->
2224

25+
<section class="contributors">
26+
27+
### Contributors
28+
29+
A total of 1 person contributed to this release. Thank you to this contributor:
30+
31+
- Philipp Burckhardt
32+
33+
</section>
34+
35+
<!-- /.contributors -->
36+
2337
</section>
2438

2539
<!-- /.release -->

CONTRIBUTORS

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
99
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
1010
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
1111
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek G <166795493+AbhishekG-Codes@users.noreply.github.com>
1213
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
1314
Adarsh Palaskar <adarshpalaskar99@gmail.com>
1415
Aditya Sapra <adityaework@gmail.com>
16+
Aditya Singh <adityasinghk099@gmail.com>
1517
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1618
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1719
Ahmed Khaled <kahmd1444@gmail.com>
@@ -21,23 +23,34 @@ Ali Salesi <ali_sal1381@yahoo.com>
2123
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
2224
Aman Bhansali <bhansali.1@iitj.ac.in>
2325
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
26+
Amisha Chhajed <136238836+amishhaa@users.noreply.github.com>
2427
Amit Jimiwal <amitjimiwal45@gmail.com>
28+
Anmol Sah <113588714+anmolsah@users.noreply.github.com>
29+
Annamalai Prabu <apfossdev@gmail.com>
2530
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2631
Anshu Kumar <contact.anshukumar@protonmail.com>
2732
Anudeep Sanapala <anudeep0306@gmail.com>
33+
Arihant Pal <arihant0pal@gmail.com>
34+
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
35+
AryanJ18 <18aryanj2006@gmail.com>
2836
Athan Reines <kgryte@gmail.com>
37+
Atharva Patil <124063987+atharva-patil-23@users.noreply.github.com>
2938
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
3039
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
3140
Brendan Graetz <bguiz@users.noreply.github.com>
3241
Bruno Fenzl <brunofenzl@gmail.com>
3342
Bryan Elee <rxbryn@gmail.com>
3443
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
3544
Christopher Dambamuromo <chridam@gmail.com>
45+
DUDHAT HEMIL PRAVINKUMAR <138382078+Hemil36@users.noreply.github.com>
3646
Dan Rose <danoftheroses@gmail.com>
47+
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
3748
Daniel Killenberger <daniel.killenberger@gmail.com>
3849
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
3950
Debashis Maharana <debashismaharana7854@gmail.com>
4051
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
52+
Deepak Singh <78257493+Deepak91168@users.noreply.github.com>
53+
Deepak Singh <negid0253@gmail.com>
4154
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
4255
Dev Goel <135586571+corsairier@users.noreply.github.com>
4356
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
@@ -53,11 +66,15 @@ Frank Kovacs <fran70kk@gmail.com>
5366
GK Bishnoi <gkishan1kyt@gmail.com>
5467
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5568
Gaurav <gaurav70380@gmail.com>
69+
Gaurav Kaushik <144526331+Gauravkaushik-1206@users.noreply.github.com>
70+
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
5671
Gautam sharma <gautamkrishnasharma1@gmail.com>
72+
GeoDaoyu <geodaoyu@foxmail.com>
5773
Girish Garg <garggirish2020@gmail.com>
5874
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
5975
Gunj Joshi <gunjjoshi8372@gmail.com>
6076
Gururaj Gurram <gururajgurram1512@gmail.com>
77+
Harishchandra Reddy <harish.7000@gmail.com>
6178
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
6279
Harsh <harshyadav6078@gmail.com>
6380
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
@@ -80,6 +97,7 @@ Joris Labie <joris.labie1@gmail.com>
8097
Justin Dennison <justin1dennison@gmail.com>
8198
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
8299
Karan Anand <anandkarancompsci@gmail.com>
100+
Karan Vasudevamurthy <karanlvm123@gmail.com>
83101
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
84102
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
85103
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
@@ -89,6 +107,7 @@ Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
89107
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
90108
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
91109
Lalit Narayan Yadav <162928571+LalitNarayanYadav@users.noreply.github.com>
110+
Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
92111
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
93112
MANI <77221000+Eternity0207@users.noreply.github.com>
94113
Mahfuza Humayra Mohona <mhmohona@gmail.com>
@@ -104,6 +123,8 @@ Momtchil Momtchev <momtchil@momtchev.com>
104123
Muhammad Haris <harriskhan047@outlook.com>
105124
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
106125
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
126+
NEEKUorAAYUSH <aayush10072004@gmail.com>
127+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
107128
Naresh Jagadeesan <naresh.naresh000@gmail.com>
108129
Naveen Kumar <stupiddint@gmail.com>
109130
Neeraj Pathak <neerajrpathak710@gmail.com>
@@ -117,6 +138,8 @@ Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
117138
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
118139
Ori Miles <97595296+orimiles5@users.noreply.github.com>
119140
Philipp Burckhardt <pburckhardt@outlook.com>
141+
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
142+
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
120143
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
121144
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
122145
Pranav Goswami <pranavchiku11@gmail.com>
@@ -145,49 +168,65 @@ Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
145168
Ryan Seal <splrk@users.noreply.github.com>
146169
Rylan Yang <137365285+rylany27@users.noreply.github.com>
147170
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
171+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
148172
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
173+
Sachin Raj <120590207+schnrj@users.noreply.github.com>
149174
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
150175
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
151176
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
152177
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
153178
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
179+
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
154180
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
155181
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
156182
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
157183
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
184+
Shaswata Panda <106397517+shaswata-26@users.noreply.github.com>
158185
Shivam Ahir <11shivam00@gmail.com>
186+
Shivansh <114570926+shiv343@users.noreply.github.com>
159187
Shraddheya Shendre <shendreshraddheya@gmail.com>
160188
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
161189
Shubham Mishra <shubh622005@gmail.com>
190+
Siddhesh waje <117733253+siddhesh434@users.noreply.github.com>
162191
Sivam Das <100067002+Sivam2313@users.noreply.github.com>
163192
Snehil Shah <snehilshah.989@gmail.com>
164193
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
165194
Spandan Barve <contact@marsian.dev>
195+
Srinivas Batthula <srinivasbatthula05.official@gmail.com>
166196
Stephannie Jiménez Gacha <steff456@hotmail.com>
167197
Suhaib Ilahi <suhaib.elahi87@gmail.com>
168198
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
199+
Swapnil Hajare <69076366+Swapnil-2502@users.noreply.github.com>
169200
Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
170201
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
171202
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
172203
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
204+
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
205+
Tyson Cung <45380903+tysoncung@users.noreply.github.com>
206+
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
207+
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
173208
Utkarsh <http://utkarsh11105@gmail.com>
174209
Utkarsh Raj <rajutkarsh2505@gmail.com>
175210
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
176211
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
212+
Vansh Choudhary <iamvanshchaudhary7@gmail.com>
177213
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
178214
Varad Gupta <varadgupta21@gmail.com>
179215
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
180216
Vivek Maurya <vm8118134@gmail.com>
217+
Wendy Yuchen Sun <wendyyuchensun@gmail.com>
181218
Xiaochuan Ye <tap91624@gmail.com>
182219
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
183220
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
184221
Yugal Kaushik <yugalkaushik14@gmail.com>
185222
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
223+
deepak427 <62477872+deepak427@users.noreply.github.com>
186224
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
187225
ditsu <170345142+ditsus@users.noreply.github.com>
188226
ekambains <bainsinbusiness@gmail.com>
189227
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
190228
iraandrushko <71790513+iraandrushko@users.noreply.github.com>
229+
jsai28 <54253219+jsai28@users.noreply.github.com>
191230
lohithganni <116790357+lohithganni@users.noreply.github.com>
192231
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
193232
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>

test/test.js

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -39,32 +39,32 @@ tape( 'the main export is a polyfill if an environment does not support String.p
3939
var startsWith = proxyquire( './../lib', {
4040
'./has_builtin.js': false
4141
});
42-
t.equal( startsWith, polyfill, 'returns expected value' );
42+
t.strictEqual( startsWith, polyfill, 'returns expected value' );
4343
t.end();
4444
});
4545

4646
tape( 'the main export is a wrapper around a builtin if an environment supports String.prototype.startsWith', function test( t ) {
4747
var startsWith = proxyquire( './../lib', {
4848
'./has_builtin.js': true
4949
});
50-
t.equal( startsWith, main, 'returns expected value' );
50+
t.strictEqual( startsWith, main, 'returns expected value' );
5151
t.end();
5252
});
5353

5454
tape( 'the function returns `true` if the input string starts with the search value', function test( t ) {
5555
var bool;
5656

5757
bool = startsWith( 'Too late, I\'m afraid', 'Too', 0 );
58-
t.strictEqual( bool, true, 'returns true' );
58+
t.strictEqual( bool, true, 'returns expected value' );
5959

6060
bool = startsWith( 'Not too late, I\'m afraid', 'Not', 0 );
61-
t.strictEqual( bool, true, 'returns true' );
61+
t.strictEqual( bool, true, 'returns expected value' );
6262

6363
bool = startsWith( 'Welcome home!', 'Welcome home', 0 );
64-
t.strictEqual( bool, true, 'returns true' );
64+
t.strictEqual( bool, true, 'returns expected value' );
6565

6666
bool = startsWith( 'Welcome home!', 'Welcome home!', 0 );
67-
t.strictEqual( bool, true, 'returns true' );
67+
t.strictEqual( bool, true, 'returns expected value' );
6868

6969
t.end();
7070
});
@@ -73,13 +73,13 @@ tape( 'the function returns `false` if the input string does not start with the
7373
var bool;
7474

7575
bool = startsWith( 'Too late, I\'m afraid', 'too', 0 );
76-
t.strictEqual( bool, false, 'returns false' );
76+
t.strictEqual( bool, false, 'returns expected value' );
7777

7878
bool = startsWith( 'Not too late, I\'m afraid', 'Never', 0 );
79-
t.strictEqual( bool, false, 'returns false' );
79+
t.strictEqual( bool, false, 'returns expected value' );
8080

8181
bool = startsWith( 'Welcome home!', 'Welcome at home', 0 );
82-
t.strictEqual( bool, false, 'returns false' );
82+
t.strictEqual( bool, false, 'returns expected value' );
8383

8484
t.end();
8585
});
@@ -88,16 +88,16 @@ tape( 'the function supports providing a starting search position relative to th
8888
var bool;
8989

9090
bool = startsWith( 'Too late, I\'m afraid', 'late', 3 );
91-
t.strictEqual( bool, false, 'returns false' );
91+
t.strictEqual( bool, false, 'returns expected value' );
9292

9393
bool = startsWith( 'Too late, I\'m afraid', 'late', 4 );
94-
t.strictEqual( bool, true, 'returns true' );
94+
t.strictEqual( bool, true, 'returns expected value' );
9595

9696
bool = startsWith( 'Too late, I\'m afraid', 'late', 5 );
97-
t.strictEqual( bool, false, 'returns false' );
97+
t.strictEqual( bool, false, 'returns expected value' );
9898

9999
bool = startsWith( 'Too late, I\'m afraid', 'afraid', 14 );
100-
t.strictEqual( bool, true, 'returns true' );
100+
t.strictEqual( bool, true, 'returns expected value' );
101101

102102
t.end();
103103
});
@@ -106,37 +106,37 @@ tape( 'the function supports providing a starting search position relative to th
106106
var bool;
107107

108108
bool = startsWith( 'Too late, I\'m afraid', 'i', -2 );
109-
t.strictEqual( bool, true, 'returns true' );
109+
t.strictEqual( bool, true, 'returns expected value' );
110110

111111
bool = startsWith( 'Too late, I\'m afraid', 'afr', -7 );
112-
t.strictEqual( bool, false, 'returns false' );
112+
t.strictEqual( bool, false, 'returns expected value' );
113113

114114
bool = startsWith( 'Too late, I\'m afraid', 'afr', -6 );
115-
t.strictEqual( bool, true, 'returns true' );
115+
t.strictEqual( bool, true, 'returns expected value' );
116116

117117
bool = startsWith( 'Too late, I\'m afraid', 'afr', -5 );
118-
t.strictEqual( bool, false, 'returns false' );
118+
t.strictEqual( bool, false, 'returns expected value' );
119119

120120
bool = startsWith( 'Too late, I\'m afraid', 'afraid', -6 );
121-
t.strictEqual( bool, true, 'returns true' );
121+
t.strictEqual( bool, true, 'returns expected value' );
122122

123123
t.end();
124124
});
125125

126126
tape( 'the function returns `false` if provided a search string which exceeds the input string length', function test( t ) {
127127
var bool = startsWith( 'abc', 'abcde', 0 );
128-
t.strictEqual( bool, false, 'returns false' );
128+
t.strictEqual( bool, false, 'returns expected value' );
129129
t.end();
130130
});
131131

132132
tape( 'the function returns `false` if provided a search string which exceeds the input (sub)string length', function test( t ) {
133133
var bool;
134134

135135
bool = startsWith( 'abc', 'bcd', 1 );
136-
t.strictEqual( bool, false, 'returns false' );
136+
t.strictEqual( bool, false, 'returns expected value' );
137137

138138
bool = startsWith( 'abc', 'bcd', -2 );
139-
t.strictEqual( bool, false, 'returns false' );
139+
t.strictEqual( bool, false, 'returns expected value' );
140140

141141
t.end();
142142
});
@@ -145,31 +145,31 @@ tape( 'the function returns `true` if provided an empty search string', function
145145
var bool;
146146

147147
bool = startsWith( '', '', 0 );
148-
t.strictEqual( bool, true, 'returns true' );
148+
t.strictEqual( bool, true, 'returns expected value' );
149149

150150
bool = startsWith( 'abc', '', 0 );
151-
t.strictEqual( bool, true, 'returns true' );
151+
t.strictEqual( bool, true, 'returns expected value' );
152152

153153
bool = startsWith( 'abc', '', 10 );
154-
t.strictEqual( bool, true, 'returns true' );
154+
t.strictEqual( bool, true, 'returns expected value' );
155155

156156
bool = startsWith( 'abc', '', -10 );
157-
t.strictEqual( bool, true, 'returns true' );
157+
t.strictEqual( bool, true, 'returns expected value' );
158158

159159
bool = startsWith( 'abc', '', 0 );
160-
t.strictEqual( bool, true, 'returns true' );
160+
t.strictEqual( bool, true, 'returns expected value' );
161161

162162
t.end();
163163
});
164164

165165
tape( 'the function returns `false` if provided a position exceeding the input string length (positive)', function test( t ) {
166166
var bool = startsWith( 'abc', 'c', 99999 );
167-
t.strictEqual( bool, false, 'returns false' );
167+
t.strictEqual( bool, false, 'returns expected value' );
168168
t.end();
169169
});
170170

171171
tape( 'the function returns `false` if provided a position exceeding the input string length (negative)', function test( t ) {
172172
var bool = startsWith( 'abc', 'a', -5 );
173-
t.strictEqual( bool, false, 'returns false' );
173+
t.strictEqual( bool, false, 'returns expected value' );
174174
t.end();
175175
});

0 commit comments

Comments
 (0)