We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try
function BearerStrategy() { } BearerStrategy.prototype.authenticate = function () { }; const extended = deepExtend({}, { strategies: [ new BearerStrategy(), ] }); extended.strategies.forEach((s) => { console.log('extended', s.authenticate); }); const s = new BearerStrategy(); console.log('original', s.authenticate);
The output will be:
extended undefined original [Function]
which is totally wrong
The text was updated successfully, but these errors were encountered:
is this repo dead ?
Sorry, something went wrong.
@seeden this lib isn't supposed to be used to clone some class instances (if it's not Date, RegExp, Buffer or Array).
Date
RegExp
Buffer
Array
P.S. Sorry about delay.
@seeden Actually I'm going to implement custom cloning strategies in new major version, but can't say when I do it.
unclechu
No branches or pull requests
When I try
The output will be:
which is totally wrong
The text was updated successfully, but these errors were encountered: