Update dependency pdfjs-dist to v5.7.284#299
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
GulSauce
added a commit
that referenced
this pull request
Jul 5, 2026
직전 커밋(790b6a9)에서 DEFER했던 vite 8 페어링을 재평가 트리거(#300 vite v8 PR 등장)에 따라 승격. ## 반영된 버전 승격 - vite 6.3 → 8.1.3 (#300) — 기본 번들러 rollup → rolldown - @vitejs/plugin-react 4.4 → 5.2.0 (vite 8 지원 최소 버전) ## breaking change 해소 1. plugin-react v6(#286) ERESOLVE: optional peer @rolldown/plugin-babel가 @babel/core 8.0.0-rc prerelease를 강제 → 전역 --legacy-peer-deps 필요. Constitution I(Simplicity) 위반으로 v6 대신 v5.2.0 채택(동일하게 vite 8 지원, rolldown-babel/react-compiler 미도입). #286은 DEFER 유지. 2. rolldown manualChunks: 객체 형식 거부(TypeError: manualChunks is not a function) → 함수 형식으로 변환(vite.config.ts, 동일 그룹핑 유지: pdf-viewer/framer-motion/react-vendor) ## 검증 (세이프티 넷) - npm run build GREEN (vite 8 rolldown, prerender 7라우트 + sitemap) · 빌드 6.88s → 0.74s (rolldown ~9x) - npm run lint GREEN (0 errors, 82 warnings — 베이스라인 동일, 신규 경고 0) - npx prettier --check . GREEN - vite 8 preview 서버 부팅 HTTP 200 + app root 확인 ## DEFER 유지 (스코프 밖) - #286 @vitejs/plugin-react v6 — rolldown-babel/react-compiler 채택 시 재평가 - #292 pdfjs-dist v6 — react-pdf 10 전 버전이 pdfjs 5.4.296 고정, react-pdf가 v6 지원 시 재평가 - #299 pdfjs-dist 5.7.284 — react-pdf 10과 단일 버전 정렬 유지 위해 REJECT Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
3 tasks
GulSauce
added a commit
that referenced
this pull request
Jul 5, 2026
직전 커밋(790b6a9)에서 DEFER했던 vite 8 페어링을 재평가 트리거(#300 vite v8 PR 등장)에 따라 승격. ## 반영된 버전 승격 - vite 6.3 → 8.1.3 (#300) — 기본 번들러 rollup → rolldown - @vitejs/plugin-react 4.4 → 5.2.0 (vite 8 지원 최소 버전) ## breaking change 해소 1. plugin-react v6(#286) ERESOLVE: optional peer @rolldown/plugin-babel가 @babel/core 8.0.0-rc prerelease를 강제 → 전역 --legacy-peer-deps 필요. Constitution I(Simplicity) 위반으로 v6 대신 v5.2.0 채택(동일하게 vite 8 지원, rolldown-babel/react-compiler 미도입). #286은 DEFER 유지. 2. rolldown manualChunks: 객체 형식 거부(TypeError: manualChunks is not a function) → 함수 형식으로 변환(vite.config.ts, 동일 그룹핑 유지: pdf-viewer/framer-motion/react-vendor) ## 검증 (세이프티 넷) - npm run build GREEN (vite 8 rolldown, prerender 7라우트 + sitemap) · 빌드 6.88s → 0.74s (rolldown ~9x) - npm run lint GREEN (0 errors, 82 warnings — 베이스라인 동일, 신규 경고 0) - npx prettier --check . GREEN - vite 8 preview 서버 부팅 HTTP 200 + app root 확인 ## DEFER 유지 (스코프 밖) - #286 @vitejs/plugin-react v6 — rolldown-babel/react-compiler 채택 시 재평가 - #292 pdfjs-dist v6 — react-pdf 10 전 버전이 pdfjs 5.4.296 고정, react-pdf가 v6 지원 시 재평가 - #299 pdfjs-dist 5.7.284 — react-pdf 10과 단일 버전 정렬 유지 위해 REJECT Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.4.296→5.7.284Release Notes
mozilla/pdf.js (pdfjs-dist)
v5.7.284Compare Source
This release contains improvements for accessibility, annotations, the annotation editor, font conversion, image conversion, performance, shading pattern rendering, SMask rendering and the viewer.
Changes since v5.6.205
pdfjs.configby @timvandermeij in #21004node-readable-to-web-readable-streampolyfill by @Snuffleupagus in #210072026956) by @calixteman in #210131254066) by @calixteman in #210122028369) by @calixteman in #21022MathClamphelper function more by @Snuffleupagus in #21026OffscreenCanvasunconditionally in theweb/pdf_thumbnail_view.jsfile by @Snuffleupagus in #21021collectAnnotationsByTypeimprovements by @Snuffleupagus in #21034MathClamphelper function to its own file by @Snuffleupagus in #21027Object.prototype.hasOwnPropertyusage withObject.hasOwnby @Snuffleupagus in #21029PDFDataRangeTransportto use a single (internal) listener by @Snuffleupagus in #21028compilePostScriptToIRfunction (PR 21023 follow-up) by @Snuffleupagus in #21037PostScriptCompilerandPostScriptEvaluator, since it's now dead code (PR 21023 follow-up) by @Snuffleupagus in #21005calculateMD5helper, fromtest/downloadutils.mjs, intest/add_test.mjsby @Snuffleupagus in #21038borderColorby @Snuffleupagus in #21047src/core/postscript/code a tiny bit by @Snuffleupagus in #21048stringToByteshelper in thePDFEditor.prototype.writePDFmethod by @Snuffleupagus in #21051ViewsManagerclass by @Snuffleupagus in #210552028193) by @calixteman in #21059TypedArray.prototype.fill()in thesrc/core/ascii_85_stream.jsfile by @Snuffleupagus in #21050CFFCompiler.prototype.compileIndex(PR 21053 follow-up) by @Snuffleupagus in #21062ChunkedStream.prototype.getByteswithout a length by @Snuffleupagus in #21070OpenTypeFileBuilderclass to use aDataViewwhen writing data by @Snuffleupagus in #21076CFFParserclass to useDataViews when reading data by @Snuffleupagus in #21079JpegImageclass, and related code, to useDataViews when reading data by @Snuffleupagus in #21086Jbig2Imageclass, and related code, to useDataViews when reading data by @Snuffleupagus in #21087int32helper, and replace it withDataViewusage, insrc/core/fonts.jsby @Snuffleupagus in #21088stopEventhelper function in theAnnotationEditorLayerclass by @Snuffleupagus in #21092FontRendererFactoryclass, and related code, to useDataViews when reading data by @Snuffleupagus in #21077readUint32usage from theisTrueTypeFilefunction by @Snuffleupagus in #210781820511by @calixteman in #210982028071) by @calixteman in #210602030745) by @calixteman in #21099Math.sumPrecisepolyfill by @Snuffleupagus in #20958createCmapTablefunction by @Snuffleupagus in #21103createNameTablefunction by @Snuffleupagus in #21112privateDatain a Map, rather than an Object by @Snuffleupagus in #21116gets text content, with correct properties (issue 8276)unit test by @timvandermeij in #211232025109) by @calixteman in #211282033603) by @calixteman in #211352033908) by @calixteman in #211362034461) by @calixteman in #21145MIN_INT_32constant (PR 21139 follow-up) by @Snuffleupagus in #211532034111) by @calixteman in #21138gulp unittestcliby @Snuffleupagus in #211472034568) by @calixteman in #21151radixESLint rule by @Snuffleupagus in #211572022700) by @calixteman in #21137AnnotationStorage.prototype.modifiedIdsgetter by @Snuffleupagus in #21158hexNumbersArray intoUtil, to enable using it in the viewer by @Snuffleupagus in #21160PDFDocumentProxy.prototype.getPageIndexmethod by @Snuffleupagus in #21161zIndexcorrectly inPopupElement.prototype.renderCommentButtonby @Snuffleupagus in #21162internal-viewerfixes by @Snuffleupagus in #21166web/folder in the coverage report forgulp unittestcliby @Snuffleupagus in #211682034804) by @calixteman in #211542035197) by @calixteman in #211762034980) by @calixteman in #21171v5.6.205Compare Source
This release contains improvements for accessibility, annotation rendering, font conversion, performance, shading pattern rendering, text selection and the viewer.
Changes since v5.5.207
pdfjs.configby @timvandermeij in #20771L10n.prototype.getDirectionrather than querying the DOM, when initializing theCommentManagerinstance by @Snuffleupagus in #20776PdfTextExtractor.prototype.extractTextContentfrom failing intermittently by @Snuffleupagus in #207842019682) by @calixteman in #207852018138) by @calixteman in #207881989406) by @wooorm in #20780Dict.prototype.getRawEntriesmethod more by @Snuffleupagus in #20793Dict.prototype.{getKeys, getRawValues}methods to return iterators by @Snuffleupagus in #20795PdfTextExtractorimplementation by @Snuffleupagus in #207872020737) by @calixteman in #207942020774) by @calixteman in #207972020758) by @calixteman in #20792BaseStream.prototype.getStringin thereadPostScriptTablefunction by @Snuffleupagus in #20799BinaryCMapStreamextend theStreamclass by @Snuffleupagus in #208062016437) by @calixteman in #207982020731) by @calixteman in #20800createActionsMaphelper in thesrc/scripting_api/common.jsfile by @Snuffleupagus in #20820getPdfManagerto be asynchronous by @Snuffleupagus in #20662Math.sumPreciseandMap.prototype.getOrInsertComputedin the scripting implementation by @Snuffleupagus in #20821Response.prototype.bytes()more in the code-base (PR 20651 follow-up) by @Snuffleupagus in #208232015853) by @calixteman in #20824percent === NaNis consistently reported by theonProgresscallback by @Snuffleupagus in #208272021352, bug2010832) by @calixteman in #20810npx gulp serverby @nicolo-ribaudo in #20646disableFontFaceandfontExtraPropertiesasserts in theFontFaceObjectconstructor (PR 20197 follow-up) by @Snuffleupagus in #20836lint-licensestask on windows by @nicolo-ribaudo in #208442020698) by @calixteman in #20839Blob.prototype.bytes()in the code-base by @Snuffleupagus in #208292021886) by @calixteman in #20838validateRangeRequestCapabilitiesunit-tests by @Snuffleupagus in #208302021934) by @calixteman in #208371012805) by @nicolo-ribaudo in #20626PagesMapperclass into its own file by @Snuffleupagus in #20848FontInfo.prototype.clearDatamethod to actually remove the data as intended (PR 20197 follow-up) by @Snuffleupagus in #20856enableHWAoption from viewer components (PR 20016 follow-up) by @Snuffleupagus in #208492021828) by @calixteman in #208502022769) by @calixteman in #20854cMapUrl,iccUrl, andstandardFontDataUrlwhen buildinggulp internal-viewerby @Snuffleupagus in #20865src/shared/obj-bin-transform.jsfile into separate files for the main/worker threads (PR 20197 follow-up) by @Snuffleupagus in #20861lengthparameter fromgetDocumentby @Snuffleupagus in #208405.6by @Snuffleupagus in #20875Util.pointBoundingBoxhelper in thePatternInfoclass (PR 20340 follow-up) by @Snuffleupagus in #208832023106) by @calixteman in #20862bboxsetter in theFontFaceObjectclass (PR 20427 follow-up) by @Snuffleupagus in #20869CachedCanvasesclass to use aMapinternally by @Snuffleupagus in #208962009574) by @calixteman in #20905compileFontInfocall into theFont.prototype.exportDatamethod (PR 20197 follow-up) by @Snuffleupagus in #208682019550) by @calixteman in #208522024156) by @calixteman in #20910NOOPfallback, inCompiledFont, to return a TypedArray by @Snuffleupagus in #20911getDocumentis called with one of thedata,range, orurlparameters provided by @Snuffleupagus in #209092022586, bug2022824, bug2022884, bug2023171, bug2023176) by @calixteman in #20907Dict.prototype.{get, getAsync, getArray}methods by @Snuffleupagus in #20892toBeInstanceOfconsistently in the unit-tests by @Snuffleupagus in #20920Mapto a properly private field in theDictclass by @Snuffleupagus in #209012023138) by @calixteman in #209232023086) by @calixteman in #209252022481) by @calixteman in #20929Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.