Skip to content

Fix secrets redacting#115

Merged
DavidWells merged 2 commits into
masterfrom
fix/fix-redacting
Oct 1, 2019
Merged

Fix secrets redacting#115
DavidWells merged 2 commits into
masterfrom
fix/fix-redacting

Conversation

@ehmicky

@ehmicky ehmicky commented Oct 1, 2019

Copy link
Copy Markdown
Contributor

This fixes the following bugs in secrets redacting: when printing objects console.log(object):

  • keys were not being redacted. E.g. console.log({ apiKeys: { cef41512: true } }).
  • it was crashing when some properties were not strings
  • RegExp, Date or Error were converted to plain objects

This also fixes some undeclared dependency issue by using a different library.

@DavidWells DavidWells merged commit 9bdaae1 into master Oct 1, 2019
@DavidWells DavidWells deleted the fix/fix-redacting branch October 1, 2019 23:59
ericapisani pushed a commit that referenced this pull request Dec 7, 2022
Skn0tt pushed a commit that referenced this pull request May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants