You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

image-raub

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-raub - npm Package Compare versions

Comparing version

to
4.2.1

4

core.js

@@ -10,2 +10,4 @@ 'use strict';

const core = require(`./${getBin()}/image`);module.exports = core;
const core = require(`./${getBin()}/image`);
module.exports = core;

@@ -19,3 +19,5 @@ declare module "image-raub" {

/** Image
/**
* Image
*
* It is similar to the web Image.

@@ -36,2 +38,8 @@ * Extends EventEmitter to provide event-handling.

/** Image width. */
readonly width: number;
/** Image height. */
readonly height: number;
/** Alias for width. */

@@ -49,3 +57,5 @@ readonly naturalWidth: number;

/** Similar to .on('error', cb).
/**
* Similar to .on('error', cb).
*
* Setter adds a new callback. If passed `null`, removes ALL callbacks.

@@ -56,3 +66,5 @@ * Getter returns an Array of currently existing callbacks.

/** Similar to .on('load', cb).
/**
* Similar to .on('load', cb).
*
* Setter adds a new callback. If passed `null`, removes ALL callbacks.

@@ -66,3 +78,5 @@ * Getter returns an Array of currently existing callbacks.

/** Add event listener.
/**
* Add event listener.
*
* 'error' - something went wrong.

@@ -69,0 +83,0 @@ * 'load' - image has been loaded.

{
"author": "Luis Blanco <luisblanco1337@gmail.com>",
"name": "image-raub",
"version": "4.2.0",
"version": "4.2.1",
"description": "Native Image loader for Node.js",

@@ -6,0 +6,0 @@ "license": "MIT",