diff --git a/lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js index bcd54eff93b8..472225d17d9e 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js @@ -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 */ function pkgDeps( pkgs, options ) { var results; diff --git a/lib/node_modules/@stdlib/math/base/special/roundn/src/addon.c b/lib/node_modules/@stdlib/math/base/special/roundn/src/addon.c index e968d8c03a81..d636a9b7df48 100644 --- a/lib/node_modules/@stdlib/math/base/special/roundn/src/addon.c +++ b/lib/node_modules/@stdlib/math/base/special/roundn/src/addon.c @@ -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 ); diff --git a/lib/node_modules/@stdlib/utils/get-prototype-of/lib/polyfill.js b/lib/node_modules/@stdlib/utils/get-prototype-of/lib/polyfill.js index 4693932eccfe..bf5d67a9549b 100644 --- a/lib/node_modules/@stdlib/utils/get-prototype-of/lib/polyfill.js +++ b/lib/node_modules/@stdlib/utils/get-prototype-of/lib/polyfill.js @@ -22,6 +22,7 @@ var nativeClass = require( '@stdlib/utils/native-class' ); var getProto = require( './proto.js' ); +var Object = require( '@stdlib/utils/global' ).Object; // MAIN // @@ -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.