1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Remove the merge-stream dependency in favor of the ordered-read-streams dependency

The `merge-stream` dependency is no longer maintained and doesn't work
in combination with Gulp 5 anymore (for more information refer to
https://github.com/gulpjs/gulp/issues/2802#issuecomment-2094130656).

Fortunately the Gulp team maintains a drop-in replacement dependency
called `ordered-read-streams` with the same API as `merge-stream`.
Indeed, running all affected Gulp targets and comparing build artifacts
with `diff -r <old> <new>` confirms that no unexpected changes are made.

Fixes a part of #17922.
This commit is contained in:
Tim van der Meij 2024-05-22 14:11:58 +02:00
parent 821f3a1ef3
commit 723e5b2779
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
3 changed files with 41 additions and 27 deletions

View file

@ -36,7 +36,7 @@
"jasmine": "^5.1.0",
"jsdoc": "^4.0.3",
"jstransformer-markdown-it": "^3.0.0",
"merge-stream": "^2.0.0",
"ordered-read-streams": "^2.0.0",
"path2d": "^0.2.0",
"pngjs": "^7.0.0",
"postcss": "^8.4.38",