Skip to content

Commit

Permalink
Workaround for Opera Mobile 73 compatibility data
Browse files Browse the repository at this point in the history
Opera Mobile has relaunched for Android using Chromium but the compatibility data still thinks lots of features are unsupported:

```
The es-shims polyfill added the following polyfills:
  Array.prototype.every { "opera_mobile":"73" }
  Array.prototype.indexOf { "opera_mobile":"73" }
  Array.prototype.keys { "opera_mobile":"73" }
  Date.now { "opera_mobile":"73" }
  Function.prototype.name { "opera_mobile":"73" }
  Object.entries { "opera_mobile":"73" }
  String.prototype.split { "opera_mobile":"73" }
  String.prototype.trim { "opera_mobile":"73" }
```

See related issues:

browserslist/browserslist#766
babel/babel#15711
  • Loading branch information
colinrotherham committed Nov 30, 2023
1 parent 68cec3b commit 8fedb0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/govuk-frontend/.browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

[javascripts]
supports es6-module
not OperaMobile > 0

[stylesheets]
> 0.1% in GB and not dead
Expand Down

0 comments on commit 8fedb0b

Please sign in to comment.