Skip to content

Releases: jshttp/compressible

1.0.1

13 May 17:47
Compare
Choose a tag to compare
  • [feature] Less extraneous regex.
  • [feature] Also fast-strip charsets in .get().

1.0.0

01 Jan 17:30
Compare
Choose a tag to compare
  • [feature] Handles common & "exception" content-types before regex fallback.
  • [feature] High-performance charset stripping.
  • [fix] Now handles charsets.
  • [fix] Now handles falsey cases.
  • [other] Added benchmarks.
  • [specs]
    • + font/opentype
    • + application/x-font-otf
    • + application/dart
    • + application/msword
    • + image/vnd.adobe.photoshop
    • fixed application/x-pkcs12

0.2.0

23 Dec 18:25
Compare
Choose a tag to compare
  • [feature] Faster checking of known Content-Types by object lookup, with regex fallback.
  • [feature] New compressible.get(type) function.
  • [feature] specifications.json is now an object to allow for lookups by name.
  • [fix] compressible.regex is now properly defined
  • [fix] Alphabetized specifications.json
  • [other] Better tests.