From fad18d617324e814e54b4ded6654e647d83a6574 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Tue, 21 Aug 2018 18:21:14 +0200 Subject: [PATCH] Update the minimum browsers versions --- .babelrc | 8 ++++---- config/initializers/browser.rb | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.babelrc b/.babelrc index b2e6c21b4..0787eddc4 100644 --- a/.babelrc +++ b/.babelrc @@ -6,11 +6,11 @@ // See config/browser.rb "browsers": [ "> 1%", - "Chrome >= 40", + "Chrome >= 50", "IE >= 11", - "Edge >= 12", - "Firefox >= 45", - "Opera >= 19", + "Edge >= 14", + "Firefox >= 50", + "Opera >= 40", "Safari >= 8", "iOS >= 8" ], diff --git a/config/initializers/browser.rb b/config/initializers/browser.rb index eb506559f..c85b33555 100644 --- a/config/initializers/browser.rb +++ b/config/initializers/browser.rb @@ -1,8 +1,8 @@ # See .babelrc Browser.modern_rules.clear -Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 40 } +Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 50 } Browser.modern_rules << -> b { b.ie?([">=11"]) } Browser.modern_rules << -> b { b.edge? } -Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 45 } -Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 19 } +Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 50 } +Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 40 } Browser.modern_rules << -> b { b.safari? && b.version.to_i >= 8 }