Skip to content

Commit 20e9314

Browse files
committed
Auto-generated commit
1 parent a2c6b2b commit 20e9314

File tree

8 files changed

+139
-41
lines changed

8 files changed

+139
-41
lines changed

.github/.keepalive

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

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

7-
## Unreleased (2025-03-17)
7+
## Unreleased (2025-10-17)
8+
9+
<section class="issues">
10+
11+
### Closed Issues
12+
13+
This release closes the following issue:
14+
15+
[#8244](https://github.com/stdlib-js/stdlib/issues/8244)
16+
17+
</section>
18+
19+
<!-- /.issues -->
820

921
<section class="commits">
1022

1123
### Commits
1224

1325
<details>
1426

27+
- [`61dddeb`](https://github.com/stdlib-js/stdlib/commit/61dddeb7d3bddb33aa7d60fb692baf43ec8f462d) - **chore:** remove unused ESLint directives from `@stdlib/assert` examples [(#8248)](https:-/github.com/stdlib-js/stdlib/pull/8248) _(by youzi-forge)_
28+
- [`11581aa`](https://github.com/stdlib-js/stdlib/commit/11581aaca8c3cb824cbb92c0c0f80e76890bdb20) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
1529
- [`31fd427`](https://github.com/stdlib-js/stdlib/commit/31fd42744ec5d7073041f97c6f72350b8005c0fc) - **style:** remove unwanted empty lines _(by Philipp Burckhardt)_
1630

1731
</details>
@@ -24,9 +38,10 @@
2438

2539
### Contributors
2640

27-
A total of 1 person contributed to this release. Thank you to this contributor:
41+
A total of 2 people contributed to this release. Thank you to the following contributors:
2842

2943
- Philipp Burckhardt
44+
- youzi-forge
3045

3146
</section>
3247

CONTRIBUTORS

Lines changed: 104 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,81 +3,121 @@
33
# Contributors listed in alphabetical order.
44

55
Aadish Jain <jain.aadishj@gmail.com>
6+
Aarya Balwadkar <aaryabalwadkar2005@gmail.com>
67
Aayush Khanna <aayushiitbhu23@gmail.com>
78
Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
9+
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
810
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
911
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek G <166795493+AbhishekG-Codes@users.noreply.github.com>
1013
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
1114
Adarsh Palaskar <adarshpalaskar99@gmail.com>
1215
Aditya Sapra <adityaework@gmail.com>
16+
Aditya Singh <adityasinghk099@gmail.com>
1317
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1418
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1519
Ahmed Khaled <kahmd1444@gmail.com>
1620
Aksshay Balasubramanian <119944779+Aksshay88@users.noreply.github.com>
1721
Aleksandr <112382387+alextes90@users.noreply.github.com>
1822
Ali Salesi <ali_sal1381@yahoo.com>
19-
Aman Bhansali <bhansali.1@iitj.ac.in>
20-
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
23+
Aly Abdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
24+
Aman Bhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
25+
Aman Bhansali <amanbhansali65@gmail.com>
26+
Amisha Chhajed <amishhhaaaa@gmail.com>
2127
Amit Jimiwal <amitjimiwal45@gmail.com>
22-
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
28+
Anmol Sah <annifind010@gmail.com>
29+
Annamalai Prabu <apfossdev@gmail.com>
2330
Anshu Kumar <contact.anshukumar@protonmail.com>
31+
Anshuman Singh <anshu.1239.as@gmail.com>
2432
Anudeep Sanapala <anudeep0306@gmail.com>
33+
Arihant Pal <arihant0pal@gmail.com>
34+
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
35+
Aryan J <18aryanj2006@gmail.com>
2536
Athan Reines <kgryte@gmail.com>
26-
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
37+
Atharva Patil <anpatil.1223@gmail.com>
38+
Bhavishy Agrawal <bhavishyrocker2801@gmail.com>
39+
Bhupesh Kumar <bkumar_be23@thapar.edu>
2740
Brendan Graetz <bguiz@users.noreply.github.com>
2841
Bruno Fenzl <brunofenzl@gmail.com>
2942
Bryan Elee <rxbryn@gmail.com>
3043
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
3144
Christopher Dambamuromo <chridam@gmail.com>
3245
Dan Rose <danoftheroses@gmail.com>
46+
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
3347
Daniel Killenberger <daniel.killenberger@gmail.com>
3448
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
3549
Debashis Maharana <debashismaharana7854@gmail.com>
36-
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
37-
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
50+
Deep Trivedi <deepbtrivedi04@gmail.com>
51+
Deepak Singh <78257493+Deepak91168@users.noreply.github.com>
52+
Deepak Singh <negid0253@gmail.com>
53+
Desh Deepak Kant <deshdeepakkant@gmail.com>
3854
Dev Goel <135586571+corsairier@users.noreply.github.com>
39-
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
55+
Devshree Bhati <147095250+devshree-bhati@users.noreply.github.com>
56+
Dhanyabad Behera <dhanyabadbehera@gmail.com>
4057
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
41-
Dhruvil Mehta <68022411+dhruvilmehta@users.noreply.github.com>
42-
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
58+
Dhruvil Mehta <dhruvilmehta2606@gmail.com>
59+
Dipjyoti Das <dipexplorerid23@gmail.com>
60+
Ditsu S <170345142+ditsus@users.noreply.github.com>
61+
Divyansh Seth <divyanshseth08@gmail.com>
4362
Dominic Lim <46486515+domlimm@users.noreply.github.com>
4463
Dominik Moritz <domoritz@gmail.com>
4564
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
46-
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
65+
Dudhat Hemil Pravinkumar <138382078+Hemil36@users.noreply.github.com>
66+
Ekampreet Singh Bains <bainsinbusiness@gmail.com>
67+
Eunice Sim <77243938+EuniceSim142@users.noreply.github.com>
68+
Fadio <48636283+fadiothman22@users.noreply.github.com>
4769
Frank Kovacs <fran70kk@gmail.com>
48-
GK Bishnoi <gkishan1kyt@gmail.com>
4970
Gaurav <gaurav70380@gmail.com>
71+
Gaurav Kaushik <144526331+Gauravkaushik-1206@users.noreply.github.com>
72+
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
5073
Gautam sharma <gautamkrishnasharma1@gmail.com>
74+
Geo Daoyu <geodaoyu@foxmail.com>
75+
Girish Garg <garggirish2020@gmail.com>
5176
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
77+
Gopi Kishan <gkishan1kyt@gmail.com>
5278
Gunj Joshi <gunjjoshi8372@gmail.com>
79+
Guru Prasad Sharma <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5380
Gururaj Gurram <gururajgurram1512@gmail.com>
81+
Harishchandra Reddy <harish.7000@gmail.com>
5482
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
55-
Harsh <149176984+hrshya@users.noreply.github.com>
83+
Harsh <harshyadav6078@gmail.com>
5684
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
5785
Harshita Kalani <harshitakalani02@gmail.com>
86+
Hemang Choudhary <coehemang@gmail.com>
5887
Hemant M Mehta <92446645+hemantmm@users.noreply.github.com>
5988
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
89+
iraandrushko <71790513+iraandrushko@users.noreply.github.com>
6090
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
6191
Jaison D Souza <123267719+jsndz@users.noreply.github.com>
6292
Jalaj Kumar <142599224+jalajk3004@users.noreply.github.com>
6393
James Gelok <jdgelok@gmail.com>
94+
Jay Soni <jaygsoni14@gmail.com>
6495
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
96+
Jenish <thisisjenish05@gmail.com>
6597
Jenish Thapa <141203631+jenish-thapa@users.noreply.github.com>
6698
Jithin KS <jithinks112@gmail.com>
6799
Joel Mathew Koshy <joelmathewkoshy@gmail.com>
68100
Joey Reed <joeyrreed@gmail.com>
69101
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
70102
Joris Labie <joris.labie1@gmail.com>
103+
jsai28 <54253219+jsai28@users.noreply.github.com>
71104
Justin Dennison <justin1dennison@gmail.com>
72105
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
73-
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
106+
Karan Anand <anandkarancompsci@gmail.com>
107+
Karan Vasudevamurthy <karanlvm123@gmail.com>
108+
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
74109
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
75-
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
110+
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
76111
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
77112
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
78113
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
79114
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
115+
Lalit Narayan Yadav <162928571+LalitNarayanYadav@users.noreply.github.com>
116+
lohithganni <116790357+lohithganni@users.noreply.github.com>
117+
Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
80118
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
119+
Mahfuza Humayra Mohona <mhmohona@gmail.com>
120+
MANI <77221000+Eternity0207@users.noreply.github.com>
81121
Manik Sharma <maniksharma.rke@gmail.com>
82122
Manvith M <148960168+manvith2003@users.noreply.github.com>
83123
Marcus Fantham <mfantham@users.noreply.github.com>
@@ -86,79 +126,120 @@ Mihir Pandit <129577900+MSP20086@users.noreply.github.com>
86126
Milan Raj <rajsite@users.noreply.github.com>
87127
Mohammad Bin Aftab <48010758+MohammadBinAftab@users.noreply.github.com>
88128
Mohammad Kaif <mdkaifprofession@gmail.com>
129+
Mohsin <122507740+thisisairo@users.noreply.github.com>
89130
Momtchil Momtchev <momtchil@momtchev.com>
90131
Muhammad Haris <harriskhan047@outlook.com>
132+
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
133+
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
134+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
91135
Naresh Jagadeesan <naresh.naresh000@gmail.com>
92136
Naveen Kumar <stupiddint@gmail.com>
137+
Navyansh Kesarwani <91735202+navyansh007@users.noreply.github.com>
138+
navyansh007 <91735202+navyansh007@users.noreply.github.com>
139+
NEEKUorAAYUSH <aayush10072004@gmail.com>
93140
Neeraj Pathak <neerajrpathak710@gmail.com>
141+
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
94142
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
143+
Nishant singh <38534128+Nishantsingh11@users.noreply.github.com>
95144
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
96145
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
97146
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
98147
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
148+
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
99149
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
100150
Ori Miles <97595296+orimiles5@users.noreply.github.com>
151+
Payal Goswami <payalgoswami9711@gmail.com>
101152
Philipp Burckhardt <pburckhardt@outlook.com>
153+
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
154+
Piyush Goel <piyush.goel2704@gmail.com>
155+
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
156+
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
102157
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
103158
Pranav Goswami <pranavchiku11@gmail.com>
159+
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
104160
Pranjal Jha <97080887+PraneGIT@users.noreply.github.com>
105161
Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
162+
PrathamBhamare <164445568+PrathamBhamare@users.noreply.github.com>
106163
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
107164
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
165+
Pravesh Kunwar <praveshkunwar04@gmail.com>
108166
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
109167
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
168+
Pulkit Gupta <65711278+pulkitgupta2@users.noreply.github.com>
110169
Pushpendra Chandravanshi <pushpendrachandravanshi4@gmail.com>
170+
Rahul Kumar <132570066+rahulptl165@users.noreply.github.com>
171+
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
172+
rainn <88160429+AmCodesLame@users.noreply.github.com>
111173
Raunak Kumar Gupta <raunakmodanwal321@gmail.com>
174+
rei2hu <reimu@reimu.ws>
112175
Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com>
113176
Ricky Reusser <rsreusser@gmail.com>
114177
Ridam Garg <67867319+RidamGarg@users.noreply.github.com>
115178
Rishav <115060907+rishav2404@users.noreply.github.com>
116179
Rishav Tarway <rishavtarway@gmail.com>
117180
Robert Gislason <gztown2216@yahoo.com>
118181
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
182+
RudrakshRaina07 <1819rudraksh@gmail.com>
183+
Rupa <102663541+Rupa-Rd@users.noreply.github.com>
119184
Rutam Kathale <138517416+performant23@users.noreply.github.com>
120185
Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
121186
Ryan Seal <splrk@users.noreply.github.com>
122187
Rylan Yang <137365285+rylany27@users.noreply.github.com>
123-
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
188+
Sachin Raj <120590207+schnrj@users.noreply.github.com>
189+
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
190+
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
191+
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
124192
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
193+
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
125194
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
195+
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
196+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
126197
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
198+
Seth-Banker <125103042+Seth-Banker@users.noreply.github.com>
127199
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
128200
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
129201
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
202+
Shaswata Panda <106397517+shaswata-26@users.noreply.github.com>
130203
Shivam Ahir <11shivam00@gmail.com>
204+
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
205+
Shivansh <114570926+shiv343@users.noreply.github.com>
131206
Shraddheya Shendre <shendreshraddheya@gmail.com>
132207
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
208+
Shubham <b4mshubham@gmail.com>
133209
Shubham Mishra <shubh622005@gmail.com>
210+
Siddhesh waje <117733253+siddhesh434@users.noreply.github.com>
134211
Sivam Das <100067002+Sivam2313@users.noreply.github.com>
135212
Snehil Shah <snehilshah.989@gmail.com>
136213
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
137214
Spandan Barve <contact@marsian.dev>
215+
Srinivas Batthula <srinivasbatthula05.official@gmail.com>
138216
Stephannie Jiménez Gacha <steff456@hotmail.com>
139217
Suhaib Ilahi <suhaib.elahi87@gmail.com>
140218
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
219+
Swapnil Hajare <69076366+Swapnil-2502@users.noreply.github.com>
141220
Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
142221
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
143222
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
144223
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
224+
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
225+
Tushar Bharti <73595362+USERSATOSHI@users.noreply.github.com>
226+
Tyson Cung <45380903+tysoncung@users.noreply.github.com>
227+
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
228+
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
145229
Utkarsh <http://utkarsh11105@gmail.com>
146230
Utkarsh Raj <rajutkarsh2505@gmail.com>
147231
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
148232
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
233+
Vansh Choudhary <iamvanshchaudhary7@gmail.com>
234+
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
149235
Varad Gupta <varadgupta21@gmail.com>
150236
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
151237
Vivek Maurya <vm8118134@gmail.com>
238+
Wendy Yuchen Sun <wendyyuchensun@gmail.com>
152239
Xiaochuan Ye <tap91624@gmail.com>
153240
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
154241
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
242+
youzi-forge <liuxingyou666@outlook.com>
155243
Yugal Kaushik <yugalkaushik14@gmail.com>
156244
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
157-
ditsu <170345142+ditsus@users.noreply.github.com>
158-
ekambains <bainsinbusiness@gmail.com>
159-
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
160-
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
161-
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
162-
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
163-
rainn <88160429+AmCodesLame@users.noreply.github.com>
164-
rei2hu <reimu@reimu.ws>
245+
Zuhair Ahmad <157193652+Zuhair-CS@users.noreply.github.com>

examples/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable no-new-wrappers */
20-
2119
'use strict';
2220

2321
var Number = require( '@stdlib/number-ctor' );

test/test.main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ tape( 'main export is a function', function test( t ) {
3434
});
3535

3636
tape( 'the function returns `true` if provided a number having a safe integer value', function test( t ) {
37-
t.strictEqual( isSafeInteger( 5 ), true, 'returns true' );
38-
t.strictEqual( isSafeInteger( -5 ), true, 'returns true' );
39-
t.strictEqual( isSafeInteger( new Number( 5 ) ), true, 'returns true' ); // eslint-disable-line no-new-wrappers
40-
t.strictEqual( isSafeInteger( new Number( -5 ) ), true, 'returns true' ); // eslint-disable-line no-new-wrappers
37+
t.strictEqual( isSafeInteger( 5 ), true, 'returns expected value' );
38+
t.strictEqual( isSafeInteger( -5 ), true, 'returns expected value' );
39+
t.strictEqual( isSafeInteger( new Number( 5 ) ), true, 'returns expected value' );
40+
t.strictEqual( isSafeInteger( new Number( -5 ) ), true, 'returns expected value' );
4141
t.end();
4242
});
4343

test/test.object.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ tape( 'main export is a function', function test( t ) {
3434
});
3535

3636
tape( 'the function returns `true` if provided a number object having a safe integer value', function test( t ) {
37-
t.strictEqual( isSafeInteger( new Number( 5 ) ), true, 'returns true' ); // eslint-disable-line no-new-wrappers
37+
t.strictEqual( isSafeInteger( new Number( 5 ) ), true, 'returns expected value' );
3838
t.end();
3939
});
4040

4141
tape( 'the function returns `false` if provided a number object not having a safe integer value', function test( t ) {
42-
t.strictEqual( isSafeInteger( new Number( 2.0e200 ) ), false, 'returns false' ); // eslint-disable-line no-new-wrappers
42+
t.strictEqual( isSafeInteger( new Number( 2.0e200 ) ), false, 'returns expected value' );
4343
t.end();
4444
});
4545

4646
tape( 'the function returns `false` if provided a primitive number, even if the number is a safe integer value', function test( t ) {
47-
t.strictEqual( isSafeInteger( 3.0 ), false, 'returns false' );
47+
t.strictEqual( isSafeInteger( 3.0 ), false, 'returns expected value' );
4848
t.end();
4949
});
5050

test/test.primitive.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ tape( 'main export is a function', function test( t ) {
3434
});
3535

3636
tape( 'the function returns `true` if provided a primitive number having a safe integer value', function test( t ) {
37-
t.strictEqual( isSafeInteger( -3.0 ), true, 'returns true' );
37+
t.strictEqual( isSafeInteger( -3.0 ), true, 'returns expected value' );
3838
t.end();
3939
});
4040

4141
tape( 'the function returns `false` if provided a primitive number not having a safe integer value', function test( t ) {
42-
t.strictEqual( isSafeInteger( 2.0e200 ), false, 'returns false' );
42+
t.strictEqual( isSafeInteger( 2.0e200 ), false, 'returns expected value' );
4343
t.end();
4444
});
4545

4646
tape( 'the function returns `false` if provided a number object, even if the number has a safe integer value', function test( t ) {
47-
t.strictEqual( isSafeInteger( new Number( 5.0 ) ), false, 'returns false' ); // eslint-disable-line no-new-wrappers
47+
t.strictEqual( isSafeInteger( new Number( 5.0 ) ), false, 'returns expected value' );
4848
t.end();
4949
});
5050

0 commit comments

Comments
 (0)