
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
@page-speed/pdf-viewer
Advanced tools
High-performance PDF viewer for restaurant menus, catalogs, and documents

High-performance, linearized PDF viewer for React applications.
You can install the package with any Node package manager:
npm install @page-speed/pdf-viewer
# or
pnpm add @page-speed/pdf-viewer
# or
yarn add @page-speed/pdf-viewer
import { PDFViewer } from '@page-speed/pdf-viewer';
export function MenuViewer() {
return (
<PDFViewer
url="/menus/spring-menu.pdf"
title="Spring Menu"
height="600px"
config={{
showControls: true,
enableDownload: true,
}}
/>
);
}
PDFViewer accepts the following key props:
url: string – PDF URL or file path (required)title?: string – optional document titleheight?: string | number – container height (default 600px)width?: string | number – container width (default 100%)config?: Partial<PDFViewerConfig> – viewer configuration optionsPDFViewerConfig includes:
initialPage?: numberinitialZoom?: number | 'auto' | 'page-fit' | 'page-width'textSelection?: booleansearch?: booleanshowControls?: booleanshowThumbnails?: booleanenableDownload?: booleanenablePrint?: booleanenableFullscreen?: booleanworkerUrl?: stringcacheSize?: numberprogressiveLoading?: booleanIn addition to the main PDFViewer component, this package exposes:
usePDFDocumentusePageStateusePageRendereruseZoomuseSearchPDFCanvasPDFControlsPDFThumbnailsisLinearizedPDFdownloadPDFcalculateScaleForPageFitformatFileSizeextractPageTextlinearizedPDFConfiggetOptimalRangeHeadercreateProgressiveFetchHandlerMIT
FAQs
High-performance PDF viewer for restaurant menus, catalogs, and documents
We found that @page-speed/pdf-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.