pdf.js/src/shared
Jonas Jenwald d1adab8c7b [api-minor] Update the minimum supported Safari version to 15.4
This patch updates the minimum supported browsers as follows:
 - Safari 15.4, which was released on 2022-03-15; see https://en.wikipedia.org/wiki/Safari_version_history#Safari_15

Nowadays we usually we try, where feasible and possible, to support browsers that are about two years old. The reasons for limiting support to a *somewhat* more recent Safari version include:
 - Throughout the history of the PDF.js project, Safari has always been the worst browser to attempt to support. Compared to other browsers there's a disproportionate number of bugs affecting Safari, especially on iOS, and in most cases those are browser-specific issues that we simply cannot address.[1]
 - Safari has often been a lot slower, compared to other browsers, at implementing new web-platform features. Historically this has sometimes blocked usage of new features, for the benefit of the Firefox PDF Viewer, and it's very often meant having to include and maintain polyfills *only* for Safari.
 - The current (minimum) supported Safari version lack enough functionality that polyfills placed in the `src/shared/compatibility.js` file are unfortunately not sufficient, but it also requires a bunch of special-cases in both the `gulpfile` and in the `web/`-code.
 - Given that the *built-in* Firefox PDF Viewer is the primary development target for the PDF.js library, and the general development pace these days, we need to limit the maintenance "overhead" caused by other browsers.

 ---
 [1] In a few cases a work-around might be possible, however it'd negatively affect e.g. performance, readability, and/or maintainability of the code.
2023-05-07 15:01:15 +02:00
..
cffStandardStrings.js Fix errors reported by the comma-spacing ESLint rule 2016-12-12 20:35:53 +01:00
compatibility.js [api-minor] Update the minimum supported Safari version to 15.4 2023-05-07 15:01:15 +02:00
fonts_utils.js Introduce some optional chaining in the src/shared/ folder 2023-04-29 13:43:24 +02:00
image_utils.js [api-minor] Generate images in the worker instead of the main thread. 2023-03-01 17:40:12 +01:00
is_node.js Use Path2D, if available, when rendering Type3-fonts (bug 810214) 2022-05-01 13:56:35 +02:00
message_handler.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
murmurhash3.js Remove a couple of unnecessary temporary variables in MurmurHash3_64.hexdigest 2022-11-10 18:27:26 +01:00
scripting_utils.js Fix a bug in the ColorConverters.CMYK_HTML method (PR 12631 follow-up) 2022-06-09 10:03:36 +02:00
util.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00