@stdlib/utils-async-every-by-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 -30
- 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
|
@@ -443,7 +443,7 @@ See [LICENSE][stdlib-license].
|
|
|
443
443
|
|
|
444
444
|
## Copyright
|
|
445
445
|
|
|
446
|
-
Copyright © 2016-
|
|
446
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
447
447
|
|
|
448
448
|
</section>
|
|
449
449
|
|
|
@@ -456,8 +456,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
456
456
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/utils-async-every-by-right.svg
|
|
457
457
|
[npm-url]: https://npmjs.org/package/@stdlib/utils-async-every-by-right
|
|
458
458
|
|
|
459
|
-
[test-image]: https://github.com/stdlib-js/utils-async-every-by-right/actions/workflows/test.yml/badge.svg?branch=v0.1
|
|
460
|
-
[test-url]: https://github.com/stdlib-js/utils-async-every-by-right/actions/workflows/test.yml?query=branch:v0.1
|
|
459
|
+
[test-image]: https://github.com/stdlib-js/utils-async-every-by-right/actions/workflows/test.yml/badge.svg?branch=v0.2.1
|
|
460
|
+
[test-url]: https://github.com/stdlib-js/utils-async-every-by-right/actions/workflows/test.yml?query=branch:v0.2.1
|
|
461
461
|
|
|
462
462
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-async-every-by-right/main.svg
|
|
463
463
|
[coverage-url]: https://codecov.io/github/stdlib-js/utils-async-every-by-right?branch=main
|
|
@@ -480,8 +480,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
480
480
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
481
481
|
|
|
482
482
|
[deno-url]: https://github.com/stdlib-js/utils-async-every-by-right/tree/deno
|
|
483
|
+
[deno-readme]: https://github.com/stdlib-js/utils-async-every-by-right/blob/deno/README.md
|
|
483
484
|
[umd-url]: https://github.com/stdlib-js/utils-async-every-by-right/tree/umd
|
|
485
|
+
[umd-readme]: https://github.com/stdlib-js/utils-async-every-by-right/blob/umd/README.md
|
|
484
486
|
[esm-url]: https://github.com/stdlib-js/utils-async-every-by-right/tree/esm
|
|
487
|
+
[esm-readme]: https://github.com/stdlib-js/utils-async-every-by-right/blob/esm/README.md
|
|
485
488
|
[branches-url]: https://github.com/stdlib-js/utils-async-every-by-right/blob/main/branches.md
|
|
486
489
|
|
|
487
490
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-async-every-by-right/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ interface EveryByRightAsync {
|
|
|
137
137
|
* @throws must provide valid options
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
|
-
* var readFile = require(
|
|
140
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
141
141
|
*
|
|
142
142
|
* function done( error, bool ) {
|
|
143
143
|
* if ( error ) {
|
|
@@ -187,7 +187,7 @@ interface EveryByRightAsync {
|
|
|
187
187
|
* @throws must provide valid options
|
|
188
188
|
*
|
|
189
189
|
* @example
|
|
190
|
-
* var readFile = require(
|
|
190
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
191
191
|
*
|
|
192
192
|
* function done( error, bool ) {
|
|
193
193
|
* if ( error ) {
|
|
@@ -221,7 +221,7 @@ interface EveryByRightAsync {
|
|
|
221
221
|
*
|
|
222
222
|
* everyByRightAsync( files, predicate, done );
|
|
223
223
|
*/
|
|
224
|
-
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
|
|
224
|
+
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Returns a function for testing whether all elements in a collection pass a test implemented by a predicate function, iterating from right to left.
|
|
@@ -240,7 +240,7 @@ interface EveryByRightAsync {
|
|
|
240
240
|
* @returns function which invokes the predicate function once for each element in a collection
|
|
241
241
|
*
|
|
242
242
|
* @example
|
|
243
|
-
* var readFile = require(
|
|
243
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
244
244
|
*
|
|
245
245
|
* function predicate( file, next ) {
|
|
246
246
|
* var opts = {
|
|
@@ -299,7 +299,7 @@ interface EveryByRightAsync {
|
|
|
299
299
|
* @returns function which invokes the predicate function once for each element in a collection
|
|
300
300
|
*
|
|
301
301
|
* @example
|
|
302
|
-
* var readFile = require(
|
|
302
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
303
303
|
*
|
|
304
304
|
* function predicate( file, next ) {
|
|
305
305
|
* var opts = {
|
|
@@ -343,7 +343,7 @@ interface EveryByRightAsync {
|
|
|
343
343
|
* // Try to read each element in `files`:
|
|
344
344
|
* everyByRightAsync( files, done );
|
|
345
345
|
*/
|
|
346
|
-
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
|
|
346
|
+
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
/**
|
|
@@ -364,7 +364,7 @@ interface EveryByRightAsync {
|
|
|
364
364
|
* @throws must provide valid options
|
|
365
365
|
*
|
|
366
366
|
* @example
|
|
367
|
-
* var readFile = require(
|
|
367
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
368
368
|
*
|
|
369
369
|
* function done( error, bool ) {
|
|
370
370
|
* if ( error ) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/utils-async-every-by-right",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Test whether all elements in a collection pass a test implemented by a predicate function, 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,27 +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/fs-read-file": "^0.1.0",
|
|
56
|
-
"@stdlib/utils-noop": "^0.1.0",
|
|
57
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
58
|
-
"istanbul": "^0.4.1",
|
|
59
|
-
"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"
|
|
60
43
|
},
|
|
44
|
+
"devDependencies": {},
|
|
61
45
|
"engines": {
|
|
62
46
|
"node": ">=0.10.0",
|
|
63
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
|