Skip to content

Commit f5b85ff

Browse files
committed
Fix lint errors and update descriptions
1 parent e4e5b21 commit f5b85ff

9 files changed

Lines changed: 12 additions & 13 deletions

File tree

lib/node_modules/@stdlib/_tools/browserify/file-list/examples/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ function onBundle( error, output ) {
3232
}
3333
console.log( output.toString() );
3434
}
35-

lib/node_modules/@stdlib/assert/deep-equal/benchmark/benchmark.js

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

2323
var bench = require( '@stdlib/bench' );
24-
var Buffer = require( '@stdlib/buffer/ctor' );
2524
var Number = require( '@stdlib/number/ctor' );
2625
var isBoolean = require( '@stdlib/assert/is-boolean' );
26+
var string2buffer = require( '@stdlib/buffer/from-string' );
2727
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
2828
var pkg = require( './../package.json' ).name;
2929
var deepEqual = require( './../lib' );
@@ -64,7 +64,7 @@ bench( pkg, function benchmark( b ) {
6464
new SyntaxError(),
6565
new Date( '2018-09-20T01:23:28.936Z' ),
6666
new Date( 1537406608936 ),
67-
new Buffer( 'xyz' ), // eslint-disable-line no-buffer-constructor
67+
string2buffer( 'xyz' ),
6868
new Number( 0 ), // eslint-disable-line no-new-wrappers,
6969
[ 1, 2, 3 ],
7070
[ 1, 2 ],

lib/node_modules/@stdlib/assert/is-string/test/test.object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ tape( 'the function returns `false` if not provided a string', function test( t
110110
{},
111111
new Date(),
112112
/./,
113-
new RegExp( '.' ),
113+
new RegExp( '.' ), // eslint-disable-line prefer-regex-literals
114114
function noop() {}
115115
];
116116

lib/node_modules/@stdlib/math/base/assert/is-negative-finite/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# isNegativeFinite
2222

23-
> Test if a numeric value is a negative finite number.
23+
> Test if a double-precision floating-point numeric value is a negative finite number.
2424
2525
<section class="usage">
2626

@@ -32,7 +32,7 @@ var isNegativeFinite = require( '@stdlib/math/base/assert/is-negative-finite' );
3232

3333
#### isNegativeFinite( x )
3434

35-
Tests if a `numeric` value is a negative finite number.
35+
Tests if a double-precision floating-point `numeric` value is a negative finite number.
3636

3737
```javascript
3838
var bool = isNegativeFinite( -3.14 );

lib/node_modules/@stdlib/math/base/assert/is-negative-finite/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Tests if a double-precision floating-point numeric value is a negative finite number.
22+
* Test if a double-precision floating-point numeric value is a negative finite number.
2323
*
2424
* @module @stdlib/math/base/assert/is-negative-finite
2525
*

lib/node_modules/@stdlib/math/base/assert/is-negative-finite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/math/base/assert/is-negative-finite",
33
"version": "0.0.0",
4-
"description": "Test if a numeric value is a negative finite number.",
4+
"description": "Test if a double-precision floating-point numeric value is a negative finite number.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

lib/node_modules/@stdlib/math/base/assert/is-positive-finite/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# isPositiveFinite
2222

23-
> Test if a numeric value is a positive finite number.
23+
> Test if a double-precision floating-point numeric value is a positive finite number.
2424
2525
<section class="usage">
2626

@@ -32,7 +32,7 @@ var isPositiveFinite = require( '@stdlib/math/base/assert/is-positive-finite' );
3232

3333
#### isPositiveFinite( x )
3434

35-
Tests if a `numeric` value is a positive finite number.
35+
Tests if a double-precision floating-point `numeric` value is a positive finite number.
3636

3737
```javascript
3838
var bool = isPositiveFinite( 3.14 );

lib/node_modules/@stdlib/math/base/assert/is-positive-finite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/math/base/assert/is-positive-finite",
33
"version": "0.0.0",
4-
"description": "Test if a numeric value is a positive finite number.",
4+
"description": "Test if a double-precision floating-point numeric value is a positive finite number.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

lib/node_modules/@stdlib/string/remove-utf8-bom/test/test.js

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

2323
var tape = require( 'tape' );
24-
var Buffer = require( '@stdlib/buffer/ctor' );
24+
var string2buffer = require( '@stdlib/buffer/from-string' );
2525
var removeUTF8BOM = require( './../lib' );
2626

2727

@@ -66,7 +66,7 @@ tape( 'the function removes a UTF-8 byte order mark (BOM) from the beginning of
6666
str = removeUTF8BOM( '\ufeffbeep' );
6767
t.equal( str, 'beep', 'returns beep' );
6868

69-
str = (new Buffer( '\ufeffboop' )).toString();
69+
str = string2buffer( '\ufeffboop' ).toString();
7070
str = removeUTF8BOM( str );
7171
t.equal( str, 'boop', 'returns boop' );
7272

0 commit comments

Comments
 (0)