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

jimp

Package Overview
Dependencies
Maintainers
1
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jimp - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5-canary.784.118.0

23

jimp.d.ts
declare const Jimp: Jimp;
export = Jimp;
interface Jimp {
export default Jimp;
export interface Jimp {
// Constructors

@@ -129,7 +130,7 @@ new (path: string, cb?: ImageCallback): Jimp;

getBase64Async(mime: string): Promise<string>;
hash(cb?: GenericCallback<string, any, this>): this;
hash(cb?: GenericCallback<string, any, this>): string;
hash(
base: number | null | undefined,
cb?: GenericCallback<string, any, this>
): this;
): string;
getBuffer(mime: string, cb: GenericCallback<Buffer>): this;

@@ -460,3 +461,3 @@ getBufferAsync(mime: string): Promise<Buffer>;

interface Bitmap {
export interface Bitmap {
data: Buffer;

@@ -466,3 +467,3 @@ width: number;

}
interface RGB {
export interface RGB {
r: number;

@@ -472,3 +473,3 @@ g: number;

}
interface RGBA {
export interface RGBA {
r: number;

@@ -480,3 +481,3 @@ g: number;

interface FontChar {
export interface FontChar {
id: number;

@@ -494,3 +495,3 @@ x: number;

interface FontInfo {
export interface FontInfo {
face: string;

@@ -509,3 +510,3 @@ size: number;

interface FontCommon {
export interface FontCommon {
lineHeight: number;

@@ -523,3 +524,3 @@ base: number;

interface Font {
export interface Font {
chars: {

@@ -526,0 +527,0 @@ [char: string]: FontChar;

{
"name": "jimp",
"version": "0.6.4",
"version": "0.6.5-canary.784.118.0",
"description": "An image processing library written entirely in JavaScript (i.e. zero external or native dependencies)",

@@ -55,10 +55,15 @@ "main": "dist/index.js",

"@babel/polyfill": "^7.0.0",
"@jimp/custom": "^0.6.4",
"@jimp/plugins": "^0.6.4",
"@jimp/types": "^0.6.4",
"@jimp/custom": "0.6.5-canary.784.118.0",
"@jimp/plugins": "0.6.5-canary.784.118.0",
"@jimp/types": "0.6.5-canary.784.118.0",
"core-js": "^2.5.7"
},
"devDependencies": {
"@jimp/test-utils": "^0.6.4",
"express": "^4.16.3"
"@jimp/test-utils": "0.6.5-canary.784.118.0",
"babelify": "^10.0.0",
"browserify": "^16.2.2",
"envify": "^4.1.0",
"express": "^4.16.3",
"tfilter": "^1.0.1",
"uglify-js": "^3.4.9"
},

@@ -80,3 +85,3 @@ "xo": false,

},
"gitHead": "7c9d3c817cade88d4a20422be10670d3c1528429"
"gitHead": "20a24e11c6ef9b5ff9ed731f9a2d356fb8142518"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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