@jimp/plugin-resize
Advanced tools
Comparing version 0.21.3 to 0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0
@@ -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 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
225880
+ Added@jimp/utils@0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0(transitive)
- Removed@jimp/utils@0.21.3(transitive)
Updated@jimp/utils@0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0