
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@djforth/ap_imagemin
Advanced tools
This is a wrapper for imagemin that will eventually become a plugin for a larger project to manage the whole build process.
It can be used however on it's own. To install run:
npm install @djforth/ap_imagemin -g
Now add the configuration details to your package.json like so (N.B. These are the defaults):
"assets": {
"images": {
"input": "app/assets_uncompiled/images",
"output": "public/assets",
"ext": [
"*.png",
"*.gif",
"*.jpg",
"*.jpeg",
"*.svg"
],
"plugins": [
[
"imagemin-gifsicle",
{
"interlaced": true
}
],
[
"imagemin-jpegtran",
{
"progressive": true
}
],
[
"imagemin-optipng",
{
"optimizationLevel": 3
}
],
"imagemin-svgo"
]
}
}
These options are:
To run with defaults or config:
asset-pipeline-imagemin
Options are:
asset-pipeline-imagemin -h
Usage: asset-pipeline-imagemin [options]
Options:
-h, --help output usage information
-V, --version output the version number
-e, --ext <list> exts to process
-i, --input <folder> input folder
-o, --output <folder> output folder
-w, --watch Watch scripts
FAQs
Asset Pipeline plugin for imagemin
We found that @djforth/ap_imagemin 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.