SIGN IN SIGN UP
expressjs / express UNCLAIMED

Fast, unopinionated, minimalist web framework for node.

0 0 59 JavaScript

Use object with null prototype for various app properties

`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.
E
Evan Hahn committed
14439731f968c1ec6015227d747ede32d3fbf676
Parent: cd7d79f
Committed by Wes Todd <wes@wesleytodd.com> on 4/29/2024, 2:43:25 PM