mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #16401 from Snuffleupagus/Safari-15.4
[api-minor] Update the minimum supported Safari version to 15.4
This commit is contained in:
commit
a5336d9d79
6 changed files with 17 additions and 66 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue