Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Fix util extend issue #25672

Closed
wants to merge 2 commits into from
Closed

Conversation

itkoren
Copy link

@itkoren itkoren commented Jul 13, 2015

When the "origin" object argument is null or not defined, _extend
throws exception.
Fix _extend to allow undefined "origin" object argument and return
the "add" object argument.

When the "origin" object argument is null or notdefined, _extend
throws exception.
Fix _extend to allow undefined "origin" object argument and return
the "add" object argument.
When the "origin" object argument is null or notdefined, _extend
throws exception.
Fix _extend to allow undefined "origin" object argument and return
the "add" object argument.
Add new line at end of tests file
@jasnell
Copy link
Member

jasnell commented Aug 6, 2015

Unfortunately, I believe this ends up qualifying as an API change (even if only a small one). It would likely be better to target this at http://github.com/nodejs/io.js or http://github.com/nodejs/node. Also, the commits should be squashed. /cc @joyent/node-tsc

@jasnell jasnell added the util label Aug 6, 2015
@itkoren
Copy link
Author

itkoren commented Aug 8, 2015

Thanks, I've created a new PR with this fix at http://github.com/nodejs/node

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants