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.2.7 to 1.2.8

46

package.json
{
"name": "imagemin-upng",
"version": "1.2.7",
"version": "1.2.8",
"description": "upng imagemin plugin",

@@ -10,8 +10,7 @@ "license": "MIT",

"email": "lionkay@gmail.com",
"url": "https://github.com/fisker"
"url": "https://www.fiskercheung.com/"
},
"engines": {
"node": ">=4"
},
"files": ["index.js"],
"files": [
"index.js"
],
"keywords": [

@@ -30,25 +29,29 @@ "compress",

"dependencies": {
"is-png": "^1.1.0",
"is-png": "^2.0.0",
"upng-js": "^2.1.0"
},
"scripts": {
"update-dependencies": "yarn upgrade-interactive --latest",
"test": "eslint index.js && ava",
"release": "npm --registry=https://registry.npmjs.org/ publish",
"semantic-release": "semantic-release"
"test": "ava",
"release": "run-s lint test prettier dist",
"lint": "run-p lint:*",
"lint:eslint": "eslint **/*.{js,mjs,vue} --fix",
"lint:markdown": "markdownlint **/*.md --ignore \"**/node_modules/**\"",
"dist": "run-p dist:*",
"dist:npm": "np --yolo --no-yarn",
"prettier": "prettier **/*.{css,html,js,json,less,md,scss,ts,vue,yaml,yml} --write"
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@xwtec/eslint-config": "^3.5.10",
"ava": "^1.2.1",
"@fisker/commitlint-config": "^1.0.2",
"@fisker/eslint-config": "^1.0.5",
"@fisker/lint-staged-config": "^1.0.1",
"@fisker/prettier-config": "^1.0.6",
"ava": "^1.4.1",
"cz-conventional-changelog-emoji": "^0.1.0",
"eslint": "^5.13.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint": "^5.16.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"markdownlint-cli": "^0.14.0",
"np": "^4.0.2",
"prettier": "^1.16.4",
"semantic-release": "^15.13.3"
"markdownlint-cli": "^0.15.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.17.0"
},

@@ -61,4 +64,5 @@ "config": {

"publishConfig": {
"registry": "https://registry.npmjs.org/"
"registry": "https://registry.npmjs.org/",
"access": "public"
}
}

@@ -14,7 +14,7 @@ # imagemin-upng

```js
const imagemin = require("imagemin")
const imageminUPNG = require("imagemin-upng")
const imagemin = require('imagemin')
const imageminUPNG = require('imagemin-upng')
imagemin(["images/*.png"], "build/images", {use: [imageminUPNG()]}).then(() => {
console.log("Images optimized")
imagemin(['images/*.png'], 'build/images', {use: [imageminUPNG()]}).then(() => {
console.log('Images optimized')
})

@@ -21,0 +21,0 @@ ```

Sorry, the diff of this file is not supported yet

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