sidorares / sidorares/node-mysql2
package requires `lru-cache` twice due to duplicate dependency
Open
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
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
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