As of Feb 11th 2020,
request is fully deprecated. No new changes are expected to land. In fact, none have landed for some time. This package is also deprecated because it depends on
This package is similar to
request-promise but uses native ES6+ promises.
Please refer to the
request-promise documentation. Everything applies to
request-promise-native except the following:
.finally(...)method was not included until Node v10.
This module is installed via npm:
npm install --save request npm install --save request-promise-native
request is defined as a peer-dependency and thus has to be installed separately.
To set up your development environment:
cdto the main folder,
npm install gulp -gif you haven't installed gulp globally yet, and
gulp dev. (Or run
node ./node_modules/.bin/gulp devif you don't want to install gulp globally.)
gulp dev watches all source files and if you save some changes it will lint the code and execute all tests. The test coverage report can be viewed from
If you want to debug a test you should use
gulp test-without-coverage to run all tests without obscuring the code by the test coverage instrumentation.
^4.17.19following this advisory.
^2.3.3(Thanks to @evocateur for pointing this out.)
firstname.lastname@example.org make sure after the upgrade that
request-promise-nativeuse the same physical copy of
tough-cookieto a version without regex DoS vulnerability (Thanks to @sophieklm for pull request #13)
tough-cookiefor cookie creation
@request/promise-coreversion for safer versioning
In case you never heard about the ISC license it is functionally equivalent to the MIT license.
See the LICENSE file for details.