Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@antdp/basic-layouts
Advanced tools
入口公共界面
npm i @antdp/basic-layouts --save
import BasicLayout from '@antdp/basic-layouts';
import logo from './logo.svg';
export default (props) => {
return (
<BasicLayout
{...props}
projectName="Ant Design Pro2"
logo={logo}
/>
)
};
interface BaseLayoutProps {
/**
* 项目logo
*/
logo?: JSX.Element;
/**
* 项目名称
*/
projectName?: string;
/**
* 项目路由数据
*/
route: RouterData;
/**
* 设置最左边菜单宽度
*/
siderWidth?: number;
/**
* 用户信息显示
*/
profile?: {
/**
* 用户头像
*/
avatar?: string,
/**
* 用户名称/昵称
*/
name?: string,
};
/**
* 顶部右方菜单设置
*/
topRightMenu?: (MenuItemProps | { divider: boolean })[];
/**
* 设置内容区域补白,默认 14px
*/
bodyPadding?: number;
location: Location;
history: History;
staticContext?: any;
match: {
isExact: boolean;
params: any;
path: string;
url: string;
};
}
FAQs
We found that @antdp/basic-layouts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.