Commit 1236377
Bartek Wrona
Replace require('node:tty') with library symbol in libnoderawfs.js
NODERAWFS postset used require('node:tty') directly, which breaks
in ESM output (.mjs) where require is not available. Extract it into
a $nodeTTY library symbol using makeNodeImport, matching the pattern
used by $nodePath and other node module imports. This fixes all
_rawfs test failures in test-esm-integration and test-modularize-instance.1 parent d68b648 commit 1236377
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments