@stdlib/iter-some-by 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
@@ -222,7 +222,7 @@ See [LICENSE][stdlib-license].
222
222
 
223
223
  ## Copyright
224
224
 
225
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
225
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
226
226
 
227
227
  </section>
228
228
 
@@ -235,8 +235,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
235
235
  [npm-image]: http://img.shields.io/npm/v/@stdlib/iter-some-by.svg
236
236
  [npm-url]: https://npmjs.org/package/@stdlib/iter-some-by
237
237
 
238
- [test-image]: https://github.com/stdlib-js/iter-some-by/actions/workflows/test.yml/badge.svg?branch=v0.1.0
239
- [test-url]: https://github.com/stdlib-js/iter-some-by/actions/workflows/test.yml?query=branch:v0.1.0
238
+ [test-image]: https://github.com/stdlib-js/iter-some-by/actions/workflows/test.yml/badge.svg?branch=v0.2.0
239
+ [test-url]: https://github.com/stdlib-js/iter-some-by/actions/workflows/test.yml?query=branch:v0.2.0
240
240
 
241
241
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/iter-some-by/main.svg
242
242
  [coverage-url]: https://codecov.io/github/stdlib-js/iter-some-by?branch=main
@@ -259,8 +259,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
259
259
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
260
260
 
261
261
  [deno-url]: https://github.com/stdlib-js/iter-some-by/tree/deno
262
+ [deno-readme]: https://github.com/stdlib-js/iter-some-by/blob/deno/README.md
262
263
  [umd-url]: https://github.com/stdlib-js/iter-some-by/tree/umd
264
+ [umd-readme]: https://github.com/stdlib-js/iter-some-by/blob/umd/README.md
263
265
  [esm-url]: https://github.com/stdlib-js/iter-some-by/tree/esm
266
+ [esm-readme]: https://github.com/stdlib-js/iter-some-by/blob/esm/README.md
264
267
  [branches-url]: https://github.com/stdlib-js/iter-some-by/blob/main/branches.md
265
268
 
266
269
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/iter-some-by/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).
@@ -66,7 +66,7 @@ type Predicate = Nullary | Unary | Binary;
66
66
  * @returns boolean indicating whether at least `n` iterated values pass a test implemented by a predicate function
67
67
  *
68
68
  * @example
69
- * var array2iterator = require( `@stdlib/array/to-iterator` );
69
+ * var array2iterator = require( '@stdlib/array-to-iterator' );
70
70
  *
71
71
  * function predicate( v ) {
72
72
  * return ( v > 0 );
@@ -77,7 +77,7 @@ type Predicate = Nullary | Unary | Binary;
77
77
  * var bool = iterSomeBy( it, 3, predicate );
78
78
  * // returns true
79
79
  */
80
- declare function iterSomeBy( iterator: Iterator, n: number, predicate: Predicate, thisArg?: any ): boolean; // tslint:disable-line:max-line-length
80
+ declare function iterSomeBy( iterator: Iterator, n: number, predicate: Predicate, thisArg?: any ): boolean;
81
81
 
82
82
 
83
83
  // EXPORTS //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/iter-some-by",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Test whether at least `n` iterated values pass a test implemented by a predicate function.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -37,22 +37,23 @@
37
37
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
38
  },
39
39
  "dependencies": {
40
- "@stdlib/assert-is-function": "^0.1.0",
41
- "@stdlib/assert-is-iterator-like": "^0.1.0",
42
- "@stdlib/assert-is-positive-integer": "^0.1.0",
43
- "@stdlib/string-format": "^0.1.0",
44
- "@stdlib/types": "^0.1.0",
45
- "@stdlib/error-tools-fmtprodmsg": "^0.1.0"
40
+ "@stdlib/assert-is-function": "^0.2.0",
41
+ "@stdlib/assert-is-iterator-like": "^0.2.0",
42
+ "@stdlib/assert-is-positive-integer": "^0.2.0",
43
+ "@stdlib/string-format": "^0.2.0",
44
+ "@stdlib/types": "^0.3.1",
45
+ "@stdlib/error-tools-fmtprodmsg": "^0.1.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@stdlib/array-to-iterator": "^0.0.6",
49
- "@stdlib/assert-is-boolean": "^0.1.0",
50
- "@stdlib/bench": "^0.1.0",
51
- "@stdlib/random-iter-randu": "^0.0.6",
52
- "@stdlib/utils-noop": "^0.1.0",
48
+ "@stdlib/array-to-iterator": "^0.1.0",
49
+ "@stdlib/assert-is-boolean": "^0.1.1",
50
+ "@stdlib/random-iter-randu": "^0.1.0",
51
+ "@stdlib/utils-noop": "^0.2.0",
53
52
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
54
53
  "istanbul": "^0.4.1",
55
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
54
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
55
+ "@stdlib/bench-harness": "^0.1.2",
56
+ "@stdlib/bench": "^0.3.1"
56
57
  },
57
58
  "engines": {
58
59
  "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