Files
node/lib
Anna Henningsen c3c6cb1c13 util: use proper circular reference checking
Circular references are conceptually nothing that should be checked
for objects (or Sets or Maps) only, but applies to recursive structures
in general, so move the `seen` checks into a position where it is part
of the recursion itself.

Fixes: https://github.com/nodejs/node/issues/14758
PR-URL: https://github.com/nodejs/node/pull/14790
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben.bridgewater@fintura.de>
2017-09-12 03:16:59 +02:00
..
2017-08-14 13:19:23 +02:00
2017-07-19 15:02:18 -04:00
2017-08-01 20:26:50 +02:00
2017-07-19 15:03:01 -04:00
2017-07-19 15:02:21 -04:00
2017-07-19 15:02:18 -04:00
2017-09-10 01:42:18 +02:00
2017-08-01 18:45:11 +02:00
2016-10-04 12:17:32 -04:00
2017-03-10 11:23:48 -08:00
2017-07-19 15:02:18 -04:00
2017-07-19 15:02:18 -04:00
2017-07-18 19:57:20 +02:00
2017-07-19 15:03:01 -04:00
2017-03-10 11:23:48 -08:00