Commit 6fcac73
module: wrap swc error in ERR_INVALID_TYPESCRIPT_SYNTAX
PR-URL: #55316
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 5ea8aa1 commit 6fcac73Copy full SHA for 6fcac73
File tree
Expand file treeCollapse file tree
4 files changed
+47
-30
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
- modules
- test/es-module
Expand file treeCollapse file tree
4 files changed
+47
-30
lines changedOpen diff view settings
Collapse file
+13Lines changed: 13 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2107 | 2107 | |
2108 | 2108 | |
2109 | 2109 | |
| 2110 | + |
| 2111 | + |
| 2112 | + |
| 2113 | + |
| 2114 | + |
| 2115 | + |
| 2116 | + |
| 2117 | + |
| 2118 | + |
| 2119 | + |
| 2120 | + |
| 2121 | + |
2110 | 2122 | |
2111 | 2123 | |
2112 | 2124 | |
| ||
4177 | 4189 | |
4178 | 4190 | |
4179 | 4191 | |
| 4192 | + |
4180 | 4193 | |
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1528 | 1528 | |
1529 | 1529 | |
1530 | 1530 | |
| 1531 | + |
1531 | 1532 | |
1532 | 1533 | |
1533 | 1534 | |
|
Collapse file
lib/internal/modules/helpers.js
Copy file name to clipboardExpand all lines: lib/internal/modules/helpers.js+23-30Lines changed: 23 additions & 30 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
| 20 | + |
20 | 21 | |
21 | 22 | |
22 | 23 | |
| ||
315 | 316 | |
316 | 317 | |
317 | 318 | |
318 | | - |
319 | | - |
320 | | - |
321 | | - |
322 | | - |
323 | 319 | |
324 | 320 | |
325 | 321 | |
326 | 322 | |
327 | | - |
328 | | - |
329 | | - |
330 | | - |
331 | | - |
332 | | - |
| 323 | + |
| 324 | + |
| 325 | + |
333 | 326 | |
334 | 327 | |
335 | 328 | |
336 | | - |
337 | 329 | |
338 | 330 | |
339 | 331 | |
340 | | - |
341 | | - |
342 | | - |
343 | | - |
| 332 | + |
| 333 | + |
| 334 | + |
| 335 | + |
344 | 336 | |
345 | | - |
346 | | - |
347 | | - |
348 | | - |
349 | | - |
350 | | - |
351 | | - |
352 | | - |
353 | | - |
| 337 | + |
| 338 | + |
| 339 | + |
| 340 | + |
| 341 | + |
| 342 | + |
| 343 | + |
| 344 | + |
| 345 | + |
| 346 | + |
| 347 | + |
| 348 | + |
354 | 349 | |
355 | | - |
356 | 350 | |
357 | 351 | |
358 | 352 | |
| ||
367 | 361 | |
368 | 362 | |
369 | 363 | |
370 | | - |
371 | 364 | |
372 | 365 | |
373 | | - |
374 | | - |
| 366 | + |
| 367 | + |
375 | 368 | |
376 | 369 | |
377 | | - |
| 370 | + |
378 | 371 | |
379 | 372 | |
380 | 373 | |
|
Collapse file
test/es-module/test-typescript-eval.mjs
Copy file name to clipboardExpand all lines: test/es-module/test-typescript-eval.mjs+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
110 | 110 | |
111 | 111 | |
112 | 112 | |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
0 commit comments