Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@alifd/biz-anchor
Advanced tools
npm i @alifd/biz-anchor
2.0.0
后增加跟随页面滚动自动切换 active 态功能
继承 Affix 所有能力
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
offsetTop | 菜单距离顶部偏离的固定高度 | false | Number | 0 | |
noHash | 不修改hash | false | Number | 0 | |
content | 返回关注内容的node节点, 自动生成目录 | false | documentNode | 0 | |
scrollNode | 指定要监听的滚动节点(默认监听 window 对象),如需修改指定该参数 | false | window | 0 |
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
active | - | bool | false |
FAQs
anchor
The npm package @alifd/biz-anchor receives a total of 33 weekly downloads. As such, @alifd/biz-anchor popularity was classified as not popular.
We found that @alifd/biz-anchor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 23 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.