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.3 to 0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0

2

CHANGELOG.md

@@ -19,3 +19,3 @@ # v0.21.2 (Sun Feb 05 2023)

Marking this as a "breaking release" because it might change what deps need to be installed.
Marking this as a "breaking release" because it might change what deps need to be installed.

@@ -22,0 +22,0 @@ All modules should be exported as valid cjs and esm

{
"name": "@jimp/plugin-resize",
"version": "0.21.3",
"version": "0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0",
"description": "Resize an image.",

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

"scripts": {
"test": "cross-env BABEL_ENV=test mocha --require @babel/register",
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --recursive test --extension js",
"test:watch": "npm run test -- --reporter min --watch",

@@ -25,3 +25,3 @@ "test:coverage": "nyc npm run test",

"dependencies": {
"@jimp/utils": "^0.21.3"
"@jimp/utils": "0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0"
},

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

"devDependencies": {
"@jimp/custom": "^0.21.3",
"@jimp/test-utils": "^0.21.3"
"@jimp/custom": "0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0",
"@jimp/test-utils": "0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0"
},

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

},
"gitHead": "046ea0d26952611c74bebd7b13877eb628458aa3"
"gitHead": "6a6ae39e83bd731ccd25120a160a75b32273f9bd"
}

@@ -5,2 +5,3 @@ import { Jimp, mkJGD, hashForEach } from "@jimp/test-utils";

import resize from "../src";
import { expectToBeJGD } from "@jimp/test-utils/src";

@@ -291,7 +292,6 @@ const jimp = configure({ plugins: [resize] }, Jimp);

it("to " + expectedTitle, () => {
test.src
.clone()
.resize(size[0], size[1], mode)
.getJGDSync()
.should.be.sameJGD(expectedJgd);
expectToBeJGD(
test.src.clone().resize(size[0], size[1], mode).getJGDSync(),
expectedJgd
);
});

@@ -298,0 +298,0 @@ });

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