Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ var debug = logger( 'pkg-deps:sync' );
* @returns {ObjectArray} resolved dependencies
*
* @example
* var pkgs = [ '/foo/bar/baz' ];
* var pkgs = [ '/path/to/package' ];
*
* var deps = pkgDeps( pkgs );
* // returns [{...}]
* // throws <Error>
*/
function pkgDeps( pkgs, options ) {
var results;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
#include "stdlib/math/base/special/roundn.h"
#include "stdlib/math/base/napi/binary.h"

STDLIB_MATH_BASE_NAPI_MODULE_DI_D( stdlib_base_roundn )
STDLIB_MATH_BASE_NAPI_MODULE_D_D( stdlib_base_roundn );
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

var nativeClass = require( '@stdlib/utils/native-class' );
var getProto = require( './proto.js' );
var Object = require( '@stdlib/utils/global' ).Object;


// MAIN //
Expand All @@ -42,7 +43,7 @@ function getPrototypeOf( obj ) {
// May break if the constructor has been tampered with...
return obj.constructor.prototype;
}
if ( obj instanceof Object ) {
if ( Object.prototype.isPrototypeOf(obj) ) {
return Object.prototype;
}
// 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.
Expand Down