CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 15:06:27 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/nodejs/node.git
etag: W/"1529e65b6b5007328ec95ba366d313ae"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=nLMvQu35jjA%2F84hY%2BpNtnME2edvqG0UpsxwAVzcpOQxj6HRq8RumYuHiuPw%2FTwoRXKlsCYHchUkmoQ%2BfJbow328cEBdQ4RJhfaPZDUYWt%2BgTsZJdGTGa5MFbXr%2FoGbfFzG3j2ZMxeLeUtuiUu1ju6Kb%2BahBPqGBE%2FRkcD4ikvXti292zeLhfnFvRRCaNZLNyr4k%2FAP0YykcamoKQHoQvYntsWflpiannxscLK33hqXCXm0T6CHlzz4qlRZkKV60tPr4gtAKodnhmzTD0HW6J9g%3D%3D--Xc1eLsYoNCa0t9k%2F--gkrB%2FAr6FSKlBuU1dkc0Uw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1348911003.1753110386; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 15:06:26 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 15:06:26 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 912E:67095:182B7:1C30E:687E5772
module: support eval with ts syntax detection · nodejs/node@959f133 · GitHub
Copy file name to clipboardExpand all lines: lib/internal/main/eval_string.js
Copy file name to clipboardExpand all lines: lib/internal/modules/cjs/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/translators.js
Copy file name to clipboardExpand all lines: lib/internal/modules/typescript.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Commit 959f133
module: support eval with ts syntax detection
PR-URL: #56285
Refs: nodejs/typescript#17
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>1 parent 96a3804 commit 959f133Copy full SHA for 959f133
File tree
Expand file treeCollapse file tree
10 files changed
+510
-66
lines changedFilter options
- doc/api
- lib/internal
- main
- modules
- cjs
- esm
- process
- src
- test
- es-module
- fixtures/eval
Expand file treeCollapse file tree
10 files changed
+510
-66
lines changed+18-2Lines changed: 18 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1381 | 1381 |
| |
1382 | 1382 |
| |
1383 | 1383 |
| |
1384 |
| - | |
1385 |
| - | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
1386 | 1401 |
| |
1387 | 1402 |
| |
1388 | 1403 |
| |
| |||
3645 | 3660 |
| |
3646 | 3661 |
| |
3647 | 3662 |
| |
| 3663 | + | |
3648 | 3664 |
| |
3649 | 3665 |
| |
3650 | 3666 |
| |
|
lib/internal/main/eval_string.js
Copy file name to clipboardExpand all lines: lib/internal/main/eval_string.js+34-15Lines changed: 34 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 |
| |
18 |
| - | |
19 | 24 |
| |
20 | 25 |
| |
21 | 26 |
| |
22 | 27 |
| |
23 | 28 |
| |
24 | 29 |
| |
25 | 30 |
| |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
32 |
| - | |
33 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 |
| |
35 | 41 |
| |
36 | 42 |
| |
37 |
| - | |
| 43 | + | |
38 | 44 |
| |
39 | 45 |
| |
40 | 46 |
| |
| |||
49 | 55 |
| |
50 | 56 |
| |
51 | 57 |
| |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
59 | 78 |
|
lib/internal/modules/cjs/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/cjs/loader.js-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
449 | 449 |
| |
450 | 450 |
| |
451 | 451 |
| |
452 |
| - | |
453 | 452 |
| |
454 | 453 |
| |
455 | 454 |
| |
|
lib/internal/modules/esm/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/loader.js+30-2Lines changed: 30 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
213 | 213 |
| |
214 | 214 |
| |
215 | 215 |
| |
216 |
| - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
217 | 234 |
| |
218 |
| - | |
219 | 235 |
| |
220 | 236 |
| |
221 | 237 |
| |
| |||
235 | 251 |
| |
236 | 252 |
| |
237 | 253 |
| |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
238 | 266 |
| |
239 | 267 |
| |
240 | 268 |
| |
|
lib/internal/modules/esm/translators.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/translators.js-3Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
291 | 291 |
| |
292 | 292 |
| |
293 | 293 |
| |
294 |
| - | |
295 | 294 |
| |
296 | 295 |
| |
297 | 296 |
| |
| |||
536 | 535 |
| |
537 | 536 |
| |
538 | 537 |
| |
539 |
| - | |
540 | 538 |
| |
541 | 539 |
| |
542 | 540 |
| |
| |||
545 | 543 |
| |
546 | 544 |
| |
547 | 545 |
| |
548 |
| - | |
549 | 546 |
| |
550 | 547 |
| |
551 | 548 |
| |
|
lib/internal/modules/typescript.js
Copy file name to clipboardExpand all lines: lib/internal/modules/typescript.js+5-1Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
| 116 | + | |
116 | 117 |
| |
117 | 118 |
| |
118 |
| - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 |
| |
120 | 124 |
| |
121 | 125 |
| |
|
You can’t perform that action at this time.
0 commit comments