Skip to content

Commit 2dcf016

Browse files
committed
[fix]: resolved lint error
1 parent 3282571 commit 2dcf016

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var debug = logger( 'pkg-deps:sync' );
5555
* @returns {ObjectArray} resolved dependencies
5656
*
5757
* @example
58-
* var pkgs = [ '/path/to/package' ];
58+
* var pkgs = [ '/foo/bar/baz' ];
5959
*
6060
* var deps = pkgDeps( pkgs );
6161
* // returns [{...}]

lib/node_modules/@stdlib/math/base/special/roundn/src/addon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
#include "stdlib/math/base/special/roundn.h"
2020
#include "stdlib/math/base/napi/binary.h"
2121

22-
STDLIB_MATH_BASE_NAPI_MODULE_DI_D( stdlib_base_roundn )
22+
STDLIB_MATH_BASE_NAPI_MODULE_DI_D(stdlib_base_roundn)

lib/node_modules/@stdlib/utils/get-prototype-of/lib/polyfill.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var nativeClass = require( '@stdlib/utils/native-class' );
2424
var getProto = require( './proto.js' );
25-
var Object = require( '@stdlib/utils/global-object' );
25+
2626

2727
// MAIN //
2828

@@ -42,7 +42,7 @@ function getPrototypeOf( obj ) {
4242
// May break if the constructor has been tampered with...
4343
return obj.constructor.prototype;
4444
}
45-
if ( Object.prototype.isPrototypeOf(obj) ) {
45+
if ( obj instanceof Object ) {
4646
return Object.prototype;
4747
}
4848
// Return `null` for objects created via `Object.create( null )`. Also return `null` for cross-realm objects on browsers that lack `__proto__` support, such as IE < 11.

0 commit comments

Comments
 (0)