Commit ffb2db8
committed
Revert "repl,util: insert carriage returns in output"
This reverts commit fce4b98.
This was a breaking change and should have been marked semver-major.
The change that was made altered the output of util.format() and
util.inspect(). With how much those are used in the wild, this type of
change deserves more justification.
Fixes: #8138
PR-URL: #8143
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent d401e55 commit ffb2db8Copy full SHA for ffb2db8
File tree
Expand file treeCollapse file tree
19 files changed
+191
-201
lines changedOpen diff view settings
Filter options
- lib
- test
- parallel
- sequential
Expand file treeCollapse file tree
19 files changed
+191
-201
lines changedOpen diff view settings
Collapse file
+26-28Lines changed: 26 additions & 28 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
242 | 242 | |
243 | 243 | |
244 | 244 | |
245 | | - |
| 245 | + |
246 | 246 | |
247 | 247 | |
248 | 248 | |
| ||
251 | 251 | |
252 | 252 | |
253 | 253 | |
254 | | - |
| 254 | + |
255 | 255 | |
256 | 256 | |
257 | 257 | |
| ||
265 | 265 | |
266 | 266 | |
267 | 267 | |
268 | | - |
| 268 | + |
269 | 269 | |
270 | 270 | |
271 | 271 | |
| ||
367 | 367 | |
368 | 368 | |
369 | 369 | |
370 | | - |
| 370 | + |
371 | 371 | |
372 | 372 | |
373 | 373 | |
| ||
453 | 453 | |
454 | 454 | |
455 | 455 | |
456 | | - |
| 456 | + |
457 | 457 | |
458 | 458 | |
459 | 459 | |
| ||
470 | 470 | |
471 | 471 | |
472 | 472 | |
473 | | - |
| 473 | + |
474 | 474 | |
475 | 475 | |
476 | 476 | |
| ||
490 | 490 | |
491 | 491 | |
492 | 492 | |
493 | | - |
| 493 | + |
494 | 494 | |
495 | 495 | |
496 | 496 | |
| ||
509 | 509 | |
510 | 510 | |
511 | 511 | |
512 | | - |
513 | | - |
| 512 | + |
| 513 | + |
514 | 514 | |
515 | 515 | |
516 | 516 | |
| ||
525 | 525 | |
526 | 526 | |
527 | 527 | |
528 | | - |
| 528 | + |
529 | 529 | |
530 | 530 | |
531 | 531 | |
| ||
548 | 548 | |
549 | 549 | |
550 | 550 | |
551 | | - |
| 551 | + |
552 | 552 | |
553 | 553 | |
554 | 554 | |
| ||
578 | 578 | |
579 | 579 | |
580 | 580 | |
581 | | - |
| 581 | + |
582 | 582 | |
583 | | - |
584 | | - |
| 583 | + |
| 584 | + |
585 | 585 | |
586 | 586 | |
587 | 587 | |
| ||
713 | 713 | |
714 | 714 | |
715 | 715 | |
716 | | - |
| 716 | + |
717 | 717 | |
718 | 718 | |
719 | 719 | |
| ||
762 | 762 | |
763 | 763 | |
764 | 764 | |
765 | | - |
| 765 | + |
766 | 766 | |
767 | 767 | |
768 | 768 | |
| ||
1232 | 1232 | |
1233 | 1233 | |
1234 | 1234 | |
1235 | | - |
| 1235 | + |
1236 | 1236 | |
1237 | 1237 | |
1238 | 1238 | |
| ||
1252 | 1252 | |
1253 | 1253 | |
1254 | 1254 | |
1255 | | - |
| 1255 | + |
1256 | 1256 | |
1257 | 1257 | |
1258 | 1258 | |
| ||
1262 | 1262 | |
1263 | 1263 | |
1264 | 1264 | |
1265 | | - |
1266 | | - |
| 1265 | + |
| 1266 | + |
1267 | 1267 | |
1268 | | - |
| 1268 | + |
1269 | 1269 | |
1270 | 1270 | |
1271 | 1271 | |
| ||
1279 | 1279 | |
1280 | 1280 | |
1281 | 1281 | |
1282 | | - |
1283 | | - |
1284 | | - |
| 1282 | + |
1285 | 1283 | |
1286 | 1284 | |
1287 | 1285 | |
1288 | | - |
| 1286 | + |
1289 | 1287 | |
1290 | 1288 | |
1291 | 1289 | |
1292 | 1290 | |
1293 | | - |
| 1291 | + |
1294 | 1292 | |
1295 | 1293 | |
1296 | | - |
| 1294 | + |
1297 | 1295 | |
1298 | 1296 | |
1299 | 1297 | |
| ||
1306 | 1304 | |
1307 | 1305 | |
1308 | 1306 | |
1309 | | - |
| 1307 | + |
1310 | 1308 | |
1311 | 1309 | |
1312 | 1310 | |
|
Collapse file
+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
836 | 836 | |
837 | 837 | |
838 | 838 | |
839 | | - |
| 839 | + |
840 | 840 | |
841 | | - |
| 841 | + |
842 | 842 | |
843 | 843 | |
844 | 844 | |
| ||
1001 | 1001 | |
1002 | 1002 | |
1003 | 1003 | |
1004 | | - |
| 1004 | + |
1005 | 1005 | |
1006 | 1006 | |
1007 | 1007 | |
1008 | 1008 | |
1009 | 1009 | |
1010 | | - |
| 1010 | + |
1011 | 1011 | |
1012 | 1012 | |
1013 | 1013 | |
1014 | 1014 | |
1015 | 1015 | |
1016 | | - |
| 1016 | + |
1017 | 1017 | |
1018 | 1018 | |
1019 | 1019 | |
|
Collapse file
test/parallel/test-preload.js
Copy file name to clipboardExpand all lines: test/parallel/test-preload.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
123 | 123 | |
124 | 124 | |
125 | 125 | |
126 | | - |
| 126 | + |
127 | 127 | |
128 | 128 | |
129 | 129 | |
|
Collapse file
test/parallel/test-repl-.save.load.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-.save.load.js+4-5Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
31 | | - |
| 30 | + |
32 | 31 | |
33 | 32 | |
34 | 33 | |
| ||
55 | 54 | |
56 | 55 | |
57 | 56 | |
58 | | - |
| 57 | + |
59 | 58 | |
60 | 59 | |
61 | 60 | |
| ||
64 | 63 | |
65 | 64 | |
66 | 65 | |
67 | | - |
| 66 | + |
68 | 67 | |
69 | 68 | |
70 | 69 | |
| ||
79 | 78 | |
80 | 79 | |
81 | 80 | |
82 | | - |
| 81 | + |
83 | 82 | |
84 | 83 | |
85 | 84 | |
|
Collapse file
test/parallel/test-repl-autolibs.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-autolibs.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
|
Collapse file
test/parallel/test-repl-definecommand.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-definecommand.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
41 | 41 | |
42 | | - |
| 42 | + |
43 | 43 | |
Collapse file
test/parallel/test-repl-mode.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-mode.js+11-11Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
25 | | - |
| 24 | + |
| 25 | + |
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
31 | | - |
| 30 | + |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | 45 | |
46 | | - |
47 | | - |
| 46 | + |
| 47 | + |
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | 53 | |
54 | 54 | |
55 | | - |
56 | | - |
| 55 | + |
| 56 | + |
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | 60 | |
61 | | - |
62 | | - |
| 61 | + |
| 62 | + |
63 | 63 | |
64 | 64 | |
65 | 65 | |
|
Collapse file
test/parallel/test-repl-persistent-history.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-persistent-history.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
| 40 | + |
41 | 41 | |
42 | 42 | |
43 | 43 | |
| ||
138 | 138 | |
139 | 139 | |
140 | 140 | |
141 | | - |
| 141 | + |
142 | 142 | |
143 | 143 | |
144 | 144 | |
| ||
154 | 154 | |
155 | 155 | |
156 | 156 | |
157 | | - |
| 157 | + |
158 | 158 | |
159 | 159 | |
160 | 160 | |
|
0 commit comments