dmonad / lib0

Monorepo of isomorphic utility functions
MIT License
345 stars 62 forks source link

Prevent prototype pollution #81

Closed benmerckx closed 9 months ago

dmonad commented 9 months ago

I understand that some people consider this to be good practice. IMHO it's an inconvenience (too many characters) with little benefit. However, I do value consistency, so I don't want to merge this as I would have to replace every occurrence of {} with Object.create(null).

Unless this prevents a specific bug, I don't want to merge this PR.