Skip to content

Commit 14909e4

Browse files
committed
Merge branch 'v0.22.69'
2 parents b893f53 + a87ece8 commit 14909e4

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/lib/profiles.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ const BrowserVersions: any = {
4343
edg: { desktop: '131.0.0.0', desktopChrome: '131.0.0.0', deprecated: '109.0.1518.55', deprecatedChrome: '109.0.0.0', android: '131.0.0.0', androidChrome: '131.0.0.0' },
4444
esr: { desktop: '128' },
4545
esr2: { desktop: '115' },
46-
ff: { desktop: '133', mobile: '133' },
47-
gcr: { desktop: '130.0.0.0', deprecated: '109.0.0.0', ios: '131.0.6778.31', android: '130.0.0.0' },
46+
ff: { desktop: '134', mobile: '134' },
47+
gcr: { desktop: '132.0.0.0', deprecated: '109.0.0.0', ios: '132.0.6834.78', android: '131.0.0.0' },
4848
sf: { desktop: '18.1', ios1: '15.6', ios2: '16.5', ios3: '18.1' },
4949
};
5050

@@ -1361,14 +1361,14 @@ export class Generator {
13611361
}
13621362

13631363
this.profileIds.desktop = this.profileIds.desktop.concat(
1364-
this.allProfiles.windows.map(p => p.id),
1365-
this.allProfiles.macOS.map(p => p.id),
1366-
this.allProfiles.linux.map(p => p.id)
1364+
this.allProfiles.windows.map((p) => p.id),
1365+
this.allProfiles.macOS.map((p) => p.id),
1366+
this.allProfiles.linux.map((p) => p.id)
13671367
);
13681368

13691369
this.profileIds.mobile = this.profileIds.mobile.concat(
1370-
this.allProfiles.iOS.map(p => p.id),
1371-
this.allProfiles.android.map(p => p.id)
1370+
this.allProfiles.iOS.map((p) => p.id),
1371+
this.allProfiles.android.map((p) => p.id)
13721372
);
13731373
}
13741374

@@ -1393,18 +1393,18 @@ export class Generator {
13931393
platform = 'android';
13941394
}
13951395

1396-
return this.browsers[profileData[1]](this.profiles[platform].find(p => p.id === profileData[0]));
1396+
return this.browsers[profileData[1]](this.profiles[platform].find((p) => p.id === profileData[0]));
13971397
}
13981398

13991399
getRandomByDevice(device: string): string {
14001400
let profilesCanUse: string[];
14011401

14021402
if (device === 'random') {
1403-
profilesCanUse = this.profileIds.desktop.concat(this.profileIds.mobile).filter(p => !this.excludedProfiles.includes(p));
1403+
profilesCanUse = this.profileIds.desktop.concat(this.profileIds.mobile).filter((p) => !this.excludedProfiles.includes(p));
14041404
} else if (device === 'randomDesktop') {
1405-
profilesCanUse = this.profileIds.desktop.filter(p => !this.excludedProfiles.includes(p));
1405+
profilesCanUse = this.profileIds.desktop.filter((p) => !this.excludedProfiles.includes(p));
14061406
} else {
1407-
profilesCanUse = this.profileIds.mobile.filter(p => !this.excludedProfiles.includes(p));
1407+
profilesCanUse = this.profileIds.mobile.filter((p) => !this.excludedProfiles.includes(p));
14081408
}
14091409

14101410
if (profilesCanUse.length > 0) {
@@ -1418,15 +1418,15 @@ export class Generator {
14181418
let profilesCanUse: string[];
14191419

14201420
if (os === 'windows') {
1421-
profilesCanUse = this.profileIds.desktop.filter(p => p.includes('win') && !this.excludedProfiles.includes(p));
1421+
profilesCanUse = this.profileIds.desktop.filter((p) => p.includes('win') && !this.excludedProfiles.includes(p));
14221422
} else if (os === 'macOS') {
1423-
profilesCanUse = this.profileIds.desktop.filter(p => p.includes('mac') && !this.excludedProfiles.includes(p));
1423+
profilesCanUse = this.profileIds.desktop.filter((p) => p.includes('mac') && !this.excludedProfiles.includes(p));
14241424
} else if (os === 'linux') {
1425-
profilesCanUse = this.profileIds.desktop.filter(p => p.includes('lin') && !this.excludedProfiles.includes(p));
1425+
profilesCanUse = this.profileIds.desktop.filter((p) => p.includes('lin') && !this.excludedProfiles.includes(p));
14261426
} else if (os === 'iOS') {
1427-
profilesCanUse = this.profileIds.mobile.filter(p => p.includes('ios') && !this.excludedProfiles.includes(p));
1427+
profilesCanUse = this.profileIds.mobile.filter((p) => p.includes('ios') && !this.excludedProfiles.includes(p));
14281428
} else if (os === 'android') {
1429-
profilesCanUse = this.profileIds.mobile.filter(p => p.includes('and') && !this.excludedProfiles.includes(p));
1429+
profilesCanUse = this.profileIds.mobile.filter((p) => p.includes('and') && !this.excludedProfiles.includes(p));
14301430
}
14311431

14321432
if (profilesCanUse.length > 0) {

0 commit comments

Comments
 (0)