@stdlib/utils-key-by 0.2.2 → 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 +7 -7
- package/package.json +4 -4
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -85,8 +85,8 @@ var out = keyBy( arr, toKey );
|
|
|
85
85
|
|
|
86
86
|
The invoked `function` is provided two arguments:
|
|
87
87
|
|
|
88
|
-
-
|
|
89
|
-
-
|
|
88
|
+
- **value**: collection element.
|
|
89
|
+
- **index**: collection index.
|
|
90
90
|
|
|
91
91
|
To set the function execution context, provide a `thisArg`.
|
|
92
92
|
|
|
@@ -212,7 +212,7 @@ See [LICENSE][stdlib-license].
|
|
|
212
212
|
|
|
213
213
|
## Copyright
|
|
214
214
|
|
|
215
|
-
Copyright © 2016-
|
|
215
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
216
216
|
|
|
217
217
|
</section>
|
|
218
218
|
|
|
@@ -225,8 +225,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
225
225
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/utils-key-by.svg
|
|
226
226
|
[npm-url]: https://npmjs.org/package/@stdlib/utils-key-by
|
|
227
227
|
|
|
228
|
-
[test-image]: https://github.com/stdlib-js/utils-key-by/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
229
|
-
[test-url]: https://github.com/stdlib-js/utils-key-by/actions/workflows/test.yml?query=branch:v0.2.
|
|
228
|
+
[test-image]: https://github.com/stdlib-js/utils-key-by/actions/workflows/test.yml/badge.svg?branch=v0.2.3
|
|
229
|
+
[test-url]: https://github.com/stdlib-js/utils-key-by/actions/workflows/test.yml?query=branch:v0.2.3
|
|
230
230
|
|
|
231
231
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-key-by/main.svg
|
|
232
232
|
[coverage-url]: https://codecov.io/github/stdlib-js/utils-key-by?branch=main
|
|
@@ -238,8 +238,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
238
238
|
|
|
239
239
|
-->
|
|
240
240
|
|
|
241
|
-
[chat-image]: https://img.shields.io/
|
|
242
|
-
[chat-url]: https://
|
|
241
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
242
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
243
243
|
|
|
244
244
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
245
245
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/utils-key-by",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Convert a collection to an object whose keys are determined by a provided function and whose values are the collection values.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stdlib/assert-is-collection": "^0.2.
|
|
33
|
+
"@stdlib/assert-is-collection": "^0.2.3",
|
|
34
34
|
"@stdlib/assert-is-function": "^0.2.2",
|
|
35
|
-
"@stdlib/string-format": "^0.2.
|
|
36
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.2.
|
|
35
|
+
"@stdlib/string-format": "^0.2.3",
|
|
36
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.2.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {},
|
|
39
39
|
"engines": {
|