@stdlib/utils-async-inmap-right 0.1.0 → 0.2.1
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 +6 -3
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +7 -7
- package/package.json +14 -31
- 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
|
@@ -475,7 +475,7 @@ See [LICENSE][stdlib-license].
|
|
|
475
475
|
|
|
476
476
|
## Copyright
|
|
477
477
|
|
|
478
|
-
Copyright © 2016-
|
|
478
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
479
479
|
|
|
480
480
|
</section>
|
|
481
481
|
|
|
@@ -488,8 +488,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
488
488
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/utils-async-inmap-right.svg
|
|
489
489
|
[npm-url]: https://npmjs.org/package/@stdlib/utils-async-inmap-right
|
|
490
490
|
|
|
491
|
-
[test-image]: https://github.com/stdlib-js/utils-async-inmap-right/actions/workflows/test.yml/badge.svg?branch=v0.1
|
|
492
|
-
[test-url]: https://github.com/stdlib-js/utils-async-inmap-right/actions/workflows/test.yml?query=branch:v0.1
|
|
491
|
+
[test-image]: https://github.com/stdlib-js/utils-async-inmap-right/actions/workflows/test.yml/badge.svg?branch=v0.2.1
|
|
492
|
+
[test-url]: https://github.com/stdlib-js/utils-async-inmap-right/actions/workflows/test.yml?query=branch:v0.2.1
|
|
493
493
|
|
|
494
494
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-async-inmap-right/main.svg
|
|
495
495
|
[coverage-url]: https://codecov.io/github/stdlib-js/utils-async-inmap-right?branch=main
|
|
@@ -512,8 +512,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
512
512
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
513
513
|
|
|
514
514
|
[deno-url]: https://github.com/stdlib-js/utils-async-inmap-right/tree/deno
|
|
515
|
+
[deno-readme]: https://github.com/stdlib-js/utils-async-inmap-right/blob/deno/README.md
|
|
515
516
|
[umd-url]: https://github.com/stdlib-js/utils-async-inmap-right/tree/umd
|
|
517
|
+
[umd-readme]: https://github.com/stdlib-js/utils-async-inmap-right/blob/umd/README.md
|
|
516
518
|
[esm-url]: https://github.com/stdlib-js/utils-async-inmap-right/tree/esm
|
|
519
|
+
[esm-readme]: https://github.com/stdlib-js/utils-async-inmap-right/blob/esm/README.md
|
|
517
520
|
[branches-url]: https://github.com/stdlib-js/utils-async-inmap-right/blob/main/branches.md
|
|
518
521
|
|
|
519
522
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-async-inmap-right/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -160,7 +160,7 @@ interface InMapRightAsync {
|
|
|
160
160
|
* @throws must provide valid options
|
|
161
161
|
*
|
|
162
162
|
* @example
|
|
163
|
-
* var readFile = require(
|
|
163
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
164
164
|
*
|
|
165
165
|
* function done( error, results ) {
|
|
166
166
|
* if ( error ) {
|
|
@@ -205,7 +205,7 @@ interface InMapRightAsync {
|
|
|
205
205
|
* @param done - function to invoke upon completion
|
|
206
206
|
*
|
|
207
207
|
* @example
|
|
208
|
-
* var readFile = require(
|
|
208
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
209
209
|
*
|
|
210
210
|
* function done( error, results ) {
|
|
211
211
|
* if ( error ) {
|
|
@@ -235,7 +235,7 @@ interface InMapRightAsync {
|
|
|
235
235
|
*
|
|
236
236
|
* inmapRightAsync( files, read, done );
|
|
237
237
|
*/
|
|
238
|
-
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, U, V>, done: Callback<U> ): void;
|
|
238
|
+
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, U, V>, done: Callback<U> ): void;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* Returns a function to invoke a function once for each element in a collection and to update the collection in-place.
|
|
@@ -254,7 +254,7 @@ interface InMapRightAsync {
|
|
|
254
254
|
* @returns function which invokes the provided function once for each element in a collection
|
|
255
255
|
*
|
|
256
256
|
* @example
|
|
257
|
-
* var readFile = require(
|
|
257
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
258
258
|
*
|
|
259
259
|
* function read( file, next ) {
|
|
260
260
|
* var opts = {
|
|
@@ -309,7 +309,7 @@ interface InMapRightAsync {
|
|
|
309
309
|
* @returns function which invokes the provided function once for each element in a collection
|
|
310
310
|
*
|
|
311
311
|
* @example
|
|
312
|
-
* var readFile = require(
|
|
312
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
313
313
|
*
|
|
314
314
|
* function read( file, next ) {
|
|
315
315
|
* var opts = {
|
|
@@ -345,7 +345,7 @@ interface InMapRightAsync {
|
|
|
345
345
|
* // Run `read` for each element in `files`:
|
|
346
346
|
* inmapRightAsync( files, done );
|
|
347
347
|
*/
|
|
348
|
-
factory<T = unknown, U = unknown, V = unknown>( fcn: Fcn<T, U, V> ): FactoryFunction<T, U>;
|
|
348
|
+
factory<T = unknown, U = unknown, V = unknown>( fcn: Fcn<T, U, V> ): FactoryFunction<T, U>;
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
/**
|
|
@@ -366,7 +366,7 @@ interface InMapRightAsync {
|
|
|
366
366
|
* @throws must provide valid options
|
|
367
367
|
*
|
|
368
368
|
* @example
|
|
369
|
-
* var readFile = require(
|
|
369
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
370
370
|
*
|
|
371
371
|
* function done( error, results ) {
|
|
372
372
|
* if ( error ) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/utils-async-inmap-right",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -15,19 +15,12 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
|
-
"benchmark": "./benchmark",
|
|
19
18
|
"doc": "./docs",
|
|
20
|
-
"example": "./examples",
|
|
21
19
|
"lib": "./lib",
|
|
22
|
-
"
|
|
20
|
+
"dist": "./dist"
|
|
23
21
|
},
|
|
24
22
|
"types": "./docs/types",
|
|
25
|
-
"scripts": {
|
|
26
|
-
"test": "make test",
|
|
27
|
-
"test-cov": "make test-cov",
|
|
28
|
-
"examples": "make examples",
|
|
29
|
-
"benchmark": "make benchmark"
|
|
30
|
-
},
|
|
23
|
+
"scripts": {},
|
|
31
24
|
"homepage": "https://stdlib.io",
|
|
32
25
|
"repository": {
|
|
33
26
|
"type": "git",
|
|
@@ -37,28 +30,18 @@
|
|
|
37
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
31
|
},
|
|
39
32
|
"dependencies": {
|
|
40
|
-
"@stdlib/assert-has-own-property": "^0.1
|
|
41
|
-
"@stdlib/assert-is-boolean": "^0.1
|
|
42
|
-
"@stdlib/assert-is-collection": "^0.1
|
|
43
|
-
"@stdlib/assert-is-function": "^0.1
|
|
44
|
-
"@stdlib/assert-is-plain-object": "^0.1
|
|
45
|
-
"@stdlib/assert-is-positive-integer": "^0.1
|
|
46
|
-
"@stdlib/constants-float64-pinf": "^0.1
|
|
47
|
-
"@stdlib/string-format": "^0.1
|
|
48
|
-
"@stdlib/
|
|
49
|
-
"
|
|
50
|
-
"debug": "^2.6.9",
|
|
51
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.1.0"
|
|
52
|
-
},
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"@stdlib/bench": "^0.1.0",
|
|
55
|
-
"@stdlib/constants-float64-eps": "^0.1.0",
|
|
56
|
-
"@stdlib/fs-read-file": "^0.1.0",
|
|
57
|
-
"@stdlib/utils-noop": "^0.1.0",
|
|
58
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
59
|
-
"istanbul": "^0.4.1",
|
|
60
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
33
|
+
"@stdlib/assert-has-own-property": "^0.2.1",
|
|
34
|
+
"@stdlib/assert-is-boolean": "^0.2.1",
|
|
35
|
+
"@stdlib/assert-is-collection": "^0.2.1",
|
|
36
|
+
"@stdlib/assert-is-function": "^0.2.1",
|
|
37
|
+
"@stdlib/assert-is-plain-object": "^0.2.1",
|
|
38
|
+
"@stdlib/assert-is-positive-integer": "^0.2.1",
|
|
39
|
+
"@stdlib/constants-float64-pinf": "^0.2.1",
|
|
40
|
+
"@stdlib/string-format": "^0.2.1",
|
|
41
|
+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1",
|
|
42
|
+
"debug": "^2.6.9"
|
|
61
43
|
},
|
|
44
|
+
"devDependencies": {},
|
|
62
45
|
"engines": {
|
|
63
46
|
"node": ">=0.10.0",
|
|
64
47
|
"npm": ">2.7.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
|