Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
docpad-plugin-cleancss
Advanced tools
Concatinate and minify CSS files with the cleancss: true
meta data.
docpad install cleancss
Create a CSS file with the cleancss option:
---
cleancss: true
---
body {
background-color: black;
}
@import 'example.css';
The default configuration for this plugin is the equivalant of adding the following clean-css options to your DocPad configuration file:
plugins:
cleancss:
# These are options passed to the clean-css dependency
cleancssOpts:
# * for keeping all (default), 1 for keeping first one only, 0 for
# removing all
keepSpecialComments: '*'
# Whether to keep line breaks (default is false).
keepBreaks: false
# Turns on benchmarking mode measuring time spent on cleaning up.
benchmark: false
# Whether to process @import rules.
processImport: true
# Whether to skip URLs rebasing.
noRebase: false
# set to true to disable advanced optimizations.
noAdvanced: false
# Enables debug mode.
debug: false
# Disabled on development environments by default.
environments:
development:
enabled: false
Discover the change history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Unless stated otherwise all works are:
and licensed under:
v2.1.0 2015 March 5
FAQs
Adds support to clean CSS in DocPad.
The npm package docpad-plugin-cleancss receives a total of 1 weekly downloads. As such, docpad-plugin-cleancss popularity was classified as not popular.
We found that docpad-plugin-cleancss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.