You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
62 | function promisifiableMethods(obj, suffix, suffixRegexp, filter) {
63 | var keys = util.inheritedDataKeys(obj);
64 | var ret = [];
65 | for (var i = 0; i < keys.length; ++i) {
66 | var key = keys[i];
67 | var value = obj[key];
^
TypeError: Can only call JSDiffieHellman.verifyError on instances of JSDiffieHellman
code: "ERR_INVALID_THIS"
at promisifiableMethods (/media/projects/book/v2.5.307/node_modules/bluebird/js/release/promisify.js:67:21)
at promisifyAll (/media/projects/book/v2.5.307/node_modules/bluebird/js/release/promisify.js:241:9)
at <anonymous> (/media/projects/book/v2.5.307/node_modules/bluebird/js/release/promisify.js:305:13)
at <anonymous> (/media/projects/book/v2.5.307/test.js:2:24)
Bun v1.2.8 (Linux x64)
Activity
[-]bluebirth promisifyAll fails when using bun[/-][+]bluebird promisifyAll fails when using bun[/+]dylan-conway commentedon Apr 1, 2025
Looks like
verifyErrorshould not be in the prototype and instead should be put on the instance