Support both mobile_safari and mobileSafari for isModern testing.

https://github.com/meteor/meteor/issues/9717#issuecomment-392521536
This commit is contained in:
Ben Newman
2018-05-28 12:19:55 -04:00
parent 274e2b1ed2
commit 39295cc136
8 changed files with 15 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "ecmascript-runtime-client",
version: "0.7.0",
version: "0.7.1",
summary: "Polyfills for new ECMAScript 2015 APIs like Map and Set",
git: "https://github.com/meteor/meteor/tree/devel/packages/ecmascript-runtime-client",
documentation: "README.md"

View File

@@ -9,7 +9,7 @@ setMinimumBrowserVersions({
// (pre-Edge) from the modern classification. #9818 #9839
ie: 12,
firefox: 45,
mobile_safari: 10,
mobileSafari: 10,
opera: 38,
safari: 10,
// Electron 1.6.0+ matches Chromium 55, per

View File

@@ -17,6 +17,10 @@ const browserAliases = {
// be classified as modern. This edge:["ie"] alias effectively enforces
// that logic, because there is no IE12. #9818 #9839
edge: ["ie"],
// The webapp package converts browser names to camel case, so
// mobile_safari and mobileSafari should be synonymous.
mobile_safari: ["mobileSafari"],
};
// Expand the given minimum versions by reusing chrome versions for
@@ -140,7 +144,7 @@ setMinimumBrowserVersions({
chrome: 49,
edge: 12,
firefox: 45,
mobile_safari: [9, 2],
mobileSafari: [9, 2],
opera: 36,
safari: 9,
// Electron 1.0.0+ matches Chromium 49, per
@@ -152,7 +156,7 @@ setMinimumBrowserVersions({
chrome: 39,
edge: 13,
firefox: 26,
mobile_safari: 10,
mobileSafari: 10,
opera: 26,
safari: 10,
// Disallow any version of PhantomJS.
@@ -164,7 +168,7 @@ setMinimumBrowserVersions({
chrome: 41,
edge: 13,
firefox: 34,
mobile_safari: [9, 2],
mobileSafari: [9, 2],
opera: 29,
safari: [9, 1],
electron: [0, 24],
@@ -174,7 +178,7 @@ setMinimumBrowserVersions({
chrome: 38,
edge: 12,
firefox: 36,
mobile_safari: 9,
mobileSafari: 9,
opera: 25,
safari: 9,
electron: [0, 20],

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "modern-browsers",
version: "0.1.0",
version: "0.1.1",
summary: "API for defining the boundary between modern and legacy " +
"JavaScript clients",
documentation: "README.md"

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "promise",
version: "0.11.0",
version: "0.11.1",
summary: "ECMAScript 2015 Promise polyfill with Fiber support",
git: "https://github.com/meteor/promise",
documentation: "README.md"

View File

@@ -15,7 +15,7 @@ require("meteor/modern-browsers").setMinimumBrowserVersions({
// (pre-Edge) from the modern classification. #9818 #9839
ie: 12,
firefox: 29,
mobile_safari: 8,
mobileSafari: 8,
opera: 20,
safari: [7, 1],
// https://github.com/Kilian/electron-to-chromium/blob/master/full-versions.js

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "socket-stream-client",
version: "0.2.0",
version: "0.2.1",
summary: "Provides the ClientStream abstraction used by ddp-client",
documentation: "README.md"
});

View File

@@ -7,7 +7,7 @@ setMinimumBrowserVersions({
edge: 12,
firefox: 11,
ie: 10,
mobile_safari: [6, 1],
mobileSafari: [6, 1],
phantomjs: 2,
safari: 7,
electron: [0, 20],