baseline-browser-mapping 2.8.32 → 2.9.0-beta2

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
@@ -1,3 +1,4 @@
1
+ export declare function _resetHasWarned(): void;
1
2
  type BrowserVersion = {
2
3
  browser: string;
3
4
  version: string;
@@ -45,6 +46,12 @@ type Options = {
45
46
  * an optimal user experience. Defaults to `false`.
46
47
  */
47
48
  includeKaiOS?: boolean;
49
+ overrideLastUpdated?: number;
50
+ /**
51
+ * Pass a boolean to suppress the warning about stale data.
52
+ * Defaults to `false`.
53
+ */
54
+ suppressWarnings?: boolean;
48
55
  };
49
56
  /**
50
57
  * Returns browser versions compatible with specified Baseline targets.
@@ -78,6 +85,11 @@ type AllVersionsOptions = {
78
85
  * consideration beyond simple feature compatibility to provide an optimal user experience.
79
86
  */
80
87
  includeKaiOS?: boolean;
88
+ /**
89
+ * Pass a boolean to suppress the warning about old data.
90
+ * Defaults to `false`.
91
+ */
92
+ suppressWarnings?: boolean;
81
93
  };
82
94
  /**
83
95
  * 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"`).