web-features 3.9.3 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/data.json +1 -1
- package/data.schema.json +14 -1
- package/package.json +1 -1
- package/types.quicktype.d.ts +15 -0
package/data.schema.json
CHANGED
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"definitions": {
|
|
79
79
|
"Discouraged": {
|
|
80
80
|
"type": "object",
|
|
81
|
+
"description": "Whether developers are formally discouraged from using this feature",
|
|
81
82
|
"properties": {
|
|
82
83
|
"according_to": {
|
|
83
84
|
"description": "Links to a formal discouragement notice, such as specification text, intent-to-unship, etc.",
|
|
@@ -86,9 +87,21 @@
|
|
|
86
87
|
"alternatives": {
|
|
87
88
|
"description": "IDs for features that substitute some or all of this feature's utility",
|
|
88
89
|
"$ref": "#/definitions/Strings"
|
|
90
|
+
},
|
|
91
|
+
"reason": {
|
|
92
|
+
"description": "A brief, developer-focused description of why the feature is discouraged",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"reason_html": {
|
|
96
|
+
"description": "A brief, developer-focused description of why the feature is discouraged, as an HTML string",
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"removal_date": {
|
|
100
|
+
"description": "An expected or actual removal date, as in \"2029-12-31\". Only set if there's an announced plan by all currently-implementing vendors to unship the feature or the feature has already been unshipped from all browsers.",
|
|
101
|
+
"type": "string"
|
|
89
102
|
}
|
|
90
103
|
},
|
|
91
|
-
"required": ["according_to"],
|
|
104
|
+
"required": ["according_to", "reason", "reason_html"],
|
|
92
105
|
"additionalProperties": false
|
|
93
106
|
},
|
|
94
107
|
"BrowserData": {
|
package/package.json
CHANGED
package/types.quicktype.d.ts
CHANGED
|
@@ -132,6 +132,21 @@ export interface Discouraged {
|
|
|
132
132
|
* IDs for features that substitute some or all of this feature's utility
|
|
133
133
|
*/
|
|
134
134
|
alternatives?: string[];
|
|
135
|
+
/**
|
|
136
|
+
* A brief, developer-focused description of why the feature is discouraged
|
|
137
|
+
*/
|
|
138
|
+
reason: string;
|
|
139
|
+
/**
|
|
140
|
+
* A brief, developer-focused description of why the feature is discouraged, as an HTML
|
|
141
|
+
* string
|
|
142
|
+
*/
|
|
143
|
+
reason_html: string;
|
|
144
|
+
/**
|
|
145
|
+
* An expected or actual removal date, as in "2029-12-31". Only set if there's an announced
|
|
146
|
+
* plan by all currently-implementing vendors to unship the feature or the feature has
|
|
147
|
+
* already been unshipped from all browsers.
|
|
148
|
+
*/
|
|
149
|
+
removal_date?: string;
|
|
135
150
|
}
|
|
136
151
|
export type Kind = "feature" | "moved" | "split";
|
|
137
152
|
/**
|