@stdlib/array-base-group-indices 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 +1 -1
- package/README.md +6 -3
- package/package.json +10 -10
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2024 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -111,7 +111,7 @@ var out = groupIndices( x, groups );
|
|
|
111
111
|
|
|
112
112
|
```javascript
|
|
113
113
|
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
|
|
114
|
-
var take = require( '@stdlib/array-base-take' );
|
|
114
|
+
var take = require( '@stdlib/array-base-take-indexed' );
|
|
115
115
|
var groupIndices = require( '@stdlib/array-base-group-indices' );
|
|
116
116
|
|
|
117
117
|
// Define an initial array of values:
|
|
@@ -195,8 +195,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
195
195
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-group-indices.svg
|
|
196
196
|
[npm-url]: https://npmjs.org/package/@stdlib/array-base-group-indices
|
|
197
197
|
|
|
198
|
-
[test-image]: https://github.com/stdlib-js/array-base-group-indices/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
199
|
-
[test-url]: https://github.com/stdlib-js/array-base-group-indices/actions/workflows/test.yml?query=branch:v0.
|
|
198
|
+
[test-image]: https://github.com/stdlib-js/array-base-group-indices/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
199
|
+
[test-url]: https://github.com/stdlib-js/array-base-group-indices/actions/workflows/test.yml?query=branch:v0.2.0
|
|
200
200
|
|
|
201
201
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-group-indices/main.svg
|
|
202
202
|
[coverage-url]: https://codecov.io/github/stdlib-js/array-base-group-indices?branch=main
|
|
@@ -219,8 +219,11 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
219
219
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
220
220
|
|
|
221
221
|
[deno-url]: https://github.com/stdlib-js/array-base-group-indices/tree/deno
|
|
222
|
+
[deno-readme]: https://github.com/stdlib-js/array-base-group-indices/blob/deno/README.md
|
|
222
223
|
[umd-url]: https://github.com/stdlib-js/array-base-group-indices/tree/umd
|
|
224
|
+
[umd-readme]: https://github.com/stdlib-js/array-base-group-indices/blob/umd/README.md
|
|
223
225
|
[esm-url]: https://github.com/stdlib-js/array-base-group-indices/tree/esm
|
|
226
|
+
[esm-readme]: https://github.com/stdlib-js/array-base-group-indices/blob/esm/README.md
|
|
224
227
|
[branches-url]: https://github.com/stdlib-js/array-base-group-indices/blob/main/branches.md
|
|
225
228
|
|
|
226
229
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/array-base-group-indices/main/LICENSE
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/array-base-group-indices",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Group element indices as arrays associated with distinct keys.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,23 +37,23 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/array-base-resolve-getter": "^0.
|
|
41
|
-
"@stdlib/assert-is-array": "^0.
|
|
42
|
-
"@stdlib/types": "^0.
|
|
40
|
+
"@stdlib/array-base-resolve-getter": "^0.2.0",
|
|
41
|
+
"@stdlib/assert-is-array": "^0.2.0",
|
|
42
|
+
"@stdlib/types": "^0.3.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@stdlib/array-base-take": "^0.
|
|
45
|
+
"@stdlib/array-base-take-indexed": "^0.2.0",
|
|
46
46
|
"@stdlib/array-base-to-accessor-array": "^0.1.0",
|
|
47
47
|
"@stdlib/array-base-zero-to": "^0.1.0",
|
|
48
|
-
"@stdlib/array-float64": "^0.
|
|
49
|
-
"@stdlib/assert-is-plain-object": "^0.
|
|
50
|
-
"@stdlib/math-base-special-pow": "^0.
|
|
48
|
+
"@stdlib/array-float64": "^0.2.0",
|
|
49
|
+
"@stdlib/assert-is-plain-object": "^0.2.0",
|
|
50
|
+
"@stdlib/math-base-special-pow": "^0.2.0",
|
|
51
51
|
"@stdlib/random-array-discrete-uniform": "^0.1.0",
|
|
52
52
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
53
53
|
"istanbul": "^0.4.1",
|
|
54
54
|
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
55
|
-
"@stdlib/bench-harness": "^0.
|
|
56
|
-
"@stdlib/bench": "^0.
|
|
55
|
+
"@stdlib/bench-harness": "^0.2.0",
|
|
56
|
+
"@stdlib/bench": "^0.3.1"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=0.10.0",
|