Skip to content

Commit

Permalink
fix: remove support for outdated browsers
Browse files Browse the repository at this point in the history
BREAKING CHANGE: browser versions before Chrome 76 and Firefox 68
are no longer supported
  • Loading branch information
dessant committed Jan 19, 2020
1 parent 2882ac9 commit 7147841
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ gulp.task('manifest', function(done) {

if (['firefox'].includes(targetEnv)) {
delete parsedJson.minimum_chrome_version;
delete parsedJson.chrome_settings_overrides.search_provider
.encoding;
}

parsedJson.chrome_settings_overrides.search_provider.suggest_url = parsedJson.chrome_settings_overrides.search_provider.suggest_url.replace(
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"release": "standard-version"
},
"browserslist": [
"Chrome >= 56",
"Firefox >= 64"
"Chrome >= 76",
"Firefox >= 68"
],
"devDependencies": {
"cross-env": "^6.0.3",
Expand Down
4 changes: 2 additions & 2 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"applications": {
"gecko": {
"id": "{f7d8cc49-b111-43ea-a627-1934526dd442}",
"strict_min_version": "64.0"
"strict_min_version": "68.0"
}
},
"minimum_chrome_version": "56.0",
"minimum_chrome_version": "76.0",

"content_security_policy": "default-src 'none'; sandbox;",

Expand Down

0 comments on commit 7147841

Please sign in to comment.