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

parse-png

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-png - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

13

index.js

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

return new Promise((resolve, reject) => {
const png = new PNG(opts);
let obj = {};
let png = new PNG(opts);

@@ -17,11 +16,7 @@ png.on('error', reject);

png.on('metadata', data => {
obj = data;
png = Object.assign(png, data);
});
png.on('parsed', data => {
obj.data = data;
obj.adjustGamma = png.adjustGamma.bind(png);
obj.bitblt = png.bitblt.bind(png);
obj.pack = png.pack.bind(png);
resolve(obj);
png.on('parsed', () => {
resolve(png);
});

@@ -28,0 +23,0 @@

{
"name": "parse-png",
"version": "1.1.0",
"version": "1.1.1",
"description": "Parse a PNG",

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

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