@uppy/compressor
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0-beta.2
# @uppy/compressor | ||
## 0.3.1 | ||
Released: 2022-07-27 | ||
Included in: Uppy v2.13.1 | ||
- @uppy/compressor: fix upload causing meta name to reset (Justin / #3890) | ||
## 0.3.0 | ||
@@ -4,0 +11,0 @@ |
@@ -75,3 +75,2 @@ function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } | ||
this.uppy.setFileMeta(file.id, { | ||
name, | ||
type | ||
@@ -78,0 +77,0 @@ }); |
{ | ||
"name": "@uppy/compressor", | ||
"description": "Uppy plugin that compresses images before upload, saving up to 60% in size", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0-beta.2", | ||
"license": "MIT", | ||
@@ -33,3 +33,3 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"@uppy/core": "^3.0.0-beta.1" | ||
"@uppy/core": "^3.0.0-beta.2" | ||
}, | ||
@@ -36,0 +36,0 @@ "publishConfig": { |
@@ -63,3 +63,3 @@ import { BasePlugin } from '@uppy/core' | ||
}) | ||
this.uppy.setFileMeta(file.id, { name, type }) | ||
this.uppy.setFileMeta(file.id, { type }) | ||
compressedFiles.push(file) | ||
@@ -66,0 +66,0 @@ } catch (err) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22945
262