-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Type Error when null is passed to deepKeys (#26)
* fix: resolve "TypeError: Cannot convert undefined or null to object" Initially reported in mrodrig/json-2-csv#222 This issue appears when a `null` value is passed for key enumeration because technically `null` is an object, but doesn't have keys. This commit fixes the issue by adding a null check to prevent the type error. * chore(deps): npm audit fix * chore(rel): 2.6.0
- Loading branch information
Showing
4 changed files
with
54 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters