@stdlib/utils-async-none-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-none-by-right.svg
|
|
457
457
|
[npm-url]: https://npmjs.org/package/@stdlib/utils-async-none-by-right
|
|
458
458
|
|
|
459
|
-
[test-image]: https://github.com/stdlib-js/utils-async-none-by-right/actions/workflows/test.yml/badge.svg?branch=v0.1
|
|
460
|
-
[test-url]: https://github.com/stdlib-js/utils-async-none-by-right/actions/workflows/test.yml?query=branch:v0.1
|
|
459
|
+
[test-image]: https://github.com/stdlib-js/utils-async-none-by-right/actions/workflows/test.yml/badge.svg?branch=v0.2.1
|
|
460
|
+
[test-url]: https://github.com/stdlib-js/utils-async-none-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-none-by-right/main.svg
|
|
463
463
|
[coverage-url]: https://codecov.io/github/stdlib-js/utils-async-none-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-none-by-right/tree/deno
|
|
483
|
+
[deno-readme]: https://github.com/stdlib-js/utils-async-none-by-right/blob/deno/README.md
|
|
483
484
|
[umd-url]: https://github.com/stdlib-js/utils-async-none-by-right/tree/umd
|
|
485
|
+
[umd-readme]: https://github.com/stdlib-js/utils-async-none-by-right/blob/umd/README.md
|
|
484
486
|
[esm-url]: https://github.com/stdlib-js/utils-async-none-by-right/tree/esm
|
|
487
|
+
[esm-readme]: https://github.com/stdlib-js/utils-async-none-by-right/blob/esm/README.md
|
|
485
488
|
[branches-url]: https://github.com/stdlib-js/utils-async-none-by-right/blob/main/branches.md
|
|
486
489
|
|
|
487
490
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-async-none-by-right/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ interface NoneByRightAsync {
|
|
|
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 ) {
|
|
@@ -186,7 +186,7 @@ interface NoneByRightAsync {
|
|
|
186
186
|
* @param done - function to invoke upon completion
|
|
187
187
|
*
|
|
188
188
|
* @example
|
|
189
|
-
* var readFile = require(
|
|
189
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
190
190
|
*
|
|
191
191
|
* function done( error, bool ) {
|
|
192
192
|
* if ( error ) {
|
|
@@ -220,7 +220,7 @@ interface NoneByRightAsync {
|
|
|
220
220
|
*
|
|
221
221
|
* noneByRightAsync( files, predicate, done );
|
|
222
222
|
*/
|
|
223
|
-
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
|
|
223
|
+
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* Returns a function for testing whether all elements in a collection fail a test implemented by a predicate function, iterating from right to left.
|
|
@@ -240,7 +240,7 @@ interface NoneByRightAsync {
|
|
|
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 = {
|
|
@@ -300,7 +300,7 @@ interface NoneByRightAsync {
|
|
|
300
300
|
* @returns function which invokes the predicate function once for each element in a collection
|
|
301
301
|
*
|
|
302
302
|
* @example
|
|
303
|
-
* var readFile = require(
|
|
303
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
304
304
|
*
|
|
305
305
|
* function predicate( file, next ) {
|
|
306
306
|
* var opts = {
|
|
@@ -339,7 +339,7 @@ interface NoneByRightAsync {
|
|
|
339
339
|
* // Try to read each element in `files`:
|
|
340
340
|
* noneByRightAsync( files, done );
|
|
341
341
|
*/
|
|
342
|
-
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
|
|
342
|
+
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
/**
|
|
@@ -360,7 +360,7 @@ interface NoneByRightAsync {
|
|
|
360
360
|
* @throws must provide valid options
|
|
361
361
|
*
|
|
362
362
|
* @example
|
|
363
|
-
* var readFile = require(
|
|
363
|
+
* var readFile = require( '@stdlib/fs-read-file' );
|
|
364
364
|
*
|
|
365
365
|
* function done( error, bool ) {
|
|
366
366
|
* if ( error ) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/utils-async-none-by-right",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Test whether all elements in a collection fail 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
|