express icon indicating copy to clipboard operation
express copied to clipboard

Use object with null prototype for various app properties

Open EvanHahn opened this issue 2 years ago • 1 comments

See discussion here.

app.cache, app.engines, and app.settings are now created with Object.create(null) instead of {}.

This also adds a test that app.locals is created the same way.

EvanHahn avatar Mar 17 '22 17:03 EvanHahn

This has been open for over a year. No rush from me, but let me know if there's anything I can do to move this along.

EvanHahn avatar Apr 17 '23 23:04 EvanHahn