@stdlib/utils-while-each 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +8 -8
- package/package.json +5 -4
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -88,9 +88,9 @@ whileEach( arr, predicate, log );
|
|
|
88
88
|
|
|
89
89
|
Both the `predicate` function and the `function` to apply are provided three arguments:
|
|
90
90
|
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
91
|
+
- **value**: collection element.
|
|
92
|
+
- **index**: collection index.
|
|
93
|
+
- **collection**: input collection.
|
|
94
94
|
|
|
95
95
|
Basic support for dynamic collections is provided. Note, however, that index incrementation is monotonically increasing.
|
|
96
96
|
|
|
@@ -302,7 +302,7 @@ See [LICENSE][stdlib-license].
|
|
|
302
302
|
|
|
303
303
|
## Copyright
|
|
304
304
|
|
|
305
|
-
Copyright © 2016-
|
|
305
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
306
306
|
|
|
307
307
|
</section>
|
|
308
308
|
|
|
@@ -315,8 +315,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
315
315
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/utils-while-each.svg
|
|
316
316
|
[npm-url]: https://npmjs.org/package/@stdlib/utils-while-each
|
|
317
317
|
|
|
318
|
-
[test-image]: https://github.com/stdlib-js/utils-while-each/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
319
|
-
[test-url]: https://github.com/stdlib-js/utils-while-each/actions/workflows/test.yml?query=branch:v0.2.
|
|
318
|
+
[test-image]: https://github.com/stdlib-js/utils-while-each/actions/workflows/test.yml/badge.svg?branch=v0.2.3
|
|
319
|
+
[test-url]: https://github.com/stdlib-js/utils-while-each/actions/workflows/test.yml?query=branch:v0.2.3
|
|
320
320
|
|
|
321
321
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-while-each/main.svg
|
|
322
322
|
[coverage-url]: https://codecov.io/github/stdlib-js/utils-while-each?branch=main
|
|
@@ -328,8 +328,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
328
328
|
|
|
329
329
|
-->
|
|
330
330
|
|
|
331
|
-
[chat-image]: https://img.shields.io/
|
|
332
|
-
[chat-url]: https://
|
|
331
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
332
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
333
333
|
|
|
334
334
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
335
335
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/utils-while-each",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "While a test condition is true, invoke a function for each element in a collection.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -30,9 +30,10 @@
|
|
|
30
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stdlib/assert-is-collection": "^0.2.
|
|
34
|
-
"@stdlib/assert-is-function": "^0.2.
|
|
35
|
-
"@stdlib/string-format": "^0.2.
|
|
33
|
+
"@stdlib/assert-is-collection": "^0.2.3",
|
|
34
|
+
"@stdlib/assert-is-function": "^0.2.2",
|
|
35
|
+
"@stdlib/string-format": "^0.2.3",
|
|
36
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.2.3"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {},
|
|
38
39
|
"engines": {
|