`package.json` synchronizer assumes that all dependency version strings use a leading character
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- tooling
Research direction
Start at src/processing/package-json.ts, especially line 64, and inspect how dependency version strings are handled during synchronization. Reproduce the crash with an unprefixed version such as 2.26.0, then verify that synchronization succeeds for unprefixed versions while existing ^ and ~ versions continue to work.
Written by the indexing model from the issue text.
Description
If the version string for one of the dependencies in your package is, say, 2.26.0 instead of ^2.26.0, then the tool will crash when attempting to sync the dependencies.
See this line: https://github.com/MetaMask/template-sync/blob/294727e368f1120e79c29fa4039b2fcf49c95bb1/src/processing/package-json.ts#L64. I think we only need to take off the leading character if it is ^ or ~.
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
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.
More from MetaMask/template-sync
-
bug team-wallet-framework wf-bugs
Difficulty 3/5 1-2 days Newbie friendliness 45/100
MetaMask/template-sync#30 ·
-
bug team-wallet-framework wf-bugs
Difficulty 3/5 1-2 days Newbie friendliness 45/100
MetaMask/template-sync#21 ·
-
bug team-wallet-framework wf-bugs
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
MetaMask/template-sync#20 ·
-
bug team-wallet-framework wf-bugs
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
MetaMask/template-sync#19 ·
All issues in MetaMask/template-sync
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·