@uppy/compressor
Advanced tools
Comparing version 2.0.0-beta.4 to 2.0.0-beta.5
# @uppy/compressor | ||
## 2.0.0-beta.5 | ||
Released: 2024-05-03 | ||
Included in: Uppy v4.0.0-beta.5 | ||
- @uppy/audio,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/remote-sources,@uppy/tus,@uppy/utils: Format (Murderlon) | ||
## 1.1.1 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@uppy/compressor", | ||
"description": "Uppy plugin that compresses images before upload, saving up to 60% in size", | ||
"version": "2.0.0-beta.4", | ||
"version": "2.0.0-beta.5", | ||
"license": "MIT", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
"@transloadit/prettier-bytes": "^0.3.0", | ||
"@uppy/utils": "^6.0.0-beta.4", | ||
"@uppy/utils": "^6.0.0-beta.5", | ||
"compressorjs": "^1.2.1", | ||
@@ -33,3 +33,3 @@ "preact": "^10.5.13", | ||
"peerDependencies": { | ||
"@uppy/core": "^4.0.0-beta.4" | ||
"@uppy/core": "^4.0.0-beta.5" | ||
}, | ||
@@ -36,0 +36,0 @@ "publishConfig": { |
@@ -5,7 +5,13 @@ # @uppy/compressor | ||
<a href="https://www.npmjs.com/package/@uppy/compressor"><img src="https://img.shields.io/npm/v/@uppy/compressor.svg?style=flat-square"></a> <img src="https://github.com/transloadit/uppy/workflows/Tests/badge.svg" alt="CI status for Uppy tests"> <img src="https://github.com/transloadit/uppy/workflows/Companion/badge.svg" alt="CI status for Companion tests"> <img src="https://github.com/transloadit/uppy/workflows/End-to-end%20tests/badge.svg" alt="CI status for browser tests"> | ||
<a href="https://www.npmjs.com/package/@uppy/compressor"><img src="https://img.shields.io/npm/v/@uppy/compressor.svg?style=flat-square"></a> | ||
<img src="https://github.com/transloadit/uppy/workflows/Tests/badge.svg" alt="CI status for Uppy tests"> | ||
<img src="https://github.com/transloadit/uppy/workflows/Companion/badge.svg" alt="CI status for Companion tests"> | ||
<img src="https://github.com/transloadit/uppy/workflows/End-to-end%20tests/badge.svg" alt="CI status for browser tests"> | ||
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](https://github.com/fengyuanchen/compressorjs). | ||
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](https://github.com/fengyuanchen/compressorjs). | ||
Uppy is being developed by the folks at [Transloadit](https://transloadit.com), a versatile file encoding service. | ||
Uppy is being developed by the folks at [Transloadit](https://transloadit.com), | ||
a versatile file encoding service. | ||
@@ -28,9 +34,15 @@ ## Example | ||
We recommend installing from yarn or npm, and then using a module bundler such as [Parcel](https://parceljs.org/), [Vite](https://vitejs.dev/) or [Webpack](https://webpack.js.org/). | ||
We recommend installing from yarn or npm, and then using a module bundler such | ||
as [Parcel](https://parceljs.org/), [Vite](https://vitejs.dev/) or | ||
[Webpack](https://webpack.js.org/). | ||
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](https://uppy.io/docs/#Installation) for instructions. | ||
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](https://uppy.io/docs/#Installation) for instructions. | ||
## Documentation | ||
Documentation for this plugin can be found on the [Uppy website](https://uppy.io/docs/compressor). | ||
Documentation for this plugin can be found on the | ||
[Uppy website](https://uppy.io/docs/compressor). | ||
@@ -37,0 +49,0 @@ ## License |
31947
50
Updated@uppy/utils@^6.0.0-beta.5