@stdlib/array-base-group-values-by 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/package.json +6 -27
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2024 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -142,7 +142,7 @@ var cnt = context.count;
|
|
|
142
142
|
|
|
143
143
|
```javascript
|
|
144
144
|
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
|
|
145
|
-
var take = require( '@stdlib/array-base-take' );
|
|
145
|
+
var take = require( '@stdlib/array-base-take-indexed' );
|
|
146
146
|
var groupValuesBy = require( '@stdlib/array-base-group-values-by' );
|
|
147
147
|
|
|
148
148
|
function indicator( v ) {
|
|
@@ -226,8 +226,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
226
226
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-group-values-by.svg
|
|
227
227
|
[npm-url]: https://npmjs.org/package/@stdlib/array-base-group-values-by
|
|
228
228
|
|
|
229
|
-
[test-image]: https://github.com/stdlib-js/array-base-group-values-by/actions/workflows/test.yml/badge.svg?branch=v0.1
|
|
230
|
-
[test-url]: https://github.com/stdlib-js/array-base-group-values-by/actions/workflows/test.yml?query=branch:v0.1
|
|
229
|
+
[test-image]: https://github.com/stdlib-js/array-base-group-values-by/actions/workflows/test.yml/badge.svg?branch=v0.2.1
|
|
230
|
+
[test-url]: https://github.com/stdlib-js/array-base-group-values-by/actions/workflows/test.yml?query=branch:v0.2.1
|
|
231
231
|
|
|
232
232
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-group-values-by/main.svg
|
|
233
233
|
[coverage-url]: https://codecov.io/github/stdlib-js/array-base-group-values-by?branch=main
|
|
@@ -250,8 +250,11 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
250
250
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
251
251
|
|
|
252
252
|
[deno-url]: https://github.com/stdlib-js/array-base-group-values-by/tree/deno
|
|
253
|
+
[deno-readme]: https://github.com/stdlib-js/array-base-group-values-by/blob/deno/README.md
|
|
253
254
|
[umd-url]: https://github.com/stdlib-js/array-base-group-values-by/tree/umd
|
|
255
|
+
[umd-readme]: https://github.com/stdlib-js/array-base-group-values-by/blob/umd/README.md
|
|
254
256
|
[esm-url]: https://github.com/stdlib-js/array-base-group-values-by/tree/esm
|
|
257
|
+
[esm-readme]: https://github.com/stdlib-js/array-base-group-values-by/blob/esm/README.md
|
|
255
258
|
[branches-url]: https://github.com/stdlib-js/array-base-group-values-by/blob/main/branches.md
|
|
256
259
|
|
|
257
260
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/array-base-group-values-by/main/LICENSE
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/array-base-group-values-by",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Group element values according to an indicator function.",
|
|
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,24 +30,10 @@
|
|
|
37
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
31
|
},
|
|
39
32
|
"dependencies": {
|
|
40
|
-
"@stdlib/array-base-resolve-getter": "^0.
|
|
41
|
-
"@stdlib/assert-is-array": "^0.
|
|
42
|
-
"@stdlib/types": "^0.2.0"
|
|
43
|
-
},
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"@stdlib/array-base-take": "^0.1.0",
|
|
46
|
-
"@stdlib/array-base-to-accessor-array": "^0.1.0",
|
|
47
|
-
"@stdlib/array-base-zero-to": "^0.1.0",
|
|
48
|
-
"@stdlib/array-float64": "^0.1.1",
|
|
49
|
-
"@stdlib/assert-is-plain-object": "^0.1.1",
|
|
50
|
-
"@stdlib/math-base-special-pow": "^0.1.0",
|
|
51
|
-
"@stdlib/random-array-discrete-uniform": "^0.1.0",
|
|
52
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
53
|
-
"istanbul": "^0.4.1",
|
|
54
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
55
|
-
"@stdlib/bench-harness": "^0.1.2",
|
|
56
|
-
"@stdlib/bench": "^0.2.1"
|
|
33
|
+
"@stdlib/array-base-resolve-getter": "^0.2.0",
|
|
34
|
+
"@stdlib/assert-is-array": "^0.2.1"
|
|
57
35
|
},
|
|
36
|
+
"devDependencies": {},
|
|
58
37
|
"engines": {
|
|
59
38
|
"node": ">=0.10.0",
|
|
60
39
|
"npm": ">2.7.0"
|