mathiasbynens / mathiasbynens/base64
UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 519
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
Apparently the library fails when using against a large image (>6MB)
(node:14571) UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded
at RegExp.test (<anonymous>)
My advise is not to use this library until this gets fixed
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.
Research direction
Reproduce the reported failure with a JavaScript input larger than 6 MB and inspect the stack trace around RegExp.test. Trace the library’s encoder or decoder entry point, then verify that the same large input completes without an unhandled rejection or maximum call stack error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100