This repository has been archived by the owner. It is now read-only.
Please sign in to comment.
Fix #3521 Use an object as the process.env proto
For some reason, though, it looks like EnvGetter is not called for the key `__proto__`, so I can't make the info->Data() accessible. However, putting the Object.prototype keys there, in such a way that they are not OwnProperties, and are supersceded by environs, makes process.env much less weird.
- Loading branch information...
Showing with 13 additions and 3 deletions.