
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
rangeslider.js-mini
Advanced tools
Simple, small(er) and fast JavaScript/jQuery polyfill for the HTML5 slider element
This is a fork of rangeslider.js, dropping its dependency on jQuery and nearly halving the filesize of the plugin itself.
Minified and gzipped sizes:
Before: 2468 bytes (rangeslider) + 37298 bytes (jquery) = 39766 bytes
After: 1641 bytes (rangeslider) = 1641 bytes
Saved 38125 bytes (96%).
Usage is similar, but slightly different. Same options and everything, but rather than calling $(el).rangeslider
, it looks like this:
var slider = rangeslider(element, {
polyfill: false
// ...
});
slider.update(true); // instead of $(el).rangeslider('update', true);
slider.destroy(); // instead of $(el).rangeslider('destroy');
FAQs
Simple, small(er) and fast JavaScript/jQuery polyfill for the HTML5 slider element
We found that rangeslider.js-mini demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.