Skip to content

Commit 31a58a3

Browse files
committed
lint error
1 parent ea5425b commit 31a58a3

File tree

4 files changed

+70
-72
lines changed

4 files changed

+70
-72
lines changed

lib/node_modules/@stdlib/stats/incr/nanmax/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type accumulator = ( x?: number ) => number | null;
4949
* v = accumulator( -4.0 );
5050
* // returns 2.0
5151
*
52-
* * v = accumulator( NaN );
52+
* v = accumulator( NaN );
5353
* // returns 2.0
5454
*
5555
* v = accumulator( 3.0 );

lib/node_modules/@stdlib/stats/incr/nanmax/lib/main.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@
2121
// MODULES //
2222

2323
var isnan = require( '@stdlib/math/base/assert/is-nan' );
24-
var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' );
25-
var incrmax = require( '@stdlib/stats/incr/max' );
24+
var incrmax = require( '@stdlib/stats/incr/max' );
2625

2726

2827
// MAIN //
2928

3029
/**
31-
* Returns an accumulator function which incrementally computes a maximum value.
30+
* Returns an accumulator function which incrementally computes a maximum value, ignoring `NaN` values.
3231
*
3332
* @returns {Function} accumulator function
3433
*
Lines changed: 64 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,67 @@
11
{
2-
"name": "@stdlib/stats/incr/nanmax",
3-
"version": "0.0.0",
4-
"description": "Compute a maximum value incrementally.",
5-
"license": "Apache-2.0",
6-
"author": {
2+
"name": "@stdlib/stats/incr/nanmax",
3+
"version": "0.0.0",
4+
"description": "Compute a maximum value incrementally, while ignoring `NaN` values.",
5+
"license": "Apache-2.0",
6+
"author": {
7+
"name": "The Stdlib Authors",
8+
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
9+
},
10+
"contributors": [
11+
{
712
"name": "The Stdlib Authors",
813
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
9-
},
10-
"contributors": [
11-
{
12-
"name": "The Stdlib Authors",
13-
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
14-
}
15-
],
16-
"main": "./lib",
17-
"directories": {
18-
"benchmark": "./benchmark",
19-
"doc": "./docs",
20-
"example": "./examples",
21-
"lib": "./lib",
22-
"test": "./test"
23-
},
24-
"types": "./docs/types",
25-
"scripts": {},
26-
"homepage": "https://github.com/stdlib-js/stdlib",
27-
"repository": {
28-
"type": "git",
29-
"url": "git://github.com/stdlib-js/stdlib.git"
30-
},
31-
"bugs": {
32-
"url": "https://github.com/stdlib-js/stdlib/issues"
33-
},
34-
"dependencies": {},
35-
"devDependencies": {},
36-
"engines": {
37-
"node": ">=0.10.0",
38-
"npm": ">2.7.0"
39-
},
40-
"os": [
41-
"aix",
42-
"darwin",
43-
"freebsd",
44-
"linux",
45-
"macos",
46-
"openbsd",
47-
"sunos",
48-
"win32",
49-
"windows"
50-
],
51-
"keywords": [
52-
"stdlib",
53-
"stdmath",
54-
"statistics",
55-
"stats",
56-
"mathematics",
57-
"math",
58-
"maximum",
59-
"max",
60-
"range",
61-
"extremes",
62-
"domain",
63-
"extent",
64-
"incremental",
65-
"accumulator"
66-
]
67-
}
68-
14+
}
15+
],
16+
"main": "./lib",
17+
"directories": {
18+
"benchmark": "./benchmark",
19+
"doc": "./docs",
20+
"example": "./examples",
21+
"lib": "./lib",
22+
"test": "./test"
23+
},
24+
"types": "./docs/types",
25+
"scripts": {},
26+
"homepage": "https://github.com/stdlib-js/stdlib",
27+
"repository": {
28+
"type": "git",
29+
"url": "git://github.com/stdlib-js/stdlib.git"
30+
},
31+
"bugs": {
32+
"url": "https://github.com/stdlib-js/stdlib/issues"
33+
},
34+
"dependencies": {},
35+
"devDependencies": {},
36+
"engines": {
37+
"node": ">=0.10.0",
38+
"npm": ">2.7.0"
39+
},
40+
"os": [
41+
"aix",
42+
"darwin",
43+
"freebsd",
44+
"linux",
45+
"macos",
46+
"openbsd",
47+
"sunos",
48+
"win32",
49+
"windows"
50+
],
51+
"keywords": [
52+
"stdlib",
53+
"stdmath",
54+
"statistics",
55+
"stats",
56+
"mathematics",
57+
"math",
58+
"maximum",
59+
"max",
60+
"range",
61+
"variance",
62+
"domain",
63+
"extent",
64+
"incremental",
65+
"accumulator"
66+
]
67+
}

lib/node_modules/@stdlib/stats/incr/nanmax/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2018 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -35,8 +35,8 @@ tape( 'main export is a function', function test( t ) {
3535
});
3636

3737
tape( 'the function returns an accumulator function', function test( t ) {
38-
t.equal( typeof incrnanmax(), 'function', 'returns a function' );
39-
t.end();
38+
t.equal( typeof incrnanmax(), 'function', 'returns a function' );
39+
t.end();
4040
});
4141

4242
tape( 'if not provided any values, the initial returned maximum value is `null`', function test( t ) {

0 commit comments

Comments
 (0)