Skip to content

Outdated javascript dependencies #6343

@niklasnatter

Description

@niklasnatter

Unfortunately, we cannot update some javascript packages because of various reasons. This issue tracks which packages are affected and why we need to use an outdated package version:

Package Used Version Available Version Reason
mobx 4 6 contains breaking changes for project code, comeback of decorators (mobxjs/mobx#3638) will make this easier
jest / babel-jest 26 29 tests are failing because of comparison changes: #6361
react 17 18 our testing library enzyme is not compatible with react@18: https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl #6689
@testing-library/react 12 - we need to update react first
@testing-library/jest 5 - we need to update jest first
flow-bin 0.142 0.194 requires big upgrade effort because flow-bin@0.143 dropped classic mode. it might be better to switch to typescript than making this effort
mobx-react 5 7
react-leaflet 3 4 depends on react@18: #6689

Webpack 5:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Technical DebtImpacts code quality, no or just small impact on end developers and usershelp wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions