binary host mirror override does not work for module_names with multiple dashes
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript, node.js
- Domain
- tooling
Research direction
Start at lib/util/versioning.js around line 315 and compare the binary host mirror environment-variable handling with the reported module_name case in confluent-kafka-javascript/package.json. Confirm that a module name containing multiple dashes produces the expected mirror override, then run the repository's relevant tests or test suite to verify the behavior.
Written by the indexing model from the issue text.
Description
The binary host mirror environment variable does not work for packages with binary.module_name values containing more than one dash because it does not use replaceAll here: https://github.com/mapbox/node-pre-gyp/blob/master/lib/util/versioning.js#L315. I encountered this trying to use the binary host mirror override with https://github.com/confluentinc/confluent-kafka-javascript/blob/master/package.json#L19.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 271
- Avg merge
- 23h 40m
- Merged PRs (30d)
- 2
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.
More from mapbox/node-pre-gyp
-
Update tar version Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mapbox/node-pre-gyp#453 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mapbox/node-pre-gyp#389 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mapbox/node-pre-gyp#998 · 12 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 64/100
mapbox/node-pre-gyp#995 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
mapbox/node-pre-gyp#964 ·
All issues in mapbox/node-pre-gyp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·