{ "_args": [ [ { "raw": "request-promise-native@^1.0.5", "scope": null, "escapedName": "request-promise-native", "name": "request-promise-native", "rawSpec": "^1.0.5", "spec": ">=1.0.5 <2.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl" ] ], "_from": "request-promise-native@>=1.0.5 <2.0.0", "_id": "request-promise-native@1.0.5", "_inCache": true, "_location": "/request-promise-native", "_nodeVersion": "4.8.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/request-promise-native-1.0.5.tgz_1506099256263_0.1273770765401423" }, "_npmUser": { "name": "analog-nico", "email": "nicolai.kamenzky@testrails.org" }, "_npmVersion": "2.15.11", "_phantomChildren": {}, "_requested": { "raw": "request-promise-native@^1.0.5", "scope": null, "escapedName": "request-promise-native", "name": "request-promise-native", "rawSpec": "^1.0.5", "spec": ">=1.0.5 <2.0.0", "type": "range" }, "_requiredBy": [ "/xdl" ], "_resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.5.tgz", "_shasum": "5281770f68e0c9719e5163fd3fab482215f4fda5", "_shrinkwrap": null, "_spec": "request-promise-native@^1.0.5", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl", "author": { "name": "Nicolai Kamenzky", "url": "https://github.com/analog-nico" }, "bugs": { "url": "https://github.com/request/request-promise-native/issues" }, "dependencies": { "request-promise-core": "1.1.1", "stealthy-require": "^1.1.0", "tough-cookie": ">=2.3.3" }, "description": "The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.", "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", "request": "^2.34.0", "rimraf": "~2.5.3", "run-sequence": "~1.2.2" }, "directories": {}, "dist": { "shasum": "5281770f68e0c9719e5163fd3fab482215f4fda5", "tarball": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.5.tgz" }, "engines": { "node": ">=0.12.0" }, "gitHead": "1874877850a59152915c9e9cbacbdc577486cca5", "homepage": "https://github.com/request/request-promise-native#readme", "keywords": [ "xhr", "http", "https", "promise", "request", "then", "thenable", "native" ], "license": "ISC", "main": "./lib/rp.js", "maintainers": [ { "name": "analog-nico", "email": "nicolai.kamenzky@testrails.org" }, { "name": "request", "email": "request@outofindex.com" } ], "name": "request-promise-native", "optionalDependencies": {}, "peerDependencies": { "request": "^2.34" }, "readme": "\n \"Promises/A+\n\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\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- Mind that native ES6 promises have fewer features than Bluebird promises do. In particular, the `.finally(...)` method is not available.\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.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", "repository": { "type": "git", "url": "git+https://github.com/request/request-promise-native.git" }, "scripts": { "prepublish": "publish-please guard", "publish-please": "publish-please", "test": "gulp ci", "test-publish": "gulp ci-no-cov" }, "version": "1.0.5" }