Files
node/lib/internal
Rich Trott 4bde865145 errors: simplify ERR_REQUIRE_ESM message generation
Because of the condition that starts the `if` block, we know that
`parentPath` must be truthy. So there is no need to check for that in
the template string that generates the error message.

PR-URL: https://github.com/nodejs/node/pull/35123
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
2020-09-17 10:36:41 -04:00
..
2020-08-05 08:54:29 -07:00
2020-08-20 15:05:15 +01:00
2020-08-24 12:19:58 +01:00
2020-08-20 15:05:24 +01:00
2020-09-01 11:15:46 -04:00
2020-09-01 11:15:46 -04:00
2020-01-22 15:33:03 +01:00
2020-06-30 09:34:24 -07:00
2020-09-01 11:15:46 -04:00
2020-09-03 07:02:16 -04:00
2020-01-22 15:33:03 +01:00
2019-11-30 13:58:25 +01:00
2019-12-17 08:11:13 -05:00
2020-08-20 15:05:24 +01: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.