GT2/GT2-iOS/node_modules/request-promise-core/package.json

125 lines
8.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_args": [
[
{
"raw": "request-promise-core@1.1.1",
"scope": null,
"escapedName": "request-promise-core",
"name": "request-promise-core",
"rawSpec": "1.1.1",
"spec": "1.1.1",
"type": "version"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/request-promise-native"
]
],
"_from": "request-promise-core@1.1.1",
"_id": "request-promise-core@1.1.1",
"_inCache": true,
"_location": "/request-promise-core",
"_nodeVersion": "4.4.7",
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/request-promise-core-1.1.1.tgz_1470653050030_0.3952387892641127"
},
"_npmUser": {
"name": "analog-nico",
"email": "nicolai.kamenzky@testrails.org"
},
"_npmVersion": "2.15.8",
"_phantomChildren": {},
"_requested": {
"raw": "request-promise-core@1.1.1",
"scope": null,
"escapedName": "request-promise-core",
"name": "request-promise-core",
"rawSpec": "1.1.1",
"spec": "1.1.1",
"type": "version"
},
"_requiredBy": [
"/request-promise-native"
],
"_resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.1.tgz",
"_shasum": "3eee00b2c5aa83239cfb04c5700da36f81cd08b6",
"_shrinkwrap": null,
"_spec": "request-promise-core@1.1.1",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/request-promise-native",
"author": {
"name": "Nicolai Kamenzky",
"url": "https://github.com/analog-nico"
},
"bugs": {
"url": "https://github.com/request/promise-core/issues"
},
"dependencies": {
"lodash": "^4.13.1"
},
"description": "Core Promise support implementation for the simplified HTTP request client 'request'.",
"devDependencies": {
"@request/api": "^0.6.0",
"@request/client": "^0.1.0",
"bluebird": "~3.4.1",
"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",
"node-version": "~1.0.0",
"publish-please": "~2.1.4",
"request": "^2.34.0",
"rimraf": "~2.5.3",
"run-sequence": "~1.2.2",
"stealthy-require": "~1.0.0"
},
"directories": {},
"dist": {
"shasum": "3eee00b2c5aa83239cfb04c5700da36f81cd08b6",
"tarball": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.1.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"gitHead": "0e1cc64e5adf09aac5523bcf34ba76baefb96a70",
"homepage": "https://github.com/request/promise-core#readme",
"keywords": [
"xhr",
"http",
"https",
"promise",
"request",
"then",
"thenable",
"core"
],
"license": "ISC",
"main": "./lib/plumbing.js",
"maintainers": [
{
"name": "analog-nico",
"email": "nicolai.kamenzky@testrails.org"
}
],
"name": "request-promise-core",
"optionalDependencies": {},
"peerDependencies": {
"request": "^2.34"
},
"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-core\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/promise-core/master.svg?style=flat-square&maxAge=2592000)](https://travis-ci.org/request/promise-core)\n[![Coverage Status](https://img.shields.io/coveralls/request/promise-core.svg?style=flat-square&maxAge=2592000)](https://coveralls.io/r/request/promise-core)\n[![Dependency Status](https://img.shields.io/david/request/promise-core.svg?style=flat-square&maxAge=2592000)](https://david-dm.org/request/promise-core)\n[![Known Vulnerabilities](https://snyk.io/test/npm/promise-core/badge.svg?style=flat-square&maxAge=2592000)](https://snyk.io/test/npm/promise-core)\n\n\nThis package is the core for the following packages:\n\n- [`request-promise`](https://github.com/request/request-promise)\n- [`request-promise-any`](https://github.com/request/request-promise-any)\n- [`request-promise-bluebird`](https://github.com/request/request-promise-bluebird)\n- [`request-promise-native`](https://github.com/request/request-promise-native)\n\n`request-promise-core` contains the core logic to add Promise support to [`request`](https://github.com/request/request).\n\nPlease use one of the libraries above. It is only recommended to use this library directly, if you have very specific requirements.\n\n## Installation for `request@^2.34`\n\nThis module is installed via npm:\n\n```\nnpm install --save request\nnpm install --save request-promise-core\n```\n\n`request` is defined as a peer-dependency and thus has to be installed separately.\n\n## Usage for `request@^2.34`\n\n``` js\n// 1. Load the request library\n\n// Only use a direct require if you are 100% sure that:\n// - Your project does not use request directly. That is without the Promise capabilities by calling require('request').\n// - Any of the installed libraries use request.\n// ...because Request's prototype will be patched in step 2.\n/* var request = require('request'); */\n\n// Instead use:\nvar stealthyRequire = require('stealthy-require');\nvar request = stealthyRequire(require.cache, function () {\n return require('request');\n});\n\n\n// 2. Add Promise support to request\n\nvar configure = require('request-promise-core/configure/request2');\n\nconfigure({\n request: request,\n\t// Pass your favorite ES6-compatible promise implementation\n PromiseImpl: Promise,\n\t// Expose all methods of the promise instance you want to call on the request(...) call\n expose: [\n 'then', // Allows to use request(...).then(...)\n 'catch', // Allows to use request(...).catch(...)\n 'promise' // Allows to use request(...).promise() which returns the promise instance\n ],\n // Optional: Pass a callback that is called within the Promise constructor\n constructorMixin: function (resolve, reject) {\n // `this` is the request object\n // Additional arguments may be passed depending on the PromiseImpl used\n }\n});\n\n\n// 3. Use request with its promise capabilities\n\n// E.g. crawl a web page:\nrequest('http://www.google.com')\n .then(function (htmlString) {\n // Process html...\n })\n .catch(function (err) {\n // Crawling failed...\n });\n```\n\n## Installation and Usage for `request@next`\n\n[Request Next](https://github.com/request/request/issues/1982) 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 [used by `request-promise`](https://github.com/request/request-promise/blob/next/lib/rp.js) in its \"next\" branch.\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- 1.1.1 (2016-08-08)\n - Renamed package to `request-promise-core` because there where [too many issues](https://github.com/request/request-promise/issues/137) with the scoped package name `@request/promise-core`\n- 1.1.0 (2016-07-30)\n - Added `constructorMixin` option to enable [request/request-promise#123](https://github.com/request/request-promise/pull/123)\n- 1.0.0 (2016-07-15)\n - All tests green, ready for prime time\n- 1.0.0-rc.1 (2016-07-10)\n - Reimplementation of core logic based on `request-promise@3.0.0`\n - Plus `transform2xxOnly` option (fixes [request/request-promise#131](https://github.com/request/request-promise/issues/131))\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.",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/request/promise-core.git"
},
"scripts": {
"prepublish": "publish-please guard",
"publish-please": "publish-please",
"test": "gulp ci",
"test-publish": "gulp ci-no-cov"
},
"version": "1.1.1"
}