[RFH] smc.eachMapping is not a function
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.7k
- Forks
- 370
- PR merge metrics
- No merged PRs in 30d
Description
I got reported a bug about a package of mine no longer building. It uses source-map during build, in this script, and the method is still documented in https://github.com/mozilla/source-map/blob/master/README.md#sourcemapconsumerprototypeeachmappingcallback-context-order, so I have no idea what is going wrong here.
Help would be appreciated.
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
Start by comparing the documented SourceMapConsumer.prototype.eachMapping API with its use in the linked scripts/env-patcher.js from the Debian package. Reproduce the reported build failure and inspect the relevant source-map version and documentation; done means identifying why the method is unavailable and documenting a confirmed resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100