@emeryld/rrroutes-server 2.5.2 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/routesV3.server.sanitize.d.ts +2 -1
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ export type RequestSanitizationOptions = {
|
|
|
40
40
|
* Strip keys used in prototype pollution payloads.
|
|
41
41
|
* Defaults to true.
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
stripBlockedKeys?: boolean;
|
|
44
44
|
/**
|
|
45
45
|
* Keys to strip when `stripPrototypePollutionKeys` is enabled.
|
|
46
46
|
* Defaults to ['__proto__', 'prototype', 'constructor'].
|
|
@@ -58,6 +58,7 @@ export type RequestSanitizationOptions = {
|
|
|
58
58
|
customSanitizer?: RequestSanitizationCallback;
|
|
59
59
|
/**
|
|
60
60
|
* Log the duration (in ms) of each target sanitization step.
|
|
61
|
+
* Format: [RequestSanitizationProfiler] METHOD URL target=TARGET durationMs=123.456
|
|
61
62
|
* Defaults to false.
|
|
62
63
|
*/
|
|
63
64
|
profiler?: boolean;
|