
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
postcss-reset-important
Advanced tools
PostCSS plugin for reseting all styles using !important, and making your own styles !important
PostCSS plugin for reseting all styles using !important, and making your own styles !important. Mostly useful for browser extension content scripts and their CSS.
.foo {
color: red;
}
.foo {
margin: 0 !important;
/* bunch of other stuff */
color: red !important;
}
postcss([
require('postcss-reset-important'),
])
requireExplicit: boolean
Requires you to use the reset property to enable the transform for a rule. Defaults to false
noImportant: boolean
Doesn't use !important in the generated reset styles, and doesn't add it for your own styles.
The 'reset' property can be used to control the plugin. If requireExplicit isn't set, the default is reset: true.
You can explicitly define it like so:
.foo {
reset: true;
color: red;
}
You can also disable the resets for an element.
.foo {
reset: false;
color: red;
}
TODO: add extra reset options for various html tags that generate different resets.
FAQs
PostCSS plugin for reseting all styles using !important, and making your own styles !important
We found that postcss-reset-important 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.