You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. A clear and
concise description of what the problem is.
The std lib currently (mostly) uses builtin globals straight from the environment. This means that they are vulnerable to overwrites which can cause unexpected behaviours / security issues.
Describe the solution you'd like A clear and concise description of what you
want to happen.
Following precedent set in Node's std library and Deno core, consider introduce a primordials module to std which can be used, either through import or as a global.
-1. As I've said in other contexts I think std should be treated as a model user space library. Since it is technically in user space (not built-in unlike Node std), it makes for a good opportunity to have something like that. So IMO we shouldn't do it in std unless we think any serious userland project should.
Is your feature request related to a problem? Please describe. A clear and
concise description of what the problem is.
The std lib currently (mostly) uses builtin globals straight from the environment. This means that they are vulnerable to overwrites which can cause unexpected behaviours / security issues.
REF:
Describe the solution you'd like A clear and concise description of what you
want to happen.
Following precedent set in Node's std library and Deno core, consider introduce a primordials module to std which can be used, either through import or as a global.
REF:
Describe alternatives you've considered A clear and concise description of
any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature
request here.
REF:
The text was updated successfully, but these errors were encountered: