
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
It's not huge and bloated. Not normalize nor reset, just a basic set of rules to make modern browsers behave.
The common objective for projects like base.css, normalize and reset is to achieve consistency across browsers. Normalize does this by taking in consideration what should be considered the standart 'look and behaviour' of a given element and fixing the browsers where it acts differently. It was born as an alternative to reset.css, which simply stripped many html elements default styling (with the same objective: achieve consistency through browsers)
Base.css is different in three ways: It only targets modern browsers (IE 10+) and it does a little of both: Normalizing and resetting behaviour. It normalizes what is considered de facto behaviours that we rely and some browsers screw (like IE not resizing a button with a big text inside it - all other browsers does this). For elements that usually tend to have its defaults overwritten on new projects (like heading styles, for example), base.css simply applies a reset (which have a smaller footprint). Finally, base.css applies the box-sizing property to make building CSS layouts easier and a lot more intuitive. It's such a boon for developers that there's even an International Box-Sizing Awareness Day in February ;)
FAQs
A basic set of rules to make modern browsers behave.
The npm package base-css receives a total of 0 weekly downloads. As such, base-css popularity was classified as not popular.
We found that base-css 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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.