Skip to content

Commit c49f60b

Browse files
committed
Auto-generated commit
1 parent 321dd9b commit c49f60b

6 files changed

Lines changed: 38 additions & 8 deletions

File tree

CHANGELOG.md

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

7-
## Unreleased (2025-03-20)
7+
## Unreleased (2025-04-18)
88

99
<section class="features">
1010

@@ -16,12 +16,23 @@
1616

1717
<!-- /.features -->
1818

19+
<section class="bug-fixes">
20+
21+
### Bug Fixes
22+
23+
- [`6c571bf`](https://github.com/stdlib-js/stdlib/commit/6c571bf330e3fc293f6ef7c40fcc6bfefcd7f61d) - preserve output array type specificity
24+
25+
</section>
26+
27+
<!-- /.bug-fixes -->
28+
1929
<section class="commits">
2030

2131
### Commits
2232

2333
<details>
2434

35+
- [`6c571bf`](https://github.com/stdlib-js/stdlib/commit/6c571bf330e3fc293f6ef7c40fcc6bfefcd7f61d) - **fix:** preserve output array type specificity _(by Athan Reines)_
2536
- [`97ed648`](https://github.com/stdlib-js/stdlib/commit/97ed6482bfa82bba41232501323afca2d7e4d95c) - **docs:** add returns annotations _(by Philipp Burckhardt)_
2637
- [`6788899`](https://github.com/stdlib-js/stdlib/commit/678889947a970319197de4db6d48bcac3adf224c) - **feat:** add `math/array/special/abs` _(by Athan Reines)_
2738

CONTRIBUTORS

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Contributors listed in alphabetical order.
44

55
Aadish Jain <jain.aadishj@gmail.com>
6+
Aarya Balwadkar <142713127+AaryaBalwadkar@users.noreply.github.com>
67
Aayush Khanna <aayushiitbhu23@gmail.com>
78
Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
89
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
@@ -42,13 +43,15 @@ Dev Goel <135586571+corsairier@users.noreply.github.com>
4243
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
4344
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
4445
Dhruvil Mehta <68022411+dhruvilmehta@users.noreply.github.com>
46+
Dipjyoti Das <126075231+dipexplorer@users.noreply.github.com>
4547
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
4648
Dominic Lim <46486515+domlimm@users.noreply.github.com>
4749
Dominik Moritz <domoritz@gmail.com>
4850
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
4951
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
5052
Frank Kovacs <fran70kk@gmail.com>
5153
GK Bishnoi <gkishan1kyt@gmail.com>
54+
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5255
Gaurav <gaurav70380@gmail.com>
5356
Gautam sharma <gautamkrishnasharma1@gmail.com>
5457
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
@@ -74,14 +77,18 @@ Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
7477
Joris Labie <joris.labie1@gmail.com>
7578
Justin Dennison <justin1dennison@gmail.com>
7679
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
77-
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
80+
Karan Anand <anandkarancompsci@gmail.com>
81+
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
7882
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
7983
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
84+
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
8085
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
8186
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
8287
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
8388
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
8489
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
90+
MANI <77221000+Eternity0207@users.noreply.github.com>
91+
Mahfuza Humayra Mohona <mhmohona@gmail.com>
8592
Manik Sharma <maniksharma.rke@gmail.com>
8693
Manvith M <148960168+manvith2003@users.noreply.github.com>
8794
Marcus Fantham <mfantham@users.noreply.github.com>
@@ -92,9 +99,12 @@ Mohammad Bin Aftab <48010758+MohammadBinAftab@users.noreply.github.com>
9299
Mohammad Kaif <mdkaifprofession@gmail.com>
93100
Momtchil Momtchev <momtchil@momtchev.com>
94101
Muhammad Haris <harriskhan047@outlook.com>
102+
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
103+
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
95104
Naresh Jagadeesan <naresh.naresh000@gmail.com>
96105
Naveen Kumar <stupiddint@gmail.com>
97106
Neeraj Pathak <neerajrpathak710@gmail.com>
107+
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
98108
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
99109
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
100110
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
@@ -103,12 +113,15 @@ Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
103113
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
104114
Ori Miles <97595296+orimiles5@users.noreply.github.com>
105115
Philipp Burckhardt <pburckhardt@outlook.com>
116+
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
106117
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
107118
Pranav Goswami <pranavchiku11@gmail.com>
108119
Pranjal Jha <97080887+PraneGIT@users.noreply.github.com>
109120
Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
121+
PrathamBhamare <164445568+PrathamBhamare@users.noreply.github.com>
110122
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
111123
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
124+
Pravesh Kunwar <praveshkunwar04@gmail.com>
112125
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
113126
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
114127
Pulkit Gupta <65711278+pulkitgupta2@users.noreply.github.com>
@@ -122,11 +135,15 @@ Rishav <115060907+rishav2404@users.noreply.github.com>
122135
Rishav Tarway <rishavtarway@gmail.com>
123136
Robert Gislason <gztown2216@yahoo.com>
124137
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
138+
Rupa <102663541+Rupa-Rd@users.noreply.github.com>
125139
Rutam Kathale <138517416+performant23@users.noreply.github.com>
126140
Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
127141
Ryan Seal <splrk@users.noreply.github.com>
128142
Rylan Yang <137365285+rylany27@users.noreply.github.com>
143+
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
129144
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
145+
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
146+
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
130147
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
131148
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
132149
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
@@ -164,6 +181,7 @@ Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
164181
ditsu <170345142+ditsus@users.noreply.github.com>
165182
ekambains <bainsinbusiness@gmail.com>
166183
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
184+
lohithganni <116790357+lohithganni@users.noreply.github.com>
167185
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
168186
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
169187
rahulrangers <127782777+rahulrangers@users.noreply.github.com>

dist/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ interface Unary {
5757
* var out = abs( [ -1.0, -2.0, -3.0 ] );
5858
* // returns [ 1.0, 2.0, 3.0 ]
5959
*/
60-
( x: InputArray<number>, options?: Options ): OutputArray<number>;
60+
<T extends InputArray<number>>( x: T, options?: Options ): T;
6161

6262
/**
6363
* Computes the absolute value for each element in an input array and assigns results to a provided output array.
@@ -75,7 +75,7 @@ interface Unary {
7575
* var bool = ( out === y );
7676
* // returns true
7777
*/
78-
assign<V extends OutputArray<number>>( x: InputArray<number>, out: V ): V;
78+
assign<U extends OutputArray<number>>( x: InputArray<number>, out: U ): U;
7979
}
8080

8181
/**

docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ import abs = require( './index' );
2828

2929
// The function returns an array...
3030
{
31-
abs( [ 1.0, 2.0, 3.0, 4.0 ] ); // $ExpectType OutputArray<number>
32-
abs( [ 1.0, 2.0, 3.0, 4.0 ], {} ); // $ExpectType OutputArray<number>
31+
abs( [ 1.0, 2.0, 3.0, 4.0 ] ); // $ExpectType number[]
32+
abs( [ 1.0, 2.0, 3.0, 4.0 ], {} ); // $ExpectType number[]
3333
}
3434

3535
// The compiler throws an error if the function is provided a first argument which is not an array...

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
* // returns [ 1.0, 2.0, 3.0 ]
3939
*
4040
* var bool = ( out === y );
41+
* // returns true
4142
*/
4243

4344
// MODULES //

0 commit comments

Comments
 (0)