镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Fix util extend issue - #25672

Closed
itkoren wants to merge 2 commits into
nodejs:v0.10from
itkoren:fix-util-extend-issue
Closed

itkoren wants to merge 2 commits into
nodejs:v0.10from
itkoren:fix-util-extend-issue

Conversation

@itkoren

@itkoren itkoren commented Jul 13, 2015

Copy link
Copy Markdown

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.

itkoren added 2 commits July 13, 2015 17:04
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

jasnell commented Aug 6, 2015

Copy link
Copy Markdown
Member

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 https://github.com/nodejs/io.js or https://github.com/nodejs/node. Also, the commits should be squashed. /cc @joyent/node-tsc

@jasnell jasnell added the util label Aug 6, 2015
@itkoren

itkoren commented Aug 8, 2015

Copy link
Copy Markdown
Author

Thanks, I've created a new PR with this fix at https://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