
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
lofter-components
Advanced tools
以上接口依赖微前端node转发,调试的时候需要配置微前端测试环境域名
127.0.0.1 tlofter.hz.netease.com
declare type BeforeUploadValueType = void | boolean | string | Blob | File;
interface Props {
/**
* 额外描述
*/
hint?: string;
/**
* 图片url地址
*/
value?: string;
/**
* 上传更改回调
*/
beforeUpload?: (file: {
file: RcFile,
width: number,
height: number
}, FileList: RcFile[]) => BeforeUploadValueType | Promise<BeforeUploadValueType>;
/**
* 接收图片的类型,默认image/*
*/
accept?: string;
/**
* 上传接口前缀,用于微前端,默认/api/imgUpload
*/
prefix?: boolean;
}
interface Props {
/**
* 额外描述
*/
hint?: string;
/**
* 视频url地址
*/
value?: string;
/**
* 上传更改回调
*/
onChange?: (value: string) => void;
/**
* 接收图片的类型,默认image/*
*/
accept?: string;
/**
* 上传接口前缀,用于微前端,默认/api/imgUpload
*/
prefix?: boolean;
/**
* 上传前的校验函数
*/
beforeUpload?: (file: File) => void;
}
FAQs
lofter通用业务组件
We found that lofter-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.