Skip to content

Commit

Permalink
Fix browser data regarding Safari 18 (#24456)
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg authored Sep 17, 2024
1 parent 468625d commit 55791e4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 19 deletions.
6 changes: 0 additions & 6 deletions browsers/safari.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,6 @@
"engine_version": "618.3.11"
},
"18": {
"release_notes": "https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes",
"status": "beta",
"engine": "WebKit",
"engine_version": "619.1.15"
},
"18.0": {
"release_date": "2024-09-16",
"release_notes": "https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes",
"status": "current",
Expand Down
6 changes: 0 additions & 6 deletions browsers/safari_ios.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,6 @@
"engine_version": "618.3.11"
},
"18": {
"release_notes": "https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes",
"status": "beta",
"engine": "WebKit",
"engine_version": "619.1.15"
},
"18.0": {
"release_date": "2024-09-16",
"release_notes": "https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes",
"status": "current",
Expand Down
6 changes: 0 additions & 6 deletions browsers/webview_ios.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,6 @@
"engine_version": "618.3.11"
},
"18": {
"release_notes": "https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes",
"status": "beta",
"engine": "WebKit",
"engine_version": "619.1.15"
},
"18.0": {
"release_date": "2024-09-16",
"release_notes": "https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes",
"status": "current",
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-browser-releases/safari.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const extractReleaseData = (str): Release | null => {
}
return {
date: new Date(`${result[1]} UTC`).toISOString().substring(0, 10),
version: result[2],
version: result[2].replace(/\.0$/, ''),
channel: result[3] ? 'beta' : 'retired',
engineVersion: result[4].substring(2),
releaseNote: '',
Expand Down

0 comments on commit 55791e4

Please sign in to comment.