We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4554aba commit ce99400Copy full SHA for ce99400
1 file changed
scripts/diff-flat.js
@@ -15,22 +15,14 @@ import stripAnsi from 'strip-ansi';
15
import yargs from 'yargs';
16
import { hideBin } from 'yargs/helpers';
17
18
+import bcd from '../index.js';
19
import { spawn, walk } from '../utils/index.js';
20
21
import { addVersionLast, applyMirroring, transformMD } from './build/index.js';
22
import { getMergeBase, getFileContent, getGitDiffStatuses } from './lib/git.js';
23
import dataFolders from './lib/data-folders.js';
24
-const BROWSER_NAMES = [
25
- 'chrome',
26
- 'chrome_android',
27
- 'edge',
28
- 'firefox',
29
- 'firefox_android',
30
- 'safari',
31
- 'safari_ios',
32
- 'webview_android',
33
-];
+const BROWSER_NAMES = Object.keys(bcd.browsers);
34
35
/** @type {Format[]} */
36
const FORMATS = ['html', 'plain'];
0 commit comments