You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/filter-api.html
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,8 @@
56
56
});
57
57
</script></nav></div><divclass="container mainContainer docsContainer"><divclass="wrapper"><divclass="post"><headerclass="postHeader"><aclass="edit-page-link button" href="https://github.com/express-validator/express-validator/edit/master/docs/api-filter.md" target="_blank" rel="noreferrer noopener">Edit</a><h1id="__docusaurus" class="postHeaderTitle">Sanitization middlewares</h1></header><article><div><span><p>These methods are all available via <code>require('express-validator')</code>.</p>
58
58
<blockquote>
59
-
<p>These sanitization-only middlewares have been deprecated, as the <ahref="/docs/check-api.html">validation ones</a>
60
-
offer the same functionality, and much more.
59
+
<p>These sanitization-only middlewares have been deprecated, as <strong>the <ahref="/docs/check-api.html">validation middlewares</a>
60
+
offer the same functionality</strong>, and much more.
<p><em>Returns:</em> a variant of <ahref="#sanitizefields"><code>sanitize()</code></a> sanitizing the given request locations.</p>
94
109
</blockquote>
110
+
<blockquote>
111
+
<p><ahref="/docs/check-api.html#buildcheckfunctionlocations">Prefer using <code>buildCheckFunction()</code> instead</a>. This function has been deprecated.</p>
112
+
</blockquote>
95
113
<p>Creates a variant of <ahref="#sanitizefields"><code>sanitize()</code></a> that sanitizes the given request locations.</p>
Copy file name to clipboardExpand all lines: docs/next/filter-api.html
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,8 @@
56
56
});
57
57
</script></nav></div><divclass="container mainContainer docsContainer"><divclass="wrapper"><divclass="post"><headerclass="postHeader"><aclass="edit-page-link button" href="https://github.com/express-validator/express-validator/edit/master/docs/api-filter.md" target="_blank" rel="noreferrer noopener">Edit</a><h1id="__docusaurus" class="postHeaderTitle">Sanitization middlewares</h1></header><article><div><span><p>These methods are all available via <code>require('express-validator')</code>.</p>
58
58
<blockquote>
59
-
<p>These sanitization-only middlewares have been deprecated, as the <ahref="/docs/next/check-api.html">validation ones</a>
60
-
offer the same functionality, and much more.
59
+
<p>These sanitization-only middlewares have been deprecated, as <strong>the <ahref="/docs/next/check-api.html">validation middlewares</a>
60
+
offer the same functionality</strong>, and much more.
<p><em>Returns:</em> a variant of <ahref="#sanitizefields"><code>sanitize()</code></a> sanitizing the given request locations.</p>
94
109
</blockquote>
110
+
<blockquote>
111
+
<p><ahref="/docs/next/check-api.html#buildcheckfunctionlocations">Prefer using <code>buildCheckFunction()</code> instead</a>. This function has been deprecated.</p>
112
+
</blockquote>
95
113
<p>Creates a variant of <ahref="#sanitizefields"><code>sanitize()</code></a> that sanitizes the given request locations.</p>
0 commit comments