Repository navigation
Commit 38f894c
committed
repl: add ImportExpression to disallow list of speculative evaluation
REPL speculative completeions were allowing ImportExpression to be
egarly evaluated, which caused the REPL to try importing invalid modules
which would cause the REPL to get stuck in a loop of trying to import
the module and failing causing it to lock up. This commit makes it so
that ImportExpression are disallowed from being evaluated in that case.
Fixes: nodejs#64523
Signed-off-by: BlankParticle <[email protected]>1 parent cf882a7 commit 38f894c
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| 632 | + | |
632 | 633 | | |
633 | 634 | | |
634 | 635 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
565 | 575 | | |
0 commit comments