Skip to content

Commit b8052c3

Browse files
committed
docs: add note about 'depth' option availability in express.urlencoded middleware
Signed-off-by: Sebastian Beltran <[email protected]>
1 parent 1339fde commit b8052c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_includes/api/en/4x/express.urlencoded.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ The following table describes the properties of the optional `options` object.
4242
| `depth` | Configure the maximum depth of the `qs` library when `extended` is `true`. This allows you to limit the amount of keys that are parsed and can be useful to prevent certain types of abuse. Defaults to `32`. It is recommended to keep this value as low as possible. | Number | `32` |
4343

4444
</div>
45+
46+
<div class="doc-box doc-notice" markdown="1">
47+
The `depth` option was added in Express v4.20.0. If you are using an earlier version, this option will not be available.
48+
</div>

0 commit comments

Comments
 (0)