Skip to content

Conversation

@hueniverse
Copy link
Contributor

@hueniverse hueniverse commented May 16, 2018

Closes #2831.

This replaces the hawk dependency with a local implementation that's identical.

This is the bare minimum the request community can do to disconnect this module from the hawk and hapi modules. The request community has been a major source of headache due to its inclusion of hawk and hoek. Because the maintainers have refused to remove this functionality, I am trying a simpler approach by moving the 100 lines of code from hawk here.

I will maintain this code if needed in the future which is better than you are getting today as I am no longer maintaining hawk v6 and this module cannot use v7 due to node requirements.

@simov
Copy link
Member

simov commented May 16, 2018

Sounds good to me.

/cc @mikeal

@mikeal mikeal merged commit a6741d4 into request:master May 19, 2018
@simov simov mentioned this pull request May 19, 2018
3 tasks
@hueniverse
Copy link
Contributor Author

Thanks!

When will this be published?

@simov
Copy link
Member

simov commented May 21, 2018

I've published v2.87 with the patch.

kunagpal added a commit to postmanlabs/postman-request that referenced this pull request Jul 9, 2018
* master:
  Update test certificates
  2.87.1
  Update changelog
  2.87.0
  Replace hawk dependency with a local implemenation (request#2943)
gene1wood added a commit to gene1wood/auth0-custom-lock that referenced this pull request Jan 18, 2019
…nerability

Dev dependencies contain `gulp-sass`
which depends on `node-sass`
`node-sass` [`4.9.3` requires `request` `2.87.0`](sass/node-sass#2435)
[`request` `2.87.0` removes dependency on `hawk`](request/request#2943)
`hawk` depends on `cryptiles`
`cryptiles` has the vulnerability https://nvd.nist.gov/vuln/detail/CVE-2018-1000620
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.

3 participants