Update dependency pdfjs-dist to v6#292
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
3 tasks
GulSauce
added a commit
that referenced
this pull request
Jul 5, 2026
## major 승격 - eslint 9→10 (+@eslint/js), typescript 5.9→6, eslint-plugin-react-hooks 5→7 - globals 16→17, i18nexus 3→4 (+i18nexus-tools 2→3), lucide-react 0.577→1 - react-ga4 2→3, react-pdf 9→10, puppeteer 24→25, katex 0.16→0.17 - eslint-plugin-react-refresh 0.4→0.5, react/react-dom 19.1→19.2 - CI: actions/checkout v4→v7, actions/setup-node v4→v6 - Tier A minor/보안: vite 6.4(SEC), axios 1.16(SEC), mermaid 11.15(SEC), radix 1.6, react-router 7.18, tailwindcss 4.3, typescript-eslint 8.62 등 ## breaking change 해소 1. TS6: deprecated baseUrl 제거 (paths는 tsconfig 상대 경로라 무영향) 2. eslint10 recommended no-useless-assignment: text-animate.tsx dead-store 제거 3. react-hooks7 신규 컴파일러 rule(refs/set-state-in-effect/purity 등) warn 강등 → 개별 코드 수정은 후속 티켓으로 분리 4. eslint flat config: 강등 블록에 react-hooks 플러그인 등록 + files 스코프 5. react-pdf 10 ↔ pdfjs-dist 5.4.296 정렬 (worker/API 단일 버전 → 불일치 방지) 6. prettier 3.9 union 타입 포맷 적용 7. eslint ignores에 .claude 추가 → npm run lint의 벤더 스킬 코드 오염(5373 errors, pre-existing) 제외해 lint 게이트 복구 (npm run lint GREEN) ## 검증 - npm run build GREEN (vite + prerender 7라우트 + sitemap) - npm run lint GREEN (0 errors, 82 warnings) / prettier --check . GREEN - react-pdf 런타임: pdfjs 단일 5.4.296 트리, API 실동작(3p 파싱) 확인 ## DEFER (스코프 밖) - #286 @vitejs/plugin-react v6 (peer로 vite 8 필요, 미제공) - #292 pdfjs-dist v6 (react-pdf 10이 pdfjs 5 번들 → v6 지원 시 재평가) ## 후속 티켓 후보 - react-hooks7 신규 rule 82 warnings 정리 - tsc 크래시(#pages/* 매핑 유발, pre-existing) 조사 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
f59e98e to
8efe77d
Compare
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→6.1.200Release Notes
mozilla/pdf.js (pdfjs-dist)
v6.1.200Compare Source
This release contains improvements for annotation rendering, annotation editing, font conversion, image conversion, merging files, SMask rendering and the viewer.
Changes since v6.0.227
pdfjs.configby @timvandermeij in #21360MathClamphelper function in thesrc/display/canvas.jsfile by @Snuffleupagus in #21367StringStreamconstructor to accept an optional dictionary argument by @Snuffleupagus in #21366BaseStream.prototype.cloneimplementations by @Snuffleupagus in #21371enableSelectionRendering: falseby @wooorm in #21378OptionalContentConfigby @Snuffleupagus in #21349/AuthEvent, on-demand decryption by @wooorm in #21351#externalHidefield from theAnnotationLayerBuilderclass by @Snuffleupagus in #21380AppOptionsunit-tests to also cover theEVENT_DISPATCHoption-kind by @Snuffleupagus in #21385getBytesmethod in theStream/ChunkedStreamclasses by @Snuffleupagus in #213842035251- Use toolkit's pdf icon as favicon by @sfoster in #21358ChunkedStreamManagerby @Snuffleupagus in #21387Autolinkerclass by @Snuffleupagus in #21392getDocumentby @Snuffleupagus in #21391getDocumentby @Snuffleupagus in #21390PDFCursorToolsfunctionality by @Snuffleupagus in #21393DrawLayerBuilder.prototype.cancelmethod a tiny bit by @Snuffleupagus in #21395PDFPageView.prototype.#injectLinkAnnotationsmethod by @Snuffleupagus in #21396codecov/codecov-actionto version 7.0.0 by @timvandermeij in #21398external/folder is modified by @Snuffleupagus in #214003d5e064by @calixteman in #21399::selectionin Firefox by @wooorm in #21408Map.prototype.getOrInsertComputedpolyfill from the scripting implementation (PR 21399 follow-up) by @Snuffleupagus in #21405getAttachmentsto return data in aMapby @Snuffleupagus in #21418PDFViewerhelper method for setting#printingAllowedand dispatching the event by @Snuffleupagus in #21409convertBlackAndWhiteToRGBAhelper with grayscale images inputBinaryImageDataby @Snuffleupagus in #214271802506) by @calixteman in #18907convertToViewportRectanglemethod in thePageViewportclass by @Snuffleupagus in #21426isDicthelper function in a few more places by @Snuffleupagus in #21431Map.prototype.getOrInsertComputed()more in the code-base by @Snuffleupagus in #21439isSourcePDFhandling in theJpegImageclass by @Snuffleupagus in #21441finishWorkerTaskby @Snuffleupagus in #21443convertRGBToRGBAhelper with RGB images inputBinaryImageDataby @Snuffleupagus in #21440must check that the comment sidebar is resizablecomment integration test by @timvandermeij in #21448npm installby @timvandermeij in #21453eslint-plugin-unicornto version 66.0.0 by @timvandermeij in #21454HighlightOutline.prototype.classNamesForOutlininggetter by @Snuffleupagus in #214561873345) by @calixteman in #21455src/core/editor/pdf_editor.jsby @Snuffleupagus in #21459src/display/canvas.jsfile by @Snuffleupagus in #21467CanvasGraphics.prototype.showTextby @Snuffleupagus in #21473Enterkey, in the passwordPrompt input by @Snuffleupagus in #21482AnnotationEditorUIManager.prototype.isSelectedmethod by @Snuffleupagus in #21470isDicthelper in theCatalog.prototype.metadatagetter by @Snuffleupagus in #21481MissingDataExceptions in theAnnotation.prototype.#setOptionalContentmethod (PR 21313 follow-up) by @Snuffleupagus in #21479StructElementNode.prototype.mathMLgetter by @Snuffleupagus in #214802046659) by @calixteman in #21485AnnotationEditorUIManagerandIdManagertest-onlyresetmethods (PR 19809 follow-up) by @Snuffleupagus in #21489readCmapTablefunction (PR 19321 follow-up) by @Snuffleupagus in #21491sinkhandling ingetTextContentfor Highlight annotations (PR 20019 follow-up) by @Snuffleupagus in #21486cataloginstance in theannotationGlobalsdata by @Snuffleupagus in #214886.1by @Snuffleupagus in #21499String.prototype.substring()usage by @Snuffleupagus in #21497issue17906to test "forms" rendering by @Snuffleupagus in #215022049302) by @nicolo-ribaudo in #215042050191) by @calixteman in #21500initmethod in theStructTreeRootconstructor by @Snuffleupagus in #21505src/andweb/folders by @Snuffleupagus in #21508v6.0.227Compare Source
PDF.js 6.0 is a major release that contains a number of API changes, features and bugfixes.
The complete list of changes in this release is shown below. If you're upgrading to PDF.js 6.0 we recommend checking the changes prefixed with
[api-minor]and[api-major]since those might require updates to your code.Changes since v5.7.284
pdfjs.configby @timvandermeij in #21177Catalog.prototype.getPageIndexto an asynchronous method by @Snuffleupagus in #211811942304) by @calixteman in #211752035551) by @calixteman in #21187readBlockmethod in theDecodeStreamclass by @Snuffleupagus in #21190unittestclicoverage collection toci.ymlby @timvandermeij in #21191PDFFindController.prototype.#extractTextmethod by @Snuffleupagus in #21197nextChunkhandling in theDecryptStreamclass by @Snuffleupagus in #21198Intersectorconstructor by @Snuffleupagus in #21200pdfBug: trueflag in the image caching unit test by @timvandermeij in #212032035530) by @calixteman in #211966.0by @Snuffleupagus in #21209JpxStreamby @Snuffleupagus in #21211CompilerOutput.prototype.finalDatagetter, and a few other font improvements (PR 21053 follow-up) by @Snuffleupagus in #21214TypedArray.prototype.set()in thecompileFDSelectmethod by @Snuffleupagus in #21215rawfield from theCFFCharsetclass by @Snuffleupagus in #21216TrueTypeTableBuilderandCompilerOutputwith a single class by @Snuffleupagus in #21220WasmImageclass, thatJBig2CCITTFaxImageandJpxImageinherit from by @Snuffleupagus in #21225getPdfFilenameFromUrlhelper by @Snuffleupagus in #21222external/folder in the coverage report forgulp unittestcliby @Snuffleupagus in #21226WasmImageimplementation a little bit (PR 21225 follow-up) by @Snuffleupagus in #212292034827) by @calixteman in #212232027682) by @calixteman in #212282033095) by @calixteman in #21235PDFDataRangeTransportstreaming unit-tests faster by @Snuffleupagus in #21238Uint8Array.fromHexintest/unit/crypto_spec.jsby @Snuffleupagus in #21246getDocumentwithout a parameter object, and remove thePDFDocumentProxy.prototype.destroymethod by @Snuffleupagus in #21245filenameunconditionally, when passing binary data toPDFViewerApplication.openby @Snuffleupagus in #21249getModificationDatehelper function intosrc/core/core_utils.jsby @Snuffleupagus in #21258deepComparehelper function to handleRefs andNames correctly by @Snuffleupagus in #21257a11yAlertby @Snuffleupagus in #21263pdf.worker.mjsfile by @Snuffleupagus in #21269stringToPDFStringhelper function to the worker-thread by @Snuffleupagus in #21279Util.domMatrixToTransformmethod by @Snuffleupagus in #21281getXfaPageViewporthelper into theXfaLayerclass by @Snuffleupagus in #21283SVG_NSdefinition intosrc/shared/util.jsby @Snuffleupagus in #21284ColorConvertersunit-tests by @Snuffleupagus in #21286Outline._normalizePagePointmethod by @Snuffleupagus in #21287PDFDocumentPropertiesdialog by @Snuffleupagus in #21289contentLengthavailable in thePDFDocumentPropertiesdialog by @Snuffleupagus in #21291must check that an existing highlight is ignored on hoveringintegration test on Windows by @timvandermeij in #212881960363) by @calixteman in #21261Util.scaleMinMaxhelper intosrc/display/canvas_dependency_tracker.jsby @Snuffleupagus in #21294PDFDocumentPropertiesdialog by @Snuffleupagus in #212951879559) by @wooorm in #20981EventBusmethods in the integration-tests by @Snuffleupagus in #21305getPdfFilenameFromUrlhelper function by @Snuffleupagus in #21311PdfTextExtractorclass by @Snuffleupagus in #21304fontFilelookup a tiny bit by @Snuffleupagus in #21322XfaLayerBuilder.prototype.rendermethod by @Snuffleupagus in #21317Uint8Array.fromBase64in thetest/integration/highlight_editor_spec.mjsfile by @Snuffleupagus in #21323src/display/canvas_dependency_tracker.jsby @Snuffleupagus in #21324XRefWrapperimplementation, in thesrc/core/editor/pdf_editor.jsfile by @Snuffleupagus in #21319external/builder/folder is changed by @Snuffleupagus in #213402032967) by @calixteman in #213342036265) by @calixteman in #21308test.mjsby @timvandermeij in #21357v5.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 #21028Configuration
📅 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.