@jimp/plugin-fisheye
Advanced tools
Comparing version 0.21.3 to 0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0
{ | ||
"name": "@jimp/plugin-fisheye", | ||
"version": "0.21.3", | ||
"version": "0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0", | ||
"description": "Apply a fisheye effect to 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 } from "@jimp/test-utils"; | ||
import fisheye from "../src"; | ||
import { expectToBeJGD } from "@jimp/test-utils/src"; | ||
@@ -40,3 +41,3 @@ const jimp = configure({ plugins: [fisheye] }, Jimp); | ||
imgNormal.fisheye().getJGDSync().should.be.sameJGD(imgBulged.getJGDSync()); | ||
expectToBeJGD(imgNormal.fisheye().getJGDSync(), imgBulged.getJGDSync()); | ||
}); | ||
@@ -74,7 +75,7 @@ | ||
imgNormal | ||
.fisheye({ r: 1.8 }) | ||
.getJGDSync() | ||
.should.be.sameJGD(imgBulged.getJGDSync()); | ||
expectToBeJGD( | ||
imgNormal.fisheye({ r: 1.8 }).getJGDSync(), | ||
imgBulged.getJGDSync() | ||
); | ||
}); | ||
}); |
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
19565
247
+ 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