Socket
Socket
Sign inDemoInstall

@uppy/compressor

Package Overview
Dependencies
Maintainers
8
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/compressor - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0-beta.2

7

CHANGELOG.md
# @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 @@

1

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc