These methods were deprecated already in PDF.js version `2.1.266`, see PRs 10246 and 10369, and were converted to throw `Error`s upon invocation in PDF.js version `2.4.456`, see PR 11219. Hence it ought to be possible to remove these methods now.
prefer-const
src/display/
import
require
.js
IsLittleEndianCached
IsEvalSupportedCached
src/shared/util.js
Metadata
unicorn/prefer-starts-ends-with
FIREFOX
GlobalWorkerOptions.workerSrc