decompress-response

Decompress a HTTP response if needed

MIT License

Downloads
89.4M
Stars
70
Committers
10

Bot releases are visible (Hide)

decompress-response - Latest Release

Published by sindresorhus over 1 year ago

decompress-response -

Published by sindresorhus almost 3 years ago

Breaking

  • Require Node.js 12.20 2436048
  • This package is now pure ESM. Please read this.

Fixes

  • Preserve content-encoding header if the respose is passed through b35646b

https://github.com/sindresorhus/decompress-response/compare/v7.0.0...v8.0.0

decompress-response -

Published by sindresorhus over 3 years ago

Breaking

  • Remove content-encoding header (#30) 9355974
    It should only be a breaking change for TypeScript users since the return type changed.

https://github.com/sindresorhus/decompress-response/compare/v6.0.0...v7.0.0

decompress-response -

Published by sindresorhus over 4 years ago

  • Node.js compatibility fixes (#27) c17015d
    This is a major release just to be safe. It should in theory not be breaking.

https://github.com/sindresorhus/decompress-response/compare/v5.0.0...v6.0.0

decompress-response -

Published by sindresorhus almost 5 years ago

Breaking

  • Require Node.js 10 cad4054
    This is so that we can use stream.pipeline for more reliable stream handling. Node.js 8 will exit LTS in a month anyway.
  • Only use a CommonJS export for the TypeScript definition
    You need to change import decompressResponse from 'decompress-response'; to import decompressResponse = require('decompress-response');

https://github.com/sindresorhus/decompress-response/compare/v4.2.1...v5.0.0

decompress-response -

Published by sindresorhus about 5 years ago

  • Case-insensitively check the content-encoding header (#21) 01397b5

https://github.com/sindresorhus/decompress-response/compare/v4.2.0...v4.2.1

decompress-response -

Published by sindresorhus over 5 years ago

  • Refactor TypeScript definition to CommonJS compatible export (#17) 03c09de

https://github.com/sindresorhus/decompress-response/compare/v4.1.0...v4.2.0

decompress-response -

Published by sindresorhus over 5 years ago

decompress-response -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Node.js 8 b2917dd

Other:

  • Add support for Brotli encoding (#15) 9748dd9