probe-image-size v3.0.0 Release Notes

Release Date: 2016-12-02 // over 5 years ago
  • ๐Ÿ”„ Changed

    • Rewrite internals to Promise.
    • ๐Ÿ‘ Separate options from url for http probe (old signature still supported for compatibility).
    • err.status -> err.statusCode
    • โœ‚ remove { rejectUnauthorized: false } from defaults.
    • โšก๏ธ User-Agent string update.
    • Replaced request dependency with got (read options description in doc).
    • Retry requests on network fail.
    • Switched from readable-stream to native stream (node 4+ has normal Stream3).
    • Proper class for errors.