Mastodon Feed: Post

Mastodon Feed

Reblogged by kornel ("Kornel"):

kriskowal@social.coop ("Kris Kowal 🧙‍♂️") wrote:

JavaScript library authors:

Please consider freezing Object.prototype and Function.prototype after applying shims and before running your JavaScript tests to discover property override mistakes in your library or its transitive dependencies early. This would help us keep the JavaScript ecosystem compatible with technologies that freeze prototypes to mitigate prototype-pollution-attacks and bugs.

https://github.com/endojs/endo/discussions/1855