Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jimp/custom

Package Overview
Dependencies
Maintainers
2
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimp/custom - npm Package Compare versions

Comparing version 0.9.5 to 0.9.6-canary.858.667.0

6

package.json
{
"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();
}
);
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc