| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Review requested:
|
Sorry, something went wrong.
|
@MoLow Can you add an eslint rule to inhibit requiring/using node-pty inside lib folder? |
Sorry, something went wrong.
There was a problem hiding this comment.
License file is missing
Sorry, something went wrong.
There was a problem hiding this comment.
Can you add a comment to this line and explain what it does?
Sorry, something went wrong.
There was a problem hiding this comment.
Why did we have to change the ordering of this transform? Would it be helpful to document this with a comment?
Sorry, something went wrong.
|
To avoid confusion with actual deps/ directory changes, I think tools: would be a more appropriate commit message prefix. |
Sorry, something went wrong.
I think that is relevant for deps, not for tools, see #47793 (comment) |
Sorry, something went wrong.
There was a problem hiding this comment.
Could you explain what problem node-pty solves here, and how it worked before?
Sorry, something went wrong.
There was a problem hiding this comment.
Should probably be updated.
Sorry, something went wrong.
There was a problem hiding this comment.
why? it still returns Promise<void>
Sorry, something went wrong.
There was a problem hiding this comment.
Huh, either GitHub or myself messed up the reference. I meant to select the entire doc comment, not just the @returns line. Specifically, shouldn't a @param be added?
Sorry, something went wrong.
Sure. the current pseudo-tty test suite uses an equivilent implementation for this from python: node/test/pseudo-tty/pty_helper.py Line 3 in d225d95 as part of the effort of migrating the message tests to use common.assertSnapshot this will allow running as any other test under tests/parallel. common.assertSnapshot has a few advantages over the current python snapshot tests (it is faster, the producing snapshots is not doen maually so it is both easier and deterministic) |
Sorry, something went wrong.
|
@nodejs/node-api any idea why the build is failing on mac? https://github.com/nodejs/node/actions/runs/4846084398/jobs/8635397424 |
Sorry, something went wrong.
^
../src/unix/pty.cc:669:10: error: use of undeclared identifier 'openpty'
return openpty(amaster, aslave, name, (termios *)termp, (winsize *)winp);
^
../src/unix/pty.cc:717:10: error: use of undeclared identifier 'forkpty'
return forkpty(amaster, name, (termios *)termp, (winsize *)winp);
^
|
Sorry, something went wrong.
|
closing in favor of #47803, wich is much simpler |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
this is another followup for #47498 enabling running pseudo-tty snapshot tests using https://github.com/microsoft/node-pty
see #47793 (comment) for the reasoning behind this change