sidorares / sidorares/node-mysql2

package requires `lru-cache` twice due to duplicate dependency

Open
#845 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.4k
Forks
680
Avg merge
9h 7m
Merged PRs (30d)
59

Description

Not a huge issue but lru-cache is installed twice by installing mysql2, perhaps it would be a good idea to either update the package (seems unmaintained), or get rid of the package by implementing required functionality yourself.

Duplicate dependency lru-cache installed 2 times 4.1.3,2.5.0!
     4.1.1: mysql2
     2.5.0: mysql2 > named-placeholders

Contributor guide

Open the contributing guide

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

The issue points to mysql2's dependency tree, specifically mysql2 and named-placeholders; begin by inspecting their declared lru-cache versions. Determine whether the dependency can be consolidated or removed, then verify the install reports only one lru-cache version.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, node.js, typescript
Domain
backend, databases
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.