Skip to content

Commit f4495cb

Browse files
committed
Add all inactive proposals to features.json
This means features.json now provides a full machine-readable copy of the proposals.
1 parent 09ca028 commit f4495cb

2 files changed

Lines changed: 45 additions & 7 deletions

File tree

‎features.json‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
"url": "https://github.com/WebAssembly/bulk-memory-operations/blob/master/proposals/bulk-memory-operations/Overview.md",
2222
"phase": 5
2323
},
24+
"callTags": {
25+
"description": "Call Tags",
26+
"url": "https://github.com/WebAssembly/call-tags",
27+
"phase": "inactive"
28+
},
2429
"compactImportSection": {
2530
"description": "Compact Import Section",
2631
"url": "https://github.com/WebAssembly/compact-import-section/blob/main/proposals/compact-import-section/Overview.md",
@@ -36,6 +41,16 @@
3641
"url": "https://github.com/WebAssembly/component-model",
3742
"phase": 1
3843
},
44+
"conditionalSections": {
45+
"description": "Conditional sections",
46+
"url": "https://github.com/WebAssembly/conditional-sections",
47+
"phase": "inactive"
48+
},
49+
"constantTime": {
50+
"description": "Constant Time",
51+
"url": "https://github.com/WebAssembly/constant-time",
52+
"phase": "inactive"
53+
},
3954
"customAnnotationSyntaxInTheTextFormat": {
4055
"description": "Custom Text Format Annotations",
4156
"url": "https://github.com/WebAssembly/annotations/blob/main/proposals/annotations/Overview.md",
@@ -76,6 +91,11 @@
7691
"url": "https://github.com/WebAssembly/extended-name-section/blob/main/proposals/extended-name-section/Overview.md",
7792
"phase": 2
7893
},
94+
"featureDetection": {
95+
"description": "Feature Detection",
96+
"url": "https://github.com/WebAssembly/feature-detection",
97+
"phase": "inactive"
98+
},
7999
"flexibleVectors": {
80100
"description": "Flexible Vectors",
81101
"url": "https://github.com/WebAssembly/flexible-vectors/blob/main/proposals/flexible-vectors/Overview.md",
@@ -86,6 +106,11 @@
86106
"url": "https://github.com/WebAssembly/frozen-values/blob/main/proposals/frozen-values/Overview.md",
87107
"phase": 1
88108
},
109+
"funcletsFlexibleIntraproceduralControlFlow": {
110+
"description": "Funclets: Flexible Intraprocedural Control Flow",
111+
"url": "https://github.com/WebAssembly/funclets",
112+
"phase": "inactive"
113+
},
89114
"gc": {
90115
"description": "Garbage Collection",
91116
"url": "https://github.com/WebAssembly/gc",
@@ -101,11 +126,21 @@
101126
"url": "https://github.com/WebAssembly/instrument-tracing/blob/main/proposals/instrument-tracing/Overview.md",
102127
"phase": "inactive"
103128
},
129+
"interfaceTypes": {
130+
"description": "Interface Types",
131+
"url": "https://github.com/WebAssembly/interface-types",
132+
"phase": "inactive"
133+
},
104134
"jitInterface": {
105135
"description": "JIT Interface",
106136
"url": "https://github.com/WebAssembly/jit-interface/blob/main/proposals/jit-interface/Explainer.md",
107137
"phase": 1
108138
},
139+
"jsCustomizationForGcObjects": {
140+
"description": "JS Customization for GC Objects",
141+
"url": "https://github.com/WebAssembly/gc-js-customization",
142+
"phase": "inactive"
143+
},
109144
"jsPrimitiveBuiltins": {
110145
"description": "JS Primitive Builtins",
111146
"url": "https://github.com/WebAssembly/js-primitive-builtins/blob/main/proposals/js-primitive-builtins/Overview.md",
@@ -136,6 +171,11 @@
136171
"url": "https://github.com/WebAssembly/memory-control/blob/main/proposals/memory-control/Overview.md",
137172
"phase": 1
138173
},
174+
"moduleLinking": {
175+
"description": "Module Linking",
176+
"url": "https://github.com/WebAssembly/module-linking",
177+
"phase": "inactive"
178+
},
139179
"moreArrayConstructors": {
140180
"description": "More Array Constructors",
141181
"url": "https://github.com/WebAssembly/more-array-constructors/blob/main/proposals/more-array-constructors/Overview.md",
@@ -246,6 +286,11 @@
246286
"url": "https://github.com/WebAssembly/function-references/blob/main/proposals/function-references/Overview.md",
247287
"phase": 5
248288
},
289+
"unmanagedClosures": {
290+
"description": "Unmanaged closures",
291+
"url": "https://github.com/WebAssembly/proposals/issues/6",
292+
"phase": "inactive"
293+
},
249294
"wasmCApi": {
250295
"description": "WebAssembly C and C++ API",
251296
"url": "https://github.com/WebAssembly/wasm-c-api",

‎scripts/update-features.js‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,6 @@ function reconcileProposal(proposal, { features, existingByKey, seen }) {
240240
return;
241241
}
242242

243-
if (proposal.phase === 'inactive') {
244-
console.warn(
245-
`Skipping "${proposal.name}" (${proposal.href}): new inactive proposal, add manually if it should be tracked`
246-
);
247-
return;
248-
}
249-
250243
if (EXCLUDED_NAMES.has(proposal.name)) {
251244
console.warn(
252245
`Skipping "${proposal.name}" (${proposal.href}): excluded from tracking`

0 commit comments

Comments
 (0)