
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@skg-global/sharp_client
Advanced tools
$ yarn add @skg-global/sharp_client
You can be used to generate URLs for images.
import { createClient } from '@skg-global/sharp_client';
const client = createClient('http://example.com/base', 'sample-bucket');
const originalImageUrl = 'demo.png';
const options = {
resize: { width: 200, fit: 'cover' },
};
const fooUrl = client.url(originalImageUrl, options);
--> http://example.com/base/eyJidWNrZXQiOiJzYW1wbGUtYnVja2V0Iiwia2V5IjoiZGVtby5qcGVnIiwiZWRpdHMiOnsicmVzaXplIjp7IndpZHRoIjoyMDAsImZpdCI6ImNvdmVyIn19fQ==
Currently the following transformations can be applied to images:
| Client option name | Query param name | Description |
|---|---|---|
| resize.width | ||
| resize.height | ||
| toFormat | Output image format. Valid values: every valid sharp output format string, i.e. jpeg, gif, webp. | |
| rotate | Rotate the output image by either an explicit angle or auto-orient based on the EXIF sharp cropping feature. | |
| flip | Flip the image about the vertical Y axis sharp flip feature. | |
| flop | Flop the image about the vertical X axis sharp flop feature. | |
| smartCrop | (optional, object) activates the smart cropping feature for an original image (Amazon Rekognition) |
FAQs
TBD
We found that @skg-global/sharp_client 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.