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

@drovp/optimize

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drovp/optimize - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

18

dist/index.js

@@ -85,3 +85,2 @@ "use strict";

description: `Compression quality, in range 0 (worst) to 100 (perfect).`,
hint: (value) => value,
},

@@ -194,3 +193,3 @@ {

description: `Set the strength of smooth dithered input.`,
hint: (value) => (value === 0 ? `disabled` : value),
hint: (value) => (!value ? `disabled` : undefined),
},

@@ -233,3 +232,2 @@ ],

description: `Compression quality, in range 0 (worst) to 100 (perfect).`,
hint: (value) => value,
isHidden: (_, options) => options.libwebp.mode !== 'quality',

@@ -246,3 +244,2 @@ },

description: `Set transparency-compression quality`,
hint: (value) => value,
isHidden: (_, options) => options.libwebp.mode !== 'quality',

@@ -259,3 +256,2 @@ },

description: `Specify the compression method to use, between 0 (fastest) and 6 (slowest). This parameter controls the trade off between encoding speed and the compressed file size and quality.`,
hint: (value) => value,
isHidden: (_, options) => options.libwebp.mode !== 'quality',

@@ -286,3 +282,2 @@ },

description: `Level of near-lossless image preprocessing. This option adjusts pixel values to help compressibility, but has minimal impact on the visual quality. It triggers lossless compression mode automatically. The range is <code>0</code> (maximum pre-processing) to <code>100</code> (same as lossless).`,
hint: (value) => value,
isHidden: (_, options) => options.libwebp.mode !== 'near_lossless',

@@ -307,3 +302,2 @@ },

description: `Set the amplitude of spatial noise shaping between 0 and 100.`,
hint: (value) => value,
},

@@ -319,3 +313,2 @@ {

description: `Set deblocking filter strength between <code>0</code> (off) and <code>100</code>. Typical values are usually in the range of <code>20</code> to <code>50</code>.`,
hint: (value) => value,
},

@@ -338,3 +331,2 @@ {

description: `Set filter sharpness between <code>0</code> (sharpest) and <code>7</code> (least sharp).`,
hint: (value) => value,
},

@@ -359,3 +351,2 @@ ],

Speed <code>11</code> disables dithering and lowers compression level.`,
hint: (value) => value,
},

@@ -372,3 +363,2 @@ {

<code>0</code> (worst) to <code>1</code> (perfect).`,
hint: (value) => value,
},

@@ -384,3 +374,2 @@ {

description: `Set the dithering level using a fractional number between <code>0</code> (none) and <code>1</code> (full).`,
hint: (value) => value,
},

@@ -420,3 +409,2 @@ {

`,
hint: (value) => value,
},

@@ -473,3 +461,2 @@ {

`,
hint: (value) => value,
},

@@ -485,3 +472,2 @@ {

description: `Reduce the number of distinct colors in each output GIF.`,
hint: (value) => value,
},

@@ -524,3 +510,2 @@ {

description: `Specify the compression factor for RGB channels between <code>0</code> and <code>100</code>. In case of lossless compression, a small factor enables faster compression speed, but produces a larger file. Maximum compression is achieved by using a value of <code>100</code>. In case of lossy compression (specified by the Lossy option), a small factor produces a smaller file with lower quality. Best quality is achieved by using a value of <code>100</code>.`,
hint: (value) => value,
},

@@ -536,3 +521,2 @@ {

description: `Specify the compression method to use. This parameter controls the trade off between encoding speed and the compressed file size and quality. Possible values range from <code>0</code> to <code>6</code>. When higher values are used, the encoder will spend more time inspecting additional encoding possibilities and decide on the quality gain. Lower value can result in faster processing time at the expense of larger file size and lower compression quality.`,
hint: (value) => value,
},

@@ -539,0 +523,0 @@ {

2

package.json
{
"name": "@drovp/optimize",
"version": "5.0.0",
"version": "5.0.1",
"description": "Perceptually lossless png, jpg, svg, webp, and gif size optimization.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/drovp/optimize",

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