node-webpmux
Advanced tools
+25
-25
@@ -75,27 +75,27 @@ const libwebpF = require('./libwebp/libwebp.js'); | ||
| checkAdv(advanced); | ||
| if (advanced.imageHint != undefined) { enc.advSetImageHint(advanced.imageHint); } | ||
| if (advanced.targetSize != undefined) { enc.advSetTargetSize(advanced.targetSize); } | ||
| if (advanced.targetPSNR != undefined) { enc.advSetTargetPSNR(advanced.targetPSNR); } | ||
| if (advanced.segments != undefined) { enc.advSetSegments(advanced.segments); } | ||
| if (advanced.snsStrength != undefined) { enc.advSetSnsStrength(advanced.snsStrength); } | ||
| if (advanced.filterStrength != undefined) { enc.advSetFilterStrength(advanced.filterStrength); } | ||
| if (advanced.filterSharpness != undefined) { enc.advSetFilterSharpness(advanced.filterSharpness); } | ||
| if (advanced.filterType != undefined) { enc.advSetFilterType(advanced.filterType); } | ||
| if (advanced.autoFilter != undefined) { enc.advSetAutoFilter(advanced.autoFilter); } | ||
| if (advanced.alphaCompression != undefined) { enc.advSetAlphaCompression(advanced.alphaCompression); } | ||
| if (advanced.alphaFiltering != undefined) { enc.advSetAlphaFiltering(advanced.alphaFiltering); } | ||
| if (advanced.alphaQuality != undefined) { enc.advSetAlphaQuality(advanced.alphaQuality); } | ||
| if (advanced.pass != undefined) { enc.advSetPass(advanced.pass); } | ||
| if (advanced.showCompressed != undefined) { enc.advSetShowCompressed(advanced.showCompressed); } | ||
| if (advanced.preprocessing != undefined) { enc.advSetPreprocessing(advanced.preprocessing); } | ||
| if (advanced.partitions != undefined) { enc.advSetPartitions(advanced.partitions); } | ||
| if (advanced.partitionLimit != undefined) { enc.advSetPartitionLimit(advanced.partitionLimit); } | ||
| if (advanced.emulateJpegSize != undefined) { enc.advSetEmulateJpegSize(advanced.emulateJpegSize); } | ||
| if (advanced.threadLevel != undefined) { enc.advSetThreadLevel(advanced.threadLevel); } | ||
| if (advanced.lowMemory != undefined) { enc.advSetLowMemory(advanced.lowMemory); } | ||
| if (advanced.nearLossless != undefined) { enc.advSetNearLossless(advanced.nearLossless); } | ||
| if (advanced.useDeltaPalette != undefined) { enc.advSetUseDeltaPalette(advanced.useDeltaPalette); } | ||
| if (advanced.useSharpYUV != undefined) { enc.advSetUseSharpYUV(advanced.useSharpYUV); } | ||
| if (advanced.qMin != undefined) { enc.advSetQMin(advanced.qMin); } | ||
| if (advanced.qMax != undefined) { enc.advSetQMax(advanced.qMax); } | ||
| if (advanced.imageHint != undefined) { enc.advImageHint(advanced.imageHint); } | ||
| if (advanced.targetSize != undefined) { enc.advTargetSize(advanced.targetSize); } | ||
| if (advanced.targetPSNR != undefined) { enc.advTargetPSNR(advanced.targetPSNR); } | ||
| if (advanced.segments != undefined) { enc.advSegments(advanced.segments); } | ||
| if (advanced.snsStrength != undefined) { enc.advSnsStrength(advanced.snsStrength); } | ||
| if (advanced.filterStrength != undefined) { enc.advFilterStrength(advanced.filterStrength); } | ||
| if (advanced.filterSharpness != undefined) { enc.advFilterSharpness(advanced.filterSharpness); } | ||
| if (advanced.filterType != undefined) { enc.advFilterType(advanced.filterType); } | ||
| if (advanced.autoFilter != undefined) { enc.advAutoFilter(advanced.autoFilter); } | ||
| if (advanced.alphaCompression != undefined) { enc.advAlphaCompression(advanced.alphaCompression); } | ||
| if (advanced.alphaFiltering != undefined) { enc.advAlphaFiltering(advanced.alphaFiltering); } | ||
| if (advanced.alphaQuality != undefined) { enc.advAlphaQuality(advanced.alphaQuality); } | ||
| if (advanced.pass != undefined) { enc.advPass(advanced.pass); } | ||
| if (advanced.showCompressed != undefined) { enc.advShowCompressed(advanced.showCompressed); } | ||
| if (advanced.preprocessing != undefined) { enc.advPreprocessing(advanced.preprocessing); } | ||
| if (advanced.partitions != undefined) { enc.advPartitions(advanced.partitions); } | ||
| if (advanced.partitionLimit != undefined) { enc.advPartitionLimit(advanced.partitionLimit); } | ||
| if (advanced.emulateJpegSize != undefined) { enc.advEmulateJpegSize(advanced.emulateJpegSize); } | ||
| if (advanced.threadLevel != undefined) { enc.advThreadLevel(advanced.threadLevel); } | ||
| if (advanced.lowMemory != undefined) { enc.advLowMemory(advanced.lowMemory); } | ||
| if (advanced.nearLossless != undefined) { enc.advNearLossless(advanced.nearLossless); } | ||
| if (advanced.useDeltaPalette != undefined) { enc.advUseDeltaPalette(advanced.useDeltaPalette); } | ||
| if (advanced.useSharpYUV != undefined) { enc.advUseSharpYUV(advanced.useSharpYUV); } | ||
| if (advanced.qMin != undefined) { enc.advQMin(advanced.qMin); } | ||
| if (advanced.qMax != undefined) { enc.advQMax(advanced.qMax); } | ||
| } | ||
@@ -102,0 +102,0 @@ p = api.allocBuffer(data.length); |
+1
-1
| { | ||
| "name": "node-webpmux", | ||
| "version": "3.1.2", | ||
| "version": "3.1.3", | ||
| "description": "A pure Javascript/WebAssembly re-implementation of webpmux", | ||
@@ -5,0 +5,0 @@ "main": "webp.js", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
818578
-0.01%