Skip to content

Commit 66d0211

Browse files
committed
Auto-generated commit
1 parent 7683bf7 commit 66d0211

7 files changed

Lines changed: 71 additions & 11 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

.github/.keepalive

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

CHANGELOG.md

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

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2026-03-25)
8+
9+
<section class="issues">
10+
11+
### Closed Issues
12+
13+
This release closes the following issue:
14+
15+
[#11123](https://github.com/stdlib-js/stdlib/issues/11123)
16+
17+
</section>
18+
19+
<!-- /.issues -->
20+
21+
<section class="commits">
22+
23+
### Commits
24+
25+
<details>
26+
27+
- [`d5098cc`](https://github.com/stdlib-js/stdlib/commit/d5098cc7e724888381ac7b70bcb2e1269df9f162) - **chore:** fix JavaScript lint errors [(#11133)](https://github.com/stdlib-js/stdlib/pull/11133) _(by Sujal Rana, Athan Reines)_
28+
29+
</details>
30+
31+
</section>
32+
33+
<!-- /.commits -->
34+
35+
<section class="contributors">
36+
37+
### Contributors
38+
39+
A total of 2 people contributed to this release. Thank you to the following contributors:
40+
41+
- Athan Reines
42+
- Sujal Rana
43+
44+
</section>
45+
46+
<!-- /.contributors -->
47+
48+
</section>
49+
50+
<!-- /.release -->
51+
552
<section class="release" id="v0.2.3">
653

754
## 0.2.3 (2026-02-07)

dist/index.js

Lines changed: 1 addition & 1 deletion
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: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ function funseqAsync() {
7676
if ( nFuncs < 2 ) {
7777
throw new Error( 'insufficient arguments. Must provide multiple functions to execute sequentially.' );
7878
}
79-
f = new Array( nFuncs );
79+
f = [];
8080
for ( i = 0; i < nFuncs; i++ ) {
81-
f[ i ] = arguments[ i ];
81+
f.push( arguments[ i ] );
8282
if ( !isFunction( f[ i ] ) ) {
8383
throw new TypeError( format( 'invalid argument. All arguments must be functions. Value: `%s`.', f[ i ] ) );
8484
}
@@ -93,17 +93,20 @@ function funseqAsync() {
9393
* @param {Callback} done - callback to invoke after invoking all functions
9494
*/
9595
function pipeline() {
96+
var nargs;
9697
var done;
9798
var args;
9899
var i;
99100

101+
nargs = arguments.length - 1;
102+
100103
// Cache the callback function:
101-
done = arguments[ arguments.length-1 ];
104+
done = arguments[ nargs ];
102105

103106
// Copy arguments which should be provided to the first invoked function...
104-
args = new Array( arguments.length-1 );
105-
for ( i = 0; i < args.length; i++ ) {
106-
args[ i ] = arguments[ i ];
107+
args = [];
108+
for ( i = 0; i < nargs; i++ ) {
109+
args.push( arguments[ i ] );
107110
}
108111
// Append the callback an invoked function should call upon completion:
109112
args.push( next );

0 commit comments

Comments
 (0)