Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f)

This commit is contained in:
anaarmas 2020-04-28 16:46:47 +02:00
commit 28ccc3db2d
13974 changed files with 2618436 additions and 0 deletions

22
node_modules/@octokit/rest/LICENSE generated vendored Normal file
View file

@ -0,0 +1,22 @@
The MIT License
Copyright (c) 2012 Cloud9 IDE, Inc. (Mike de Boer)
Copyright (c) 2017-2018 Octokit contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

46
node_modules/@octokit/rest/README.md generated vendored Normal file
View file

@ -0,0 +1,46 @@
# rest.js
> GitHub REST API client for JavaScript
[![@latest](https://img.shields.io/npm/v/@octokit/rest.svg)](https://www.npmjs.com/package/@octokit/rest)
![Build Status](https://github.com/octokit/rest.js/workflows/Test/badge.svg)
[![Greenkeeper](https://badges.greenkeeper.io/octokit/rest.js.svg)](https://greenkeeper.io/)
## Installation
```shell
npm install @octokit/rest
```
## Usage
```js
const { Octokit } = require("@octokit/rest");
const octokit = new Octokit();
// Compare: https://developer.github.com/v3/repos/#list-organization-repositories
octokit.repos
.listForOrg({
org: "octokit",
type: "public"
})
.then(({ data }) => {
// handle data
});
```
See https://octokit.github.io/rest.js/ for full documentation.
## Contributing
We would love you to contribute to `@octokit/rest`, pull requests are very welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for more information.
## Credits
`@octokit/rest` was originally created as [`node-github`](https://www.npmjs.com/package/github) in 2012 by Mike de Boer from Cloud9 IDE, Inc.
It was adopted and renamed by GitHub in 2017
## LICENSE
[MIT](LICENSE)

22
node_modules/@octokit/rest/dist-node/index.js generated vendored Normal file
View file

@ -0,0 +1,22 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@octokit/core');
var pluginRequestLog = require('@octokit/plugin-request-log');
var pluginPaginateRest = require('@octokit/plugin-paginate-rest');
var pluginRestEndpointMethods = require('@octokit/plugin-rest-endpoint-methods');
const VERSION = "17.1.0";
const Octokit = core.Octokit.plugin([// Workaround to prevent TypeScript from widening the inferred return type of
// plugins passed to Octokit, which would result in type information (e.g.
// methods provided by plugins) not being added to Octokit instances.
//
// See https://github.com/octokit/core.js/issues/51#issuecomment-596846088
pluginRequestLog.requestLog, pluginRestEndpointMethods.restEndpointMethods, pluginPaginateRest.paginateRest]).defaults({
userAgent: `octokit-rest.js/${VERSION}`
});
exports.Octokit = Octokit;
//# sourceMappingURL=index.js.map

1
node_modules/@octokit/rest/dist-node/index.js.map generated vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"17.1.0\";\n","import { Octokit as Core } from \"@octokit/core\";\nimport { requestLog } from \"@octokit/plugin-request-log\";\nimport { paginateRest } from \"@octokit/plugin-paginate-rest\";\nimport { restEndpointMethods } from \"@octokit/plugin-rest-endpoint-methods\";\nimport { VERSION } from \"./version\";\nexport const Octokit = Core.plugin([\n // Workaround to prevent TypeScript from widening the inferred return type of\n // plugins passed to Octokit, which would result in type information (e.g.\n // methods provided by plugins) not being added to Octokit instances.\n //\n // See https://github.com/octokit/core.js/issues/51#issuecomment-596846088\n requestLog,\n restEndpointMethods,\n paginateRest\n]).defaults({\n userAgent: `octokit-rest.js/${VERSION}`\n});\n"],"names":["VERSION","Octokit","Core","plugin","requestLog","restEndpointMethods","paginateRest","defaults","userAgent"],"mappings":";;;;;;;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;MCKMC,OAAO,GAAGC,YAAI,CAACC,MAAL,CAAY;AAE/B;AACA;AACA;AACA;AACAC,2BAN+B,EAO/BC,6CAP+B,EAQ/BC,+BAR+B,CAAZ,EASpBC,QAToB,CASX;AACRC,EAAAA,SAAS,EAAG,mBAAkBR,OAAQ;AAD9B,CATW,CAAhB;;;;"}

17
node_modules/@octokit/rest/dist-src/index.js generated vendored Normal file
View file

@ -0,0 +1,17 @@
import { Octokit as Core } from "@octokit/core";
import { requestLog } from "@octokit/plugin-request-log";
import { paginateRest } from "@octokit/plugin-paginate-rest";
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
import { VERSION } from "./version";
export const Octokit = Core.plugin([
// Workaround to prevent TypeScript from widening the inferred return type of
// plugins passed to Octokit, which would result in type information (e.g.
// methods provided by plugins) not being added to Octokit instances.
//
// See https://github.com/octokit/core.js/issues/51#issuecomment-596846088
requestLog,
restEndpointMethods,
paginateRest
]).defaults({
userAgent: `octokit-rest.js/${VERSION}`
});

1
node_modules/@octokit/rest/dist-src/version.js generated vendored Normal file
View file

@ -0,0 +1 @@
export const VERSION = "17.1.0";

11
node_modules/@octokit/rest/dist-types/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,11 @@
import { Octokit as Core } from "@octokit/core";
export declare const Octokit: (new (...args: any[]) => {
[x: string]: any;
}) & {
new (...args: any[]): {
[x: string]: any;
};
plugins: any[];
} & typeof Core & import("@octokit/core/dist-types/types").Constructor<void & {
paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;
} & import("@octokit/plugin-rest-endpoint-methods/dist-types/generated/types").RestEndpointMethods>;

1
node_modules/@octokit/rest/dist-types/version.d.ts generated vendored Normal file
View file

@ -0,0 +1 @@
export declare const VERSION = "17.1.0";

22
node_modules/@octokit/rest/dist-web/index.js generated vendored Normal file
View file

@ -0,0 +1,22 @@
import { Octokit as Octokit$1 } from '@octokit/core';
import { requestLog } from '@octokit/plugin-request-log';
import { paginateRest } from '@octokit/plugin-paginate-rest';
import { restEndpointMethods } from '@octokit/plugin-rest-endpoint-methods';
const VERSION = "17.1.0";
const Octokit = Octokit$1.plugin([
// Workaround to prevent TypeScript from widening the inferred return type of
// plugins passed to Octokit, which would result in type information (e.g.
// methods provided by plugins) not being added to Octokit instances.
//
// See https://github.com/octokit/core.js/issues/51#issuecomment-596846088
requestLog,
restEndpointMethods,
paginateRest
]).defaults({
userAgent: `octokit-rest.js/${VERSION}`
});
export { Octokit };
//# sourceMappingURL=index.js.map

1
node_modules/@octokit/rest/dist-web/index.js.map generated vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"17.1.0\";\n","import { Octokit as Core } from \"@octokit/core\";\nimport { requestLog } from \"@octokit/plugin-request-log\";\nimport { paginateRest } from \"@octokit/plugin-paginate-rest\";\nimport { restEndpointMethods } from \"@octokit/plugin-rest-endpoint-methods\";\nimport { VERSION } from \"./version\";\nexport const Octokit = Core.plugin([\n // Workaround to prevent TypeScript from widening the inferred return type of\n // plugins passed to Octokit, which would result in type information (e.g.\n // methods provided by plugins) not being added to Octokit instances.\n //\n // See https://github.com/octokit/core.js/issues/51#issuecomment-596846088\n requestLog,\n restEndpointMethods,\n paginateRest\n]).defaults({\n userAgent: `octokit-rest.js/${VERSION}`\n});\n"],"names":["Core"],"mappings":";;;;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACK9B,MAAC,OAAO,GAAGA,SAAI,CAAC,MAAM,CAAC;AACnC;AACA;AACA;AACA;AACA;AACA,IAAI,UAAU;AACd,IAAI,mBAAmB;AACvB,IAAI,YAAY;AAChB,CAAC,CAAC,CAAC,QAAQ,CAAC;AACZ,IAAI,SAAS,EAAE,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;AAC3C,CAAC,CAAC;;;;"}

75
node_modules/@octokit/rest/package.json generated vendored Normal file
View file

@ -0,0 +1,75 @@
{
"bugs": {
"url": "https://github.com/octokit/rest.js/issues"
},
"contributors": [
{
"name": "Mike de Boer",
"email": "info@mikedeboer.nl"
},
{
"name": "Fabian Jakobs",
"email": "fabian@c9.io"
},
{
"name": "Joe Gallo",
"email": "joe@brassafrax.com"
},
{
"name": "Gregor Martynus",
"url": "https://github.com/gr2m"
}
],
"dependencies": {
"@octokit/core": "^2.4.0",
"@octokit/plugin-paginate-rest": "^2.0.0",
"@octokit/plugin-request-log": "^1.0.0",
"@octokit/plugin-rest-endpoint-methods": "^3.3.0"
},
"description": "GitHub REST API client for Node.js",
"devDependencies": {
"@octokit/auth": "^2.0.0",
"@octokit/fixtures-server": "^6.0.0",
"@octokit/request": "^5.2.0",
"@pika/pack": "^0.5.0",
"@pika/plugin-build-node": "^0.8.1",
"@pika/plugin-build-web": "^0.8.1",
"@pika/plugin-ts-standard-pkg": "^0.8.1",
"@types/jest": "^25.1.2",
"@types/node": "^13.1.0",
"fetch-mock": "^9.0.0",
"jest": "^25.1.0",
"prettier": "^1.14.2",
"semantic-release": "^17.0.0",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"ts-jest": "^25.2.0",
"typescript": "^3.7.5"
},
"files": [
"dist-*/",
"bin/"
],
"homepage": "https://github.com/octokit/rest.js#readme",
"keywords": [
"octokit",
"github",
"rest",
"api-client"
],
"license": "MIT",
"main": "dist-node/index.js",
"module": "dist-web/index.js",
"name": "@octokit/rest",
"pika": true,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/octokit/rest.js.git"
},
"sideEffects": false,
"source": "dist-src/index.js",
"types": "dist-types/index.d.ts",
"version": "17.1.0"
}