
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.
vue-doc-viewers-plus
Advanced tools
A Vue 3 component for viewing various document types including PDF, Office documents and images
一个基于 Vue 3 的文档预览组件,支持 PDF、Office 文档和图片预览。
npm install vue-doc-viewers-plus
import { DocViewerPlus } from 'vue-doc-viewers-plus'
import 'vue-doc-viewers-plus/dist/style.css'
<template>
<doc-viewer-plus
:file-url="fileUrl"
:file-name="fileName"
v-model:visible="visible"
/>
</template>
<script setup>
import { ref } from 'vue'
import { DocViewerPlus } from 'vue-doc-viewers-plus'
import 'vue-doc-viewers-plus/dist/style.css'
const fileUrl = ref('')
const fileName = ref('')
const visible = ref(false)
// 打开预览
const preview = () => {
fileUrl.value = 'https://example.com/sample.pdf'
fileName.value = 'sample.pdf'
visible.value = true
}
</script>
属性名 | 类型 | 必填 | 默认值 | 说明 |
---|---|---|---|---|
fileUrl | string | 是 | - | 文件的 URL 地址 |
fileName | string | 否 | - | 文件名(用于下载时的文件名) |
visible | boolean | 否 | false | 控制预览窗口的显示/隐藏 |
vue-doc-viewers-plus/dist/style.css
MIT
FAQs
A Vue 3 component for viewing various document types including PDF, Office documents and images
The npm package vue-doc-viewers-plus receives a total of 5 weekly downloads. As such, vue-doc-viewers-plus popularity was classified as not popular.
We found that vue-doc-viewers-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.