
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
postcss-clear-flex
Advanced tools
PostCSS plugin clear old webkit flex prefixes to prevent wrong order in the autoprefixer output.
If you have to use prefixed sources like Uikit 2 and need to support browsers with old flexbox specification like Safari 6, Android 4.3, Blackberry 7, Autoprefixer will produce wrong prefixes order
/* source */
.foo {
display: -webkit-flex;
display: flex;
}
/* output from Autoprefixer with config "Safari 6, Safari 8" */
.foo {
display: -webkit-flex;
display: -webkit-box;
/* ^^^ old prefix get higher priority than new prefix, Safari 8 will be forced to use old flexbox specification and layout will break */
display: flex;
}
To prevent it this plugin clear flexbox prefixes so Autoprefixer will apply prefixes from scratch with correct order
/* source */
.foo {
display: -webkit-flex;
display: flex;
}
/* postcss-clear-flex */
.foo {
display: flex;
}
/* Autoprefixer */
.foo {
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
}
postcss-clear-flex should be used before Autoprefixer
postcss([ require('postcss-clear-flex') ])
See PostCSS docs for examples for your environment.
FAQs
PostCSS plugin Clear old flex prefixes
The npm package postcss-clear-flex receives a total of 0 weekly downloads. As such, postcss-clear-flex popularity was classified as not popular.
We found that postcss-clear-flex 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.