
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
strip-media-queries
Advanced tools
Strip specific media queries from several css files and create a new file(s)
Node module to strip media queries from a CSS file and create a file with them.
Install the module globally via:
npm install strip-media-queries -g
Run it from your project folder. e.g.
strip-media-queries --src=demo/**.css --width=400
The options for the module are the following:
src
: The name of the file that contains the media queries.dest
: The name of the file that will contains all the media queries.ignore
: The files to be ignored.widths
: The width of the media queries to strip out, to add multiple widths use commas e.g. --width=100,200
.extract
: The widths of the media queries to extract out of the media rule e.g. --width=800
. Default: '[]'
override
: Configure if override the original file or create a new one. Default: false
stripperSuffix
: The suffix to add to the new stripped file. Default: '.stripped.css'
FAQs
Strip specific media queries from several css files and create a new file(s)
The npm package strip-media-queries receives a total of 30 weekly downloads. As such, strip-media-queries popularity was classified as not popular.
We found that strip-media-queries 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.