-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[Bug]: inflight deprecated, glob deprecated #15173
Comments
#14509 should remove this warning. |
Seeing the distributed package jest-config 29.7.0, it seems that This is the package.json taken from an installation in a project of mine: |
jest/reporters v29.7.0 is still depending on glob ^7.1.3 and is causing the dependency along with inflight to be pulled into projects requiring jest v29.7.0: jest/packages/jest-reporters/package.json Line 25 in 4e56991
|
I am getting the following warning in my NestJS backend project. Even after updating all the packages, I am still encountering this warning. Is there anyone who can help me get rid of it? PS F:\Test_project\rescueworld-microservice-retteracademy> npm i |
@ankitbavne If you're on npm version 8 or higher, you can use overrides in your package.json:
This will force jest to use that version in your build. |
@wingedthing |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
Waiting for the fix |
waiting for the fix |
Waiting for fix |
Waiting for fix. thank you |
1 similar comment
Waiting for fix. thank you |
Bumping to keep this unfixed issue alive. |
Waiting on a fix |
Looks like jest-reporters has updated to glob 10 in the 30.0.0 alpha, but the old version is still pulled in by babel-plugin-istanbul: istanbuljs/babel-plugin-istanbul#294 |
Here is my dependency:
|
Waiting on a fix |
1 similar comment
Waiting on a fix |
what is going on with these comments? |
i honestly don't know from where it comes - but I noticed that in yarn.lock there was still a reference to inflight packages used by outdated glob versions. So I created MR to override the version to 10.3.10 which is used currently in the project, but not sure if it will actually impact published packages because I don't know how jest is publishing them. I see that build folder gets created right in packages - and it shares original package.json of the subpackage with a built code. Therefore to resolve glob properly i guess we also need to do something with that package.json too ( or with yarn.lock of that published package probably ). |
- for the overrides see: jestjs/jest#15173 (comment)
Version
29.7.0
Steps to reproduce
npm i jest --save
Expected behavior
No warning
Actual behavior
Additional context
The inflight archive has not been updated since 8 years and has an alternative which is up to date https://www.npmjs.com/package/lru-cache
The used glob version is deprecated and 2 years old
Is there specific reasons why these have not been replaced/updated ?
Environment
The text was updated successfully, but these errors were encountered: