Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Anchor component based on antd with React
online example: https://favori.gitee.io/gantd-landing (CodePen)
import React from 'react';
import Anchor from 'anchor-g';
function BasicUse() {
const list = [
{
id: 'horbasic1',
title: 'title_1',
complete: true
},
{
id: 'horbasic2',
title: 'title_2',
},
{
id: 'horbasic3',
title: 'title_3',
complete: false
}
]
const style = {
display: 'flex',
justifyContent: 'center',
alignItems:'center',
height: 400,
fontSize:24,
border:'1px solid rgba(128,128,128,0.1)'
}
return (
<>
<Anchor
list={list}
minHeight={800}
content={
<div>
<div id='horbasic1' style={style}>content_1</div>
<div id='horbasic2' style={style}>content_2</div>
<div id='horbasic3' style={style}>content_3</div>
</div>
}
/>
</>
)
}
React.render(<BasicUse/>, mountNode);
GantFDT
MIT
FAQs
gantd anchor
The npm package anchor-g receives a total of 51 weekly downloads. As such, anchor-g popularity was classified as not popular.
We found that anchor-g demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.