Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/andreruffert/range-slider-element
A customizable range slider element.
Accessible range slider custom element with keyboard support.
Follows the ARIA best practices guide on sliders.
$ npm install range-slider-element
import 'range-slider-element';
<range-slider min="0" max="100" step="1"></range-slider>
min
The minimum permitted value. The default is 0.max
The maximum permitted value. The default is 100.step
The stepping interval. The default is 1.value
The value. The default is min + (max - min) / 2
.dir
Directionality. The default is ltr.Exposed CSS custom properties scoped within the range-slider
element.
--value-percent
- The current value in percentage, e.g. 50%range-slider {}
range-slider .thumb-wrapper {}
range-slider .thumb {}
input
- Pointer move, value updated. Bubbles.change
- Pointer up, value updated. Bubbles.Browsers without native custom element support require a polyfill.
MIT © André Ruffert
FAQs
Unknown package
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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.