Commit 6575b76
module: add module.stripTypeScriptTypes
PR-URL: #55282
Backport-PR-URL: #56208
Fixes: #54300
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>1 parent 0794861 commit 6575b76Copy full SHA for 6575b76
File tree
Expand file treeCollapse file tree
10 files changed
+358
-89
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- internal
- main
- modules
- cjs
- esm
- test/parallel
Expand file treeCollapse file tree
10 files changed
+358
-89
lines changedOpen diff view settings
Collapse file
+101Lines changed: 101 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
270 | 270 | |
271 | 271 | |
272 | 272 | |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
| 277 | + |
| 278 | + |
| 279 | + |
| 280 | + |
| 281 | + |
| 282 | + |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
| 312 | + |
| 313 | + |
| 314 | + |
| 315 | + |
| 316 | + |
| 317 | + |
| 318 | + |
| 319 | + |
| 320 | + |
| 321 | + |
| 322 | + |
| 323 | + |
| 324 | + |
| 325 | + |
| 326 | + |
| 327 | + |
| 328 | + |
| 329 | + |
| 330 | + |
| 331 | + |
| 332 | + |
| 333 | + |
| 334 | + |
| 335 | + |
| 336 | + |
| 337 | + |
| 338 | + |
| 339 | + |
| 340 | + |
| 341 | + |
| 342 | + |
| 343 | + |
| 344 | + |
| 345 | + |
| 346 | + |
| 347 | + |
| 348 | + |
| 349 | + |
| 350 | + |
| 351 | + |
| 352 | + |
| 353 | + |
| 354 | + |
| 355 | + |
| 356 | + |
| 357 | + |
| 358 | + |
| 359 | + |
| 360 | + |
| 361 | + |
| 362 | + |
| 363 | + |
| 364 | + |
| 365 | + |
| 366 | + |
| 367 | + |
| 368 | + |
| 369 | + |
| 370 | + |
| 371 | + |
273 | 372 | |
274 | 373 | |
275 | 374 | |
| ||
1251 | 1350 | |
1252 | 1351 | |
1253 | 1352 | |
| 1353 | + |
| 1354 | + |
Collapse file
lib/internal/main/eval_string.js
Copy file name to clipboardExpand all lines: lib/internal/main/eval_string.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
18 | | - |
| 17 | + |
| 18 | + |
19 | 19 | |
20 | 20 | |
21 | 21 | |
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
|
Collapse file
lib/internal/modules/cjs/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/cjs/loader.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
153 | 153 | |
154 | 154 | |
155 | 155 | |
156 | | - |
157 | 156 | |
| 157 | + |
158 | 158 | |
159 | 159 | |
160 | 160 | |
| ||
1347 | 1347 | |
1348 | 1348 | |
1349 | 1349 | |
1350 | | - |
| 1350 | + |
1351 | 1351 | |
1352 | 1352 | |
1353 | 1353 | |
| ||
1584 | 1584 | |
1585 | 1585 | |
1586 | 1586 | |
1587 | | - |
| 1587 | + |
1588 | 1588 | |
1589 | 1589 | |
1590 | 1590 | |
| ||
1596 | 1596 | |
1597 | 1597 | |
1598 | 1598 | |
1599 | | - |
| 1599 | + |
1600 | 1600 | |
1601 | 1601 | |
1602 | 1602 | |
| ||
1616 | 1616 | |
1617 | 1617 | |
1618 | 1618 | |
1619 | | - |
| 1619 | + |
1620 | 1620 | |
1621 | 1621 | |
1622 | 1622 | |
|
Collapse file
lib/internal/modules/esm/get_format.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/get_format.js+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
164 | 164 | |
165 | 165 | |
166 | 166 | |
167 | | - |
| 167 | + |
| 168 | + |
168 | 169 | |
169 | | - |
| 170 | + |
170 | 171 | |
171 | 172 | |
172 | 173 | |
|
Collapse file
lib/internal/modules/esm/translators.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/translators.js+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | | - |
34 | 33 | |
35 | 34 | |
36 | 35 | |
| 36 | + |
37 | 37 | |
38 | 38 | |
39 | 39 | |
| ||
244 | 244 | |
245 | 245 | |
246 | 246 | |
247 | | - |
| 247 | + |
248 | 248 | |
249 | 249 | |
250 | 250 | |
| ||
459 | 459 | |
460 | 460 | |
461 | 461 | |
462 | | - |
| 462 | + |
463 | 463 | |
464 | 464 | |
465 | 465 | |
| ||
468 | 468 | |
469 | 469 | |
470 | 470 | |
471 | | - |
| 471 | + |
472 | 472 | |
473 | 473 | |
474 | 474 | |
Collapse file
lib/internal/modules/helpers.js
Copy file name to clipboardExpand all lines: lib/internal/modules/helpers.js+1-74Lines changed: 1 addition & 74 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
19 | | - |
20 | 18 | |
21 | 19 | |
22 | 20 | |
| ||
27 | 25 | |
28 | 26 | |
29 | 27 | |
30 | | - |
31 | 28 | |
32 | | - |
| 29 | + |
33 | 30 | |
34 | 31 | |
35 | 32 | |
| ||
314 | 311 | |
315 | 312 | |
316 | 313 | |
317 | | - |
318 | | - |
319 | | - |
320 | | - |
321 | | - |
322 | | - |
323 | | - |
324 | | - |
325 | | - |
326 | | - |
327 | | - |
328 | | - |
329 | | - |
330 | | - |
331 | | - |
332 | | - |
333 | | - |
334 | | - |
335 | | - |
336 | | - |
337 | | - |
338 | | - |
339 | | - |
340 | | - |
341 | | - |
342 | | - |
343 | | - |
344 | | - |
345 | | - |
346 | | - |
347 | | - |
348 | | - |
349 | | - |
350 | | - |
351 | | - |
352 | | - |
353 | | - |
354 | | - |
355 | | - |
356 | | - |
357 | | - |
358 | | - |
359 | | - |
360 | | - |
361 | | - |
362 | | - |
363 | | - |
364 | | - |
365 | | - |
366 | | - |
367 | | - |
368 | | - |
369 | | - |
370 | | - |
371 | | - |
372 | | - |
373 | | - |
374 | | - |
375 | | - |
376 | | - |
377 | | - |
378 | | - |
379 | | - |
380 | | - |
381 | | - |
382 | | - |
383 | | - |
384 | | - |
385 | | - |
386 | 314 | |
387 | 315 | |
388 | 316 | |
| ||
485 | 413 | |
486 | 414 | |
487 | 415 | |
488 | | - |
489 | 416 | |
490 | 417 | |
491 | 418 | |
|
0 commit comments