Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

image-steam

Package Overview
Dependencies
Maintainers
1
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-steam - npm Package Compare versions

Comparing version 0.63.2 to 0.63.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# 0.63.3 - June 10 2022
* ***(FIX)*** `sharp@0.31.2` resolves [rotation bug](https://github.com/lovell/sharp/issues/3391).
* ***(FIX)*** Orientations for 5 & 7 were computed incorrectly.
# 0.63.2 - June 10 2022

@@ -2,0 +8,0 @@

6

lib/processor/steps/rotate.js

@@ -8,3 +8,3 @@ module.exports = function (context, stepInfo) {

if (img.info.orientation) {
// http://www.impulseadventure.com/photo/exif-orientation.html
// https://sirv.com/help/articles/rotate-photos-to-be-upright
switch (img.info.orientation) {

@@ -25,3 +25,3 @@ case 2: // UpMirrored

context.sharp.flip(); // y
degrees = (degrees + 270) % 360;
degrees = (degrees + 90) % 360;
if (degrees === 180) degrees = 0;

@@ -35,3 +35,3 @@ else if (degrees === 0) degrees = 180;

context.sharp.flip(); // y
degrees = (degrees + 90) % 360;
degrees = (degrees + 270) % 360;
if (degrees === 180) degrees = 0;

@@ -38,0 +38,0 @@ else if (degrees === 0) degrees = 180;

{
"name": "image-steam",
"version": "0.63.2",
"version": "0.63.3",
"description": "A simple, fast, and highly customizable realtime image manipulation web server built atop Node.js.",

@@ -60,3 +60,3 @@ "main": "index.js",

"semaphore": "^1.1.0",
"sharp": "^0.30.2",
"sharp": "^0.31.2",
"xxhash": "^0.3.0",

@@ -63,0 +63,0 @@ "yargs": "^17.3.1"

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