dmonad / lib0

Monorepo of isomorphic utility functions
MIT License
368 stars 65 forks source link

Prevent prototype pollution #81

Closed benmerckx closed 1 year ago

dmonad commented 1 year 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.