-
Notifications
You must be signed in to change notification settings - Fork 24
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 js #2681
update js #2681
Conversation
24556e7
to
9c2bb02
Compare
4727d79
to
fbb6070
Compare
Update webtorrent js dependencies.
fbb6070
to
117f5af
Compare
Update lambdas js dependencies.
d699c2c
to
bb615a2
Compare
src/aws/lambda-convert/package.json
Outdated
@@ -11,7 +11,7 @@ | |||
"aws-sdk": "2.1692.0", | |||
"clamscan": "2.4.0", | |||
"he": "1.2.0", | |||
"jimp": "1.6.0", | |||
"jimp": "0.22.12", |
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.
When I pinned a dependency, I often use '<' to continue to install patches.
"jimp": "0.22.12", | |
"jimp": ">=0.22.12 <1", | |
src/frontend/package.json
Outdated
@@ -75,7 +75,7 @@ | |||
"react-router-dom": "6.22.2", | |||
"styled-components": "5.3.11", | |||
"typescript": "5.7.2", | |||
"zustand": "4.5.2" | |||
"zustand": "4.5.5" |
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.
Ditto
"zustand": "4.5.5" | |
"zustand": ">=4.5.5 <5" |
src/frontend/package.json
Outdated
@@ -72,7 +71,7 @@ | |||
"react": "18.2.0", | |||
"react-dom": "18.2.0", | |||
"react-intl": "7.1.0", | |||
"react-router-dom": "6.22.2", | |||
"react-router-dom": "6.28.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.
Ditto
"react-router-dom": "6.28.2", | |
"react-router-dom": ">=6.28.2 <7", |
screen, | ||
render as testingLibraryRender, | ||
} from '@testing-library/react'; | ||
import { Grommet, ResponsiveContext, ThemeType } from 'grommet'; | ||
import MatchMediaMock from 'jest-matchmedia-mock'; | ||
import { BreadCrumbsProvider, GlobalStyles, Nullable, theme } from 'lib-common'; | ||
import React, { CSSProperties, ComponentProps, ReactElement } from 'react'; | ||
import { act } from 'react-dom/test-utils'; |
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 remember this method is deprecated in favor of react/test-utils
.
https://react.dev/warnings/react-dom-test-utils
But I don't understand why you cannot continue to use act
from testing-library/react
?
jimp v1 requires node 20 to run. We postpone this update for now.
Update frontend js dependencies.
Update sentry/browser dependency and code.
Remove useless fetch-mock types.
Something is broken with our import config and fetch-mock v10
Update typescript and code. Add @typescript-eslint/typescript-estree.
Update grommet and code.
Zustand v5 introduce breaking changes. We are updating to last v4.
0224bb0
to
b0ca449
Compare
Update react-router to last v6 and pin it. Remove @types/react-router.
Pin mermaid types to 9.1.0.
Update dompurify and code.
Pin eslint, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
Pin p2p-media-loader-hlsjs.
Update testing-library and code.
Update react-test-renderer.
Update react to 18.3.1 and code.
Update react 19 and code.
Wait for grommet compatibility. grommet/grommet#7458
E2e tests needed some fix, due do one of recent dependency update.
13cbfa6
to
f3ee70b
Compare
Purpose
Update js dependencies.
#2662 is old and must be manually replaced.