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

browser-image-resizer

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-image-resizer - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

tests/bir-react/package-lock.json

6

package.json
{
"name": "browser-image-resizer",
"version": "2.3.2",
"version": "2.3.3",
"description": "A browser-based utility to downscale and resize images using <canvas>",

@@ -13,4 +13,4 @@ "main": "dist/index.js",

"babel-loader": "^8.0.5",
"webpack": "^4.29.3",
"webpack-cli": "^3.2.3"
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},

@@ -17,0 +17,0 @@ "scripts": {

@@ -187,12 +187,2 @@ # browser-image-resizer

## Known Issues
### EXIF Data in iOS
When using a specific camera setting in iOS, EXIF data gets stripped by default: https://stackoverflow.com/questions/57942150/file-upload-and-exif-in-mobile-safari
In order for this to work, a user will need to change their iOS camera settings to "Most Compatible" as below:
![image](https://user-images.githubusercontent.com/6023705/87861285-d2b6a180-c912-11ea-9c44-d29c784cb783.png)
## Contributing

@@ -199,0 +189,0 @@

@@ -212,5 +212,8 @@ import { dataURIToBlob } from './data_operations';

let ctx = canvas.getContext('2d');
ctx.fillStyle = '#ffffff';
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.save();
if (config.mimeType === 'image/jpeg') {
// Only apply to JPEGs, white background default, see #42 and #66
ctx.fillStyle = '#ffffff';
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.save();
}

@@ -217,0 +220,0 @@ // EXIF

Sorry, the diff of this file is too big to display

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