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

Update to work with axios 0.19.0; Fix npm audit vulerabilities; Bump version #9

Merged
merged 1 commit into from
Sep 17, 2019

Conversation

jakeonfire
Copy link
Contributor

Oh, and clarify README for #6.

@jakeonfire jakeonfire changed the title Update to work with 0.19.0; Fix npm audit vulerabilities; Bump version Update to work with axios 0.19.0; Fix npm audit vulerabilities; Bump version Sep 15, 2019
'Content-Length', 'content-length'
])
if (_.isString(data)) {
data = JSON.parse(data)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there was a mis-match b/c the request was an object but the response was JSONified

}

return md5(JSON.stringify(baseConfig))
if (headers.common) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the header config is more complex to support defaults for specific request types, so this converts it into how it will look for the request

@jakeonfire
Copy link
Contributor Author

would love a new release with this PR 😀

Copy link
Owner

@nettofarah nettofarah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!
I haven't been actively maintaining this module, so I'd be happy to grant you write access to the repo if you'd like.

@jakeonfire
Copy link
Contributor Author

ah, sure 😁! can't imagine anyone wouldn't be served by the update.

@nettofarah nettofarah merged commit 96a9f5a into nettofarah:master Sep 17, 2019
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.

2 participants