Skip to content

repl: support suppressing default commands - #66289

Open
avivkeller wants to merge 1 commit into
nodejs:mainfrom
avivkeller:repl-suppression
Open

avivkeller wants to merge 1 commit into
nodejs:mainfrom
avivkeller:repl-suppression

Conversation

@avivkeller

Copy link
Copy Markdown
Member

Fixes #57989 by supporting a defineDefaultCommands: false option (default true)

Signed-off-by: avivkeller <me@aviv.sh>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. repl Issues and PRs related to the REPL subsystem. labels Sep 25, 2026
@codecov

codecov Bot commented Sep 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.35%. Comparing base (bc6e1ad) to head (a68bf1d).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #66289      +/-   ##
==========================================
- Coverage   90.37%   90.35%   -0.03%     
==========================================
  Files         790      790              
  Lines      273807   273816       +9     
  Branches    52367    52375       +8     
==========================================
- Hits       247446   247394      -52     
- Misses      16869    16917      +48     
- Partials     9492     9505      +13     
Files with missing lines Coverage Δ
lib/repl.js 92.94% <100.00%> (+0.01%) ⬆️

... and 28 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. repl Issues and PRs related to the REPL subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to suppress .commands in REPL

2 participants