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

get-image-data

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-image-data - npm Package Compare versions

Comparing version

to
3.0.0

49

package.json
{
"name": "get-image-data",
"version": "2.2.2",
"version": "3.0.0",
"description": "A browser/server utility that extracts RGBA data from images.",

@@ -11,11 +11,15 @@ "main": "index.js",

"dependencies": {
"canvas": "~1.3.5",
"get-image": "~1.0.0"
"get-image": "~2.0.0"
},
"peerDependencies": {
"canvas": "~1.6.2"
},
"devDependencies": {
"tape": "~2.1.0",
"testling": "~1.7.1",
"brfs": "~0.0.8"
},
"scripts": {
"test": "tape ./test/server.js"
"test": "tape ./test/server.js",
"test:browser": "testling -u"
},

@@ -25,32 +29,9 @@ "testling": {

"browsers": {
"ie": [
8,
9,
10
],
"chrome": [
20,
25,
29
],
"firefox": [
4,
19,
24
],
"safari": [
5.1,
6
],
"opera": [
10,
12,
15
],
"iphone": [
6
],
"android": [
4.2
]
"ie": [8, 9, 10],
"chrome": [20, 25, 29],
"firefox": [4, 19, 24],
"safari": [5.1, 6],
"opera": [10, 12, 15],
"iphone": [6],
"android": [4.2]
}

@@ -57,0 +38,0 @@ },

# get-image-data
get-image-data is a browser/server utility that extracts RGBA data from images. It also provides the image’s height and width.
[![Build status](https://travis-ci.org/michaelrhodes/get-image-data.png?branch=master)](https://travis-ci.org/michaelrhodes/get-image-data)
[![Build status](https://travis-ci.org/michaelrhodes/get-image-data.svg?branch=master)](https://travis-ci.org/michaelrhodes/get-image-data)

@@ -13,3 +13,7 @@ [![Browser support](https://ci.testling.com/michaelrhodes/get-image-data.png)](https://ci.testling.com/michaelrhodes/get-image-data)

```
**note: canvas is not installed alongside get-image-data**
get-image-data requires [automattic/node-canvas](https://github.com/automattic/node-canvas) for its server/node variant, however, to avoid browser-only users from having to endure the native compilation process, it needs to be npm installed separately.
## Usage

@@ -16,0 +20,0 @@

Sorry, the diff of this file is not supported yet