Packages

request

2.88.2 · 11 Feb 2020Apache-2.013.5M / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: request has been deprecated, see https://github.com/request/request/issues/3142What to use instead
Your version

2.45.0

6 Oct 2014Where it was published

2.88.2 is the newest release of 2.x.

npm marks 2.45.0 as deprecated: request has been deprecated, see request/request#3142

In short

6 new3 fixed16 changed1 internal

Security

2 advisories affect 2.45.0; 2.68.0 fixes the others

Release note

v2.45.0 (2014/10/06)

  • Add test for setCookie regression

  • Added tests around using objects as values in a query string

  • Support/refactor request constructor (@nylen, @seanstrom)

  • Add basic linting to request library

  • Revert "Explicitly use sync versions of cookie functions"

  • Linting fix: Restructure bad empty if statement

  • Fix a bad check for valid URIs

  • Linting fix: space out operators

  • Linting fix: Added a new operator that was missing when creating and throwing a new error

  • No_proxy support

  • linting-fix: Remove unused variables

  • Linting fix: Make return values consistent and more straitforward

  • Linting fix: authPieces was getting redeclared

  • Use strict mode in request

  • Linting fix: replace lazy '==' with more strict '==='

  • Linting fix: remove function call from if-else conditional statement

  • Fix to allow setting a requester on recursive calls to request.defaults

  • Tweaking engines in package.json

  • Forward the socket event from the httpModule request

  • Clarify gzip handling in the README

  • Mention that encoding defaults to utf8, not Buffer

  • Fix cookie example in README.md and make it more clear

  • Add support for multipart form data in request options.

  • Use Request.abort() to abort the request when the request has timed-out

  • Add optional postamble required by .NET multipart requests

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.