request-promise-core
Last updated
Was this helpful?
Last updated
Was this helpful?
This package is the core for the following packages:
request-promise-core
contains the core logic to add Promise support to .
Please use one of the libraries above. It is only recommended to use this library directly, if you have very specific requirements.
request@^2.34
This module is installed via npm:
request
is defined as a peer-dependency and thus has to be installed separately.
request@^2.34
request@next
To set up your development environment:
clone the repo to your desktop,
in the shell cd
to the main folder,
hit npm install
,
hit npm install gulp -g
if you haven't installed gulp globally yet, and
run gulp dev
. (Or run node ./node_modules/.bin/gulp dev
if 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 ./coverage/lcov-report/index.html
.
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.
1.1.4 (2020-07-21)
1.1.3 (2019-11-03)
1.1.2 (2019-02-14)
1.1.1 (2016-08-08)
1.1.0 (2016-07-30)
1.0.0 (2016-07-15)
All tests green, ready for prime time
1.0.0-rc.1 (2016-07-10)
Reimplementation of core logic based on request-promise@3.0.0
is still in alpha. However, request-promise-core
is already designed to be compatible and ships with a configuration helper – require('request-promise-core/configure/request-next')
– that is in its "next" branch.
Security fix: bumped lodash
to ^4.17.19
following .
Security fix: bumped lodash
to ^4.17.15
. See . (Thanks to @daniel-nagy for pull request and thanks to @quetzaluz for reporting this in issue .)
Security fix: bumped lodash
to ^4.17.11
. See . (Thanks to @lucaswillering and @sam-warren-finnair for reporting this in issues and and thanks to @Alec321 for pull request .)
Renamed package to request-promise-core
because there were issues with the scoped package name @request/promise-core
Added constructorMixin
option to enable
Plus transform2xxOnly
option (fixes )
In case you never heard about the it is functionally equivalent to the MIT license.
See the for details.