@jimp/bmp
Advanced tools
Comparing version 0.21.3 to 0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0
{ | ||
"name": "@jimp/bmp", | ||
"version": "0.21.3", | ||
"version": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"description": "Default Jimp bmp encoder/decoder.", | ||
@@ -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", | ||
"bmp-js": "^0.1.0" | ||
@@ -33,4 +33,4 @@ }, | ||
"devDependencies": { | ||
"@jimp/custom": "^0.21.3", | ||
"@jimp/test-utils": "^0.21.3" | ||
"@jimp/custom": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0", | ||
"@jimp/test-utils": "0.21.4--canary.1163.a26f5b300ee88c2fadb9909dd390cb4380b32a42.0" | ||
}, | ||
@@ -40,3 +40,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "046ea0d26952611c74bebd7b13877eb628458aa3" | ||
"gitHead": "a26f5b300ee88c2fadb9909dd390cb4380b32a42" | ||
} |
@@ -1,5 +0,4 @@ | ||
/* eslint-disable no-control-regex */ | ||
import { Jimp, getTestDir } from "@jimp/test-utils"; | ||
import configure from "@jimp/custom"; | ||
import expect from "@storybook/expect"; | ||
@@ -16,5 +15,5 @@ import bmp from "../src"; | ||
image.getPixelColor(10, 10).should.be.equal(0xeff7f7ff); | ||
image.getPixelColor(150, 80).should.be.equal(0x73add6ff); | ||
image.getPixelColor(190, 200).should.be.equal(0xf7c300ff); | ||
expect(image.getPixelColor(10, 10)).toBe(0xeff7f7ff); | ||
expect(image.getPixelColor(150, 80)).toBe(0x73add6ff); | ||
expect(image.getPixelColor(190, 200)).toBe(0xf7c300ff); | ||
}); | ||
@@ -33,3 +32,3 @@ | ||
buffer.toString().should.match(/^BMZ\u0000/); | ||
expect(buffer.toString()).toMatch(/^BMZ\u0000/); | ||
}); | ||
@@ -47,4 +46,4 @@ | ||
image.bitmap.data.should.be.deepEqual(expectedImg.bitmap.data); | ||
expect(image.bitmap.data).toEqual(expectedImg.bitmap.data); | ||
}); | ||
}); |
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
263169
+ 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