Use object with null prototype for various app properties
Before adoption: this commit came in with the history the project adopted, so no landing records it.
`app.cache`, `app.engines`, and `app.settings` are now created with `Object.create(null)` instead of `{}`. This also updates a test to ensure that `app.locals` is created the same way.
authored by Evan Hahn · committed by Wes Todd · parent cd7d79f · Browse files · 2 files+5 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+5 added−4 removed
- tests:+2 added−1 removed
- other:+3 added−3 removed