
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
react-doc-viewer-plus
Advanced tools
A powerful document viewer component for React that supports various file formats including images, PDF, Office documents, OFD files and videos
A powerful document viewer component for React that supports various file formats including images, PDF, Office documents, OFD files and videos.
npm install react-doc-viewer-plus
# or
yarn add react-doc-viewer-plus
import { DocViewerPlus } from 'react-doc-viewer-plus';
function App() {
const [visible, setVisible] = useState(false);
return (
<DocViewerPlus
previewFile={{
fileUrl: 'https://example.com/sample.pdf',
fileName: 'Sample Document.pdf'
}}
visibleViewerPlus={visible}
onVisibleChange={() => setVisible(!visible)}
/>
);
}
Prop | Type | Description |
---|---|---|
previewFile | { fileUrl?: string; fileName?: string; } | The file to preview |
response | { url?: string; } | Optional response object containing alternative URL |
visibleViewerPlus | boolean | Controls the visibility of the viewer |
onVisibleChange | () => void | Callback when visibility changes |
MIT
FAQs
A powerful document viewer component for React that supports various file formats including images, PDF, Office documents, OFD files and videos
The npm package react-doc-viewer-plus receives a total of 62 weekly downloads. As such, react-doc-viewer-plus popularity was classified as not popular.
We found that react-doc-viewer-plus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.