
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
postcss-normalize-charset
Advanced tools
Add necessary or remove extra charset with PostCSS
a{
content: "©";
}
@charset "utf-8";
a{
content: "©";
}
Type: boolean
Default: true
Pass false to stop the module from adding a @charset declaration if it was
missing from the file (and the file contained non-ascii characters).
See the PostCSS documentation for examples for your environment.
See CONTRIBUTORS.md.
MIT © Bogdan Chadkin
This package is similar in that it is also a PostCSS plugin aimed at CSS optimization. It minifies font declarations by removing duplicates and optimizing font-family names, but it does not handle charset normalization.
cssnano is a modular CSS minifier that includes various PostCSS plugins, including one for charset normalization. It provides a broader range of optimizations compared to postcss-normalize-charset, which focuses solely on charset normalization.
This PostCSS plugin removes comments from your CSS files. While it does not directly relate to charset normalization, it is another tool in the realm of CSS optimization that can be used alongside postcss-normalize-charset to reduce file size and improve loading times.
FAQs
Add necessary or remove extra charset with PostCSS
The npm package postcss-normalize-charset receives a total of 16,028,373 weekly downloads. As such, postcss-normalize-charset popularity was classified as popular.
We found that postcss-normalize-charset demonstrated a healthy version release cadence and project activity because the last version was released less than 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
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.