Skip to content

Commit

Permalink
add some data from manual checks and user agents
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jul 3, 2022
1 parent c78569e commit 2511dfd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions packages/core-js-compat/src/mapping.mjs
Expand Up @@ -193,6 +193,8 @@ export default {
// Need to find another data source since release notes are not available for new versions.
// https://github.com/mdn/browser-compat-data/blob/main/browsers/oculus.json
AndroidToOculus: [
[57, '3.0'],
[61, '4.0'],
[66, '5.0'],
[74, '6.0'],
[77, '7.0'],
Expand All @@ -206,6 +208,11 @@ export default {
[89, '15.0'],
[91, '16.0'],
[93, '17.0'],
[95, '18.0'],
[96, '19.0'],
// [???, '20.0'],
[100, '21.0'],
[102, '22.0'],
],
// https://github.com/mdn/browser-compat-data/blob/main/browsers/safari_ios.json
SafariToIOS: [
Expand Down
4 changes: 2 additions & 2 deletions tests/compat-tools/targets-parser.mjs
Expand Up @@ -30,7 +30,7 @@ deepStrictEqual(targetsParser({ esmodules: true }), new Map([
['edge', '16'],
['firefox', '60'],
['ios', '10.3'],
['oculus', '5.0'],
['oculus', '4.0'],
['opera', '48'],
['opera_mobile', '45'],
['safari', '10.1'],
Expand Down Expand Up @@ -86,7 +86,7 @@ deepStrictEqual(targetsParser({
['ie', '8'],
['ios', '10.3'],
['node', String(process.versions.node)],
['oculus', '5.0'],
['oculus', '4.0'],
['opera', '48'],
['opera_mobile', '40'],
['safari', '5.1'],
Expand Down

0 comments on commit 2511dfd

Please sign in to comment.