New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

image-raub

Package Overview
Dependencies
Maintainers
1
Versions
30
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 1.0.1 to 2.0.0

.travis.yml

10

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

@@ -16,4 +16,4 @@ "license": "MIT",

"engines": {
"node": ">=8.11.1",
"npm": ">=5.6.0"
"node": ">=10.13.0",
"npm": ">=6.4.1"
},

@@ -32,5 +32,5 @@ "maintainers": [

"dependencies": {
"addon-tools-raub": "^2.0.1",
"deps-freeimage-raub": "~0.1.0"
"addon-tools-raub": "4.1.0",
"deps-freeimage-raub": "1.0.0"
}
}

@@ -5,3 +5,9 @@ # Image for Node.js

![NPM](https://nodei.co/npm/image-raub.png?compact=true)
![Build Status](https://api.travis-ci.com/node-3d/image-raub.svg?branch=master)
> npm i -s image-raub
## Synopsis

@@ -12,2 +18,3 @@

The `src` property can be:

@@ -18,10 +25,10 @@ * A local file.

Uses [FreeImage](http://freeimage.sourceforge.net/) as a backend decoder.
## Install
Additional features include:
* Ability to save the image.
* Some context 2d functionality, e.g. `drawImage`.
```
npm i -s image-raub
```

@@ -75,3 +82,6 @@ > Note: compilation tools must be in place on your system.

* `once(string type, function cb)` - listen for one Image event.
* `save(string dest, number ?w, number ?h)` - save Image to file. Resize to `w, h` is optional.
* `save(string dest)` - save Image to file. Resize to `w, h` is optional.
* `drawImage(src, ...)` - refer to
[drawImage](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage),
but optional params `dx, dy` are ignored.

@@ -78,0 +88,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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