Files
node/lib
Antoine du Hamel 2f27d058c2 esm: protect ESM loader from prototype pollution
In a previous commit, the loader implementation was modified to be
protected against most prototype pollution, but was kept vulnerable to
`Array.prototype` pollution. This commit fixes that, the tradeoff is
that it modifies the `ESMLoader.prototype.import` return type from an
`Array` to an array-like object.

Refs: https://github.com/nodejs/node/pull/45044
PR-URL: https://github.com/nodejs/node/pull/45175
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2023-01-03 08:38:26 -05:00
..
…
…
2022-06-12 20:24:54 -04:00
2022-01-30 14:07:32 +00:00
2022-06-12 20:24:54 -04:00
…
2022-07-12 07:41:31 +02:00
2023-01-03 08:38:16 -05:00
2022-06-12 20:24:52 -04:00
…
2022-06-12 20:24:54 -04:00
…
2021-04-30 10:59:28 -07:00
…
2023-01-03 08:38:14 -05:00
2022-09-26 19:07:41 -03:00