Skip to content

Commit

Permalink
Merge pull request #12737 from Snuffleupagus/Safari-10
Browse files Browse the repository at this point in the history
Change the minimum "supported" version of the Safari-browser to Safari 10
  • Loading branch information
timvandermeij authored Dec 15, 2020
2 parents 640a084 + 499d865 commit 0655f50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var AUTOPREFIXER_CONFIG = {
"Chrome >= 49", // Last supported on Windows XP
"Firefox >= 52", // Last supported on Windows XP
"Firefox ESR",
"Safari >= 9",
"Safari >= 10",
"> 0.5%",
"not dead",
],
Expand Down
27 changes: 0 additions & 27 deletions src/shared/compatibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ if (
require("core-js/es/object/from-entries.js");
})();

// Provides support for TypedArray.prototype.slice in legacy browsers.
// Support: Safari<10
(function checkTypedArraySlice() {
if (Uint8Array.prototype.slice) {
return;
}
require("core-js/es/typed-array/slice");
})();

// Provides support for *recent* additions to the Promise specification,
// however basic Promise support is assumed to be available natively.
// Support: Firefox<71, Chrome<76, Safari<13
Expand Down Expand Up @@ -130,24 +121,6 @@ if (
globalThis.ReadableStream = require("web-streams-polyfill/dist/ponyfill.js").ReadableStream;
})();

// Provides support for String.codePointAt in legacy browsers.
// Support: Safari<10
(function checkStringCodePointAt() {
if (String.prototype.codePointAt) {
return;
}
require("core-js/es/string/code-point-at.js");
})();

// Provides support for String.fromCodePoint in legacy browsers.
// Support: Safari<10
(function checkStringFromCodePoint() {
if (String.fromCodePoint) {
return;
}
String.fromCodePoint = require("core-js/es/string/from-code-point.js");
})();

// Provides support for String.prototype.padStart in legacy browsers.
// Support: Chrome<57, Safari<10
(function checkStringPadStart() {
Expand Down

0 comments on commit 0655f50

Please sign in to comment.