
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.
@10up/reading-position
Advanced tools
A component that reports reading position/progress on a page while scrolling.
View official documentation for this package
npm install @10up/reading-position --save
@import url("@10up/reading-position");
The styles can be imported into your existing codebase by using PostCSS imports, or by including the standalone CSS file in your project.
Create a new instance by supplying the selector to use for the reading-position and an object containing any necessary callback functions.
import ReadingPosition from '@10up/reading-position';
new ReadingPosition( '.reading-position', {
onCreate: function() {
console.log( 'onCreate callback' );
},
scrollStart: function( percentage ) {
console.log( 'scrollStart callback', percentage );
},
scrollEnd: function( percentage ) {
console.log( 'scrollEnd callback', percentage );
},
scrolling: function( percentage ) {
console.log( 'scrolling callback', percentage );
}
} );
Active: 10up is actively working on this, and we expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome.
FAQs
A component that reports reading position/progress on a page while scrolling.
The npm package @10up/reading-position receives a total of 123 weekly downloads. As such, @10up/reading-position popularity was classified as not popular.
We found that @10up/reading-position demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
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.