Skip to content

Commit 4295923

Browse files
committed
Auto-generated commit
1 parent 7ce3be3 commit 4295923

File tree

7 files changed

+17
-15
lines changed

7 files changed

+17
-15
lines changed

CHANGELOG.md

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

7-
## Unreleased (2024-09-16)
7+
## Unreleased (2024-09-22)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`4a6e485`](https://github.com/stdlib-js/stdlib/commit/4a6e4853d714b17a494130cde8c5def60cb5d94a) - **refactor:** use dedicated array utility _(by Athan Reines)_
1516
- [`8499db6`](https://github.com/stdlib-js/stdlib/commit/8499db6d48ac9f25adef2b45eda0f8b18cee763a) - **docs:** update `resolve-parent-paths` examples [(#2908)](https://github.com/stdlib-js/stdlib/pull/2908) _(by Snehil Shah, Athan Reines)_
1617

1718
</details>

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Joey Reed <joeyrreed@gmail.com>
4040
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
4141
Joris Labie <joris.labie1@gmail.com>
4242
Justin Dennison <justin1dennison@gmail.com>
43+
Kaif Mohd <mdkaifprofession@gmail.com>
4344
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
4445
Khaldon <kahmd1444@gmail.com>
4546
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>

dist/index.js

Lines changed: 5 additions & 5 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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var isArrayLikeObject = require( '@stdlib/assert-is-array-like-object' );
2626
var isFunction = require( '@stdlib/assert-is-function' );
2727
var cwd = require( '@stdlib/process-cwd' );
2828
var exists = require( '@stdlib/fs-exists' );
29-
var filled = require( '@stdlib/array-base-filled' );
29+
var nulls = require( '@stdlib/array-base-nulls' );
3030
var format = require( '@stdlib/string-format' );
3131
var validate = require( './validate.js' );
3232

@@ -196,7 +196,7 @@ function all( paths, dir, done ) {
196196

197197
count = 0; // initialize counter to track if we are done resolving all paths
198198
FLG = 0; // initialize flag to track if we are done traversing a directory level
199-
out = filled( null, paths.length );
199+
out = nulls( paths.length );
200200

201201
// Start at a base directory and continue moving up through each parent directory...
202202
return next( dir );
@@ -282,7 +282,7 @@ function each( paths, dir, done ) {
282282
var i;
283283

284284
count = 0; // initialize counter to track if we are done resolving all paths
285-
out = filled( null, paths.length );
285+
out = nulls( paths.length );
286286

287287
// Start at a base directory and continue moving up through each parent directory...
288288
for ( i = 0; i < paths.length; i++ ) {

lib/sync.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var isStringArray = require( '@stdlib/assert-is-string-array' ).primitives;
2525
var isArrayLikeObject = require( '@stdlib/assert-is-array-like-object' );
2626
var cwd = require( '@stdlib/process-cwd' );
2727
var exists = require( '@stdlib/fs-exists' ).sync;
28-
var filled = require( '@stdlib/array-base-filled' );
28+
var nulls = require( '@stdlib/array-base-nulls' );
2929
var format = require( '@stdlib/string-format' );
3030
var validate = require( './validate.js' );
3131

@@ -153,7 +153,7 @@ function each( paths, dir ) {
153153
var i;
154154

155155
count = 0;
156-
out = filled( null, paths.length );
156+
out = nulls( paths.length );
157157

158158
// Start at a base directory and continue moving up through each parent directory...
159159
while ( child !== dir ) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"dependencies": {
4343
"@stdlib/array-base-assert-contains": "^0.2.2",
44-
"@stdlib/array-base-filled": "^0.2.2",
44+
"@stdlib/array-base-nulls": "github:stdlib-js/array-base-nulls#main",
4545
"@stdlib/assert-has-own-property": "^0.2.2",
4646
"@stdlib/assert-is-array-like-object": "^0.2.2",
4747
"@stdlib/assert-is-function": "^0.2.2",

0 commit comments

Comments
 (0)