Releases: studioframes/condense
Releases · studioframes/condense
Release list
v1.0.3
v1.0.2
Immutable
release. Only release title and notes can be modified.
v0.3.18
v1.0.1
Immutable
release. Only release title and notes can be modified.
Fixes & Security
-
39bd252PDF Stream Scanning ReDoS Mitigation (pdfService): Replaced polynomial backtracking regular expression (stream...endstream) on uncontrolled binary stream data with an$O(N)$ linear-time index scanner (findPdfStreams) to eliminate Denial of Service risks on malicious or malformed streams (CodeQL #12). -
39bd252PDF XMP Packet Parser ReDoS Mitigation (pdfService): Replaced regular expression extraction of XML metadata packets (<?xpacket ... ?>) with a non-backtracking linear scanner (stripXmpPackets) preventing polynomial execution on adversarial repeated prefixes (CodeQL #11). -
e59b3d3SVG Inner Markup Comment Sanitization (svgSpriteService): Implemented recursive iterative sanitization loop when stripping XML declarations, DOCTYPEs, and comments (<!-- ... -->) to resolve incomplete multi-character sanitization and prevent nested comment element injection (CodeQL #13).
Dependencies
DevDependencies
1002531Update@types/nodefrom26.2.0to26.3.0
v1.0.0
Added
-
bcd7182Perceptual Image Compression (optimizePerceptualImage): Binary search quality tuner guided by Structural Similarity Index (SSIM) and Peak Signal-to-Noise Ratio (PSNR) metrics to maximize file size reduction while mathematically preserving perceptual fidelity above target thresholds. -
bcd7182Responsive Image Matrix (generateResponsiveMatrix): Multi-breakpoint responsive image set generator outputting WebP and AVIF variants along with optimized HTML5<picture>markup. -
bcd7182Cross-Document Token Mangling (mangleTokens): Coordinated shortening of HTML class names and IDs across interconnected HTML, CSS, and JS files to save network payload size while maintaining selector integrity. -
bcd7182In-Memory SVG Spritesheet Packing (packSvgSprites): Bundles individual SVG icons into clean, consolidated<svg><defs><symbol>spritesheets with preservedviewBoxcoordinates. -
bcd7182In-Memory ZIP / Archive Optimizer (optimizeZip): Pure in-memory ZIP decompression, parallel recursive asset optimization (images, code, fonts, binaries), and repacking with maximum DEFLATE compression usingfflate. -
bcd7182SFNT & WOFF Font Table Stripper (optimizeFont): Strips non-essential metadata tables (DSIG,hdmx,LTSH,PCLT) from OpenType/TrueType binaries with automatic table directory recalculation. -
bcd7182In-Memory PDF Optimizer (optimizePdf): In-memory PDF minification stripping comments, XML metadata packets, and recompresses text/stream objects. -
bcd7182Fluent Chainable Pipeline API (createPipeline): Builder pattern API (.preset(),.resize(),.perceptual(),.toBuffer(),.toStream()) for composing multi-step optimization flows. -
bcd7182Multi-Threaded Worker Pool (WorkerPool,getWorkerPool): Background thread pool leveraging Node.jsworker_threadsfor non-blocking parallel optimization with seamless fallback for single-threaded environments. -
bcd7182Preset Engine (presetService): Built-in production presets (web-hero,avatar-thumbnail,production-bundle,ultra-archive,email-safe,social-share) with custom preset registration support. -
bcd7182Enterprise Telemetry & ROI Tracking (telemetryService): Real-time tracking of processed files, bytes saved, estimated financial cost savings ($USD), and carbon reduction ($ \text{gCO}_2$).
Changed
v0.3.17
DevDependencies
2ca7d6eUpdateeslintfrom10.8.1to10.9.0
v0.3.16
v0.3.15
Dependencies
f9164e3Updateesbuildfrom0.28.1to0.28.2
v0.3.14
v0.3.13
Dependencies
a2a1f16Updateterserfrom5.49.0to5.49.1