fix for Cannot convert null to object  at hasOwnProperty (native) when node is null
fix for Cannot convert null to object  at hasOwnProperty (native) when node is null

adjohnson916/js-traverse,substack/js-traverse,khanh-nguyen/js-traverse,davewasmer/traverse,h2non/js-traverse