New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

browser-image-compression

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-image-compression - npm Package Versions

13

1.0.10

Diff

Changelog

Source

v1.0.10 (7 May 2020)

  • fixed: issue in Web Worker when onProgress is undefined #50
  • fixed: handle behavior change of exif orientation in iOS 13.4.1 and Safari 13.1 Desktop #52
  • updated: typescript type definitions to resolve #54
donaldcwl
published 1.0.9 •

Changelog

Source

v1.0.9 (25 Mar 2020)

  • updated: compression becomes less aggressive, output file is closer to the 'maxWidthOrHeight' and/or 'maxSizeMB' in config
  • fixed: file size increased in specific situation
donaldcwl
published 1.0.8 •

Changelog

Source

v1.0.8 (16 Mar 2020)

  • added: support for Server Side Rendering (SSR)
  • updated: ts type file
donaldcwl
published 1.0.7 •

Changelog

Source

v1.0.7 (15 Mar 2020)

  • added: onProgress function in options for compression progress updates
  • added: allow fileType override
  • added: ts type file
  • updated: useWebWorker default set to false
  • fixed: garbage clean canvas for safari
  • fixed: issue in Cordova support
  • fixed: issue in IE browser
  • fixed: other issues
donaldcwl
published 1.0.6 •

Changelog

Source

v1.0.6 (5 Jul 2019)

  • fixed: exif orientation do not work in some situations
donaldcwl
published 1.0.5 •

Changelog

Source

v1.0.5 (1 Jun 2019)

  • added: support for cordova project that uses cordova-plugin-file
  • optimized: follow image exif orientation even though image do not required to compress or resize
  • fixed: error may throw on iPhone Safari because of OffscreenCanvas cannot get 2d context
  • fixed: exif orientation do not work in some situations
donaldcwl
published 1.0.2 •

Changelog

Source

v1.0.2 (8 Apr 2019)

  • fixed: bug related to image orientation and squeezing
donaldcwl
published 1.0.1 •

Changelog

Source

v1.0.1 (8 Mar 2019)

  • fixed: bug related to wrong image output resolution in some cases
donaldcwl
published 1.0.0 •

Changelog

Source

v1.0.0 (6 Feb 2019)

  • breaking change: change "imageCompression" function signature
  • optimized: use of OffscreenCanvas when support, fallback to document.createElement('canvas')
  • optimized: use createImageBitmap when support, fallback to FileReader readAsDataURL
  • added: support web worker
  • added: follows image exif orientation
donaldcwl
published 0.0.4 •

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