@stdlib/utils-async-for-each-right 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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2023 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -389,7 +389,7 @@ See [LICENSE][stdlib-license].
389
389
 
390
390
  ## Copyright
391
391
 
392
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
392
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
393
393
 
394
394
  </section>
395
395
 
@@ -402,8 +402,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
402
402
  [npm-image]: http://img.shields.io/npm/v/@stdlib/utils-async-for-each-right.svg
403
403
  [npm-url]: https://npmjs.org/package/@stdlib/utils-async-for-each-right
404
404
 
405
- [test-image]: https://github.com/stdlib-js/utils-async-for-each-right/actions/workflows/test.yml/badge.svg?branch=v0.1.0
406
- [test-url]: https://github.com/stdlib-js/utils-async-for-each-right/actions/workflows/test.yml?query=branch:v0.1.0
405
+ [test-image]: https://github.com/stdlib-js/utils-async-for-each-right/actions/workflows/test.yml/badge.svg?branch=v0.2.0
406
+ [test-url]: https://github.com/stdlib-js/utils-async-for-each-right/actions/workflows/test.yml?query=branch:v0.2.0
407
407
 
408
408
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-async-for-each-right/main.svg
409
409
  [coverage-url]: https://codecov.io/github/stdlib-js/utils-async-for-each-right?branch=main
@@ -426,8 +426,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
426
426
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
427
427
 
428
428
  [deno-url]: https://github.com/stdlib-js/utils-async-for-each-right/tree/deno
429
+ [deno-readme]: https://github.com/stdlib-js/utils-async-for-each-right/blob/deno/README.md
429
430
  [umd-url]: https://github.com/stdlib-js/utils-async-for-each-right/tree/umd
431
+ [umd-readme]: https://github.com/stdlib-js/utils-async-for-each-right/blob/umd/README.md
430
432
  [esm-url]: https://github.com/stdlib-js/utils-async-for-each-right/tree/esm
433
+ [esm-readme]: https://github.com/stdlib-js/utils-async-for-each-right/blob/esm/README.md
431
434
  [branches-url]: https://github.com/stdlib-js/utils-async-for-each-right/blob/main/branches.md
432
435
 
433
436
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-async-for-each-right/main/LICENSE
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security
2
+
3
+ > Policy for reporting security vulnerabilities.
4
+
5
+ See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security).
@@ -135,7 +135,7 @@ interface ForEachRightAsync {
135
135
  * @throws must provide valid options
136
136
  *
137
137
  * @example
138
- * var readFile = require( `@stdlib/fs/read-file` );
138
+ * var readFile = require( '@stdlib/fs-read-file' );
139
139
  *
140
140
  * function done( error ) {
141
141
  * if ( error ) {
@@ -186,7 +186,7 @@ interface ForEachRightAsync {
186
186
  * @throws must provide valid options
187
187
  *
188
188
  * @example
189
- * var readFile = require( `@stdlib/fs/read-file` );
189
+ * var readFile = require( '@stdlib/fs-read-file' );
190
190
  *
191
191
  * function done( error ) {
192
192
  * if ( error ) {
@@ -217,7 +217,7 @@ interface ForEachRightAsync {
217
217
  *
218
218
  * forEachRightAsync( files, read, done );
219
219
  */
220
- <T = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
220
+ <T = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, V>, done: Callback ): void;
221
221
 
222
222
  /**
223
223
  * Returns a function to invoke a function once for each element in a collection.
@@ -236,7 +236,7 @@ interface ForEachRightAsync {
236
236
  * @returns function which invokes the provided function once for each element in a collection
237
237
  *
238
238
  * @example
239
- * var readFile = require( `@stdlib/fs/read-file` );
239
+ * var readFile = require( '@stdlib/fs-read-file' );
240
240
  *
241
241
  * function read( file, next ) {
242
242
  * var opts = {
@@ -291,7 +291,7 @@ interface ForEachRightAsync {
291
291
  * @returns function which invokes the provided function once for each element in a collection
292
292
  *
293
293
  * @example
294
- * var readFile = require( `@stdlib/fs/read-file` );
294
+ * var readFile = require( '@stdlib/fs-read-file' );
295
295
  *
296
296
  * function read( file, next ) {
297
297
  * var opts = {
@@ -328,7 +328,7 @@ interface ForEachRightAsync {
328
328
  * // Run `read` for each element in `files`:
329
329
  * forEachRightAsync( files, done );
330
330
  */
331
- factory<T = unknown, V = unknown>( fcn: Fcn<T, V> ): FactoryFunction; // tslint:disable-line:no-unnecessary-generics
331
+ factory<T = unknown, V = unknown>( fcn: Fcn<T, V> ): FactoryFunction;
332
332
  }
333
333
 
334
334
  /**
@@ -349,7 +349,7 @@ interface ForEachRightAsync {
349
349
  * @throws must provide valid options
350
350
  *
351
351
  * @example
352
- * var readFile = require( `@stdlib/fs/read-file` );
352
+ * var readFile = require( '@stdlib/fs-read-file' );
353
353
  *
354
354
  * function done( error ) {
355
355
  * if ( error ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/utils-async-for-each-right",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Invoke a function once for each element in a collection, iterating from right to left.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -37,26 +37,27 @@
37
37
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
38
  },
39
39
  "dependencies": {
40
- "@stdlib/assert-has-own-property": "^0.1.0",
41
- "@stdlib/assert-is-boolean": "^0.1.0",
42
- "@stdlib/assert-is-collection": "^0.1.0",
43
- "@stdlib/assert-is-function": "^0.1.0",
44
- "@stdlib/assert-is-plain-object": "^0.1.0",
45
- "@stdlib/assert-is-positive-integer": "^0.1.0",
46
- "@stdlib/constants-float64-pinf": "^0.1.0",
47
- "@stdlib/string-format": "^0.1.0",
48
- "@stdlib/types": "^0.1.0",
49
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.0",
40
+ "@stdlib/assert-has-own-property": "^0.1.1",
41
+ "@stdlib/assert-is-boolean": "^0.2.0",
42
+ "@stdlib/assert-is-collection": "^0.2.0",
43
+ "@stdlib/assert-is-function": "^0.2.0",
44
+ "@stdlib/assert-is-plain-object": "^0.2.0",
45
+ "@stdlib/assert-is-positive-integer": "^0.2.0",
46
+ "@stdlib/constants-float64-pinf": "^0.2.0",
47
+ "@stdlib/string-format": "^0.2.0",
48
+ "@stdlib/types": "^0.3.1",
49
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
50
50
  "debug": "^2.6.9",
51
- "@stdlib/error-tools-fmtprodmsg": "^0.1.0"
51
+ "@stdlib/error-tools-fmtprodmsg": "^0.1.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@stdlib/bench": "^0.1.0",
55
- "@stdlib/fs-read-file": "^0.1.0",
56
- "@stdlib/utils-noop": "^0.1.0",
54
+ "@stdlib/fs-read-file": "^0.1.1",
55
+ "@stdlib/utils-noop": "^0.2.0",
57
56
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
58
57
  "istanbul": "^0.4.1",
59
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
58
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
59
+ "@stdlib/bench-harness": "^0.1.2",
60
+ "@stdlib/bench": "^0.3.1"
60
61
  },
61
62
  "engines": {
62
63
  "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