Skip to content
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

APPT-603: Remove inflight package #480

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Conversation

sambiramairelogic
Copy link
Contributor

A memory leak has been found in the NextJS web app server. We think this is caused by the inflight package, which is a dependency of glob, which is a dependency of Jest's latest version.

Later versions of glob have replaced this dangerous dependency, but the latest version of Jest still uses the older versions of glob which include it. Frustrating, this still hasn't been fixed in the alpha version of jest@next.

This PR overrides the glob version requested by jest with the later version which does not include the inflight package.

It also removes several linting errors that have been committed to main.

@sambiramairelogic sambiramairelogic merged commit 550075e into main Jan 31, 2025
3 checks passed
@sambiramairelogic sambiramairelogic deleted the APPT-603/memory-leak branch January 31, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants