yargs / yargs/yargs-unparser

WARN deprecated flat@4.1.0

Open
#67 1 comment 2 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.