Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@uppy/compressor
Advanced tools
Uppy plugin that compresses images before upload, saving up to 60% in size
The Compressor plugin for Uppy optimizes images (JPEG, PNG, WEBP), saving on average up to 60% in size (roughly 18 MB for 10 images). It uses Compressor.js.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
import Uppy from '@uppy/core'
import Compressor from '@uppy/compressor'
const uppy = new Uppy()
uppy.use(Compressor)
npm install @uppy/compressor
We recommend installing from yarn or npm, and then using a module bundler such as Parcel, Vite or Webpack.
Alternatively, you can also use this plugin in a pre-built bundle from
Transloadit’s CDN: Edgly. In that case Uppy
will attach itself to the global
window.Uppy
object. See the
main Uppy documentation for instructions.
Documentation for this plugin can be found on the Uppy website.
2.1.0
Released: 2021-09-01
| Package | Version | Package | Version | |-|-|-|-| | @uppy/angular | 0.2.2 | @uppy/svelte | 1.0.2 | | @uppy/aws-s3 | 2.0.2 | @uppy/thumbnail-generator | 2.0.2 | | @uppy/core | 2.0.2 | @uppy/vue | 0.4.0 | | @uppy/dashboard | 2.0.2 | @uppy/xhr-upload | 2.0.2 | | @uppy/react | 2.0.2 | uppy | 2.1.0 | | @uppy/robodog | 2.0.3 | - | - |
i18n
(#3142 / @jhen0409 / @aduh95)DashboardModal
's target
type (#3110 / @Murderlon)FAQs
Uppy plugin that compresses images before upload, saving up to 60% in size
The npm package @uppy/compressor receives a total of 16,853 weekly downloads. As such, @uppy/compressor popularity was classified as popular.
We found that @uppy/compressor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.