Files
node/lib/internal
Joyee Cheung 5e1bf058f4 url: make the context non-enumerable
At the moment we expose the context as a normal property on the
prototype chain of URL or take them from the base URL
which makes them enumerable and considered
by assert libraries even though the context carries path-dependent
information that do not affect the equivalence of these objects.
This patch fixes it in a minimal manner by marking the context
non-enumerable as making it full private would require more
refactoring and can be done in a bigger patch later.

PR-URL: https://github.com/nodejs/node/pull/24218
Refs: https://github.com/nodejs/node/issues/24211
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
2018-11-09 15:53:32 -08:00
..
2018-11-05 22:00:35 -08:00
2018-10-28 15:07:45 +01:00
2018-10-30 15:17:40 +01:00
2018-10-06 17:33:25 -05:00
2018-07-14 14:04:38 +02:00
2018-05-18 15:25:41 +02:00
2018-10-23 21:05:47 -07:00
2018-09-11 16:58:16 +08:00
2018-09-18 17:10:40 -05:00
2018-02-16 18:09:56 +01:00
2018-08-12 10:44:53 -07:00
2018-05-18 15:25:41 +02:00
2018-11-09 15:53:32 -08:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.