Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

chore(dependencies) update to latest version of content #1

Closed
wants to merge 2 commits into from
Closed

chore(dependencies) update to latest version of content #1

wants to merge 2 commits into from

Conversation

wraithgar
Copy link

While doing some testing on the js-ipfs http interface I found that it was passing the content-type header directly into content, which wasn't then checking that that header was present in the first place. This resulted in a traceback and a 500 error.

I submitted a patch to content to check for this parameter, and this PR brings this library up to that version.

This does cross a major version boundary however, and the difference between content 3 and 4 is that version 4 moved to node 8 support only. Not sure what the node version requirements on this repo are.

One that validates that a content-type header is present
@ghost ghost assigned hugomrdias Jul 4, 2018
@ghost ghost added the in progress label Jul 4, 2018
@hugomrdias
Copy link
Contributor

@wraithgar changes already in with #6

I'll setup jenkins for this repo and with that define a min node version.

closing without merging because of the package-lock.json which is already ignored in master.

Ty

@hugomrdias hugomrdias closed this Jul 4, 2018
@ghost ghost removed the in progress label Jul 4, 2018
@wraithgar wraithgar deleted the update_content branch July 5, 2018 15:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants