@mdn/browser-compat-data 5.1.1 → 5.1.4
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 +2 -2
- package/package.json +1 -1
- package/types.d.ts +3 -3
package/index.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { CompatData } from "./types";
|
|
|
5
5
|
|
|
6
6
|
import bcd from "./data.json";
|
|
7
7
|
|
|
8
|
-
// XXX The cast to "any" mitigates a TS definition issue.
|
|
9
|
-
//
|
|
8
|
+
// XXX The cast to "any" mitigates a TS definition issue.
|
|
9
|
+
// This is a longstanding TypeScript issue; see https://github.com/microsoft/TypeScript/issues/17867.
|
|
10
10
|
export default bcd as any as CompatData;
|
|
11
11
|
export * from "./types";
|
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.1.
|
|
1
|
+
{"main":"data.json","exports":{".":"./data.json","./forLegacyNode":"./legacynode.mjs"},"types":"index.ts","name":"@mdn/browser-compat-data","version":"5.1.4","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
|
@@ -54,13 +54,13 @@ export interface BrowserStatement {
|
|
|
54
54
|
*/
|
|
55
55
|
upstream?: BrowserName;
|
|
56
56
|
/**
|
|
57
|
-
* Whether the browser supports flags
|
|
57
|
+
* Whether the browser supports user-toggleable flags that enable or disable features.
|
|
58
58
|
*/
|
|
59
|
-
accepts_flags
|
|
59
|
+
accepts_flags: boolean;
|
|
60
60
|
/**
|
|
61
61
|
* Whether the browser supports extensions.
|
|
62
62
|
*/
|
|
63
|
-
accepts_webextensions
|
|
63
|
+
accepts_webextensions: boolean;
|
|
64
64
|
/**
|
|
65
65
|
* URL of the page where feature flags can be changed (e.g. 'about:config' for Firefox or 'chrome://flags' for Chrome).
|
|
66
66
|
*/
|