Huge News!Announcing our $40M Series B led by Abstract Ventures.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 2.2.1 to 2.2.2

7

index.js

@@ -17,4 +17,9 @@ var fs = require('fs')

callback(null, shared(canvas)(image))
try {
callback(null, shared(canvas)(image))
}
catch (e) {
callback(e)
}
})
}

2

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

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -25,7 +25,7 @@ # get-image-data

for (var i = 0, l = data.length, i < l; i += 4) {
for (var i = 0, l = data.length; i < l; i += 4) {
var red = data[i]
var green = data[i + 1]
var blue = data[i + 2]
var alpha = data[i + 3]
var alpha = data[i + 3]
}

@@ -32,0 +32,0 @@ })

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