@stdlib/utils-inmap 0.1.0 → 0.2.0
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 +9 -3
- package/SECURITY.md +5 -0
- package/package.json +12 -11
- package/CITATION.cff +0 -30
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2024 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -241,6 +241,7 @@ console.log( out );
|
|
|
241
241
|
|
|
242
242
|
- <span class="package-name">[`@stdlib/utils-for-each`][@stdlib/utils/for-each]</span><span class="delimiter">: </span><span class="description">invoke a function for each element in a collection.</span>
|
|
243
243
|
- <span class="package-name">[`@stdlib/utils-inmap-right`][@stdlib/utils/inmap-right]</span><span class="delimiter">: </span><span class="description">invoke a function for each element in a collection and update the collection in-place, iterating from right to left.</span>
|
|
244
|
+
- <span class="package-name">[`@stdlib/utils-map`][@stdlib/utils/map]</span><span class="delimiter">: </span><span class="description">apply a function to each element in an array and assign the result to an element in an output array.</span>
|
|
244
245
|
|
|
245
246
|
</section>
|
|
246
247
|
|
|
@@ -272,7 +273,7 @@ See [LICENSE][stdlib-license].
|
|
|
272
273
|
|
|
273
274
|
## Copyright
|
|
274
275
|
|
|
275
|
-
Copyright © 2016-
|
|
276
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
276
277
|
|
|
277
278
|
</section>
|
|
278
279
|
|
|
@@ -285,8 +286,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
285
286
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/utils-inmap.svg
|
|
286
287
|
[npm-url]: https://npmjs.org/package/@stdlib/utils-inmap
|
|
287
288
|
|
|
288
|
-
[test-image]: https://github.com/stdlib-js/utils-inmap/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
289
|
-
[test-url]: https://github.com/stdlib-js/utils-inmap/actions/workflows/test.yml?query=branch:v0.
|
|
289
|
+
[test-image]: https://github.com/stdlib-js/utils-inmap/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
290
|
+
[test-url]: https://github.com/stdlib-js/utils-inmap/actions/workflows/test.yml?query=branch:v0.2.0
|
|
290
291
|
|
|
291
292
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-inmap/main.svg
|
|
292
293
|
[coverage-url]: https://codecov.io/github/stdlib-js/utils-inmap?branch=main
|
|
@@ -309,8 +310,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
309
310
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
310
311
|
|
|
311
312
|
[deno-url]: https://github.com/stdlib-js/utils-inmap/tree/deno
|
|
313
|
+
[deno-readme]: https://github.com/stdlib-js/utils-inmap/blob/deno/README.md
|
|
312
314
|
[umd-url]: https://github.com/stdlib-js/utils-inmap/tree/umd
|
|
315
|
+
[umd-readme]: https://github.com/stdlib-js/utils-inmap/blob/umd/README.md
|
|
313
316
|
[esm-url]: https://github.com/stdlib-js/utils-inmap/tree/esm
|
|
317
|
+
[esm-readme]: https://github.com/stdlib-js/utils-inmap/blob/esm/README.md
|
|
314
318
|
[branches-url]: https://github.com/stdlib-js/utils-inmap/blob/main/branches.md
|
|
315
319
|
|
|
316
320
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-inmap/main/LICENSE
|
|
@@ -329,6 +333,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
329
333
|
|
|
330
334
|
[@stdlib/utils/inmap-right]: https://www.npmjs.com/package/@stdlib/utils-inmap-right
|
|
331
335
|
|
|
336
|
+
[@stdlib/utils/map]: https://www.npmjs.com/package/@stdlib/utils-map
|
|
337
|
+
|
|
332
338
|
<!-- </related-links> -->
|
|
333
339
|
|
|
334
340
|
</section>
|
package/SECURITY.md
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/utils-inmap",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Invoke a function for each element in a collection and update the collection in-place.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,21 +37,22 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/assert-is-collection": "^0.
|
|
41
|
-
"@stdlib/assert-is-function": "^0.
|
|
42
|
-
"@stdlib/string-format": "^0.
|
|
43
|
-
"@stdlib/types": "^0.1
|
|
44
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.1.
|
|
40
|
+
"@stdlib/assert-is-collection": "^0.2.0",
|
|
41
|
+
"@stdlib/assert-is-function": "^0.2.0",
|
|
42
|
+
"@stdlib/string-format": "^0.2.0",
|
|
43
|
+
"@stdlib/types": "^0.3.1",
|
|
44
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.1.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@stdlib/array-float64": "^0.1.
|
|
47
|
+
"@stdlib/array-float64": "^0.1.1",
|
|
48
48
|
"@stdlib/assert-is-even": "^0.1.0",
|
|
49
|
-
"@stdlib/
|
|
50
|
-
"@stdlib/
|
|
51
|
-
"@stdlib/utils-noop": "^0.1.0",
|
|
49
|
+
"@stdlib/constants-float64-eps": "^0.1.1",
|
|
50
|
+
"@stdlib/utils-noop": "^0.2.0",
|
|
52
51
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
53
52
|
"istanbul": "^0.4.1",
|
|
54
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
53
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
54
|
+
"@stdlib/bench-harness": "^0.1.2",
|
|
55
|
+
"@stdlib/bench": "^0.3.1"
|
|
55
56
|
},
|
|
56
57
|
"engines": {
|
|
57
58
|
"node": ">=0.10.0",
|
package/CITATION.cff
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
cff-version: 1.2.0
|
|
2
|
-
title: stdlib
|
|
3
|
-
message: >-
|
|
4
|
-
If you use this software, please cite it using the
|
|
5
|
-
metadata from this file.
|
|
6
|
-
|
|
7
|
-
type: software
|
|
8
|
-
|
|
9
|
-
authors:
|
|
10
|
-
- name: The Stdlib Authors
|
|
11
|
-
url: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
12
|
-
|
|
13
|
-
repository-code: https://github.com/stdlib-js/stdlib
|
|
14
|
-
url: https://stdlib.io
|
|
15
|
-
|
|
16
|
-
abstract: |
|
|
17
|
-
Standard library for JavaScript and Node.js.
|
|
18
|
-
|
|
19
|
-
keywords:
|
|
20
|
-
- JavaScript
|
|
21
|
-
- Node.js
|
|
22
|
-
- TypeScript
|
|
23
|
-
- standard library
|
|
24
|
-
- scientific computing
|
|
25
|
-
- numerical computing
|
|
26
|
-
- statistical computing
|
|
27
|
-
|
|
28
|
-
license: Apache-2.0 AND BSL-1.0
|
|
29
|
-
|
|
30
|
-
date-released: 2016
|