request
2.88.2 · 11 Feb 2020Apache-2.013.5M / weekRepositoryHomepagenpmAtom feed
2.88.2 is the newest release of 2.x.
In short
6 new3 fixed16 changed1 internal
Security
2 advisories affect 2.45.0; 2.68.0 fixes the others
- ModerateServer-Side Request Forgery in RequestGHSA-p8p7-x288-28g6 · 16 Mar 2023No fix yet
- ModerateRemote Memory Exposure in requestGHSA-7xfp-9c55-5vqj · 9 Nov 2018Fixed in 2.68.0
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
newoperator that was missing when creating and throwing a new errorNo_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
requesteron recursive calls torequest.defaultsTweaking 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.