Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@netlify/ipx
Advanced tools
On Demand image optimazation for Netlify using ipx.
😺 Online demo: https://netlify-ipx.netlify.app
Add @netlify/ipx
as devDependency
:
# npm
npm i -D @netlify/ipx
# yarn
yarn add --dev @netlify/ipx
Create netlify/functions/ipx.ts
:
import { createIPXHandler } from '@netlify/ipx'
export const handler = createIPXHandler({
domains: ['images.unsplash.com']
})
Now you can use IPX to optimize both local and remote assets ✨
Resize /test.jpg
(in dist
):
<img src="/.netlify/functions/ipx/w_200/static/test.jpg"/>
Resize and change format for a remote url:
<img src="/.netlify/functions/ipx/f_webp,w_450/https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba"/>
yarn install
yarn dev
MIT
FAQs
on-demand image optimization for Netlify
The npm package @netlify/ipx receives a total of 8,084 weekly downloads. As such, @netlify/ipx popularity was classified as popular.
We found that @netlify/ipx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 18 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.