module: self referential modules in repl or `-r` by dnlup · Pull Request #32261 · nodejs/node

dnlup

@dnlup dnlup changed the title [WIP] module: self referential modules in repl or -r module: self referential modules in repl or -r

Mar 15, 2020

guybedford

@dnlup dnlup changed the title module: self referential modules in repl or -r [WIP] module: self referential modules in repl or -r

Mar 24, 2020

@dnlup dnlup changed the title [WIP] module: self referential modules in repl or -r module: self referential modules in repl or -r

Mar 30, 2020

guybedford

guybedford

hybrist

ljharb

ljharb

dnlup

guybedford

@dnlup

Load self referential modules from the repl and using the preload flag `-r`.
In both cases the base path used for resolution is the current  `process.cwd()`.

Refs:

* nodejs#31595

guybedford

guybedford pushed a commit that referenced this pull request

Jul 23, 2020
Load self referential modules from the repl and using the preload flag
`-r`. In both cases the base path used for resolution is the current
`process.cwd()`. Also fixes an internal cycle bug in the REPL exports
resolution.

PR-URL: #32261
Fixes: #31595
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>

MylesBorins pushed a commit that referenced this pull request

Jul 27, 2020
Load self referential modules from the repl and using the preload flag
`-r`. In both cases the base path used for resolution is the current
`process.cwd()`. Also fixes an internal cycle bug in the REPL exports
resolution.

PR-URL: #32261
Fixes: #31595
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>

guybedford pushed a commit to guybedford/node that referenced this pull request

Sep 28, 2020
Load self referential modules from the repl and using the preload flag
`-r`. In both cases the base path used for resolution is the current
`process.cwd()`. Also fixes an internal cycle bug in the REPL exports
resolution.

PR-URL: nodejs#32261
Fixes: nodejs#31595
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>

codebytere pushed a commit that referenced this pull request

Oct 1, 2020
Load self referential modules from the repl and using the preload flag
`-r`. In both cases the base path used for resolution is the current
`process.cwd()`. Also fixes an internal cycle bug in the REPL exports
resolution.

PR-URL: #32261
Backport-PR-URL: #35385
Fixes: #31595
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>