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 axios version to 0.18.1 or later #68

Closed
wants to merge 3 commits into from
Closed

Conversation

jinpingh
Copy link
Contributor

Update axios version to 0.18.1 or later for security. https://github.com/StackStorm/st2client.js/network/alerts

@jinpingh jinpingh requested review from blag and arm4b June 13, 2019 22:32
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

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

Sad, wasn't just an easy version upgrade :/

Sounds like need to go through axios changelog and see what it could break. There is some road from 0.7 and 0.18.

From `axios` version 0.13.0, starts with test Error message.
AssertionError: expected { Object (message, stack) } to have a property 'name' of 'APIError', but got 'RequestError'
@blag
Copy link
Contributor

blag commented Jul 25, 2019

As @armab noted, we're going to have to bisect our axios dependency version to find the first version that breaks st2client.js.

Since we aren't going to have the time to do that in the foreseeable future, I'm closing this PR. We can reopen it (or open a new one) in the future when we have more time to bisect properly.

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