Skip to content

Fix secrets redacting #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 1, 2019
Merged

Fix secrets redacting #115

merged 2 commits into from
Oct 1, 2019

Conversation

ehmicky
Copy link
Contributor

@ehmicky ehmicky commented Oct 1, 2019

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