@jimp/plugin-threshold
Advanced tools
Comparing version 0.21.3 to 0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0
{ | ||
"name": "@jimp/plugin-threshold", | ||
"version": "0.21.3", | ||
"version": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"description": "Lightens 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.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0" | ||
}, | ||
@@ -34,7 +34,7 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@jimp/custom": "^0.21.3", | ||
"@jimp/jpeg": "^0.21.3", | ||
"@jimp/plugin-color": "^0.21.3", | ||
"@jimp/plugin-resize": "^0.21.3", | ||
"@jimp/test-utils": "^0.21.3" | ||
"@jimp/custom": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"@jimp/jpeg": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"@jimp/plugin-color": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"@jimp/plugin-resize": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"@jimp/test-utils": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0" | ||
}, | ||
@@ -44,3 +44,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "046ea0d26952611c74bebd7b13877eb628458aa3" | ||
"gitHead": "a26f5b300ee88c2fadb9909dd390cb4380b32a42" | ||
} |
@@ -6,2 +6,3 @@ import { Jimp, getTestDir } from "@jimp/test-utils"; | ||
import resize from "@jimp/plugin-resize"; | ||
import expect from "@storybook/expect"; | ||
@@ -26,7 +27,6 @@ import threshold from "../src"; | ||
testImage | ||
.threshold({ max: 200, replace: 255 }) | ||
.hash() | ||
.should.be.equal(expectedImage.hash()); | ||
expect(testImage.threshold({ max: 200, replace: 255 }).hash()).toBe( | ||
expectedImage.hash() | ||
); | ||
}); | ||
}); |
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
673046
+ Added@jimp/utils@0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0(transitive)
- Removed@jimp/utils@0.21.3(transitive)
Updated@jimp/utils@0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0