@mdn/browser-compat-data 5.4.5 → 5.5.1
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 +13 -13
- package/data.json +1 -1
- package/package.json +1 -1
- package/types.d.ts +4 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
The `browser-compat-data` ("BCD") project contains machine-readable browser (and JavaScript runtime) compatibility data for Web technologies, such as Web APIs, JavaScript features, CSS properties and more. Our goal is to document accurate compatibility data for Web technologies, so web developers may write cross-browser compatible websites easier. BCD is used in web apps and software such as [MDN Web Docs](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs), CanIUse, Visual Studio Code, WebStorm and [more](#Projects-using-the-data).
|
|
6
6
|
|
|
7
|
-
Read how this project is [governed](GOVERNANCE.md).
|
|
7
|
+
Read how this project is [governed](./GOVERNANCE.md).
|
|
8
8
|
|
|
9
9
|
Chat with us on Matrix at [chat.mozilla.org#mdn](https://chat.mozilla.org/#/room/#mdn:mozilla.org)!
|
|
10
10
|
|
|
@@ -83,7 +83,7 @@ const support = bcd['api']['Document']['body']['__compat'];
|
|
|
83
83
|
|
|
84
84
|
The `@mdn/browser-compat-data` package contains a tree of objects, with support and browser data objects at their leaves. There are over 15,000 features in the dataset; this documentation highlights significant portions, but many others exist at various levels of the tree.
|
|
85
85
|
|
|
86
|
-
The definitive description of the format used to represent individual features and browsers is the [schema definitions](schemas/).
|
|
86
|
+
The definitive description of the format used to represent individual features and browsers is the [schema definitions](./schemas/).
|
|
87
87
|
|
|
88
88
|
Apart from the explicitly documented objects below, feature-level support data may change at any time. See [_Semantic versioning policy_](#Semantic-versioning-policy) for details.
|
|
89
89
|
|
|
@@ -96,15 +96,15 @@ An object containing the following package metadata:
|
|
|
96
96
|
- `version` - the package version
|
|
97
97
|
- `timestamp` - the timestamp of when the package version was built
|
|
98
98
|
|
|
99
|
-
### [`api`](api)
|
|
99
|
+
### [`api`](./api)
|
|
100
100
|
|
|
101
101
|
Data for [Web API](https://developer.mozilla.org/en-US/docs/Web/API) features.
|
|
102
102
|
|
|
103
|
-
### [`browsers`](browsers)
|
|
103
|
+
### [`browsers`](./browsers)
|
|
104
104
|
|
|
105
|
-
Data for browsers and JavaScript runtimes. See the [browser schema](schemas/browsers-schema.md) for details.
|
|
105
|
+
Data for browsers and JavaScript runtimes. See the [browser schema](./schemas/browsers-schema.md) for details.
|
|
106
106
|
|
|
107
|
-
### [`css`](css)
|
|
107
|
+
### [`css`](./css)
|
|
108
108
|
|
|
109
109
|
Data for [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) features, including:
|
|
110
110
|
|
|
@@ -129,7 +129,7 @@ Data for [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) features, inc
|
|
|
129
129
|
- `methods` - Request methods
|
|
130
130
|
- `status` - Status codes
|
|
131
131
|
|
|
132
|
-
### [`javascript`](javascript)
|
|
132
|
+
### [`javascript`](./javascript)
|
|
133
133
|
|
|
134
134
|
Data for JavaScript language features, including:
|
|
135
135
|
|
|
@@ -140,28 +140,28 @@ Data for JavaScript language features, including:
|
|
|
140
140
|
- `operators` - Mathematical and logical operators
|
|
141
141
|
- `statements` - Language statements and expressions
|
|
142
142
|
|
|
143
|
-
### [`mathml`](mathml)
|
|
143
|
+
### [`mathml`](./mathml)
|
|
144
144
|
|
|
145
145
|
Data for [MathML](https://developer.mozilla.org/en-US/docs/Web/MathML) features, including:
|
|
146
146
|
|
|
147
147
|
- `elements` - Elements
|
|
148
148
|
|
|
149
|
-
### [`svg`](svg)
|
|
149
|
+
### [`svg`](./svg)
|
|
150
150
|
|
|
151
151
|
Data for [SVG](https://developer.mozilla.org/en-US/docs/Web/SVG) features, including:
|
|
152
152
|
|
|
153
153
|
- `attributes` - Attributes
|
|
154
154
|
- `elements` - Elements
|
|
155
155
|
|
|
156
|
-
### [`webassembly`](webassembly)
|
|
156
|
+
### [`webassembly`](./webassembly)
|
|
157
157
|
|
|
158
158
|
Data for [WebAssembly](https://developer.mozilla.org/docs/WebAssembly) features.
|
|
159
159
|
|
|
160
|
-
### [`webdriver`](webdriver)
|
|
160
|
+
### [`webdriver`](./webdriver)
|
|
161
161
|
|
|
162
162
|
Data for [WebDriver](https://developer.mozilla.org/en-US/docs/Web/WebDriver) features.
|
|
163
163
|
|
|
164
|
-
### [`webextensions`](webextensions)
|
|
164
|
+
### [`webextensions`](./webextensions)
|
|
165
165
|
|
|
166
166
|
Data for [WebExtensions](https://developer.mozilla.org/en-US/Add-ons/WebExtensions) features, including:
|
|
167
167
|
|
|
@@ -186,7 +186,7 @@ If you find a problem with the compatibility data (such as incorrect version num
|
|
|
186
186
|
|
|
187
187
|
## Contributing
|
|
188
188
|
|
|
189
|
-
Thank you for your interest in contributing to this project! See [Contributing to browser-compat-data](
|
|
189
|
+
Thank you for your interest in contributing to this project! See [Contributing to browser-compat-data](./docs/contributing.md) for more information.
|
|
190
190
|
|
|
191
191
|
## Projects using the data
|
|
192
192
|
|