github sindresorhus/got v10.0.0-beta.2

While this is an beta release, the code is well-tested and fairly stable. We encourage you to test it out and report any issues.

$ npm install got@10.0.0-beta.2

Make sure you also read the alpha.1, alpha.2, alpha.3, and beta.1 release notes.

Changes in beta 2:


  • Use the responseType option instead of encoding to get a Buffer (#940) 6cc3d9f
    Previously, you would pass {encoding: null} to get a Buffer, but this was confusing. You now use {responseType: 'buffer'} instead.


  • Preserve stack trace when wrapping errors (#935) 8874a45
  • Make TypeScript types conforms to strict mode (#928) c537dee


  • Make the progress events not be based on internal Node.js properties cd11a50

latest releases: v11.7.0, v11.6.2, v11.6.1...
pre-release20 months ago