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.
af-react-grid
Advanced tools
Resizable flexbox grid for React.
/* Include these 2 css files somewhere in your index.js */
import "af-react-grid/dist/style.css";
/* If you want custom resizer style - do not import this file */
import "af-react-grid/dist/resizer.style.css";
import { Container, Resizer } from "af-react-grid";
<Containter type="row">
<div>Child 1</div>
<Resizer />
<div>Child 2</div>
<Resizer>
<Containter type="row">
<div>Subchild 1</div>
<Resizer />
<div>Subchild 2</div>
</Container>
</Container>
type: ( "row" | "col" ),
className: ?string,
style: ?object,
children: ?node,
/* Next 2 props are passed down as default props to Resizer and Container children*/
resizerChildren: ?node,
resizerClassName: ?string = "react-rsz-grid-default-resizer"
className: ?string,
style: ?object,
children: ?node
Resizers are also given data-resizer-index and data-resizer-type, so their styling could be customized easily.
FAQs
Unknown package
The npm package af-react-grid receives a total of 2 weekly downloads. As such, af-react-grid popularity was classified as not popular.
We found that af-react-grid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.