@stdlib/utils-async-some-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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2023 The Stdlib Authors.
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-2023. The Stdlib [Authors][stdlib-authors].
446
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
447
447
 
448
448
  </section>
449
449
 
@@ -456,8 +456,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
456
456
  [npm-image]: http://img.shields.io/npm/v/@stdlib/utils-async-some-by-right.svg
457
457
  [npm-url]: https://npmjs.org/package/@stdlib/utils-async-some-by-right
458
458
 
459
- [test-image]: https://github.com/stdlib-js/utils-async-some-by-right/actions/workflows/test.yml/badge.svg?branch=v0.1.0
460
- [test-url]: https://github.com/stdlib-js/utils-async-some-by-right/actions/workflows/test.yml?query=branch:v0.1.0
459
+ [test-image]: https://github.com/stdlib-js/utils-async-some-by-right/actions/workflows/test.yml/badge.svg?branch=v0.2.1
460
+ [test-url]: https://github.com/stdlib-js/utils-async-some-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-some-by-right/main.svg
463
463
  [coverage-url]: https://codecov.io/github/stdlib-js/utils-async-some-by-right?branch=main
@@ -480,8 +480,11 @@ Copyright &copy; 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-some-by-right/tree/deno
483
+ [deno-readme]: https://github.com/stdlib-js/utils-async-some-by-right/blob/deno/README.md
483
484
  [umd-url]: https://github.com/stdlib-js/utils-async-some-by-right/tree/umd
485
+ [umd-readme]: https://github.com/stdlib-js/utils-async-some-by-right/blob/umd/README.md
484
486
  [esm-url]: https://github.com/stdlib-js/utils-async-some-by-right/tree/esm
487
+ [esm-readme]: https://github.com/stdlib-js/utils-async-some-by-right/blob/esm/README.md
485
488
  [branches-url]: https://github.com/stdlib-js/utils-async-some-by-right/blob/main/branches.md
486
489
 
487
490
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-async-some-by-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).
@@ -140,7 +140,7 @@ interface SomeByRightAsync {
140
140
  * @throws must provide valid options
141
141
  *
142
142
  * @example
143
- * var readFile = require( `@stdlib/fs/read-file` );
143
+ * var readFile = require( '@stdlib/fs-read-file' );
144
144
  *
145
145
  * function done( error, bool ) {
146
146
  * if ( error ) {
@@ -192,7 +192,7 @@ interface SomeByRightAsync {
192
192
  * @throws must provide valid options
193
193
  *
194
194
  * @example
195
- * var readFile = require( `@stdlib/fs/read-file` );
195
+ * var readFile = require( '@stdlib/fs-read-file' );
196
196
  *
197
197
  * function done( error, bool ) {
198
198
  * if ( error ) {
@@ -226,7 +226,7 @@ interface SomeByRightAsync {
226
226
  *
227
227
  * someByRightAsync( files, 2, predicate, done );
228
228
  */
229
- <T = unknown, V = unknown>( collection: Collection<T>, n: number, predicate: Predicate<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
229
+ <T = unknown, V = unknown>( collection: Collection<T>, n: number, predicate: Predicate<T, V>, done: Callback ): void;
230
230
 
231
231
  /**
232
232
  * Returns a function for testing whether a collection contains at least `n` elements which pass a test implemented by a predicate function, iterating from right to left.
@@ -245,7 +245,7 @@ interface SomeByRightAsync {
245
245
  * @returns function which invokes the predicate function once for each element in a collection
246
246
  *
247
247
  * @example
248
- * var readFile = require( `@stdlib/fs/read-file` );
248
+ * var readFile = require( '@stdlib/fs-read-file' );
249
249
  *
250
250
  * function predicate( file, next ) {
251
251
  * var opts = {
@@ -304,7 +304,7 @@ interface SomeByRightAsync {
304
304
  * @returns function which invokes the predicate function once for each element in a collection
305
305
  *
306
306
  * @example
307
- * var readFile = require( `@stdlib/fs/read-file` );
307
+ * var readFile = require( '@stdlib/fs-read-file' );
308
308
  *
309
309
  * function predicate( file, next ) {
310
310
  * var opts = {
@@ -348,7 +348,7 @@ interface SomeByRightAsync {
348
348
  * // Try to read each element in `files`:
349
349
  * someByRightAsync( files, 2, done );
350
350
  */
351
- factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
351
+ factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
352
352
  }
353
353
 
354
354
  /**
@@ -371,7 +371,7 @@ interface SomeByRightAsync {
371
371
  * @throws must provide valid options
372
372
  *
373
373
  * @example
374
- * var readFile = require( `@stdlib/fs/read-file` );
374
+ * var readFile = require( '@stdlib/fs-read-file' );
375
375
  *
376
376
  * function done( error, bool ) {
377
377
  * if ( error ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/utils-async-some-by-right",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "Test whether a collection contains at least `n` elements which 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
- "test": "./test"
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.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",
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