baseline-browser-mapping 2.9.18 → 2.10.0-beta

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/dist/index.d.ts CHANGED
@@ -57,10 +57,11 @@ type Options = {
57
57
  * Returns browser versions compatible with specified Baseline targets.
58
58
  * Defaults to returning the minimum versions of the core browser set that support Baseline Widely available.
59
59
  * Takes an optional configuration `Object` with four optional properties:
60
- * - `listAllCompatibleVersions`: `false` (default) or `false`
61
- * - `includeDownstreamBrowsers`: `false` (default) or `false`
60
+ * - `listAllCompatibleVersions`: `false` (default) or `true`
61
+ * - `includeDownstreamBrowsers`: `false` (default) or `true`
62
62
  * - `widelyAvailableOnDate`: date in format `YYYY-MM-DD`
63
63
  * - `targetYear`: year in format `YYYY`
64
+ * - `supressWarnings`: `false` (default) or `true`
64
65
  */
65
66
  export declare function getCompatibleVersions(userOptions?: Options): BrowserVersion[];
66
67
  type AllVersionsOptions = {
@@ -94,9 +95,10 @@ type AllVersionsOptions = {
94
95
  /**
95
96
  * Returns all browser versions known to this module with their level of Baseline support as a JavaScript `Array` (`"array"`), `Object` (`"object"`) or a CSV string (`"csv"`).
96
97
  * Takes an optional configuration `Object` with three optional properties:
97
- * - `includeDownstreamBrowsers`: `true` (default) or `false`
98
+ * - `includeDownstreamBrowsers`: `false` (default) or `true`
98
99
  * - `outputFormat`: `"array"` (default), `"object"` or `"csv"`
99
100
  * - `useSupports`: `false` (default) or `true`, replaces `wa_compatible` property with optional `supports` property which returns `widely` or `newly` available when present.
101
+ * - `supressWarnings`: `false` (default) or `true`
100
102
  */
101
103
  export declare function getAllVersions(userOptions?: AllVersionsOptions): AllBrowsersBrowserVersion[] | NestedBrowserVersions | string;
102
104
  export {};