-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
chore(deps): upgrade axios to 1.6.0 #12489
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
trigger e2e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good to me
@@ -48,7 +48,8 @@ | |||
}, | |||
"homepage": "https://aws-amplify.github.io/", | |||
"devDependencies": { | |||
"@types/zen-observable": "^0.8.0" | |||
"@types/zen-observable": "^0.8.0", | |||
"typescript": "5.0.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you do a quick check with the v6 tsc-compatibility-test to make sure we don't break interface consumption in older TSC?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
@@ -9,7 +9,7 @@ on: | |||
push: | |||
branches: | |||
# Change this to your branch name where "example-preid" corresponds to the preid you want your changes released on | |||
- feat/example-preid-branch/main | |||
- fix/v5-upgrade-axios |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, some nits & questions
packages/api-graphql/package.json
Outdated
"build:esm": "rimraf lib-esm && tsc -m esnext --outDir lib-esm", | ||
"build:cjs:watch": "rimraf lib && tsc -m commonjs --outDir lib --watch", | ||
"build:esm:watch": "rimraf lib-esm && tsc -m esnext --outDir lib-esm --watch", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit but tabbing error
packages/api-rest/package.json
Outdated
"build:esm": "rimraf lib-esm && tsc -m esnext --outDir lib-esm", | ||
"build:cjs:watch": "rimraf lib && tsc -m commonjs --outDir lib --watch", | ||
"build:esm:watch": "rimraf lib-esm && tsc -m esnext --outDir lib-esm --watch", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Tabbing error
05638d0
to
0254b4f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving again. The bundle size increase reflects the Axios' own size increase from 0.26 to 1.6
Description of changes
api-rest
5.0.2
and build scripts onapi-rest
,api-graphql
andapi
packages similar tocore
Issue #, if available
Axios version needs to be upgrade
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.