Skip to content

Commit 76203ac

Browse files
committed
Auto-generated commit
1 parent d129185 commit 76203ac

File tree

9 files changed

+87
-15
lines changed

9 files changed

+87
-15
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: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2025-09-18)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`b6d34c9`](https://github.com/stdlib-js/stdlib/commit/b6d34c9e53f2b877e0647914ba21ebbc6091db18) - **refactor:** use functional API to resolve dtype and relax `dtype` property requirements _(by Athan Reines)_
16+
- [`11581aa`](https://github.com/stdlib-js/stdlib/commit/11581aaca8c3cb824cbb92c0c0f80e76890bdb20) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
17+
- [`f9651e6`](https://github.com/stdlib-js/stdlib/commit/f9651e6411b4ebd3c95dcc6b46c02e6d5be009fa) - **test:** use .strictEqual() instead of .equal() and fix lint errors _(by Philipp Burckhardt)_
18+
19+
</details>
20+
21+
</section>
22+
23+
<!-- /.commits -->
24+
25+
<section class="contributors">
26+
27+
### Contributors
28+
29+
A total of 2 people contributed to this release. Thank you to the following contributors:
30+
31+
- Athan Reines
32+
- Philipp Burckhardt
33+
34+
</section>
35+
36+
<!-- /.contributors -->
37+
38+
</section>
39+
40+
<!-- /.release -->
41+
542
<section class="release" id="v0.2.2">
643

744
## 0.2.2 (2024-07-28)

CONTRIBUTORS

Lines changed: 29 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]>
@@ -23,25 +25,33 @@ Aman Bhansali <[email protected]>
2325
AmanBhadkariya <[email protected]>
2426
Amisha Chhajed <[email protected]>
2527
Amit Jimiwal <[email protected]>
28+
Anmol Sah <[email protected]>
2629
Annamalai Prabu <[email protected]>
2730
Anshu Kumar <[email protected]>
2831
Anshu Kumar <[email protected]>
32+
Anshumancanrock <[email protected]>
2933
Anudeep Sanapala <[email protected]>
34+
Arihant Pal <[email protected]>
3035
Aryan Bhirud <[email protected]>
36+
3137
Athan Reines <[email protected]>
38+
Atharva Patil <[email protected]>
3239
3340
Bhavishy Agrawal <[email protected]>
3441
Brendan Graetz <[email protected]>
3542
Bruno Fenzl <[email protected]>
3643
Bryan Elee <[email protected]>
3744
Chinmay Joshi <[email protected]>
3845
Christopher Dambamuromo <[email protected]>
46+
DUDHAT HEMIL PRAVINKUMAR <[email protected]>
3947
48+
Daniel Hernandez Gomez <[email protected]>
4049
Daniel Killenberger <[email protected]>
4150
Daniel Yu <[email protected]>
4251
Debashis Maharana <[email protected]>
4352
Deep Trivedi <[email protected]>
4453
Deepak Singh <[email protected]>
54+
Deepak Singh <[email protected]>
4555
Desh Deepak Kant <[email protected]>
4656
4757
Dhanyabad behera <[email protected]>
@@ -57,12 +67,15 @@ Frank Kovacs <[email protected]>
5767
GK Bishnoi <[email protected]>
5868
GURU PRASAD SHARMA <[email protected]>
5969
70+
Gaurav Kaushik <[email protected]>
6071
Gautam Kaushik <[email protected]>
6172
Gautam sharma <[email protected]>
73+
6274
Girish Garg <[email protected]>
6375
Golden Kumar <[email protected]>
6476
Gunj Joshi <[email protected]>
6577
Gururaj Gurram <[email protected]>
78+
Harishchandra Reddy <[email protected]>
6679
Haroon Rasheed <[email protected]>
6780
6881
@@ -111,6 +124,8 @@ Momtchil Momtchev <[email protected]>
111124
Muhammad Haris <[email protected]>
112125
Muhammad Taaha Tariq <[email protected]>
113126
Muhmmad Saad <[email protected]>
127+
NEEKUorAAYUSH <[email protected]>
128+
Nakul Krishnakumar <[email protected]>
114129
Naresh Jagadeesan <[email protected]>
115130
Naveen Kumar <[email protected]>
116131
Neeraj Pathak <[email protected]>
@@ -123,8 +138,10 @@ Nourhan Hasan <[email protected]>
123138
Ognjen Jevremović <[email protected]>
124139
Oneday12323 <[email protected]>
125140
Ori Miles <[email protected]>
141+
Payal Goswami <[email protected]>
126142
Philipp Burckhardt <[email protected]>
127143
Pierre Forstmann <[email protected]>
144+
Pradyumn Prasad <[email protected]>
128145
Prajjwal Bajpai <[email protected]>
129146
Prajwal Kulkarni <[email protected]>
130147
Pranav Goswami <[email protected]>
@@ -153,25 +170,32 @@ Ruthwik Chikoti <[email protected]>
153170
Ryan Seal <[email protected]>
154171
Rylan Yang <[email protected]>
155172
SAHIL KUMAR <[email protected]>
173+
SAUJANYA MAGARDE <[email protected]>
156174
SHIVAM YADAV <[email protected]>
157175
Sachin Raj <[email protected]>
158176
Sahil Goyal <[email protected]>
159177
Sai Avinash <[email protected]>
160178
Sai Srikar Dumpeti <[email protected]>
161179
Sanchay Ketan Sinha <[email protected]>
162180
Sarthak Paandey <[email protected]>
181+
Satyajeet Chavan <[email protected]>
163182
Saurabh Singh <[email protected]>
183+
Seth-Banker <[email protected]>
164184
Seyyed Parsa Neshaei <[email protected]>
165185
Shabareesh Shetty <[email protected]>
166186
Shashank Shekhar Singh <[email protected]>
187+
Shaswata Panda <[email protected]>
167188
Shivam Ahir <[email protected]>
189+
168190
Shraddheya Shendre <[email protected]>
169191
Shubh Mehta <[email protected]>
170192
Shubham Mishra <[email protected]>
193+
Siddhesh waje <[email protected]>
171194
Sivam Das <[email protected]>
172195
Snehil Shah <[email protected]>
173196
Soumajit Chatterjee <[email protected]>
174197
Spandan Barve <[email protected]>
198+
Srinivas Batthula <[email protected]>
175199
Stephannie Jiménez Gacha <[email protected]>
176200
Suhaib Ilahi <[email protected]>
177201
Suraj Kumar <[email protected]>
@@ -181,26 +205,31 @@ Tirtadwipa Manunggal <[email protected]>
181205
Tudor Pagu <[email protected]>
182206
Tufailahmed Bargir <[email protected]>
183207
Tushar Bhardwaj <[email protected]>
208+
Tyson Cung <[email protected]>
184209
Uday Kakade <[email protected]>
185210
Ujjwal Kirti <[email protected]>
186211
Utkarsh <http://[email protected]>
187212
Utkarsh Raj <[email protected]>
188213
UtkershBasnet <[email protected]>
189214
Vaibhav Patel <[email protected]>
215+
Vansh Choudhary <[email protected]>
190216
Vara Rahul Rajana <[email protected]>
191217
Varad Gupta <[email protected]>
192218
Vinit Pandit <[email protected]>
193219
Vivek Maurya <[email protected]>
220+
Wendy Yuchen Sun <[email protected]>
194221
Xiaochuan Ye <[email protected]>
195222
Yaswanth Kosuru <[email protected]>
196223
Yernar Yergaziyev <[email protected]>
197224
Yugal Kaushik <[email protected]>
198225
Yuvi Mittal <[email protected]>
226+
deepak427 <[email protected]>
199227
devshree-bhati <[email protected]>
200228
201229
ekambains <[email protected]>
202230
fadiothman22 <[email protected]>
203231
iraandrushko <[email protected]>
232+
204233
lohithganni <[email protected]>
205234
olenkabilonizhka <[email protected]>
206235
pranav-1720 <[email protected]>

dist/index.js

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

dist/index.js.map

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

lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// MODULES //
2222

2323
var isVectorLike = require( '@stdlib/assert-is-vector-like' );
24+
var getDType = require( '@stdlib/ndarray-base-dtype' );
2425

2526

2627
// MAIN //
@@ -45,7 +46,7 @@ var isVectorLike = require( '@stdlib/assert-is-vector-like' );
4546
* // returns false
4647
*/
4748
function isFloat64VectorLike( v ) {
48-
return ( isVectorLike( v ) && v.dtype === 'float64' );
49+
return ( isVectorLike( v ) && getDType( v ) === 'float64' );
4950
}
5051

5152

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"url": "https://github.com/stdlib-js/stdlib/issues"
3838
},
3939
"dependencies": {
40-
"@stdlib/assert-is-vector-like": "^0.2.2"
40+
"@stdlib/assert-is-vector-like": "^0.2.2",
41+
"@stdlib/ndarray-base-dtype": "^0.2.2"
4142
},
4243
"devDependencies": {
4344
"@stdlib/array-float64": "^0.2.2",

test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tape( 'main export is a function', function test( t ) {
3838
tape( 'the function returns `true` if provided a 1-dimensional ndarray containing double-precision floating-point numbers', function test( t ) {
3939
var arr = ndarray( 'float64', new Float64Array( [ 0, 0, 0, 0 ] ), [ 4 ], [ 1 ], 0, 'row-major' );
4040

41-
t.equal( isFloat64VectorLike( arr ), true, 'returns true' );
41+
t.strictEqual( isFloat64VectorLike( arr ), true, 'returns expected value' );
4242
t.end();
4343
});
4444

@@ -57,7 +57,7 @@ tape( 'the function returns `true` if provided a 1-dimensional ndarray-like obje
5757
'set': noop
5858
};
5959

60-
t.equal( isFloat64VectorLike( arr ), true, 'returns true' );
60+
t.strictEqual( isFloat64VectorLike( arr ), true, 'returns expected value' );
6161
t.end();
6262
});
6363

@@ -87,7 +87,7 @@ tape( 'the function returns `false` if not provided a 1-dimensional ndarray-like
8787
];
8888

8989
for ( i = 0; i < values.length; i++ ) {
90-
t.equal( isFloat64VectorLike( values[i] ), false, 'returns false when provided '+values[i] );
90+
t.strictEqual( isFloat64VectorLike( values[i] ), false, 'returns false when provided '+values[i] );
9191
}
9292
t.end();
9393
});

0 commit comments

Comments
 (0)