Commit e66648e
esm: remove experimental status from JSON modules
The HTML spec has officially landed JSON Modules and as such I think
we can move them out of the "experimental" status. They will still
be behind the `--experimental-modules` flag until the entire esm
implementation moves out of experimental.
Refs: https://html.spec.whatwg.org/#creating-a-json-module-script
PR-URL: #27752
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent f0abfa8 commit e66648eCopy full SHA for e66648e
File tree
Expand file treeCollapse file tree
8 files changed
+9
-46
lines changedOpen diff view settings
Filter options
- doc
- api
- lib/internal/modules/esm
- src
- test/es-module
Expand file treeCollapse file tree
8 files changed
+9
-46
lines changedOpen diff view settings
Collapse file
-7Lines changed: 0 additions & 7 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
148 | 148 | |
149 | 149 | |
150 | 150 | |
151 | | - |
152 | | - |
153 | | - |
154 | | - |
155 | | - |
156 | | - |
157 | | - |
158 | 151 | |
159 | 152 | |
160 | 153 | |
|
Collapse file
+4-19Lines changed: 4 additions & 19 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
409 | 409 | |
410 | 410 | |
411 | 411 | |
412 | | - |
| 412 | + |
413 | 413 | |
414 | | - |
| 414 | + |
415 | 415 | |
416 | | - |
417 | | - |
418 | | - |
419 | | - |
420 | | - |
421 | | - |
422 | | - |
423 | | - |
| 416 | + |
424 | 417 | |
425 | 418 | |
426 | 419 | |
| ||
433 | 426 | |
434 | 427 | |
435 | 428 | |
436 | | - |
437 | | - |
438 | | - |
439 | | - |
440 | | - |
441 | | - |
442 | | - |
443 | | - |
444 | 429 | |
445 | 430 | |
446 | 431 | |
| ||
763 | 748 | |
764 | 749 | |
765 | 750 | |
766 | | - |
| 751 | + |
767 | 752 | |
768 | 753 | |
769 | 754 | |
Collapse file
-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
108 | 108 | |
109 | 109 | |
110 | 110 | |
111 | | - |
112 | | - |
113 | | - |
114 | 111 | |
115 | 112 | |
116 | 113 | |
|
Collapse file
lib/internal/modules/esm/default_resolve.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/default_resolve.js+2-5Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
12 | 11 | |
13 | 12 | |
14 | 13 | |
| ||
29 | 28 | |
30 | 29 | |
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 | 46 | |
47 | | - |
48 | | - |
49 | | - |
50 | 47 | |
51 | 48 | |
52 | 49 | |
|
Collapse file
-9Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
117 | 117 | |
118 | 118 | |
119 | 119 | |
120 | | - |
121 | | - |
122 | | - |
123 | | - |
124 | | - |
125 | 120 | |
126 | 121 | |
127 | 122 | |
| ||
271 | 266 | |
272 | 267 | |
273 | 268 | |
274 | | - |
275 | | - |
276 | | - |
277 | | - |
278 | 269 | |
279 | 270 | |
280 | 271 | |
|
Collapse file
-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
91 | 91 | |
92 | 92 | |
93 | 93 | |
94 | | - |
95 | 94 | |
96 | 95 | |
97 | 96 | |
|
Collapse file
test/es-module/test-esm-json-cache.mjs
Copy file name to clipboardExpand all lines: test/es-module/test-esm-json-cache.mjs+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | 3 | |
4 | 4 | |
|
Collapse file
test/es-module/test-esm-json.mjs
Copy file name to clipboardExpand all lines: test/es-module/test-esm-json.mjs+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
0 commit comments