@stdlib/utils-none-by 0.0.4 → 0.0.8

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-2021 The Stdlib Authors.
1
+ Copyright (c) 2016-2022 The Stdlib Authors.
package/README.md CHANGED
@@ -20,7 +20,7 @@ limitations under the License.
20
20
 
21
21
  # noneBy
22
22
 
23
- [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
23
+ [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
24
24
 
25
25
  > Test whether all elements in a collection fail a test implemented by a predicate function.
26
26
 
@@ -202,6 +202,25 @@ bool = noneBy( arr, isNegative );
202
202
 
203
203
  <!-- /.references -->
204
204
 
205
+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
206
+
207
+ <section class="related">
208
+
209
+ * * *
210
+
211
+ ## See Also
212
+
213
+ - <span class="package-name">[`@stdlib/utils/any-by`][@stdlib/utils/any-by]</span><span class="delimiter">: </span><span class="description">test whether at least one element in a collection passes a test implemented by a predicate function.</span>
214
+ - <span class="package-name">[`@stdlib/utils/every-by`][@stdlib/utils/every-by]</span><span class="delimiter">: </span><span class="description">test whether all elements in a collection pass a test implemented by a predicate function.</span>
215
+ - <span class="package-name">[`@stdlib/utils/for-each`][@stdlib/utils/for-each]</span><span class="delimiter">: </span><span class="description">invoke a function for each element in a collection.</span>
216
+ - <span class="package-name">[`@stdlib/utils/none`][@stdlib/utils/none]</span><span class="delimiter">: </span><span class="description">test whether all elements in a collection are falsy.</span>
217
+ - <span class="package-name">[`@stdlib/utils/none-by-right`][@stdlib/utils/none-by-right]</span><span class="delimiter">: </span><span class="description">test whether all elements in a collection fail a test implemented by a predicate function, iterating from right to left.</span>
218
+ - <span class="package-name">[`@stdlib/utils/some-by`][@stdlib/utils/some-by]</span><span class="delimiter">: </span><span class="description">test whether a collection contains at least `n` elements which pass a test implemented by a predicate function.</span>
219
+
220
+ </section>
221
+
222
+ <!-- /.related -->
223
+
205
224
  <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
206
225
 
207
226
 
@@ -228,7 +247,7 @@ See [LICENSE][stdlib-license].
228
247
 
229
248
  ## Copyright
230
249
 
231
- Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
250
+ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
232
251
 
233
252
  </section>
234
253
 
@@ -247,9 +266,20 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
247
266
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-none-by/main.svg
248
267
  [coverage-url]: https://codecov.io/github/stdlib-js/utils-none-by?branch=main
249
268
 
269
+ <!--
270
+
250
271
  [dependencies-image]: https://img.shields.io/david/stdlib-js/utils-none-by.svg
251
272
  [dependencies-url]: https://david-dm.org/stdlib-js/utils-none-by/main
252
273
 
274
+ -->
275
+
276
+ [umd]: https://github.com/umdjs/umd
277
+ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
278
+
279
+ [deno-url]: https://github.com/stdlib-js/utils-none-by/tree/deno
280
+ [umd-url]: https://github.com/stdlib-js/utils-none-by/tree/umd
281
+ [esm-url]: https://github.com/stdlib-js/utils-none-by/tree/esm
282
+
253
283
  [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
254
284
  [chat-url]: https://gitter.im/stdlib-js/stdlib/
255
285
 
@@ -265,6 +295,22 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
265
295
 
266
296
  [mdn-object]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object
267
297
 
298
+ <!-- <related-links> -->
299
+
300
+ [@stdlib/utils/any-by]: https://www.npmjs.com/package/@stdlib/utils-any-by
301
+
302
+ [@stdlib/utils/every-by]: https://www.npmjs.com/package/@stdlib/utils-every-by
303
+
304
+ [@stdlib/utils/for-each]: https://www.npmjs.com/package/@stdlib/utils-for-each
305
+
306
+ [@stdlib/utils/none]: https://www.npmjs.com/package/@stdlib/utils-none
307
+
308
+ [@stdlib/utils/none-by-right]: https://www.npmjs.com/package/@stdlib/utils-none-by-right
309
+
310
+ [@stdlib/utils/some-by]: https://www.npmjs.com/package/@stdlib/utils-some-by
311
+
312
+ <!-- </related-links> -->
313
+
268
314
  </section>
269
315
 
270
316
  <!-- /.links -->
@@ -54,7 +54,7 @@ type Binary = ( value: any, index: number ) => boolean;
54
54
  * @param collection - input collection
55
55
  * @returns boolean indicating whether an element in a collection passes a test
56
56
  */
57
- type Tertiary = ( value: any, index: number, collection: Collection ) => boolean; // tslint-disable-line max-line-length
57
+ type Ternary = ( value: any, index: number, collection: Collection ) => boolean;
58
58
 
59
59
  /**
60
60
  * Checks whether an element in a collection passes a test.
@@ -64,7 +64,7 @@ type Tertiary = ( value: any, index: number, collection: Collection ) => boolean
64
64
  * @param collection - input collection
65
65
  * @returns boolean indicating whether an element in a collection passes a test
66
66
  */
67
- type Predicate = Nullary | Unary | Binary | Tertiary;
67
+ type Predicate = Nullary | Unary | Binary | Ternary;
68
68
 
69
69
  /**
70
70
  * Tests whether all elements in a collection fail a test implemented by a predicate function.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/utils-none-by",
3
- "version": "0.0.4",
3
+ "version": "0.0.8",
4
4
  "description": "Test whether all elements in a collection fail a test implemented by a predicate function.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
package/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- # CHANGELOG
2
-
3
- > Package changelog.
4
-
5
- See [GitHub Releases](https://github.com/stdlib-js/utils-none-by/releases) for the changelog.