Socket
Socket
Sign inDemoInstall

@jimp/plugin-resize

Package Overview
Dependencies
Maintainers
2
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimp/plugin-resize - npm Package Compare versions

Comparing version 0.22.4 to 0.22.5

16

CHANGELOG.md

@@ -0,1 +1,17 @@

# v0.22.5 (Tue Feb 21 2023)
:tada: This release contains work from a new contributor! :tada:
Thank you, Charly Poirier ([@charlypoirier](https://github.com/charlypoirier)), for all your work!
#### 🐛 Bug Fix
- Fix resizing issue with Jimp.AUTO [#1202](https://github.com/jimp-dev/jimp/pull/1202) ([@charlypoirier](https://github.com/charlypoirier))
#### Authors: 1
- Charly Poirier ([@charlypoirier](https://github.com/charlypoirier))
---
# v0.22.1 (Mon Feb 06 2023)

@@ -2,0 +18,0 @@

4

dist/index.js

@@ -50,4 +50,4 @@ "use strict";

// round inputs
w = Math.round(w);
h = Math.round(h);
w = Math.round(w) || 1;
h = Math.round(h) || 1;
if (typeof _resize2.default[mode] === "function") {

@@ -54,0 +54,0 @@ const dst = {

@@ -43,4 +43,4 @@ import { throwError, isNodePattern } from "@jimp/utils";

// round inputs
w = Math.round(w);
h = Math.round(h);
w = Math.round(w) || 1;
h = Math.round(h) || 1;
if (typeof Resize2[mode] === "function") {

@@ -47,0 +47,0 @@ const dst = {

{
"name": "@jimp/plugin-resize",
"version": "0.22.4",
"version": "0.22.5",
"description": "Resize an image.",

@@ -24,3 +24,3 @@ "main": "dist/index.js",

"dependencies": {
"@jimp/utils": "^0.22.4"
"@jimp/utils": "^0.22.5"
},

@@ -31,4 +31,4 @@ "peerDependencies": {

"devDependencies": {
"@jimp/custom": "^0.22.4",
"@jimp/test-utils": "^0.22.4"
"@jimp/custom": "^0.22.5",
"@jimp/test-utils": "^0.22.5"
},

@@ -38,3 +38,3 @@ "publishConfig": {

},
"gitHead": "81bddef2b8a93841f4a6b561fff94cbd5d9f01e9"
"gitHead": "8360424c88fff7aeef4c22f68f797c138e440274"
}

@@ -51,4 +51,4 @@ import { throwError, isNodePattern } from "@jimp/utils";

// round inputs
w = Math.round(w);
h = Math.round(h);
w = Math.round(w) || 1;
h = Math.round(h) || 1;

@@ -55,0 +55,0 @@ if (typeof Resize2[mode] === "function") {

Sorry, the diff of this file is not supported yet

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