dsh-plugin-better-sidebar-office
@sparkelf/dsh-plugin-better-sidebar-office
v0.2.1
界面与主题
DSH web 插件:为 better-sidebar 的编辑器提供 Office 三件套文件预览(`.docx` / `.xlsx` / `.pptx`)。
作者原文(英文)
DSH web plugin: Office file previewers (.docx/.xlsx/.pptx) for the better-sidebar editor. Registers the docx/xlsx/pptx file viewers through ctx.betterSidebar.registerFileViewer, keeping the heavy Office render libraries (docx-preview / Univer / SheetJS /
中文简介由 DeepSeek 模型翻译,仅供参考。
dsh-plugin
检测报告
能力很少。几乎没有命中能力模式,源码里很少出现敏感调用。
1一般23未命中
高关注需留意一般
能力清单
- 动态加载模块
dynamic-import一般4 处命中lib/types/client/icons.d.ts:11export declare const IconDocxOutline16: ({ size, className }: IconProps) => import("react").JSX.Element;lib/types/client/icons.d.ts:13export declare const IconXlsxOutline16: ({ size, className }: IconProps) => import("react").JSX.Element;lib/types/client/icons.d.ts:15export declare const IconPptxOutline16: ({ size, className }: IconProps) => import("react").JSX.Element;lib/types/client/PptxView.d.ts:6}): import("react").JSX.Element;- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 动态加载模块 | dynamic-import | 一般 | 4 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 16 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。