Files
node/test/message
Antoine du Hamel ded83350a0 lib: make primordials Promise methods safe
`catch` and `finally` methods on %Promise.prototype% looks up the `then`
property of the instance, making it at risk of prototype pollution.

PR-URL: https://github.com/nodejs/node/pull/38650
Backport-PR-URL: https://github.com/nodejs/node/pull/38878
Refs: https://tc39.es/ecma262/#sec-promise.prototype.catch
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2021-06-14 08:17:31 +02:00
..
2019-03-21 22:55:12 +01:00
2019-04-12 19:29:24 +08:00
2019-11-17 20:08:36 +05:30