-
Notifications
You must be signed in to change notification settings - Fork 73
feat(cli-repl): add support for bracketed paste in REPL MONGOSH-1909 #2328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Bracketed paste allows us to receive a copy-pasted piece of mongosh as a single block, rather than interpreting it line-by-line. For now, this requires some monkey-patching of Node.js internals, so a follow-up ticket will include work to upstream support for this into Node.js core.
@@ -43,7 +43,7 @@ | |||
"access": "public" | |||
}, | |||
"engines": { | |||
"node": ">=16.15.0" | |||
"node": ">=18.19.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimum version with nodejs/node#47150
@@ -1510,9 +1540,6 @@ describe('e2e', function () { | |||
|
|||
describe('history file', function () { | |||
it('persists between sessions', async function () { | |||
if (process.arch === 's390x') { | |||
return this.skip(); // https://jira.mongodb.org/browse/MONGOSH-746 | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by because this is also fixed by the env var fixup in .evergreen/setup-env.sh
Since this touches |
Bracketed paste allows us to receive a copy-pasted piece of mongosh as a single block, rather than interpreting it line-by-line. For now, this requires some monkey-patching of Node.js internals, so a follow-up ticket will include work to upstream support for this into Node.js core.