Skip to content

Commit d3a48d1

Browse files
committed
Auto-generated commit
1 parent 0b63e99 commit d3a48d1

6 files changed

Lines changed: 80 additions & 23 deletions

File tree

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,15 @@ indent_style = tab
165165
indent_style = space
166166
indent_size = 2
167167
168+
# Ignore generated lock files for GitHub Agentic Workflows:
169+
[*.lock.yml]
170+
charset = unset
171+
end_of_line = unset
172+
indent_style = unset
173+
indent_size = unset
174+
trim_trailing_whitespace = unset
175+
insert_final_newline = unset
176+
168177
# Set properties for GYP files:
169178
[binding.gyp]
170179
indent_style = space

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ Makefile linguist-vendored
6464

6565
# Configure files which should be included in GitHub language statistics:
6666
docs/types/*.d.ts -linguist-documentation
67+
68+
.github/workflows/*.lock.yml linguist-generated=true merge=ours

CHANGELOG.md

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

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2026-04-02)
8+
9+
<section class="issues">
10+
11+
### Closed Issues
12+
13+
This release closes the following issue:
14+
15+
[#11193](https://github.com/stdlib-js/stdlib/issues/11193)
16+
17+
</section>
18+
19+
<!-- /.issues -->
20+
21+
<section class="commits">
22+
23+
### Commits
24+
25+
<details>
26+
27+
- [`7a2753c`](https://github.com/stdlib-js/stdlib/commit/7a2753c3f3fda3dc93da993421d16a650e631c3d) - **chore:** fix JavaScript lint errors [(#11199)](https://github.com/stdlib-js/stdlib/pull/11199) _(by Kartikeya-guthub)_
28+
29+
</details>
30+
31+
</section>
32+
33+
<!-- /.commits -->
34+
35+
<section class="contributors">
36+
37+
### Contributors
38+
39+
A total of 1 person contributed to this release. Thank you to this contributor:
40+
41+
- Kartikeya-guthub
42+
43+
</section>
44+
45+
<!-- /.contributors -->
46+
47+
</section>
48+
49+
<!-- /.release -->
50+
551
<section class="release" id="v0.2.3">
652

753
## 0.2.3 (2026-02-08)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
313313
[npm-image]: http://img.shields.io/npm/v/@stdlib/stats-ztest2.svg
314314
[npm-url]: https://npmjs.org/package/@stdlib/stats-ztest2
315315

316-
[test-image]: https://github.com/stdlib-js/stats-ztest2/actions/workflows/test.yml/badge.svg?branch=v0.2.3
317-
[test-url]: https://github.com/stdlib-js/stats-ztest2/actions/workflows/test.yml?query=branch:v0.2.3
316+
[test-image]: https://github.com/stdlib-js/stats-ztest2/actions/workflows/test.yml/badge.svg?branch=main
317+
[test-url]: https://github.com/stdlib-js/stats-ztest2/actions/workflows/test.yml?query=branch:main
318318

319319
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-ztest2/main.svg
320320
[coverage-url]: https://codecov.io/github/stdlib-js/stats-ztest2?branch=main

benchmark/benchmark.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ bench( pkg, function benchmark( b ) {
3939
var i;
4040

4141
sigma = stdev( 1.0, 51.0 );
42-
x = new Array( 100 );
43-
for ( i = 0; i < x.length; i++ ) {
44-
x[ i ] = ( randu()*50.0 ) + 1.0;
42+
x = [];
43+
for ( i = 0; i < 100; i++ ) {
44+
x.push( ( randu()*50.0 ) + 1.0 );
4545
}
4646

47-
y = new Array( 120 );
48-
for ( i = 0; i < y.length; i++ ) {
49-
y[ i ] = ( randu()*50.0 ) + 1.0;
47+
y = [];
48+
for ( i = 0; i < 120; i++ ) {
49+
y.push( ( randu()*50.0 ) + 1.0 );
5050
}
5151

5252
b.tic();
@@ -74,13 +74,13 @@ bench( pkg+'::one-sided', function benchmark( b ) {
7474
var i;
7575

7676
sigma = stdev( 1.0, 51.0 );
77-
x = new Array( 100 );
78-
for ( i = 0; i < x.length; i++ ) {
79-
x[ i ] = ( randu()*50.0 ) + 1.0;
77+
x = [];
78+
for ( i = 0; i < 100; i++ ) {
79+
x.push( ( randu()*50.0 ) + 1.0 );
8080
}
81-
y = new Array( 120 );
82-
for ( i = 0; i < y.length; i++ ) {
83-
y[ i ] = ( randu()*50.0 ) + 1.0;
81+
y = [];
82+
for ( i = 0; i < 120; i++ ) {
83+
y.push( ( randu()*50.0 ) + 1.0 );
8484
}
8585
opts = {
8686
'alternative': 'less'
@@ -112,13 +112,13 @@ bench( pkg+':print', function benchmark( b ) {
112112
var i;
113113

114114
sigma = stdev( 1.0, 51.0 );
115-
x = new Array( 100 );
116-
for ( i = 0; i < x.length; i++ ) {
117-
x[ i ] = ( randu()*50.0 ) + 1.0;
115+
x = [];
116+
for ( i = 0; i < 100; i++ ) {
117+
x.push( ( randu()*50.0 ) + 1.0 );
118118
}
119-
y = new Array( 120 );
120-
for ( i = 0; i < y.length; i++ ) {
121-
y[ i ] = ( randu()*50.0 ) + 1.0;
119+
y = [];
120+
for ( i = 0; i < 120; i++ ) {
121+
y.push( ( randu()*50.0 ) + 1.0 );
122122
}
123123
result = ztest2( x, y, sigma, sigma );
124124

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@stdlib/math-base-special-sqrt": "^0.2.3",
5656
"@stdlib/stats-base-dists-normal-cdf": "^0.3.1",
5757
"@stdlib/stats-base-dists-normal-quantile": "^0.3.1",
58-
"@stdlib/stats-strided-mean": "^0.1.0",
58+
"@stdlib/stats-strided-mean": "^0.1.1",
5959
"@stdlib/string-format": "^0.2.3",
6060
"@stdlib/types": "^0.4.3",
6161
"@stdlib/utils-define-read-only-property": "^0.2.3",
@@ -66,8 +66,8 @@
6666
"@stdlib/assert-contains": "^0.3.1",
6767
"@stdlib/assert-is-array": "^0.2.3",
6868
"@stdlib/assert-is-object": "^0.2.3",
69-
"@stdlib/random-base-normal": "^0.2.1",
70-
"@stdlib/random-base-randu": "^0.2.2",
69+
"@stdlib/random-base-normal": "^0.2.2",
70+
"@stdlib/random-base-randu": "^0.2.3",
7171
"@stdlib/stats-base-dists-uniform-stdev": "^0.3.1",
7272
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
7373
"istanbul": "^0.4.1",

0 commit comments

Comments
 (0)