@mdn/browser-compat-data 5.0.0 → 5.0.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/data.json +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/types.d.ts +3 -3
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"main":"data.json","exports":{".":"./data.json","./forLegacyNode":"./legacynode.mjs"},"types":"index.ts","name":"@mdn/browser-compat-data","version":"5.0.
|
|
1
|
+
{"main":"data.json","exports":{".":"./data.json","./forLegacyNode":"./legacynode.mjs"},"types":"index.ts","name":"@mdn/browser-compat-data","version":"5.0.1","description":"Browser compatibility data provided by MDN Web Docs","repository":{"type":"git","url":"git+https://github.com/mdn/browser-compat-data.git"},"keywords":["bcd","browser-compat-data","browser","compatibility","data","mdn","mozilla"],"author":"MDN Web Docs","license":"CC0-1.0","bugs":{"url":"https://github.com/mdn/browser-compat-data/issues"},"homepage":"https://github.com/mdn/browser-compat-data#readme"}
|
package/types.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export interface BrowserStatement {
|
|
|
80
80
|
* The preview browser's name, for example:
|
|
81
81
|
* `"Nightly"`, `"Canary"`, `"TP"`, etc.
|
|
82
82
|
*/
|
|
83
|
-
preview_name
|
|
83
|
+
preview_name?: string;
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
* The known versions of this browser.
|
|
@@ -255,7 +255,7 @@ export interface SimpleSupportStatement {
|
|
|
255
255
|
export type Identifier = PrimaryIdentifier & IdentifierMeta;
|
|
256
256
|
|
|
257
257
|
export interface PrimaryIdentifier
|
|
258
|
-
extends Record<
|
|
258
|
+
extends Record<Omit<string, '__compat'>, Identifier> {}
|
|
259
259
|
|
|
260
260
|
interface IdentifierMeta {
|
|
261
261
|
/**
|
|
@@ -352,7 +352,7 @@ interface CompatDataBrowsers {
|
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
interface CompatDataIdentifiers
|
|
355
|
-
extends Record<
|
|
355
|
+
extends Record<Omit<string, 'browsers'>, PrimaryIdentifier> {
|
|
356
356
|
/**
|
|
357
357
|
* Contains data for each [Web API](https://developer.mozilla.org/docs/Web/API)
|
|
358
358
|
* interface.
|