Cannot use 'in' operator to search for 'x' in null
TypeError: Cannot use 'in' operator to search for 'x' in null
at specialSet (/workspace/lib-logger/node_modules/fast-redact/lib/modifiers.js:120:53)
at nestedRedact (/workspace/lib-logger/node_modules/fast-redact/lib/modifiers.js:73:7)
Hi,
Thanks a lot for the great lib.
I just wanted to raise this bug. An error is thrown in this edge case:
Cannot use 'in' operator to search for 'x' in null TypeError: Cannot use 'in' operator to search for 'x' in null at specialSet (/workspace/lib-logger/node_modules/fast-redact/lib/modifiers.js:120:53) at nestedRedact (/workspace/lib-logger/node_modules/fast-redact/lib/modifiers.js:73:7)