@jimp/custom
Advanced tools
Comparing version 0.9.5 to 0.9.6-canary.858.667.0
{ | ||
"name": "@jimp/custom", | ||
"version": "0.9.5", | ||
"version": "0.9.6-canary.858.667.0", | ||
"description": "Interface to customize jimp configuration", | ||
@@ -21,3 +21,3 @@ "main": "dist/index.js", | ||
"@babel/runtime": "^7.7.2", | ||
"@jimp/core": "^0.9.5", | ||
"@jimp/core": "0.9.6-canary.858.667.0", | ||
"core-js": "^3.4.1" | ||
@@ -28,3 +28,3 @@ }, | ||
}, | ||
"gitHead": "ecadad6b337ee78e23d683e9560a4182e43d9820" | ||
"gitHead": "840d8f4c4093fe094d5257c9d9d7c47fadd76034" | ||
} |
@@ -9,2 +9,3 @@ import configure from '@jimp/custom'; | ||
import plugins from '@jimp/plugins'; | ||
import * as Jimp from 'jimp'; | ||
@@ -354,1 +355,18 @@ // configure should return a valid Jimp type with addons | ||
}); | ||
test('Can handle appendConstructorOption', () => { | ||
const AppendJimp = configure({}); | ||
AppendJimp.appendConstructorOption( | ||
'Name of Option', | ||
args => args.hasSomeCustomThing, | ||
function(resolve, reject, args) { | ||
// $ExpectError | ||
this.bitmap = 3; | ||
// $ExpectError | ||
AppendJimp.resize(2, 2); | ||
resolve(); | ||
} | ||
); | ||
}); |
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
33492
535
+ Added@jimp/core@0.9.6-canary.858.667.0(transitive)
+ Added@jimp/utils@0.9.6-canary.858.667.0(transitive)
+ Addedminimist@0.0.8(transitive)
+ Addedmkdirp@0.5.1(transitive)
- Removed@jimp/core@0.9.8(transitive)
- Removed@jimp/utils@0.9.8(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)