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.8.1-canary.786.211.0 to 0.8.1-canary.786.217.0

6

package.json
{
"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();
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