{"_id":"@api555/request-promise-native","_rev":"1-fe6cd36f684da229902178ada428031d","name":"@api555/request-promise-native","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.8":{"name":"@api555/request-promise-native","version":"1.0.8","description":"The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.","keywords":["xhr","http","https","promise","request","then","thenable","native"],"main":"./lib/rp.js","scripts":{"test":"gulp ci","test-publish":"gulp ci-no-cov"},"repository":{"type":"git","url":"git+https://github.com/gitapi555/request-promise-native.git"},"author":{"name":"Nicolai Kamenzky","url":"https://github.com/analog-nico"},"license":"ISC","bugs":{"url":"https://github.com/gitapi555/request-promise-native/issues"},"homepage":"https://github.com/gitapi555/request-promise-native#readme","engines":{"node":">=0.12.0"},"dependencies":{"request-promise-core":"1.1.3","stealthy-require":"^1.1.1","tough-cookie":"^2.3.3"},"peerDependencies":{"request":"^2.34"},"devDependencies":{"body-parser":"~1.15.2","chai":"~3.5.0","chalk":"~1.1.3","gulp":"~3.9.1","gulp-coveralls":"~0.1.4","gulp-eslint":"~2.1.0","gulp-istanbul":"~1.0.0","gulp-mocha":"~2.2.0","lodash":"~4.13.1","publish-please":"~2.1.4","@api555/request":"^2.34.0","rimraf":"~2.5.3","run-sequence":"~1.2.2"},"gitHead":"6b4b5c329f5d97c92d0ab2b18bc799691343588b","_id":"@api555/request-promise-native@1.0.8","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"api555","email":"api555@mail.chungyo.net"},"dist":{"integrity":"sha512-VbrfQSEXQw+aVomycBsx77BkgjndvYAeZII1zZfLWRdMXK5owGtRUXd9IH6IwcGC9ZmzwKFrIDZEn4PU1DVjYA==","shasum":"c81508aeadde112c26372af240c6e6f0e7b12807","tarball":"https://registry.npmjs.org/@api555/request-promise-native/-/request-promise-native-1.0.8.tgz","fileCount":5,"unpackedSize":8364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6zvECRA9TVsSAnZWagAAPTIP/1ABsZhkjcVFnugISE86\nEYW+yid2Se5yRXVJ6yiPWz3SvsHt/qdFmIEitD/hbwOlfZLwNYlEePXAXGd6\nVI8KMbh3hA0gZxlrKruxz0In9Gjzad34Lsc/J/mNzCS5CEugRMYwLU5N8FYe\n5+sn68BMbAK0r2K/h8//qUWyTMYgspUcBTYBtIlmchdpNVuI/d6sOzsby0DP\nA2r8JIUiJSUDXmw68vFahTGazn+YE3VaiyrPu//LMXRmD4eAMkvjEcSvDl7c\npZX+G/L5Yg24x75joBb8OjZHhM3S2GdV9CgC0ko8bEp1hKss2WDjS0HI1sVh\nJM7U1SeQqE/ckx8ri0iuDoW2fewXNC6owMvIL0OZk9Csw83cUSvVZ2Zva5LR\nb5C9z0Q/dn8/RIyNEYPma15nK931SvE7bY457MfSjK8JEH5JaQJtACl16eFd\n6ceUMcR9mLwaOw7oSGJhxL2qS6otXQvGkJ67NF/PiWMQJ37S7jFXWgp3X7iz\nEdzSgrswb3mbAjrIApx9TzyTyb9oGvgC34f1k1Wh6LPOOr5NqXSjAhx6OsAy\nVojJ3SCKH7fAarxgf/nSIL6lMEoixWB4wGZ153vFVZC4C+pz3j2fyjSlRl8G\nWJ78SmLTGIvPTMCR7ClhoK7gOCk67VrLF9KcbyhQtc8ShTNut9bRBxTfPAGK\nFL6o\r\n=32FU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICn7h9yn0nkDXLtA0vPs9m82jWSJlF1+HvHBuW0Dv92eAiEA7gYoXQMBnH0xK08AxSTIrEbFKC5ERl3sN1c5tujaixE="}]},"maintainers":[{"name":"api555","email":"api555@mail.chungyo.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-promise-native_1.0.8_1592474564279_0.9544696436502895"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-18T10:02:44.223Z","1.0.8":"2020-06-18T10:02:44.395Z","modified":"2022-04-04T14:34:46.871Z"},"maintainers":[{"name":"api555","email":"api555@mail.chungyo.net"}],"description":"The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.","homepage":"https://github.com/gitapi555/request-promise-native#readme","keywords":["xhr","http","https","promise","request","then","thenable","native"],"repository":{"type":"git","url":"git+https://github.com/gitapi555/request-promise-native.git"},"author":{"name":"Nicolai Kamenzky","url":"https://github.com/analog-nico"},"bugs":{"url":"https://github.com/gitapi555/request-promise-native/issues"},"license":"ISC","readme":"<a href=\"http://promisesaplus.com/\">\n    <img src=\"https://promises-aplus.github.io/promises-spec/assets/logo-small.png\" align=\"right\" alt=\"Promises/A+ logo\" />\n</a>\n\n# Request-Promise-Native\n\n[![Gitter](https://img.shields.io/badge/gitter-join_chat-blue.svg?style=flat-square&maxAge=2592000)](https://gitter.im/request/request-promise?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n[![Build Status](https://img.shields.io/travis/request/request-promise-native/master.svg?style=flat-square&maxAge=2592000)](https://travis-ci.org/request/request-promise-native)\n[![Coverage Status](https://img.shields.io/coveralls/request/request-promise-native.svg?style=flat-square&maxAge=2592000)](https://coveralls.io/r/request/request-promise-native)\n[![Dependency Status](https://img.shields.io/david/request/request-promise-native.svg?style=flat-square&maxAge=2592000)](https://david-dm.org/request/request-promise-native)\n[![Known Vulnerabilities](https://snyk.io/test/npm/request-promise-native/badge.svg?style=flat-square&maxAge=2592000)](https://snyk.io/test/npm/request-promise-native)\n\n# Deprecated!\n\nAs of Feb 11th 2020, [`request`](https://github.com/request/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 `request`.\n\nFyi, here is the [reasoning of `request`'s deprecation](https://github.com/request/request/issues/3142) and a [list of alternative libraries](https://github.com/request/request/issues/3143).\n\n---\n\nThis package is similar to [`request-promise`](https://www.npmjs.com/package/request-promise) but uses native ES6+ promises.\n\nPlease refer to the [`request-promise` documentation](https://www.npmjs.com/package/request-promise). Everything applies to `request-promise-native` except the following:\n- Instead of using Bluebird promises this library uses native ES6+ promises.\n- Native ES6+ promises may have fewer features than Bluebird promises do. In particular, the `.finally(...)` method was not included until Node v10.\n\n## Installation\n\nThis module is installed via npm:\n\n```\nnpm install --save request\nnpm install --save request-promise-native\n```\n\n`request` is defined as a peer-dependency and thus has to be installed separately.\n\n## Migration from `request-promise` to `request-promise-native`\n\n1. Go through the [migration instructions](https://github.com/request/request-promise#migration-from-v3-to-v4) to upgrade to `request-promise` v4.\n2. Ensure that you don't use Bluebird-specific features on the promise returned by your request calls. In particular, you can't use `.finally(...)` anymore.\n3. You are done.\n\n## Contributing\n\nTo set up your development environment:\n\n1. clone the repo to your desktop,\n2. in the shell `cd` to the main folder,\n3. hit `npm install`,\n4. hit `npm install gulp -g` if you haven't installed gulp globally yet, and\n5. run `gulp dev`. (Or run `node ./node_modules/.bin/gulp dev` if you don't want to install gulp globally.)\n\n`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`.\n\nIf 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.\n\n## Change History\n\n- v1.0.8 (2019-11-03)\n    - Security fix: bumped `request-promise-core` which bumps `lodash` to `^4.17.15`. See [vulnerabilty reports](https://snyk.io/vuln/search?q=lodash&type=npm).\n      *(Thanks to @aw-davidson for reporting this in issue [#49](https://github.com/request/request-promise-native/issues/49).)*\n- v1.0.7 (2019-02-14)\n    - Corrected mistakenly set `tough-cookie` version, now `^2.3.3`\n      *(Thanks to @evocateur for pointing this out.)*\n    - If you installed `request-promise-native@1.0.6` please make sure after the upgrade that `request` and `request-promise-native` use the same physical copy of `tough-cookie`.\n- v1.0.6 (2019-02-14)\n    - Using stricter `tough-cookie@~2.3.3` to avoid installing `tough-cookie@3` which introduces breaking changes\n      *(Thanks to @jasonmit for pull request [#33](https://github.com/request/request-promise-native/pull/33/))*\n    - Security fix: bumped `lodash` to `^4.17.11`, see [vulnerabilty reports](https://snyk.io/vuln/search?q=lodash&type=npm)\n- v1.0.5 (2017-09-22)\n    - Upgraded `tough-cookie` to a version without regex DoS vulnerability\n      *(Thanks to @sophieklm for [pull request #13](https://github.com/request/request-promise-native/pull/13))*\n- v1.0.4 (2017-05-07)\n    - Fix that allows to use `tough-cookie` for [cookie creation](https://github.com/request/request-promise#include-a-cookie)\n- v1.0.3 (2016-08-08)\n    - Renamed internally used package `@request/promise-core` to `request-promise-core` because there where [too](https://github.com/request/request-promise/issues/137) [many](https://github.com/request/request-promise/issues/141) issues with the scoped package name\n- v1.0.2 (2016-07-18)\n    - Fix for using with module bundlers like Webpack and Browserify\n- v1.0.1 (2016-07-17)\n    - Fixed `@request/promise-core` version for safer versioning\n- v1.0.0 (2016-07-15)\n    - Initial version similar to [`request-promise`](https://www.npmjs.com/package/request-promise) v4\n\n## License (ISC)\n\nIn case you never heard about the [ISC license](http://en.wikipedia.org/wiki/ISC_license) it is functionally equivalent to the MIT license.\n\nSee the [LICENSE file](LICENSE) for details.\n","readmeFilename":"README.md"}