Open devinus opened 8 years ago
https://github.com/dthree/vorpal/blob/ff19d3600f47a6a568b6e5477c8c738523a39b54/lib/util.js#L311
If we use hasOwnProperty
everywhere I don't think this problem will exist.
Pinging @scotthovestadt as I believe https://github.com/dthree/vorpal/commit/a337dce615f3420e398a9f7ea3603bc31c8d0c32 is what changed behavior to surface this. (Vorpal 1.10 did not exhibit it.)
Many packages (unfortunately) do this:
Which results in: