
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Minify Jekyll's HTML output with html_press
Add this line to your application's Gemfile under the :jekyll_plugins group:
group :jekyll_plugins do
gem 'jekyll-minify-html'
end
And then execute:
$ bundle
Next add this to your plugins folder to automatically load any Jekyll plugins in your :jekyll_plugins group.
# in _plugins/bundler.rb
require "bundler/setup"
Bundler.require(:jekyll_plugins)
Or you can just create a ruby file in your Jekyll plugins directory with the line require "jekyll-minify-html"
After installing, Jekyll's HTML output will be minified by default. If you configure env
in your Jekyll configuration, HTML will be minified only when
env
is set to production.
env: production
You can override the default behavior by setting the minify_html
config.
For example, this will disable minification, regardless of your env
setting.
minfy_html: false
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that jekyll-minify-html 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.