mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 01:10:02 +02:00
chore(prettier): update prettier config
This commit is contained in:
parent
ceef83d609
commit
a77c141d35
66 changed files with 709 additions and 709 deletions
|
@ -1,4 +1,4 @@
|
|||
import releaseNotesStable from "./release-notes/stable.json"
|
||||
import releaseNotesStable from './release-notes/stable.json'
|
||||
|
||||
type FixWithIssue = {
|
||||
description: string
|
||||
|
@ -25,12 +25,12 @@ export type ReleaseNote = {
|
|||
}
|
||||
|
||||
export const releaseNotes: ReleaseNote[] = releaseNotesStable.reverse()
|
||||
export { default as releaseNotesTwilight } from "./release-notes/twilight.json"
|
||||
export { default as releaseNotesTwilight } from './release-notes/twilight.json'
|
||||
|
||||
export function getReleaseNoteFirefoxVersion(releaseNote: ReleaseNote): string | null {
|
||||
// Check if "firefox" is on the feature list
|
||||
for (const feature of releaseNote.features || []) {
|
||||
if (feature.toLowerCase().includes("firefox")) {
|
||||
if (feature.toLowerCase().includes('firefox')) {
|
||||
// may be X or X.X or X.X.X
|
||||
const match = feature.match(/(\d+(\.\d+){0,2})/)
|
||||
if (match) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue