WARN deprecated flat@4.1.0
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 20
- Forks
- 12
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
Hi,
I am starting to see red builds on my TeamCity build server with the message:
npm WARN deprecated flat@4.1.0: Fixed a prototype pollution security issue in 4.1.0, please upgrade to ^4.1.1 or ^5.0.1.
The issue is generated from the unit tests which are driven by mocha.
Mocha has the dependency chain: mocha -> yargs-unparser -> flat.
Somebody have already reported the same issue mocha: https://github.com/mochajs/mocha/issues/4410
Would be nice if the deprecated dependency could be solved.
Regards,
Erik
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the package dependency declarations for the mocha -> yargs-unparser -> flat chain and identify which declaration brings in flat@4.1.0. Run the unit tests driven by mocha, then verify that the deprecated flat warning is resolved through an allowed 4.1.1 or 5.0.1 version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100