Socket
Socket
Sign inDemoInstall

imagemin-upng

Package Overview
Dependencies
3
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.2 to 2.0.0

dist/1.js

8

dist/index.js

@@ -7,3 +7,3 @@ 'use strict'

var UPNG = _interopDefault(require('upng-js'))
var libUpng = require('lib-upng')
var isPng = _interopDefault(require('is-png'))

@@ -61,6 +61,6 @@

var img = UPNG.decode(input)
var img = libUpng.decode(input)
var output = Buffer.from(
UPNG.encode(
UPNG.toRGBA8(img),
libUpng.encode(
libUpng.toRGBA8(img),
img.width,

@@ -67,0 +67,0 @@ img.height,

{
"name": "imagemin-upng",
"version": "1.3.2",
"version": "2.0.0",
"description": "upng imagemin plugin",

@@ -71,11 +71,11 @@ "keywords": [

"is-png": "2.0.0",
"upng-js": "2.1.0"
"lib-upng": "1.0.0"
},
"devDependencies": {
"@babel/cli": "7.7.4",
"@babel/core": "7.7.4",
"@babel/preset-env": "7.7.4",
"@babel/cli": "7.7.7",
"@babel/core": "7.7.7",
"@babel/preset-env": "7.7.7",
"@commitlint/cli": "8.2.0",
"@fisker/commitlint-config": "1.1.4",
"@fisker/eslint-config": "1.5.1",
"@fisker/eslint-config": "1.5.6",
"@fisker/eslint-config-ava": "1.2.5",

@@ -89,15 +89,15 @@ "@fisker/husky-config": "1.1.5",

"del-cli": "3.0.0",
"eslint": "6.7.2",
"eslint": "6.8.0",
"esm": "3.2.25",
"husky": "3.1.0",
"lint-staged": "9.5.0",
"markdownlint-cli": "0.19.0",
"markdownlint-cli": "0.20.0",
"npm-run-all": "4.1.5",
"nyc": "14.1.1",
"nyc": "15.0.0",
"prettier": "1.19.1",
"rollup": "1.27.8",
"rollup": "1.27.14",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-filesize": "6.2.1",
"rollup-plugin-prettier": "0.6.0",
"sort-package-json": "1.30.0"
"sort-package-json": "1.31.0"
},

@@ -104,0 +104,0 @@ "publishConfig": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc