Skip to content

Commit

Permalink
fix: Update dependencies with high alerts (M2-7990) (#550)
Browse files Browse the repository at this point in the history
* fix: update axios and jsdom versions in package.json to match required versions and lint newest required fixes (M2-7990)

* fix: using latest versions for axios and dompurify

* fix: adding chapel for allowing minor and patches updates on dompurify

* fix: updating yarn lock

---------

Co-authored-by: Ramir Mesquita <[email protected]>
  • Loading branch information
ramirlm and Ramir Mesquita authored Nov 21, 2024
1 parent 661a252 commit e7a48e4
Show file tree
Hide file tree
Showing 6 changed files with 1,297 additions and 1,580 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@types/mixpanel-browser": "^2.47.5",
"@types/node": "^20.10.4",
"@uiw/react-md-editor": "^3.20.5",
"axios": "^1.2.1",
"axios": "^1.7.7",
"buffer": "^6.0.3",
"date-fns": "^2.29.3",
"dayspan": "^1.1.0",
Expand Down Expand Up @@ -82,7 +82,7 @@
"husky": "^8.0.2",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jsdom": "^23.2.0",
"jsdom": "^25.0.1",
"node-stdlib-browser": "^1.2.0",
"prettier": "^3.2.2",
"typescript": "^4.6.4",
Expand Down
2 changes: 1 addition & 1 deletion src/entities/activity/ui/ActivityCardItem.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useMemo } from 'react';

import { AdditionalTextResponse } from './AdditionalTextResponse';
import { ItemPicker } from './items/ItemPicker';
import { Answer, hasAdditionalResponse, requiresAdditionalResponse } from '../lib';
import { ItemPicker } from './items/ItemPicker';

import { appletModel } from '~/entities/applet';
import { SliderAnimation } from '~/shared/animations';
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"pleaseAgreeTerms": "*Please agree to the Terms of Service.",
"iAgreeTo": "I agree to the",
"termsOfService": "Terms of Service"
},
},
"ForgotPassword": {
"title": "Reset Password",
"formTitle": "Enter the email associated with your account",
Expand Down
2 changes: 1 addition & 1 deletion src/shared/ui/Banners/SuccessBanner/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SUCCESS_BANNER_DURATION } from './lib/const';
import { Banner, BannerProps } from '../Banner';
import { SUCCESS_BANNER_DURATION } from './lib/const';

export const SuccessBanner = ({ children, ...props }: BannerProps) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/Survey/ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?? '')
}
/>
);
Expand Down
Loading

0 comments on commit e7a48e4

Please sign in to comment.