[PR #179] [MERGED] feat: upgrade pdf component #320

Closed
opened 2026-02-15 19:17:12 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/179
Author: @thucpn
Created: 7/24/2024
Status: Merged
Merged: 7/24/2024
Merged by: @marcusschiesser

Base: mainHead: feat/upgrade-pdf-component


📝 Commits (4)

  • c809a80 feat: upgrade pdf component
  • a36164f Create young-cameras-boil.md
  • 473e54d feat: use pdf viewer 1.1.3
  • a622490 Update .changeset/young-cameras-boil.md

📊 Changes

3 files changed (+19 additions, -2 deletions)

View changed files

.changeset/young-cameras-boil.md (+5 -0)
📝 templates/types/streaming/nextjs/app/components/ui/chat/widgets/PdfDialog.tsx (+13 -1)
📝 templates/types/streaming/nextjs/package.json (+1 -1)

📄 Description

Upgrade @llamaindex/pdf-viewer due to its dependency security issue: https://github.com/wojtekmaj/react-pdf/security/advisories/GHSA-87hq-q4gp-9wr4

Summary by CodeRabbit

  • New Features

    • Upgraded the PDF component for improved functionality and performance.
  • Improvements

    • Implemented dynamic imports for PDFViewer and PdfFocusProvider, enhancing client-side rendering and reducing initial load times.
    • Updated the dependency for the PDF viewer to the latest version, potentially introducing bug fixes and new features.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/179 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 7/24/2024 **Status:** ✅ Merged **Merged:** 7/24/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `feat/upgrade-pdf-component` --- ### 📝 Commits (4) - [`c809a80`](https://github.com/run-llama/create-llama/commit/c809a80036815746c95caea2dfadc19e990df5a1) feat: upgrade pdf component - [`a36164f`](https://github.com/run-llama/create-llama/commit/a36164f06917e0f2c4dd3a6a231bc9825e333758) Create young-cameras-boil.md - [`473e54d`](https://github.com/run-llama/create-llama/commit/473e54d0843ee3be15036a48788c1e4af2be4ff8) feat: use pdf viewer 1.1.3 - [`a622490`](https://github.com/run-llama/create-llama/commit/a6224905d92be168cb06770c2871fb22ac691e7d) Update .changeset/young-cameras-boil.md ### 📊 Changes **3 files changed** (+19 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/young-cameras-boil.md` (+5 -0) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/widgets/PdfDialog.tsx` (+13 -1) 📝 `templates/types/streaming/nextjs/package.json` (+1 -1) </details> ### 📄 Description Upgrade `@llamaindex/pdf-viewer` due to its dependency security issue: https://github.com/wojtekmaj/react-pdf/security/advisories/GHSA-87hq-q4gp-9wr4 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Upgraded the PDF component for improved functionality and performance. - **Improvements** - Implemented dynamic imports for PDFViewer and PdfFocusProvider, enhancing client-side rendering and reducing initial load times. - Updated the dependency for the PDF viewer to the latest version, potentially introducing bug fixes and new features. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:17:12 -05:00
yindo closed this issue 2026-02-15 19:17:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#320