@stdlib/array-base-filter 0.2.0 → 0.2.2
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/README.md +2 -2
- package/docs/types/index.d.ts +4 -4
- package/package.json +5 -29
package/README.md
CHANGED
|
@@ -209,8 +209,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
209
209
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-filter.svg
|
|
210
210
|
[npm-url]: https://npmjs.org/package/@stdlib/array-base-filter
|
|
211
211
|
|
|
212
|
-
[test-image]: https://github.com/stdlib-js/array-base-filter/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
213
|
-
[test-url]: https://github.com/stdlib-js/array-base-filter/actions/workflows/test.yml?query=branch:v0.2.
|
|
212
|
+
[test-image]: https://github.com/stdlib-js/array-base-filter/actions/workflows/test.yml/badge.svg?branch=v0.2.2
|
|
213
|
+
[test-url]: https://github.com/stdlib-js/array-base-filter/actions/workflows/test.yml?query=branch:v0.2.2
|
|
214
214
|
|
|
215
215
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-filter/main.svg
|
|
216
216
|
[coverage-url]: https://codecov.io/github/stdlib-js/array-base-filter?branch=main
|
package/docs/types/index.d.ts
CHANGED
|
@@ -247,8 +247,8 @@ declare function filter<T = unknown, U = unknown>( x: Uint8ClampedArray, predica
|
|
|
247
247
|
*
|
|
248
248
|
* @example
|
|
249
249
|
* var isPositiveNumber = require( '@stdlib/assert-is-positive-number' ).isPrimitive;
|
|
250
|
-
* var real = require( '@stdlib/complex-real' );
|
|
251
|
-
* var imag = require( '@stdlib/complex-imag' );
|
|
250
|
+
* var real = require( '@stdlib/complex-float64-real' );
|
|
251
|
+
* var imag = require( '@stdlib/complex-float64-imag' );
|
|
252
252
|
* var Complex128Array = require( '@stdlib/array-complex128' );
|
|
253
253
|
*
|
|
254
254
|
* function predicate( v ) {
|
|
@@ -272,8 +272,8 @@ declare function filter<T = unknown, U = unknown>( x: Complex128Array, predicate
|
|
|
272
272
|
*
|
|
273
273
|
* @example
|
|
274
274
|
* var isPositiveNumber = require( '@stdlib/assert-is-positive-number' ).isPrimitive;
|
|
275
|
-
* var realf = require( '@stdlib/complex-
|
|
276
|
-
* var imagf = require( '@stdlib/complex-
|
|
275
|
+
* var realf = require( '@stdlib/complex-float32-real' );
|
|
276
|
+
* var imagf = require( '@stdlib/complex-float32-imag' );
|
|
277
277
|
* var Complex64Array = require( '@stdlib/array-complex64' );
|
|
278
278
|
*
|
|
279
279
|
* function predicate( v ) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/array-base-filter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Return a shallow copy of an array containing only those elements which pass a test implemented by a predicate 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,26 +30,9 @@
|
|
|
37
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
31
|
},
|
|
39
32
|
"dependencies": {
|
|
40
|
-
"@stdlib/array-base-arraylike2object": "^0.2.
|
|
41
|
-
"@stdlib/types": "^0.3.1"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@stdlib/array-base-accessor": "^0.1.0",
|
|
45
|
-
"@stdlib/array-base-zero-to": "^0.1.0",
|
|
46
|
-
"@stdlib/array-float64": "^0.2.0",
|
|
47
|
-
"@stdlib/assert-instance-of": "^0.2.0",
|
|
48
|
-
"@stdlib/assert-is-array": "^0.2.0",
|
|
49
|
-
"@stdlib/assert-is-nonnegative-integer": "^0.2.0",
|
|
50
|
-
"@stdlib/assert-is-positive-integer": "^0.2.0",
|
|
51
|
-
"@stdlib/math-base-special-pow": "^0.2.0",
|
|
52
|
-
"@stdlib/random-array-discrete-uniform": "^0.1.0",
|
|
53
|
-
"@stdlib/utils-nary-function": "^0.2.0",
|
|
54
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
55
|
-
"istanbul": "^0.4.1",
|
|
56
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
57
|
-
"@stdlib/bench-harness": "^0.2.0",
|
|
58
|
-
"@stdlib/bench": "^0.3.1"
|
|
33
|
+
"@stdlib/array-base-arraylike2object": "^0.2.1"
|
|
59
34
|
},
|
|
35
|
+
"devDependencies": {},
|
|
60
36
|
"engines": {
|
|
61
37
|
"node": ">=0.10.0",
|
|
62
38
|
"npm": ">2.7.0"
|