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

@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.21.2 to 0.21.3

12

CHANGELOG.md

@@ -0,1 +1,13 @@

# v0.21.2 (Sun Feb 05 2023)
#### 🐛 Bug Fix
- Change some exports to move towards more ESM compatibility [#1154](https://github.com/jimp-dev/jimp/pull/1154) ([@danielholmes](https://github.com/danielholmes))
#### Authors: 1
- Daniel Holmes ([@danielholmes](https://github.com/danielholmes))
---
# v0.21.0 (Sun Feb 05 2023)

@@ -2,0 +14,0 @@

8

dist/modules/resize.js
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
// JavaScript Image Resizer (c) 2012 - Grant Galitz

@@ -356,3 +360,5 @@ // Released to public domain 29 July 2013: https://github.com/grantgalitz/JS-Image-Resizer/issues/4

};
module.exports = Resize;
var _default = Resize;
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=resize.js.map
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**

@@ -25,3 +29,3 @@ * Copyright (c) 2015 Guyon Roche

module.exports = {
const operations = {
nearestNeighbor(src, dst) {

@@ -250,2 +254,5 @@ const wSrc = src.width;

};
var _default = operations;
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=resize2.js.map

2

es/modules/resize.js

@@ -354,3 +354,3 @@ // JavaScript Image Resizer (c) 2012 - Grant Galitz

};
module.exports = Resize;
export default Resize;
//# sourceMappingURL=resize.js.map

@@ -23,3 +23,3 @@ /**

module.exports = {
const operations = {
nearestNeighbor(src, dst) {

@@ -248,2 +248,3 @@ const wSrc = src.width;

};
export default operations;
//# sourceMappingURL=resize2.js.map
{
"name": "@jimp/plugin-resize",
"version": "0.21.2",
"version": "0.21.3",
"description": "Resize an image.",

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

"dependencies": {
"@jimp/utils": "^0.21.2"
"@jimp/utils": "^0.21.3"
},

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

"devDependencies": {
"@jimp/custom": "^0.21.2",
"@jimp/test-utils": "^0.21.2"
"@jimp/custom": "^0.21.3",
"@jimp/test-utils": "^0.21.3"
},

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

},
"gitHead": "4634325df1db45594f91a86c3e11cdbdc4416485"
"gitHead": "046ea0d26952611c74bebd7b13877eb628458aa3"
}

@@ -548,2 +548,2 @@ // JavaScript Image Resizer (c) 2012 - Grant Galitz

module.exports = Resize;
export default Resize;

@@ -23,3 +23,3 @@ /**

module.exports = {
const operations = {
nearestNeighbor(src, dst) {

@@ -295,1 +295,3 @@ const wSrc = src.width;

};
export default operations;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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