@jimp/custom
Advanced tools
Comparing version 0.8.1-canary.786.211.0 to 0.8.1-canary.786.217.0
{ | ||
"name": "@jimp/custom", | ||
"version": "0.8.1-canary.786.211.0", | ||
"version": "0.8.1-canary.786.217.0", | ||
"description": "Interface to customize jimp configuration", | ||
@@ -20,3 +20,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@jimp/core": "0.8.1-canary.786.211.0", | ||
"@jimp/core": "0.8.1-canary.786.217.0", | ||
"core-js": "^2.5.7" | ||
@@ -27,3 +27,3 @@ }, | ||
}, | ||
"gitHead": "14314180ede2041c8ae050d013baf39f0c8afbd1" | ||
"gitHead": "f9d0b4a1a3de789557a2fedd477fbdd2a81f12c5" | ||
} |
@@ -1,3 +0,1 @@ | ||
// TypeScript Version: 2.8 | ||
import configure from '@jimp/custom'; | ||
@@ -34,9 +32,8 @@ import gif from '@jimp/gif'; | ||
type A = typeof CustomJimp & {test: 3}; | ||
// $ExpectError | ||
CustomJimp.test; | ||
const test: A = {} as any; | ||
// $ExpectError | ||
CustomJimp.func(); | ||
// $ExpectType 0 | ||
test.PNG_FILTER_NONE; | ||
// Can compose | ||
@@ -47,2 +44,5 @@ const OtherCustomJimp = configure({ | ||
// Methods from new plugins should be applied | ||
OtherCustomJimp.scale(3); | ||
// Methods from types should be applied | ||
@@ -73,1 +73,7 @@ OtherCustomJimp.filterType(4); | ||
OtherCustomJimp.RESIZE_NEAREST_NEIGHBOR | ||
// $ExpectError | ||
OtherCustomJimp.test; | ||
// $ExpectError | ||
OtherCustomJimp.func(); |
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
27374
315
+ Added@jimp/core@0.8.1-canary.786.217.0(transitive)
+ Added@jimp/utils@0.8.1-canary.786.217.0(transitive)
- Removed@jimp/core@0.8.1-canary.786.211.0(transitive)
- Removed@jimp/utils@0.8.1-canary.786.211.0(transitive)