@jimp/gif
Advanced tools
Comparing version 0.21.3 to 0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0
{ | ||
"name": "@jimp/gif", | ||
"version": "0.21.3", | ||
"version": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"description": "Default Jimp gif encoder/decoder.", | ||
@@ -10,2 +10,5 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --recursive test --extension js", | ||
"test:watch": "npm run test -- --reporter min --watch", | ||
"test:coverage": "nyc npm run test", | ||
"build": "npm run build:node:production && npm run build:module", | ||
@@ -22,3 +25,3 @@ "build:watch": "npm run build:node:debug -- -- --watch --verbose", | ||
"dependencies": { | ||
"@jimp/utils": "^0.21.3", | ||
"@jimp/utils": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"gifwrap": "^0.9.2", | ||
@@ -30,6 +33,10 @@ "omggif": "^1.0.9" | ||
}, | ||
"devDependencies": { | ||
"@jimp/custom": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"@jimp/test-utils": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "046ea0d26952611c74bebd7b13877eb628458aa3" | ||
"gitHead": "a26f5b300ee88c2fadb9909dd390cb4380b32a42" | ||
} |
import { Jimp, getTestDir } from "@jimp/test-utils"; | ||
import configure from "@jimp/custom"; | ||
import expect from "@storybook/expect"; | ||
@@ -13,3 +14,3 @@ import gif from "../src"; | ||
const image = await jimp.read(imagesDir + "/flower.gif"); | ||
image.getPixelColor(10, 10).should.be.equal(0xe5e6d9ff); | ||
expect(image.getPixelColor(10, 10)).toBe(0xe5e6d9ff); | ||
}); | ||
@@ -19,3 +20,3 @@ | ||
const image = await jimp.read(imagesDir + "/animated.gif"); | ||
image.getPixelColor(10, 10).should.be.equal(0xa1d2f1ff); | ||
expect(image.getPixelColor(10, 10)).toBe(0xa1d2f1ff); | ||
}); | ||
@@ -26,4 +27,4 @@ | ||
const buffer = await jgd.getBufferAsync("image/gif"); | ||
buffer.toString().startsWith("GIF").should.be.equal(true); | ||
expect(buffer.toString()).toMatch(/^GIF/); | ||
}); | ||
}); |
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
151032
142
2
+ 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