Files
node/lib/internal
cjihrig a608caa5ff module: improve resolve paths validation
This commit adds input validation to require.resolve()'s
paths option. Prior to this change, passing in a non-array
value lead to a misleading 'module not found' error.

Refs: https://github.com/nodejs/node/issues/27583

PR-URL: https://github.com/nodejs/node/pull/27613
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-05-10 11:26:26 -07:00
..
2019-05-05 14:44:19 -07:00
2018-05-18 15:25:41 +02:00
2019-04-11 05:40:59 +02:00
2018-11-16 21:56:29 +09:00
2019-03-25 16:28:07 +01:00
2019-04-10 20:35:54 -04:00
2019-04-26 18:43:11 +02: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.