-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix: Update dependencies with high alerts (M2-7990) #550
base: dev
Are you sure you want to change the base?
Conversation
…d versions and lint newest required fixes (M2-7990)
This pull request is automatically being deployed by Amplify Hosting (learn more). |
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.
import { Banner, BannerProps } from '../Banner'; | ||
import { SUCCESS_BANNER_DURATION } from './lib/const'; |
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.
This is causing an error:
2:1 error `./lib/const` import should occur before import of `../Banner` import/order
import { Answer, hasAdditionalResponse, requiresAdditionalResponse } from '../lib'; | ||
import { ItemPicker } from './items/ItemPicker'; |
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.
Same here
./items/ItemPicker` import should occur before import of `../lib`
@@ -95,7 +95,7 @@ export const SurveyWidget = (props: Props) => { | |||
publicAppletKey={publicAppletKey} | |||
appletId={appletId} | |||
errorLabel={ | |||
publicAppletKey ? t('additional.invalid_public_url') : error?.evaluatedMessage ?? '' | |||
publicAppletKey ? t('additional.invalid_public_url') : (error?.evaluatedMessage ?? '') |
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.
I'm also seeing a prettier error here but prettier:fix
changes it back 🤷
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.
Investigating @ChaconC 🤔
📝 Description
This PR updates required and possible libraries to the minimum required versions, as well as consequent lit/prettier tweaks.
🔗 Jira Ticket M2-7990
Changes include:
axios
andjsdom
dependencies🪤 Peer Testing
axios
package, all that is necessary is to test if requests are being sent and received correctlyvitest
and the tests passing indicates everything is working well