Scan your whole stack
Are you using @module-federation/treeshake-frontend?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.0-feat-mf-deployment-sdk-20261201055247
@module-federation/treeshake-frontend was last scanned on 1 Dec 2026 at version 0.0.0-feat-mf-deployment-sdk-20261201055247. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.0-feat-mf-deployment-sdk-20261201055247 LATEST | 1 Dec 2026 | No rules fired |
| 0.0.0-main-20261130201655 | 30 Nov 2026 | No rules fired |
| 2.9.5 | 30 Nov 2026 | No rules fired |
| 0.0.0-main-20261127112308 | 27 Nov 2026 | Not shown |
| 0.0.0-main-20261126140519 | 26 Nov 2026 | Not shown |
Findings for v0.0.0-feat-mf-deployment-sdk-20261201055247. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.0.0-feat-mf-deployment-sdk-20261201055247; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
这是一个前端应用,用于可视化展示一个支持 Tree Shaking 的模块联邦(Module Federation)shared 产物打包服务所带来的收益。用户可以通过该页面,直观地对比完整 shared 包与经过按需保留导出后 Tree Shaken 的包之间在体积、模块数量和代码内容上的差异。
shared 名称、版本号,并通过 Chip/Tag 的形式轻松管理需要保留的导出列表。本应用通过一个后端服务来获取打包产物。你需要配置该服务的地址,有以下三种方式(优先级从高到低):
在页面中配置:
http://localhost:3000/tree-shaking-shared)。treeshake_server_url)中。通过环境变量配置:
.env 文件。VITE_API_BASE_URL=http://localhost:3000/tree-shaking-shared默认地址:
http://localhost:3000/tree-shaking-shared。如果你暂时没有可用的后端服务,可以开启页面右上角的 Mock Mode 开关。
在此模式下,应用不会发起真实的网络请求,而是使用一个内置的、结构逼真的模拟数据来驱动整个结果展示流程。这对于纯前端开发、UI 调试或功能演示非常有用。
在 “高级构建配置” 面板中,你可以自定义传递给后端打包服务的构建参数,例如:
target、format、platform:用于 esbuild 或其他打包工具的配置。minify:是否开启代码压缩。External 依赖:需要从打包产物中排除的第三方库(例如 react, react-dom)。请求头 (JSON):允许你添加自定义的 HTTP 请求头,例如用于身份验证的 Authorization。额外构建配置 (JSON):一个灵活的 JSON 输入框,用于传递任何与后端服务约定的其他参数。# 安装依赖
pnpm install
# 启动开发服务器
pnpm run dev
# 构建生产版本
pnpm run build
# 预览生产版本
pnpm run preview
# E2E (rstest + Playwright core)
pnpm run test:e2e
该包提供一个可注册到 @module-federation/treeshake-server 的前端适配器:
import { createTreeshakeFrontendAdapter } from '@module-federation/treeshake-frontend/adapter';
import { createApp } from '@module-federation/treeshake-server';
const app = createApp(
{ objectStore },
{
frontendAdapters: [
createTreeshakeFrontendAdapter({
basePath: '/tree-shaking',
distDir: '/path/to/treeshake-frontend/dist',
}),
],
},
);
CLI 模式下,@module-federation/treeshake-server 会自动注册该前端并以本地文件系统作为输出。
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.