CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 12:59:04 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/"54dc07abbcdd213327a80f1106a71c19"
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 github.githubassets.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 wss://alive-staging.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 marketplace-screenshots.githubusercontent.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=tRA%2BGbUH4RfbhIn3UbXLIrwIhJMBF%2BjnDDYw3d7bGCL6z1vmbHFID%2Fy84cXyEdiCyNLk5Baav0qT6%2BNuLa2nZAQpxDpK%2BwazEmDUEqP%2FImu%2BfmQm9Y6IFOUlHvX2bFhloImxLzcX3vFYdZeom%2BOnShkZQzMheC48mlilRu%2FNdvpNaTDl2kQ0JAaP%2B3sx5cyCb9Iuan3BLVJbcQmK5k43LCgbR%2F3cFHjq1egijTv1ImQ884GTlfXAsQ6QGhqvEhufdngTb8UEUzsFUhhNrZwbrw%3D%3D--Fgl77ZMQAZ1Vnbz%2B--TwinhKrhcEA7CZP2v28ubg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1764813912.1760187543; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 12:59:03 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 12:59:03 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E656:2C8153:6DB33E:916976:68EA5497
esm: add experimental support for addon modules · nodejs/node@d302cb3 · GitHub
Copy file name to clipboardExpand all lines: doc/node-config-schema.json
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/formats.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/load.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/translators.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Commit d302cb3
esm: add experimental support for addon modules
PR-URL: #55844
Backport-PR-URL: #59961
Fixes: #40541
Fixes: #55821
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 937e9bb commit d302cb3Copy full SHA for d302cb3
File tree
Expand file treeCollapse file tree
21 files changed
+330
-25
lines changedFilter options
- doc
- api
- lib/internal/modules/esm
- src
- test/addons
- esm
- node_modules/esm-package
Expand file treeCollapse file tree
21 files changed
+330
-25
lines changedCollapse file: doc/api/cli.md
+16-1Lines changed: 16 additions & 1 deletion
- Display the source diff
- Display the rich diff
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 |
| |
54 | 57 |
| |
55 | 58 |
| |
| |||
895 | 898 |
| |
896 | 899 |
| |
897 | 900 |
| |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
898 | 911 |
| |
899 | 912 |
| |
900 | 913 |
| |
| |||
3330 | 3343 |
| |
3331 | 3344 |
| |
3332 | 3345 |
| |
| 3346 | + | |
3333 | 3347 |
| |
3334 | 3348 |
| |
3335 | 3349 |
| |
| |||
3926 | 3940 |
| |
3927 | 3941 |
| |
3928 | 3942 |
| |
| 3943 | + | |
3929 | 3944 |
| |
3930 | 3945 |
| |
3931 | 3946 |
| |
|
Collapse file: doc/api/esm.md
+11-8Lines changed: 11 additions & 8 deletions
- Display the source diff
- Display the rich diff
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1129 | 1129 |
| |
1130 | 1130 |
| |
1131 | 1131 |
| |
1132 |
| - | |
1133 |
| - | |
1134 |
| - | |
1135 |
| - | |
1136 |
| - | |
1137 |
| - | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
1138 | 1141 |
| |
1139 | 1142 |
| |
1140 | 1143 |
| |
1141 | 1144 |
| |
1142 | 1145 |
| |
1143 |
| - | |
| 1146 | + | |
1144 | 1147 |
| |
1145 | 1148 |
| |
1146 | 1149 |
| |
| |||
1149 | 1152 |
| |
1150 | 1153 |
| |
1151 | 1154 |
| |
1152 |
| - | |
| 1155 | + | |
1153 | 1156 |
| |
1154 | 1157 |
| |
1155 | 1158 |
| |
|
Collapse file: doc/api/module.md
+1Lines changed: 1 addition & 0 deletions
- Display the source diff
- Display the rich diff
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1326 | 1326 |
| |
1327 | 1327 |
| |
1328 | 1328 |
| |
| 1329 | + | |
1329 | 1330 |
| |
1330 | 1331 |
| |
1331 | 1332 |
| |
|
Collapse file: doc/node-config-schema.json
doc/node-config-schema.json
Copy file name to clipboardExpand all lines: doc/node-config-schema.json+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 |
| |
125 | 128 |
| |
126 | 129 |
| |
|
Collapse file: doc/node.1
+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
| 166 | + | |
| 167 | + | |
| 168 | + | |
166 | 169 |
| |
167 | 170 |
| |
168 | 171 |
| |
|
Collapse file: lib/internal/modules/esm/formats.js
lib/internal/modules/esm/formats.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/formats.js+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 |
| |
22 | 25 |
| |
23 | 26 |
| |
|
Collapse file: lib/internal/modules/esm/load.js
lib/internal/modules/esm/load.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/load.js+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 |
| |
88 | 91 |
| |
89 | 92 |
| |
|
Collapse file: lib/internal/modules/esm/translators.js
lib/internal/modules/esm/translators.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/translators.js+88-16Lines changed: 88 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
| |||
52 | 51 |
| |
53 | 52 |
| |
54 | 53 |
| |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 |
| - | |
| 189 | + | |
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
| |||
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
230 | 271 |
| |
231 | 272 |
| |
232 | 273 |
| |
| |||
277 | 318 |
| |
278 | 319 |
| |
279 | 320 |
| |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
280 | 342 |
| |
281 | 343 |
| |
282 | 344 |
| |
283 | 345 |
| |
284 |
| - | |
285 |
| - | |
| 346 | + | |
286 | 347 |
| |
287 |
| - | |
288 |
| - | |
289 |
| - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
290 | 351 |
| |
291 | 352 |
| |
292 |
| - | |
293 |
| - | |
294 |
| - | |
295 |
| - | |
296 |
| - | |
297 |
| - | |
298 |
| - | |
299 |
| - | |
300 | 353 |
| |
301 | 354 |
| |
302 | 355 |
| |
| |||
337 | 390 |
| |
338 | 391 |
| |
339 | 392 |
| |
340 |
| - | |
| 393 | + | |
341 | 394 |
| |
342 | 395 |
| |
343 | 396 |
| |
| |||
519 | 572 |
| |
520 | 573 |
| |
521 | 574 |
| |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
522 | 594 |
| |
523 | 595 |
| |
524 | 596 |
| |
|
Collapse file: src/node_options.cc
+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
424 | 424 |
| |
425 | 425 |
| |
426 | 426 |
| |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
427 | 431 |
| |
428 | 432 |
| |
429 | 433 |
| |
|
Collapse file: src/node_options.h
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
| 124 | + | |
124 | 125 |
| |
125 | 126 |
| |
126 | 127 |
| |
|
You can’t perform that action at this time.
0 commit comments