
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
flickity-as-nav-for
Advanced tools
Enables asNavFor
option for Flickity, where one gallery is navigation or another.
<div class="gallery gallery-a">
...
</div>
<div class="gallery gallery-b">
...
</div>
// options
asNavFor: '.gallery-a'
// set as a selector string
asNavFor: document.querySelector('.gallery-a')
// set as an element
$('.gallery-a').flickity();
$('.gallery-b').flickity({
asNavFor: '.gallery-a'
});
var flktyA = new Flickity('.gallery-a');
var flktyB = new Flickity( '.gallery-b', {
asNavFor: '.gallery-a'
});
<div class="gallery gallery-a js-flickity">
...
</div>
<div class="gallery gallery-b js-flickity"
data-flickity-options='{ "asNavFor": ".gallery-a" }'>
...
</div>
as-nav-for.js
is included with the Flickity pkgd.js
files. If you are using those, you do not need to install.
Bower: bower install flickity-as-nav-for --save
npm: npm install flickity-as-nav-for
requirejs( [ 'path/to/flickity-as-nav-for/as-nav-for' ], function( Flickity ) {
var flktyA = new Flickity('.gallery-a');
var flktyB = new Flickity( '.gallery-b', {
asNavFor: '.gallery-a'
});
});
var Flickity = require('flickity-as-nav-for');
var flktyA = new Flickity('.gallery-a');
var flktyB = new Flickity( '.gallery-b', {
asNavFor: '.gallery-a'
});
MIT license
By Metafizzy
FAQs
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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.