diff --git a/gulpfile.js b/gulpfile.js index 71bd903a4..c49839163 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -79,7 +79,7 @@ const ENV_TARGETS = [ "last 2 versions", "Chrome >= 88", "Firefox ESR", - "Safari >= 14.1", + "Safari >= 15.4", "Node >= 18", "> 1%", "not IE > 0", diff --git a/src/shared/compatibility.js b/src/shared/compatibility.js index cf623e0c5..641cc431e 100644 --- a/src/shared/compatibility.js +++ b/src/shared/compatibility.js @@ -36,7 +36,7 @@ import { isNodeJS } from "./is_node.js"; polyfillPath2D(globalThis); })(); -// Support: Chrome<92, Safari<15.4 +// Support: Chrome<92 (function checkArrayAt() { if (Array.prototype.at) { return; @@ -44,7 +44,7 @@ import { isNodeJS } from "./is_node.js"; require("core-js/es/array/at.js"); })(); -// Support: Chrome<92, Safari<15.4 +// Support: Chrome<92 (function checkTypedArrayAt() { if (Uint8Array.prototype.at) { return; @@ -52,7 +52,7 @@ import { isNodeJS } from "./is_node.js"; require("core-js/es/typed-array/at.js"); })(); -// Support: Chrome<98, Safari<15.4 +// Support: Chrome<98 (function checkStructuredClone() { if (globalThis.structuredClone) { return;