
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
react-packery-component
Advanced tools
A React.js Packery component. (Also available as a mixin if needed)
React >= 0.14.x
The component bundles Packery, so no additional dependencies needed!
You can optionally include Packery as a script tag if there should be any reason for doing so:
<script src='//cdnjs.cloudflare.com/ajax/libs/packery/1.3.0/packery.pkgd.min.js' />
To use the component just require the module and inject React
Example code:
var React = require('react');
var Packery = require('react-packery-component')(React);
var packeryOptions = {
transitionDuration: 0
};
var Gallery = React.createClass({
render: function () {
var childElements = this.props.elements.map(function(element){
return (
<li className="image-element-class">
<img src={element.src} />
</li>
);
});
return (
<Packery
className={'my-gallery-class'} // default ''
elementType={'ul'} // default 'div'
options={packeryOptions} // default {}
disableImagesLoaded={false} // default false
>
{childElements}
</Packery>
);
}
});
module.exports = Gallery;
FAQs
A Packery component for React.js
The npm package react-packery-component receives a total of 48 weekly downloads. As such, react-packery-component popularity was classified as not popular.
We found that react-packery-component 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.