@stdlib/utils-async-group-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
@@ -505,7 +505,7 @@ See [LICENSE][stdlib-license].
505
505
 
506
506
  ## Copyright
507
507
 
508
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
508
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
509
509
 
510
510
  </section>
511
511
 
@@ -518,8 +518,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
518
518
  [npm-image]: http://img.shields.io/npm/v/@stdlib/utils-async-group-by.svg
519
519
  [npm-url]: https://npmjs.org/package/@stdlib/utils-async-group-by
520
520
 
521
- [test-image]: https://github.com/stdlib-js/utils-async-group-by/actions/workflows/test.yml/badge.svg?branch=v0.1.0
522
- [test-url]: https://github.com/stdlib-js/utils-async-group-by/actions/workflows/test.yml?query=branch:v0.1.0
521
+ [test-image]: https://github.com/stdlib-js/utils-async-group-by/actions/workflows/test.yml/badge.svg?branch=v0.2.0
522
+ [test-url]: https://github.com/stdlib-js/utils-async-group-by/actions/workflows/test.yml?query=branch:v0.2.0
523
523
 
524
524
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-async-group-by/main.svg
525
525
  [coverage-url]: https://codecov.io/github/stdlib-js/utils-async-group-by?branch=main
@@ -542,8 +542,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
542
542
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
543
543
 
544
544
  [deno-url]: https://github.com/stdlib-js/utils-async-group-by/tree/deno
545
+ [deno-readme]: https://github.com/stdlib-js/utils-async-group-by/blob/deno/README.md
545
546
  [umd-url]: https://github.com/stdlib-js/utils-async-group-by/tree/umd
547
+ [umd-readme]: https://github.com/stdlib-js/utils-async-group-by/blob/umd/README.md
546
548
  [esm-url]: https://github.com/stdlib-js/utils-async-group-by/tree/esm
549
+ [esm-readme]: https://github.com/stdlib-js/utils-async-group-by/blob/esm/README.md
547
550
  [branches-url]: https://github.com/stdlib-js/utils-async-group-by/blob/main/branches.md
548
551
 
549
552
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-async-group-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).
@@ -273,7 +273,7 @@ interface GroupByAsync {
273
273
  * @throws must provide valid options
274
274
  *
275
275
  * @example
276
- * var readFile = require( `@stdlib/fs/read-file` );
276
+ * var readFile = require( '@stdlib/fs-read-file' );
277
277
  *
278
278
  * function done( error, result ) {
279
279
  * if ( error ) {
@@ -323,7 +323,7 @@ interface GroupByAsync {
323
323
  * @throws must provide valid options
324
324
  *
325
325
  * @example
326
- * var readFile = require( `@stdlib/fs/read-file` );
326
+ * var readFile = require( '@stdlib/fs-read-file' );
327
327
  *
328
328
  * function done( error, result ) {
329
329
  * if ( error ) {
@@ -373,7 +373,7 @@ interface GroupByAsync {
373
373
  * @throws must provide valid options
374
374
  *
375
375
  * @example
376
- * var readFile = require( `@stdlib/fs/read-file` );
376
+ * var readFile = require( '@stdlib/fs-read-file' );
377
377
  *
378
378
  * function done( error, result ) {
379
379
  * if ( error ) {
@@ -417,7 +417,7 @@ interface GroupByAsync {
417
417
  * @param done - function to invoke upon completion
418
418
  *
419
419
  * @example
420
- * var readFile = require( `@stdlib/fs/read-file` );
420
+ * var readFile = require( '@stdlib/fs-read-file' );
421
421
  *
422
422
  * function done( error, result ) {
423
423
  * if ( error ) {
@@ -447,7 +447,7 @@ interface GroupByAsync {
447
447
  *
448
448
  * groupByAsync( files, indicator, done );
449
449
  */
450
- <T = unknown, V = unknown>( collection: Collection<T>, indicator: Indicator<T, V>, done: ValuesCallback<T> ): void; // tslint:disable-line:no-unnecessary-generics
450
+ <T = unknown, V = unknown>( collection: Collection<T>, indicator: Indicator<T, V>, done: ValuesCallback<T> ): void;
451
451
 
452
452
  /**
453
453
  * Returns a function for grouping values according to an indicator function.
@@ -466,7 +466,7 @@ interface GroupByAsync {
466
466
  * @returns function which invokes the indicator function once for each element in a collection
467
467
  *
468
468
  * @example
469
- * var readFile = require( `@stdlib/fs/read-file` );
469
+ * var readFile = require( '@stdlib/fs-read-file' );
470
470
  *
471
471
  * function indicator( file, next ) {
472
472
  * var opts = {
@@ -525,7 +525,7 @@ interface GroupByAsync {
525
525
  * @returns function which invokes the indicator function once for each element in a collection
526
526
  *
527
527
  * @example
528
- * var readFile = require( `@stdlib/fs/read-file` );
528
+ * var readFile = require( '@stdlib/fs-read-file' );
529
529
  *
530
530
  * function indicator( file, next ) {
531
531
  * var opts = {
@@ -584,7 +584,7 @@ interface GroupByAsync {
584
584
  * @returns function which invokes the indicator function once for each element in a collection
585
585
  *
586
586
  * @example
587
- * var readFile = require( `@stdlib/fs/read-file` );
587
+ * var readFile = require( '@stdlib/fs-read-file' );
588
588
  *
589
589
  * function indicator( file, next ) {
590
590
  * var opts = {
@@ -637,7 +637,7 @@ interface GroupByAsync {
637
637
  * @returns function which invokes the indicator function once for each element in a collection
638
638
  *
639
639
  * @example
640
- * var readFile = require( `@stdlib/fs/read-file` );
640
+ * var readFile = require( '@stdlib/fs-read-file' );
641
641
  *
642
642
  * function indicator( file, next ) {
643
643
  * var opts = {
@@ -673,7 +673,7 @@ interface GroupByAsync {
673
673
  * // Try to read each element in `files`:
674
674
  * groupByAsync( files, done );
675
675
  */
676
- factory<T = unknown, V = unknown>( indicator: Indicator<T, V> ): ValuesFactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
676
+ factory<T = unknown, V = unknown>( indicator: Indicator<T, V> ): ValuesFactoryFunction<T>;
677
677
  }
678
678
 
679
679
  /**
@@ -694,7 +694,7 @@ interface GroupByAsync {
694
694
  * @throws must provide valid options
695
695
  *
696
696
  * @example
697
- * var readFile = require( `@stdlib/fs/read-file` );
697
+ * var readFile = require( '@stdlib/fs-read-file' );
698
698
  *
699
699
  * function done( error, result ) {
700
700
  * if ( error ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/utils-async-group-by",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Group values according to an indicator function.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -37,27 +37,28 @@
37
37
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
38
  },
39
39
  "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
- "@stdlib/utils-index-of": "^0.1.0",
40
+ "@stdlib/assert-has-own-property": "^0.1.1",
41
+ "@stdlib/assert-is-boolean": "^0.2.0",
42
+ "@stdlib/assert-is-collection": "^0.2.0",
43
+ "@stdlib/assert-is-function": "^0.2.0",
44
+ "@stdlib/assert-is-plain-object": "^0.2.0",
45
+ "@stdlib/assert-is-positive-integer": "^0.2.0",
46
+ "@stdlib/constants-float64-pinf": "^0.2.0",
47
+ "@stdlib/string-format": "^0.2.0",
48
+ "@stdlib/types": "^0.3.1",
49
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
50
+ "@stdlib/utils-index-of": "^0.2.0",
51
51
  "debug": "^2.6.9",
52
- "@stdlib/error-tools-fmtprodmsg": "^0.1.0"
52
+ "@stdlib/error-tools-fmtprodmsg": "^0.1.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@stdlib/bench": "^0.1.0",
56
- "@stdlib/fs-read-file": "^0.1.0",
57
- "@stdlib/utils-noop": "^0.1.0",
55
+ "@stdlib/fs-read-file": "^0.1.1",
56
+ "@stdlib/utils-noop": "^0.2.0",
58
57
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
59
58
  "istanbul": "^0.4.1",
60
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
59
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
60
+ "@stdlib/bench-harness": "^0.1.2",
61
+ "@stdlib/bench": "^0.3.1"
61
62
  },
62
63
  "engines": {
63
64
  "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