Skip to content
New issue

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

Use the extend module to deep extend when using the defaults method #1638

Merged
merged 1 commit into from Jun 15, 2015

Conversation

simov
Copy link
Member

@simov simov commented Jun 11, 2015

@mikeal @nylen I'm introducing the extend module into core. This fixes the flat extend behavior when using util._extend in defaults for any other object key that the headers.

Let me know what do you think.

simov added a commit that referenced this pull request Jun 15, 2015
Use the `extend` module to deep extend in the defaults method
@simov simov merged commit 52a05a2 into request:master Jun 15, 2015
@gu-fan
Copy link

gu-fan commented Oct 9, 2015

when using npm install request (2.6.4), it throws cannot find module extend,after install it manually (3.0) , it works ok. don't know this is a error caused by npm or something

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

Successfully merging this pull request may close these issues.

None yet

2 participants