Skip to content

add module resolution for node-analytics/axios#10139

Merged
brad-decker merged 1 commit intodevelopfrom
pin-axios-dep
Jan 4, 2021
Merged

add module resolution for node-analytics/axios#10139
brad-decker merged 1 commit intodevelopfrom
pin-axios-dep

Conversation

@brad-decker
Copy link
Copy Markdown
Contributor

analytics-node uses axios for network requests, and has version resolution set to ^0.19 but due to axios being pre-version 1, minor version bumps do not get installed automatically because all pre-v1 changes should be considered breaking. This module resolution will likely be used throughout the life of our dependency on analytics-node until such a time as axios moves to version 1. This will allow us to take advantage of security and stability improvements in the underlying request library.

I tested locally using the mock-segment server in a variety of situations using firefox with ETP on, as well as chrome, and did not see any issue. I also reviewed the changes to axios from 0.19.2 to 0.21.1 and nothing stood out as being concerning.

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [f2f5209]
Page Load Metrics (662 ± 48 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint367653115
domContentLoaded39378866110048
load39578966210048
domInteractive39378866010048

@brad-decker brad-decker marked this pull request as ready for review January 4, 2021 22:09
@brad-decker brad-decker requested a review from a team as a code owner January 4, 2021 22:09
Copy link
Copy Markdown
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

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

I reviewed the axios changelog and node-analytics usage thereof, and also found nothing concerning.

@brad-decker brad-decker merged commit 7a65b33 into develop Jan 4, 2021
@brad-decker brad-decker deleted the pin-axios-dep branch January 4, 2021 23:44
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2021
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.

3 participants