MCPcopy
hub / github.com/infinitered/reactotron / redactAsyncStorageWithParsed

Function redactAsyncStorageWithParsed

lib/reactotron-mcp/src/redaction.ts:437–440  ·  view source on GitHub ↗
(data: unknown, parsed: ParsedRules)

Source from the content-addressed store, hash-verified

435}
436
437function redactAsyncStorageWithParsed(data: unknown, parsed: ParsedRules): unknown {
438 if (parsed.sensitiveKeysLower.size === 0) return data
439 return redactAsyncStorageItem(data, makeContext(parsed))
440}
441
442function redactAsyncStorageItem(data: unknown, ctx: RedactionContext): unknown {
443 const sensitiveKeysLower = ctx.parsed.sensitiveKeysLower

Callers 2

redactAsyncStorageFunction · 0.85
redactAsyncStorageDataFunction · 0.85

Calls 2

redactAsyncStorageItemFunction · 0.85
makeContextFunction · 0.85

Tested by

no test coverage detected