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

texture-compressor

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

texture-compressor - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

4

lib/index.js

@@ -19,4 +19,4 @@ // Arguments

// Example: 2048 x 2048
if (!isSquare(width, height) && !isPowerOfTwo(width)) {
throw new Error('Input image must be square');
if (!isSquare(width, height) || !isPowerOfTwo(width) || !isPowerOfTwo(height)) {
throw new Error('Input image must be square and a power of two');
}

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

{
"name": "texture-compressor",
"version": "0.3.6",
"version": "0.3.7",
"description": "CLI tool for texture compression using ASTC, ETC, PVRTC and S3TC in a KTX container.",

@@ -5,0 +5,0 @@ "main": "index.js",

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