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

Remove the jwt-simple dependency. #206

Merged
merged 1 commit into from
Nov 7, 2016
Merged

Remove the jwt-simple dependency. #206

merged 1 commit into from
Nov 7, 2016

Conversation

philnash
Copy link
Contributor

@philnash philnash commented Nov 5, 2016

We were using two JWT dependencies, jwt-simple and jsonwebtoken. Issue #205 points out a vulnerability in jwt-simple 0.1.0 which lay within the dependencies. Removing it completely in favour of jsonwebtoken was the easiest course of action.

We could probably do this for master and the current version of twilio-node too. Less dependencies and less vulnerabilities would be awesome.

We were using two JWT dependencies, jwt-simple and jsonwebtoken. Issue #205 points out a vulnerability in jwt-simple 0.1.0 which lay within the dependencies. Removing it completely in favour of jsonwebtoken was the easiest course of action.
@destromas1
Copy link

Hey @philnash

https://snyk.io/vuln/npm:jwt-simple:20160804

I was getting this issue and found that its already in Progress . Please merge this and release new NPM .

Thanks a lot!

@jingming
Copy link
Contributor

jingming commented Nov 7, 2016

👍

@dougblack dougblack merged commit 9e1e45b into twilio:next-gen Nov 7, 2016
@BrandonCopley
Copy link

When will this get pushed to npm?

@philnash
Copy link
Contributor Author

This has been pushed to npm for the version 3 prerelease as v3.0.0-rc.14. I'm pushing for the v2 library to be updated too.

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.

5 participants