Support running without code generation from strings
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript, node.js
- Domain
- tooling
Research direction
No files or tests are named in the issue. Start by tracing ordered-binary's current code-generation paths and the Node.js --disallow-code-generation-from-strings behavior; done means the package falls back when string code generation is blocked while retaining its existing generated path.
Written by the indexing model from the issue text.
Description
Node.js supports running with the --disallow-code-generation-from-strings CLI flag, which blocks features such as eval and new Function('...').
Packages like ordered-binary benefit from the performance gain of code generation, but I would like to see an automatic fallback in the event the current environment does not allow for code generation from strings.
Would you be open to such a change? I'm using this as a consumer of lmdb if that makes any difference.
- Dominant language
- JavaScript
- Stars
- 12
- Forks
- 6
- 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 kriszyp/ordered-binary
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
kriszyp/ordered-binary#12 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in kriszyp/ordered-binary
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
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 ·