diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
new file mode 100644
index 0000000..5d7c6c1
--- /dev/null
+++ b/.github/workflows/build-test.yml
@@ -0,0 +1,32 @@
+name: build-test
+
+on:
+ pull_request:
+ paths-ignore:
+ - '**.md'
+ push:
+ branches:
+ - master
+ - releases/*
+ paths-ignore:
+ - '**.md'
+
+jobs:
+ build:
+ runs-on: ${{ matrix.operating-system }}
+ strategy:
+ matrix:
+ operating-system: [ubuntu-latest, windows-latest, macos-latest]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup node 12
+ uses: actions/setup-node@v1
+ with:
+ node-version: 12.x
+ - run: npm ci
+ - run: npm run build
+ - run: npm run format-check
+ - run: npm test
+ - name: Verify no unstaged changes
+ if: runner.os != 'windows'
+ run: __tests__/verify-no-unstaged-changes.sh
diff --git a/.github/workflows/proxy.yml b/.github/workflows/proxy.yml
new file mode 100644
index 0000000..6eaa157
--- /dev/null
+++ b/.github/workflows/proxy.yml
@@ -0,0 +1,56 @@
+name: proxy
+
+on:
+ pull_request:
+ paths-ignore:
+ - '**.md'
+ push:
+ branches:
+ - master
+ - releases/*
+ paths-ignore:
+ - '**.md'
+
+jobs:
+ test-proxy:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ container:
+ image: ubuntu:latest
+ options: --dns 127.0.0.1
+ services:
+ squid-proxy:
+ image: datadog/squid:latest
+ ports:
+ - 3128:3128
+ env:
+ https_proxy: http://squid-proxy:3128
+ steps:
+ - uses: actions/checkout@v2
+ - name: Clear tool cache
+ run: rm -rf $RUNNER_TOOL_CACHE/*
+ - name: Setup node 10
+ uses: ./
+ with:
+ node-version: 10.x
+ - name: Verify node and npm
+ run: __tests__/verify-node.sh 10
+
+ test-bypass-proxy:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ env:
+ https_proxy: http://no-such-proxy:3128
+ no_proxy: api.github.com,github.com,nodejs.org,registry.npmjs.org,*.s3.amazonaws.com,s3.amazonaws.com
+ steps:
+ - uses: actions/checkout@v2
+ - name: Clear tool cache
+ run: rm -rf $RUNNER_TOOL_CACHE/*
+ - name: Setup node 11
+ uses: ./
+ with:
+ node-version: 11
+ - name: Verify node and npm
+ run: __tests__/verify-node.sh 11
diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml
new file mode 100644
index 0000000..38017ef
--- /dev/null
+++ b/.github/workflows/versions.yml
@@ -0,0 +1,99 @@
+name: versions
+
+on:
+ pull_request:
+ paths-ignore:
+ - '**.md'
+ push:
+ branches:
+ - master
+ - releases/*
+ paths-ignore:
+ - '**.md'
+
+jobs:
+ local-cache:
+ runs-on: ${{ matrix.operating-system }}
+ strategy:
+ fail-fast: false
+ matrix:
+ operating-system: [ubuntu-latest, windows-latest, macos-latest]
+ node-version: [10, 12, 14]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup Node
+ uses: ./
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: Verify node and npm
+ run: __tests__/verify-node.sh "${{ matrix.node-version }}"
+ shell: bash
+
+ manifest:
+ runs-on: ${{ matrix.operating-system }}
+ strategy:
+ fail-fast: false
+ matrix:
+ operating-system: [ubuntu-latest, windows-latest, macos-latest]
+ node-version: [10.15, 12.16.0, 14.2.0]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup Node
+ uses: ./
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: Verify node and npm
+ run: __tests__/verify-node.sh "${{ matrix.node-version }}"
+ shell: bash
+
+ check-latest:
+ runs-on: ${{ matrix.operating-system }}
+ strategy:
+ fail-fast: false
+ matrix:
+ operating-system: [ubuntu-latest, windows-latest, macos-latest]
+ node-version: [10, 11, 12, 14]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup Node and check latest
+ uses: ./
+ with:
+ node-version: ${{ matrix.node-version }}
+ check-latest: true
+ - name: Verify node and npm
+ run: __tests__/verify-node.sh "${{ matrix.node-version }}"
+ shell: bash
+
+ node-dist:
+ runs-on: ${{ matrix.operating-system }}
+ strategy:
+ fail-fast: false
+ matrix:
+ operating-system: [ubuntu-latest, windows-latest, macos-latest]
+ node-version: [11, 13]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup Node from dist
+ uses: ./
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: Verify node and npm
+ run: __tests__/verify-node.sh "${{ matrix.node-version }}"
+ shell: bash
+
+ old-versions:
+ runs-on: ${{ matrix.operating-system }}
+ strategy:
+ fail-fast: false
+ matrix:
+ operating-system: [ubuntu-latest, windows-latest, macos-latest]
+ steps:
+ - uses: actions/checkout@v2
+ # test old versions which didn't have npm and layout different
+ - name: Setup node 0.12.18 from dist
+ uses: ./
+ with:
+ node-version: 0.12.18
+ - name: Verify node
+ run: __tests__/verify-node.sh 0.12.18 SKIP_NPM
+ shell: bash
\ No newline at end of file
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
deleted file mode 100644
index 024c7f1..0000000
--- a/.github/workflows/workflow.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-name: Main workflow
-on: [push]
-jobs:
- run:
- name: Run
- runs-on: ${{ matrix.operating-system }}
- strategy:
- matrix:
- operating-system: [ubuntu-latest, windows-latest]
- steps:
- - uses: actions/checkout@master
-
- - name: Set Node.js 10.x
- uses: actions/setup-node@master
- with:
- version: 10.x
-
- - name: npm install
- run: npm install
-
- - name: Lint
- run: npm run format-check
-
- - name: npm test
- run: npm test
diff --git a/.gitignore b/.gitignore
index 25b580b..cdfee2d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,10 @@
-# Explicitly not ignoring node_modules so that they are included in package downloaded by runner
-!node_modules/
+node_modules/
+lib/
__tests__/runner/*
+validate/temp
+validate/node
+
# Rest of the file pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs
logs
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..01362e3
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,21 @@
+{
+ // Use IntelliSense to learn about possible attributes.
+ // Hover to view descriptions of existing attributes.
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Debug Jest Tests on Nix",
+ "type": "node",
+ "request": "launch",
+ "runtimeArgs": [
+ "--inspect-brk",
+ "${workspaceRoot}/node_modules/.bin/jest",
+ "--runInBand"
+ ],
+ "console": "integratedTerminal",
+ "internalConsoleOptions": "neverOpen",
+ "port": 9229
+ }
+ ]
+}
\ No newline at end of file
diff --git a/CONDUCT b/CONDUCT
new file mode 100644
index 0000000..517657b
--- /dev/null
+++ b/CONDUCT
@@ -0,0 +1,76 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as
+contributors and maintainers pledge to make participation in our project and
+our community a harassment-free experience for everyone, regardless of age, body
+size, disability, ethnicity, sex characteristics, gender identity and expression,
+level of experience, education, socio-economic status, nationality, personal
+appearance, race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to creating a positive environment
+include:
+
+* Using welcoming and inclusive language
+* Being respectful of differing viewpoints and experiences
+* Gracefully accepting constructive criticism
+* Focusing on what is best for the community
+* Showing empathy towards other community members
+
+Examples of unacceptable behavior by participants include:
+
+* The use of sexualized language or imagery and unwelcome sexual attention or
+ advances
+* Trolling, insulting/derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or electronic
+ address, without explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable
+behavior and are expected to take appropriate and fair corrective action in
+response to any instances of unacceptable behavior.
+
+Project maintainers have the right and responsibility to remove, edit, or
+reject comments, commits, code, wiki edits, issues, and other contributions
+that are not aligned to this Code of Conduct, or to ban temporarily or
+permanently any contributor for other behaviors that they deem inappropriate,
+threatening, offensive, or harmful.
+
+## Scope
+
+This Code of Conduct applies within all project spaces, and it also applies when
+an individual is representing the project or its community in public spaces.
+Examples of representing a project or community include using an official
+project e-mail address, posting via an official social media account, or acting
+as an appointed representative at an online or offline event. Representation of
+a project may be further defined and clarified by project maintainers.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
+reported by contacting the project team at opensource@github.com. All
+complaints will be reviewed and investigated and will result in a response that
+is deemed necessary and appropriate to the circumstances. The project team is
+obligated to maintain confidentiality with regard to the reporter of an incident.
+Further details of specific enforcement policies may be posted separately.
+
+Project maintainers who do not follow or enforce the Code of Conduct in good
+faith may face temporary or permanent repercussions as determined by other
+members of the project's leadership.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
+available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
+
+[homepage]: https://www.contributor-covenant.org
+
+For answers to common questions about this code of conduct, see
+https://www.contributor-covenant.org/faq
\ No newline at end of file
diff --git a/README.md b/README.md
index 61d9304..65ed076 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,30 @@
# setup-node
-
+
This action sets by node environment for use in actions by:
- optionally downloading and caching a version of node - npm by version spec and add to PATH
-- registering problem matchers for error output
+- registering problem matchers for error output
+- configuring authentication for GPR or npm
+
+# v2-beta
+
+A beta release which adds reliability for pulling node distributions from a cache of node releases is available by referencing the `v2-beta` tag.
+
+```yaml
+steps:
+- uses: actions/checkout@v2
+- uses: actions/setup-node@v2-beta
+ with:
+ node-version: '12'
+```
+
+The action will first check the local cache for a semver match. The hosted images have been updated with the latest of each LTS from v8, v10, v12, and v14. `self-hosted` machines will benefit from the cache as well only downloading once. The action will pull LTS versions from [node-versions releases](https://github.com/actions/node-versions/releases) and on miss or failure will fall back to the previous behavior of downloading directly from [node dist](https://nodejs.org/dist/).
+
+The `node-version` input is optional. If not supplied, the node version that is PATH will be used. However, this action will still register problem matchers and support auth features. So setting up the node environment is still a valid scenario without downloading and caching versions.
# Usage
@@ -16,10 +33,29 @@ See [action.yml](action.yml)
Basic:
```yaml
steps:
-- uses: actions/checkout@v1
+- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
- node-version: '10.x'
+ node-version: '12'
+- run: npm install
+- run: npm test
+```
+
+Check latest version:
+
+In the basic example above, the `check-latest` flag defaults to `false`. When set to `false`, the action tries to first resolve a version of node from the local cache. For information regarding locally cached versions of Node on GitHub hosted runners, check out [GitHub Actions Virtual Environments](https://github.com/actions/virtual-environments). The local version of Node in cache gets updated every couple of weeks. If unable to find a specific version in the cache, the action will then attempt to download a version of Node. Use the default or set `check-latest` to `false` if you prefer stability and if you want to ensure a specific version of Node is always used.
+
+If `check-latest` is set to `true`, the action first checks if the cached version is the latest one. If the locally cached version is not the most up-to-date, a version of Node will then be downloaded. Set `check-latest` to `true` it you want the most up-to-date version of Node to always be used.
+
+> Setting `check-latest` to `true` has performance implications as downloading versions of Node is slower than using cached versions
+
+```yaml
+steps:
+- uses: actions/checkout@v2
+- uses: actions/setup-node@v2
+ with:
+ node-version: '12'
+ check-latest: true
- run: npm install
- run: npm test
```
@@ -31,10 +67,10 @@ jobs:
runs-on: ubuntu-16.04
strategy:
matrix:
- node: [ '10', '8' ]
+ node: [ '10', '12' ]
name: Node ${{ matrix.node }} sample
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
@@ -46,7 +82,7 @@ jobs:
Publish to npmjs and GPR with npm:
```yaml
steps:
-- uses: actions/checkout@v1
+- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
@@ -66,7 +102,7 @@ steps:
Publish to npmjs and GPR with yarn:
```yaml
steps:
-- uses: actions/checkout@v1
+- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
@@ -86,7 +122,7 @@ steps:
Use private packages:
```yaml
steps:
-- uses: actions/checkout@v1
+- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
@@ -108,3 +144,7 @@ The scripts and documentation in this project are released under the [MIT Licens
# Contributions
Contributions are welcome! See [Contributor's Guide](docs/contributors.md)
+
+## Code of Conduct
+
+:wave: Be nice. See [our code of conduct](CONDUCT)
diff --git a/__tests__/__snapshots__/authutil.test.ts.snap b/__tests__/__snapshots__/authutil.test.ts.snap
deleted file mode 100644
index c142cf4..0000000
--- a/__tests__/__snapshots__/authutil.test.ts.snap
+++ /dev/null
@@ -1,31 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`installer tests Appends trailing slash to registry 1`] = `
-"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
-registry=https://registry.npmjs.org/
-always-auth=false"
-`;
-
-exports[`installer tests Automatically configures GPR scope 1`] = `
-"npm.pkg.github.com/:_authToken=\${NODE_AUTH_TOKEN}
-@ownername:registry=npm.pkg.github.com/
-always-auth=false"
-`;
-
-exports[`installer tests Configures scoped npm registries 1`] = `
-"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
-@myscope:registry=https://registry.npmjs.org/
-always-auth=false"
-`;
-
-exports[`installer tests Sets up npmrc for always-auth true 1`] = `
-"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
-registry=https://registry.npmjs.org/
-always-auth=true"
-`;
-
-exports[`installer tests Sets up npmrc for npmjs 1`] = `
-"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
-registry=https://registry.npmjs.org/
-always-auth=false"
-`;
diff --git a/__tests__/authutil.test.ts b/__tests__/authutil.test.ts
index c75d5b6..85dcb31 100644
--- a/__tests__/authutil.test.ts
+++ b/__tests__/authutil.test.ts
@@ -1,68 +1,123 @@
-import io = require('@actions/io');
-import fs = require('fs');
-import path = require('path');
-
-const tempDir = path.join(
- __dirname,
- 'runner',
- path.join(
- Math.random()
- .toString(36)
- .substring(7)
- ),
- 'temp'
-);
-
-const rcFile = path.join(tempDir, '.npmrc');
-
-process.env['GITHUB_REPOSITORY'] = 'OwnerName/repo';
-process.env['RUNNER_TEMP'] = tempDir;
+import os = require('os');
+import * as fs from 'fs';
+import * as path from 'path';
+import * as core from '@actions/core';
+import * as io from '@actions/io';
import * as auth from '../src/authutil';
-describe('installer tests', () => {
+let rcFile: string;
+
+describe('authutil tests', () => {
+ const _runnerDir = path.join(__dirname, 'runner');
+
+ let cnSpy: jest.SpyInstance;
+ let logSpy: jest.SpyInstance;
+ let dbgSpy: jest.SpyInstance;
+
beforeAll(async () => {
+ const randPath = path.join(
+ Math.random()
+ .toString(36)
+ .substring(7)
+ );
+ const tempDir = path.join(_runnerDir, randPath, 'temp');
await io.rmRF(tempDir);
await io.mkdirP(tempDir);
+ process.env['GITHUB_REPOSITORY'] = 'OwnerName/repo';
+ process.env['RUNNER_TEMP'] = tempDir;
+ rcFile = path.join(tempDir, '.npmrc');
}, 100000);
- beforeEach(() => {
- if (fs.existsSync(rcFile)) {
- fs.unlinkSync(rcFile);
- }
+ beforeEach(async () => {
+ await io.rmRF(rcFile);
+ // if (fs.existsSync(rcFile)) {
+ // fs.unlinkSync(rcFile);
+ // }
process.env['INPUT_SCOPE'] = '';
- });
+
+ // writes
+ cnSpy = jest.spyOn(process.stdout, 'write');
+ logSpy = jest.spyOn(console, 'log');
+ dbgSpy = jest.spyOn(core, 'debug');
+ cnSpy.mockImplementation(line => {
+ // uncomment to debug
+ // process.stderr.write('write:' + line + '\n');
+ });
+ logSpy.mockImplementation(line => {
+ // uncomment to debug
+ // process.stderr.write('log:' + line + '\n');
+ });
+ dbgSpy.mockImplementation(msg => {
+ // uncomment to see debug output
+ // process.stderr.write(msg + '\n');
+ });
+ }, 100000);
+
+ function dbg(message: string) {
+ process.stderr.write('dbg::' + message + '::\n');
+ }
+
+ afterAll(async () => {
+ if (_runnerDir) {
+ await io.rmRF(_runnerDir);
+ }
+ }, 100000);
+
+ function readRcFile(rcFile: string) {
+ let rc = {};
+ let contents = fs.readFileSync(rcFile, {encoding: 'utf8'});
+ for (const line of contents.split(os.EOL)) {
+ let parts = line.split('=');
+ if (parts.length == 2) {
+ rc[parts[0].trim()] = parts[1].trim();
+ }
+ }
+ return rc;
+ }
it('Sets up npmrc for npmjs', async () => {
await auth.configAuthentication('https://registry.npmjs.org/', 'false');
- expect(fs.existsSync(rcFile)).toBe(true);
- expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot();
+
+ expect(fs.statSync(rcFile)).toBeDefined();
+ let contents = fs.readFileSync(rcFile, {encoding: 'utf8'});
+ let rc = readRcFile(rcFile);
+ expect(rc['registry']).toBe('https://registry.npmjs.org/');
+ expect(rc['always-auth']).toBe('false');
});
it('Appends trailing slash to registry', async () => {
await auth.configAuthentication('https://registry.npmjs.org', 'false');
- expect(fs.existsSync(rcFile)).toBe(true);
- expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot();
+ expect(fs.statSync(rcFile)).toBeDefined();
+ let rc = readRcFile(rcFile);
+ expect(rc['registry']).toBe('https://registry.npmjs.org/');
+ expect(rc['always-auth']).toBe('false');
});
it('Configures scoped npm registries', async () => {
process.env['INPUT_SCOPE'] = 'myScope';
await auth.configAuthentication('https://registry.npmjs.org', 'false');
- expect(fs.existsSync(rcFile)).toBe(true);
- expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot();
+ expect(fs.statSync(rcFile)).toBeDefined();
+ let rc = readRcFile(rcFile);
+ expect(rc['@myscope:registry']).toBe('https://registry.npmjs.org/');
+ expect(rc['always-auth']).toBe('false');
});
it('Automatically configures GPR scope', async () => {
await auth.configAuthentication('npm.pkg.github.com', 'false');
- expect(fs.existsSync(rcFile)).toBe(true);
- expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot();
+ expect(fs.statSync(rcFile)).toBeDefined();
+ let rc = readRcFile(rcFile);
+ expect(rc['@ownername:registry']).toBe('npm.pkg.github.com/');
+ expect(rc['always-auth']).toBe('false');
});
it('Sets up npmrc for always-auth true', async () => {
await auth.configAuthentication('https://registry.npmjs.org/', 'true');
- expect(fs.existsSync(rcFile)).toBe(true);
- expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot();
+ expect(fs.statSync(rcFile)).toBeDefined();
+ let rc = readRcFile(rcFile);
+ expect(rc['registry']).toBe('https://registry.npmjs.org/');
+ expect(rc['always-auth']).toBe('true');
});
});
diff --git a/__tests__/data/node-dist-index.json b/__tests__/data/node-dist-index.json
new file mode 100644
index 0000000..09cca7c
--- /dev/null
+++ b/__tests__/data/node-dist-index.json
@@ -0,0 +1,770 @@
+[
+ {
+ "version": "v14.1.0",
+ "date": "2020-04-29",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.14.4",
+ "v8": "8.1.307.31",
+ "uv": "1.37.0",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1g",
+ "modules": "83",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v14.0.0",
+ "date": "2020-04-21",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.14.4",
+ "v8": "8.1.307.30",
+ "uv": "1.37.0",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1f",
+ "modules": "83",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v13.14.0",
+ "date": "2020-04-28",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.14.4",
+ "v8": "7.9.317.25",
+ "uv": "1.37.0",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1g",
+ "modules": "79",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v13.13.0",
+ "date": "2020-04-14",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.14.4",
+ "v8": "7.9.317.25",
+ "uv": "1.35.0",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1f",
+ "modules": "79",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v12.16.3",
+ "date": "2020-04-28",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.14.4",
+ "v8": "7.8.279.23",
+ "uv": "1.34.2",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1g",
+ "modules": "72",
+ "lts": "Erbium",
+ "security": false
+ },
+ {
+ "version": "v12.16.2",
+ "date": "2020-04-08",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.14.4",
+ "v8": "7.8.279.23",
+ "uv": "1.34.2",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1e",
+ "modules": "72",
+ "lts": "Erbium",
+ "security": false
+ },
+ {
+ "version": "v12.1.0",
+ "date": "2019-04-29",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.9.0",
+ "v8": "7.4.288.21",
+ "uv": "1.28.0",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1b",
+ "modules": "72",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v11.15.0",
+ "date": "2019-04-30",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.7.0",
+ "v8": "7.0.276.38",
+ "uv": "1.27.0",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1b",
+ "modules": "67",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v10.20.1",
+ "date": "2020-04-10",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.14.4",
+ "v8": "6.8.275.32",
+ "uv": "1.34.2",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1e",
+ "modules": "64",
+ "lts": "Dubnium",
+ "security": false
+ },
+ {
+ "version": "v10.20.0",
+ "date": "2020-03-24",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.14.4",
+ "v8": "6.8.275.32",
+ "uv": "1.34.2",
+ "zlib": "1.2.11",
+ "openssl": "1.1.1e",
+ "modules": "64",
+ "lts": "Dubnium",
+ "security": false
+ },
+ {
+ "version": "v9.11.2",
+ "date": "2018-06-12",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "5.6.0",
+ "v8": "6.2.414.46",
+ "uv": "1.19.2",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2o",
+ "modules": "59",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v9.11.1",
+ "date": "2018-04-05",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "5.6.0",
+ "v8": "6.2.414.46",
+ "uv": "1.19.2",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2o",
+ "modules": "59",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v8.17.0",
+ "date": "2019-12-17",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.13.4",
+ "v8": "6.2.414.78",
+ "uv": "1.23.2",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2s",
+ "modules": "57",
+ "lts": "Carbon",
+ "security": true
+ },
+ {
+ "version": "v8.16.2",
+ "date": "2019-10-08",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "6.4.1",
+ "v8": "6.2.414.78",
+ "uv": "1.23.2",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2s",
+ "modules": "57",
+ "lts": "Carbon",
+ "security": false
+ },
+ {
+ "version": "v7.10.1",
+ "date": "2017-07-11",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "4.2.0",
+ "v8": "5.5.372.43",
+ "uv": "1.11.0",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2k",
+ "modules": "51",
+ "lts": false,
+ "security": true
+ },
+ {
+ "version": "v7.10.0",
+ "date": "2017-05-02",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "4.2.0",
+ "v8": "5.5.372.43",
+ "uv": "1.11.0",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2k",
+ "modules": "51",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v6.17.1",
+ "date": "2019-04-03",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "3.10.10",
+ "v8": "5.1.281.111",
+ "uv": "1.16.1",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2r",
+ "modules": "48",
+ "lts": "Boron",
+ "security": false
+ },
+ {
+ "version": "v6.17.0",
+ "date": "2019-02-28",
+ "files": [
+ "aix-ppc64",
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-s390x",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "3.10.10",
+ "v8": "5.1.281.111",
+ "uv": "1.16.1",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2r",
+ "modules": "48",
+ "lts": "Boron",
+ "security": true
+ },
+ {
+ "version": "v5.12.0",
+ "date": "2016-06-23",
+ "files": [
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x86-exe",
+ "win-x86-msi"
+ ],
+ "npm": "3.8.6",
+ "v8": "4.6.85.32",
+ "uv": "1.8.0",
+ "zlib": "1.2.8",
+ "openssl": "1.0.2h",
+ "modules": "47",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v4.9.1",
+ "date": "2018-03-29",
+ "files": [
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "2.15.11",
+ "v8": "4.5.103.53",
+ "uv": "1.9.1",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2o",
+ "modules": "46",
+ "lts": "Argon",
+ "security": false
+ },
+ {
+ "version": "v4.9.0",
+ "date": "2018-03-28",
+ "files": [
+ "headers",
+ "linux-arm64",
+ "linux-armv6l",
+ "linux-armv7l",
+ "linux-ppc64le",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-7z",
+ "win-x64-exe",
+ "win-x64-msi",
+ "win-x64-zip",
+ "win-x86-7z",
+ "win-x86-exe",
+ "win-x86-msi",
+ "win-x86-zip"
+ ],
+ "npm": "2.15.11",
+ "v8": "4.5.103.53",
+ "uv": "1.9.1",
+ "zlib": "1.2.11",
+ "openssl": "1.0.2o",
+ "modules": "46",
+ "lts": "Argon",
+ "security": true
+ },
+ {
+ "version": "v0.12.18",
+ "date": "2017-02-22",
+ "files": [
+ "headers",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "osx-x86-tar",
+ "src",
+ "sunos-x86",
+ "win-x64-exe",
+ "win-x86-exe",
+ "win-x86-msi"
+ ],
+ "npm": "2.15.11",
+ "v8": "3.28.71.20",
+ "uv": "1.6.1",
+ "zlib": "1.2.8",
+ "openssl": "1.0.1u",
+ "modules": "14",
+ "lts": false,
+ "security": false
+ },
+ {
+ "version": "v0.12.17",
+ "date": "2016-10-18",
+ "files": [
+ "headers",
+ "linux-x64",
+ "linux-x86",
+ "osx-x64-pkg",
+ "osx-x64-tar",
+ "osx-x86-tar",
+ "src",
+ "sunos-x64",
+ "sunos-x86",
+ "win-x64-exe",
+ "win-x86-exe",
+ "win-x86-msi"
+ ],
+ "npm": "2.15.1",
+ "v8": "3.28.71.19",
+ "uv": "1.6.1",
+ "zlib": "1.2.8",
+ "openssl": "1.0.1u",
+ "modules": "14",
+ "lts": false,
+ "security": true
+ }
+]
\ No newline at end of file
diff --git a/__tests__/data/versions-manifest.json b/__tests__/data/versions-manifest.json
new file mode 100644
index 0000000..d313b16
--- /dev/null
+++ b/__tests__/data/versions-manifest.json
@@ -0,0 +1,152 @@
+[
+ {
+ "version": "14.0.0",
+ "stable": true,
+ "release_url": "https://github.com/actions/node-versions/releases/tag/14.0.0-20200423.30",
+ "files": [
+ {
+ "filename": "node-14.0.0-darwin-x64.tar.gz",
+ "arch": "x64",
+ "platform": "darwin",
+ "download_url": "https://github.com/actions/node-versions/releases/download/14.0.0-20200423.30/node-14.0.0-darwin-x64.tar.gz"
+ },
+ {
+ "filename": "node-14.0.0-linux-x64.tar.gz",
+ "arch": "x64",
+ "platform": "linux",
+ "download_url": "https://github.com/actions/node-versions/releases/download/14.0.0-20200423.30/node-14.0.0-linux-x64.tar.gz"
+ },
+ {
+ "filename": "node-14.0.0-win32-x64.zip",
+ "arch": "x64",
+ "platform": "win32",
+ "download_url": "https://github.com/actions/node-versions/releases/download/14.0.0-20200423.30/node-14.0.0-win32-x64.zip"
+ }
+ ]
+ },
+ {
+ "version": "13.13.0",
+ "stable": true,
+ "release_url": "https://github.com/actions/node-versions/releases/tag/13.13.0-20200423.29",
+ "files": [
+ {
+ "filename": "node-13.13.0-darwin-x64.tar.gz",
+ "arch": "x64",
+ "platform": "darwin",
+ "download_url": "https://github.com/actions/node-versions/releases/download/13.13.0-20200423.29/node-13.13.0-darwin-x64.tar.gz"
+ },
+ {
+ "filename": "node-13.13.0-linux-x64.tar.gz",
+ "arch": "x64",
+ "platform": "linux",
+ "download_url": "https://github.com/actions/node-versions/releases/download/13.13.0-20200423.29/node-13.13.0-linux-x64.tar.gz"
+ },
+ {
+ "filename": "node-13.13.0-win32-x64.zip",
+ "arch": "x64",
+ "platform": "win32",
+ "download_url": "https://github.com/actions/node-versions/releases/download/13.13.0-20200423.29/node-13.13.0-win32-x64.zip"
+ }
+ ]
+ },
+ {
+ "version": "12.16.2",
+ "stable": true,
+ "release_url": "https://github.com/actions/node-versions/releases/tag/12.16.2-20200423.28",
+ "files": [
+ {
+ "filename": "node-12.16.2-darwin-x64.tar.gz",
+ "arch": "x64",
+ "platform": "darwin",
+ "download_url": "https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-darwin-x64.tar.gz"
+ },
+ {
+ "filename": "node-12.16.2-linux-x64.tar.gz",
+ "arch": "x64",
+ "platform": "linux",
+ "download_url": "https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-linux-x64.tar.gz"
+ },
+ {
+ "filename": "node-12.16.2-win32-x64.zip",
+ "arch": "x64",
+ "platform": "win32",
+ "download_url": "https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-win32-x64.zip"
+ }
+ ]
+ },
+ {
+ "version": "10.20.1",
+ "stable": true,
+ "release_url": "https://github.com/actions/node-versions/releases/tag/10.20.1-20200423.27",
+ "files": [
+ {
+ "filename": "node-10.20.1-darwin-x64.tar.gz",
+ "arch": "x64",
+ "platform": "darwin",
+ "download_url": "https://github.com/actions/node-versions/releases/download/10.20.1-20200423.27/node-10.20.1-darwin-x64.tar.gz"
+ },
+ {
+ "filename": "node-10.20.1-linux-x64.tar.gz",
+ "arch": "x64",
+ "platform": "linux",
+ "download_url": "https://github.com/actions/node-versions/releases/download/10.20.1-20200423.27/node-10.20.1-linux-x64.tar.gz"
+ },
+ {
+ "filename": "node-10.20.1-win32-x64.zip",
+ "arch": "x64",
+ "platform": "win32",
+ "download_url": "https://github.com/actions/node-versions/releases/download/10.20.1-20200423.27/node-10.20.1-win32-x64.zip"
+ }
+ ]
+ },
+ {
+ "version": "8.17.0",
+ "stable": true,
+ "release_url": "https://github.com/actions/node-versions/releases/tag/8.17.0-20200423.26",
+ "files": [
+ {
+ "filename": "node-8.17.0-darwin-x64.tar.gz",
+ "arch": "x64",
+ "platform": "darwin",
+ "download_url": "https://github.com/actions/node-versions/releases/download/8.17.0-20200423.26/node-8.17.0-darwin-x64.tar.gz"
+ },
+ {
+ "filename": "node-8.17.0-linux-x64.tar.gz",
+ "arch": "x64",
+ "platform": "linux",
+ "download_url": "https://github.com/actions/node-versions/releases/download/8.17.0-20200423.26/node-8.17.0-linux-x64.tar.gz"
+ },
+ {
+ "filename": "node-8.17.0-win32-x64.zip",
+ "arch": "x64",
+ "platform": "win32",
+ "download_url": "https://github.com/actions/node-versions/releases/download/8.17.0-20200423.26/node-8.17.0-win32-x64.zip"
+ }
+ ]
+ },
+ {
+ "version": "6.17.1",
+ "stable": true,
+ "release_url": "https://github.com/actions/node-versions/releases/tag/6.17.1-20200423.25",
+ "files": [
+ {
+ "filename": "node-6.17.1-darwin-x64.tar.gz",
+ "arch": "x64",
+ "platform": "darwin",
+ "download_url": "https://github.com/actions/node-versions/releases/download/6.17.1-20200423.25/node-6.17.1-darwin-x64.tar.gz"
+ },
+ {
+ "filename": "node-6.17.1-linux-x64.tar.gz",
+ "arch": "x64",
+ "platform": "linux",
+ "download_url": "https://github.com/actions/node-versions/releases/download/6.17.1-20200423.25/node-6.17.1-linux-x64.tar.gz"
+ },
+ {
+ "filename": "node-6.17.1-win32-x64.zip",
+ "arch": "x64",
+ "platform": "win32",
+ "download_url": "https://github.com/actions/node-versions/releases/download/6.17.1-20200423.25/node-6.17.1-win32-x64.zip"
+ }
+ ]
+ }
+ ]
\ No newline at end of file
diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts
index e0ada32..6f3a411 100644
--- a/__tests__/installer.test.ts
+++ b/__tests__/installer.test.ts
@@ -1,123 +1,489 @@
-import io = require('@actions/io');
-import fs = require('fs');
-import os = require('os');
-import path = require('path');
+import * as core from '@actions/core';
+import * as io from '@actions/io';
+import * as tc from '@actions/tool-cache';
+import fs from 'fs';
+import cp from 'child_process';
+import osm = require('os');
+import path from 'path';
+import * as main from '../src/main';
+import * as im from '../src/installer';
+import * as auth from '../src/authutil';
+import {context} from '@actions/github';
-const toolDir = path.join(
- __dirname,
- 'runner',
- path.join(
- Math.random()
- .toString(36)
- .substring(7)
- ),
- 'tools'
-);
-const tempDir = path.join(
- __dirname,
- 'runner',
- path.join(
- Math.random()
- .toString(36)
- .substring(7)
- ),
- 'temp'
-);
+let nodeTestManifest = require('./data/versions-manifest.json');
+let nodeTestDist = require('./data/node-dist-index.json');
-process.env['RUNNER_TOOL_CACHE'] = toolDir;
-process.env['RUNNER_TEMP'] = tempDir;
-import * as installer from '../src/installer';
+// let matchers = require('../matchers.json');
+// let matcherPattern = matchers.problemMatcher[0].pattern[0];
+// let matcherRegExp = new RegExp(matcherPattern.regexp);
-const IS_WINDOWS = process.platform === 'win32';
+describe('setup-node', () => {
+ let inputs = {} as any;
+ let os = {} as any;
-describe('installer tests', () => {
- beforeAll(async () => {
- await io.rmRF(toolDir);
- await io.rmRF(tempDir);
- }, 100000);
+ let inSpy: jest.SpyInstance;
+ let findSpy: jest.SpyInstance;
+ let cnSpy: jest.SpyInstance;
+ let logSpy: jest.SpyInstance;
+ let warningSpy: jest.SpyInstance;
+ let getManifestSpy: jest.SpyInstance;
+ let getDistSpy: jest.SpyInstance;
+ let platSpy: jest.SpyInstance;
+ let archSpy: jest.SpyInstance;
+ let dlSpy: jest.SpyInstance;
+ let exSpy: jest.SpyInstance;
+ let cacheSpy: jest.SpyInstance;
+ let dbgSpy: jest.SpyInstance;
+ let whichSpy: jest.SpyInstance;
+ let existsSpy: jest.SpyInstance;
+ let mkdirpSpy: jest.SpyInstance;
+ let execSpy: jest.SpyInstance;
+ let authSpy: jest.SpyInstance;
- it('Acquires version of node if no matching version is installed', async () => {
- await installer.getNode('10.16.0');
- const nodeDir = path.join(toolDir, 'node', '10.16.0', os.arch());
+ beforeEach(() => {
+ // @actions/core
+ inputs = {};
+ inSpy = jest.spyOn(core, 'getInput');
+ inSpy.mockImplementation(name => inputs[name]);
- expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true);
- if (IS_WINDOWS) {
- expect(fs.existsSync(path.join(nodeDir, 'node.exe'))).toBe(true);
- } else {
- expect(fs.existsSync(path.join(nodeDir, 'bin', 'node'))).toBe(true);
- }
- }, 100000);
+ // node
+ os = {};
+ platSpy = jest.spyOn(osm, 'platform');
+ platSpy.mockImplementation(() => os['platform']);
+ archSpy = jest.spyOn(osm, 'arch');
+ archSpy.mockImplementation(() => os['arch']);
+ execSpy = jest.spyOn(cp, 'execSync');
- if (IS_WINDOWS) {
- it('Falls back to backup location if first one doesnt contain correct version', async () => {
- await installer.getNode('5.10.1');
- const nodeDir = path.join(toolDir, 'node', '5.10.1', os.arch());
+ // @actions/tool-cache
+ findSpy = jest.spyOn(tc, 'find');
+ dlSpy = jest.spyOn(tc, 'downloadTool');
+ exSpy = jest.spyOn(tc, 'extractTar');
+ cacheSpy = jest.spyOn(tc, 'cacheDir');
+ getManifestSpy = jest.spyOn(tc, 'getManifestFromRepo');
+ getDistSpy = jest.spyOn(im, 'getVersionsFromDist');
- expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true);
- expect(fs.existsSync(path.join(nodeDir, 'node.exe'))).toBe(true);
- }, 100000);
+ // io
+ whichSpy = jest.spyOn(io, 'which');
+ existsSpy = jest.spyOn(fs, 'existsSync');
+ mkdirpSpy = jest.spyOn(io, 'mkdirP');
- it('Falls back to third location if second one doesnt contain correct version', async () => {
- await installer.getNode('0.12.18');
- const nodeDir = path.join(toolDir, 'node', '0.12.18', os.arch());
+ // disable authentication portion for installer tests
+ authSpy = jest.spyOn(auth, 'configAuthentication');
+ authSpy.mockImplementation(() => {});
- expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true);
- expect(fs.existsSync(path.join(nodeDir, 'node.exe'))).toBe(true);
- }, 100000);
- }
+ // gets
+ getManifestSpy.mockImplementation(
+ () => nodeTestManifest
+ );
+ getDistSpy.mockImplementation(() => nodeTestDist);
- it('Throws if no location contains correct node version', async () => {
- let thrown = false;
- try {
- await installer.getNode('1000');
- } catch {
- thrown = true;
- }
- expect(thrown).toBe(true);
+ // writes
+ cnSpy = jest.spyOn(process.stdout, 'write');
+ logSpy = jest.spyOn(core, 'info');
+ dbgSpy = jest.spyOn(core, 'debug');
+ warningSpy = jest.spyOn(core, 'warning');
+ cnSpy.mockImplementation(line => {
+ // uncomment to debug
+ // process.stderr.write('write:' + line + '\n');
+ });
+ logSpy.mockImplementation(line => {
+ // uncomment to debug
+ // process.stderr.write('log:' + line + '\n');
+ });
+ dbgSpy.mockImplementation(msg => {
+ // uncomment to see debug output
+ // process.stderr.write(msg + '\n');
+ });
});
- it('Acquires version of node with long paths', async () => {
- const toolpath = await installer.getNode('8.8.1');
- const nodeDir = path.join(toolDir, 'node', '8.8.1', os.arch());
-
- expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true);
- if (IS_WINDOWS) {
- expect(fs.existsSync(path.join(nodeDir, 'node.exe'))).toBe(true);
- } else {
- expect(fs.existsSync(path.join(nodeDir, 'bin', 'node'))).toBe(true);
- }
- }, 100000);
-
- it('Uses version of node installed in cache', async () => {
- const nodeDir: string = path.join(toolDir, 'node', '250.0.0', os.arch());
- await io.mkdirP(nodeDir);
- fs.writeFileSync(`${nodeDir}.complete`, 'hello');
- // This will throw if it doesn't find it in the cache (because no such version exists)
- await installer.getNode('250.0.0');
- return;
+ afterEach(() => {
+ jest.resetAllMocks();
+ jest.clearAllMocks();
+ //jest.restoreAllMocks();
});
- it('Doesnt use version of node that was only partially installed in cache', async () => {
- const nodeDir: string = path.join(toolDir, 'node', '251.0.0', os.arch());
- await io.mkdirP(nodeDir);
- let thrown = false;
- try {
- // This will throw if it doesn't find it in the cache (because no such version exists)
- await installer.getNode('251.0.0');
- } catch {
- thrown = true;
- }
- expect(thrown).toBe(true);
- return;
+ afterAll(async () => {}, 100000);
+
+ //--------------------------------------------------
+ // Manifest find tests
+ //--------------------------------------------------
+ it('can mock manifest versions', async () => {
+ let versions: tc.IToolRelease[] | null = await tc.getManifestFromRepo(
+ 'actions',
+ 'node-versions',
+ 'mocktoken'
+ );
+ expect(versions).toBeDefined();
+ expect(versions?.length).toBe(6);
});
- it('Resolves semantic versions of node installed in cache', async () => {
- const nodeDir: string = path.join(toolDir, 'node', '252.0.0', os.arch());
- await io.mkdirP(nodeDir);
- fs.writeFileSync(`${nodeDir}.complete`, 'hello');
- // These will throw if it doesn't find it in the cache (because no such version exists)
- await installer.getNode('252.0.0');
- await installer.getNode('252');
- await installer.getNode('252.0');
+ it('can mock dist versions', async () => {
+ let versions: im.INodeVersion[] = await im.getVersionsFromDist();
+ expect(versions).toBeDefined();
+ expect(versions?.length).toBe(23);
+ });
+
+ it('can find 12.16.2 from manifest on osx', async () => {
+ os.platform = 'darwin';
+ os.arch = 'x64';
+ let versions: tc.IToolRelease[] | null = await tc.getManifestFromRepo(
+ 'actions',
+ 'node-versions',
+ 'mocktoken'
+ );
+ expect(versions).toBeDefined();
+ let match = await tc.findFromManifest('12.16.2', true, versions);
+ expect(match).toBeDefined();
+ expect(match?.version).toBe('12.16.2');
+ });
+
+ it('can find 12 from manifest on linux', async () => {
+ os.platform = 'linux';
+ os.arch = 'x64';
+ let versions: tc.IToolRelease[] | null = await tc.getManifestFromRepo(
+ 'actions',
+ 'node-versions',
+ 'mocktoken'
+ );
+ expect(versions).toBeDefined();
+ let match = await tc.findFromManifest('12.16.2', true, versions);
+ expect(match).toBeDefined();
+ expect(match?.version).toBe('12.16.2');
+ });
+
+ it('can find 10 from manifest on windows', async () => {
+ os.platform = 'win32';
+ os.arch = 'x64';
+ let versions: tc.IToolRelease[] | null = await tc.getManifestFromRepo(
+ 'actions',
+ 'node-versions',
+ 'mocktoken'
+ );
+ expect(versions).toBeDefined();
+ let match = await tc.findFromManifest('10', true, versions);
+ expect(match).toBeDefined();
+ expect(match?.version).toBe('10.20.1');
+ });
+
+ //--------------------------------------------------
+ // Found in cache tests
+ //--------------------------------------------------
+
+ it('finds version in cache with stable true', async () => {
+ inputs['node-version'] = '12';
+ inputs.stable = 'true';
+
+ let toolPath = path.normalize('/cache/node/12.16.1/x64');
+ findSpy.mockImplementation(() => toolPath);
+ await main.run();
+
+ expect(logSpy).toHaveBeenCalledWith(`Found in cache @ ${toolPath}`);
+ });
+
+ it('finds version in cache with stable not supplied', async () => {
+ inputs['node-version'] = '12';
+
+ inSpy.mockImplementation(name => inputs[name]);
+
+ let toolPath = path.normalize('/cache/node/12.16.1/x64');
+ findSpy.mockImplementation(() => toolPath);
+ await main.run();
+
+ expect(logSpy).toHaveBeenCalledWith(`Found in cache @ ${toolPath}`);
+ });
+
+ it('finds version in cache and adds it to the path', async () => {
+ inputs['node-version'] = '12';
+
+ inSpy.mockImplementation(name => inputs[name]);
+
+ let toolPath = path.normalize('/cache/node/12.16.1/x64');
+ findSpy.mockImplementation(() => toolPath);
+ await main.run();
+
+ let expPath = path.join(toolPath, 'bin');
+ expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
+ });
+
+ it('handles unhandled find error and reports error', async () => {
+ let errMsg = 'unhandled error message';
+ inputs['node-version'] = '12';
+
+ findSpy.mockImplementation(() => {
+ throw new Error(errMsg);
+ });
+
+ await main.run();
+
+ expect(cnSpy).toHaveBeenCalledWith('::error::' + errMsg + osm.EOL);
+ });
+
+ it('downloads a version from a manifest match', async () => {
+ os.platform = 'linux';
+ os.arch = 'x64';
+
+ // a version which is in the manifest
+ let versionSpec = '12.16.2';
+ let resolvedVersion = versionSpec;
+
+ inputs['node-version'] = versionSpec;
+ inputs['always-auth'] = false;
+ inputs['token'] = 'faketoken';
+
+ let expectedUrl =
+ 'https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-linux-x64.tar.gz';
+
+ // ... but not in the local cache
+ findSpy.mockImplementation(() => '');
+
+ dlSpy.mockImplementation(async () => '/some/temp/path');
+ let toolPath = path.normalize('/cache/node/12.16.2/x64');
+ exSpy.mockImplementation(async () => '/some/other/temp/path');
+ cacheSpy.mockImplementation(async () => toolPath);
+
+ await main.run();
+
+ let expPath = path.join(toolPath, 'bin');
+
+ expect(dlSpy).toHaveBeenCalled();
+ expect(exSpy).toHaveBeenCalled();
+ expect(logSpy).toHaveBeenCalledWith(
+ `Acquiring ${resolvedVersion} from ${expectedUrl}`
+ );
+ expect(logSpy).toHaveBeenCalledWith(
+ `Attempting to download ${versionSpec}...`
+ );
+ expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
+ });
+
+ it('falls back to a version from node dist', async () => {
+ os.platform = 'linux';
+ os.arch = 'x64';
+
+ // a version which is not in the manifest but is in node dist
+ let versionSpec = '11.15.0';
+ let resolvedVersion = versionSpec;
+
+ inputs['node-version'] = versionSpec;
+ inputs['always-auth'] = false;
+ inputs['token'] = 'faketoken';
+
+ let expectedUrl =
+ 'https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-linux-x64.tar.gz';
+
+ // ... but not in the local cache
+ findSpy.mockImplementation(() => '');
+
+ dlSpy.mockImplementation(async () => '/some/temp/path');
+ let toolPath = path.normalize('/cache/node/11.11.0/x64');
+ exSpy.mockImplementation(async () => '/some/other/temp/path');
+ cacheSpy.mockImplementation(async () => toolPath);
+
+ await main.run();
+
+ let expPath = path.join(toolPath, 'bin');
+
+ expect(dlSpy).toHaveBeenCalled();
+ expect(exSpy).toHaveBeenCalled();
+ expect(logSpy).toHaveBeenCalledWith(
+ 'Not found in manifest. Falling back to download directly from Node'
+ );
+ expect(logSpy).toHaveBeenCalledWith(
+ `Attempting to download ${versionSpec}...`
+ );
+ expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
+ });
+
+ it('does not find a version that does not exist', async () => {
+ os.platform = 'linux';
+ os.arch = 'x64';
+
+ let versionSpec = '9.99.9';
+ inputs['node-version'] = versionSpec;
+
+ findSpy.mockImplementation(() => '');
+ await main.run();
+
+ expect(logSpy).toHaveBeenCalledWith(
+ 'Not found in manifest. Falling back to download directly from Node'
+ );
+ expect(logSpy).toHaveBeenCalledWith(
+ `Attempting to download ${versionSpec}...`
+ );
+ expect(cnSpy).toHaveBeenCalledWith(
+ `::error::Unable to find Node version '${versionSpec}' for platform ${os.platform} and architecture ${os.arch}.${osm.EOL}`
+ );
+ });
+
+ it('reports a failed download', async () => {
+ let errMsg = 'unhandled download message';
+ os.platform = 'linux';
+ os.arch = 'x64';
+
+ // a version which is in the manifest
+ let versionSpec = '12.16.2';
+ let resolvedVersion = versionSpec;
+
+ inputs['node-version'] = versionSpec;
+ inputs['always-auth'] = false;
+ inputs['token'] = 'faketoken';
+
+ findSpy.mockImplementation(() => '');
+ dlSpy.mockImplementation(() => {
+ throw new Error(errMsg);
+ });
+ await main.run();
+
+ expect(cnSpy).toHaveBeenCalledWith(`::error::${errMsg}${osm.EOL}`);
+ });
+
+ describe('check-latest flag', () => {
+ it('use local version and dont check manifest if check-latest is not specified', async () => {
+ os.platform = 'linux';
+ os.arch = 'x64';
+
+ inputs['node-version'] = '12';
+ inputs['check-latest'] = 'false';
+
+ const toolPath = path.normalize('/cache/node/12.16.1/x64');
+ findSpy.mockReturnValue(toolPath);
+ await main.run();
+
+ expect(logSpy).toHaveBeenCalledWith(`Found in cache @ ${toolPath}`);
+ expect(logSpy).not.toHaveBeenCalledWith(
+ 'Attempt to resolve the latest version from manifest...'
+ );
+ });
+
+ it('check latest version and resolve it from local cache', async () => {
+ os.platform = 'linux';
+ os.arch = 'x64';
+
+ inputs['node-version'] = '12';
+ inputs['check-latest'] = 'true';
+
+ const toolPath = path.normalize('/cache/node/12.16.2/x64');
+ findSpy.mockReturnValue(toolPath);
+ dlSpy.mockImplementation(async () => '/some/temp/path');
+ exSpy.mockImplementation(async () => '/some/other/temp/path');
+ cacheSpy.mockImplementation(async () => toolPath);
+
+ await main.run();
+
+ expect(logSpy).toHaveBeenCalledWith(
+ 'Attempt to resolve the latest version from manifest...'
+ );
+ expect(logSpy).toHaveBeenCalledWith("Resolved as '12.16.2'");
+ expect(logSpy).toHaveBeenCalledWith(`Found in cache @ ${toolPath}`);
+ });
+
+ it('check latest version and install it from manifest', async () => {
+ os.platform = 'linux';
+ os.arch = 'x64';
+
+ inputs['node-version'] = '12';
+ inputs['check-latest'] = 'true';
+
+ findSpy.mockImplementation(() => '');
+ dlSpy.mockImplementation(async () => '/some/temp/path');
+ const toolPath = path.normalize('/cache/node/12.16.2/x64');
+ exSpy.mockImplementation(async () => '/some/other/temp/path');
+ cacheSpy.mockImplementation(async () => toolPath);
+ const expectedUrl =
+ 'https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-linux-x64.tar.gz';
+
+ await main.run();
+
+ expect(logSpy).toHaveBeenCalledWith(
+ 'Attempt to resolve the latest version from manifest...'
+ );
+ expect(logSpy).toHaveBeenCalledWith("Resolved as '12.16.2'");
+ expect(logSpy).toHaveBeenCalledWith(
+ `Acquiring 12.16.2 from ${expectedUrl}`
+ );
+ expect(logSpy).toHaveBeenCalledWith('Extracting ...');
+ });
+
+ it('fallback to dist if version if not found in manifest', async () => {
+ os.platform = 'linux';
+ os.arch = 'x64';
+
+ // a version which is not in the manifest but is in node dist
+ let versionSpec = '11';
+
+ inputs['node-version'] = versionSpec;
+ inputs['check-latest'] = 'true';
+ inputs['always-auth'] = false;
+ inputs['token'] = 'faketoken';
+
+ // ... but not in the local cache
+ findSpy.mockImplementation(() => '');
+
+ dlSpy.mockImplementation(async () => '/some/temp/path');
+ let toolPath = path.normalize('/cache/node/11.11.0/x64');
+ exSpy.mockImplementation(async () => '/some/other/temp/path');
+ cacheSpy.mockImplementation(async () => toolPath);
+
+ await main.run();
+
+ let expPath = path.join(toolPath, 'bin');
+
+ expect(dlSpy).toHaveBeenCalled();
+ expect(exSpy).toHaveBeenCalled();
+ expect(logSpy).toHaveBeenCalledWith(
+ 'Attempt to resolve the latest version from manifest...'
+ );
+ expect(logSpy).toHaveBeenCalledWith(
+ `Failed to resolve version ${versionSpec} from manifest`
+ );
+ expect(logSpy).toHaveBeenCalledWith(
+ `Attempting to download ${versionSpec}...`
+ );
+ expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
+ });
+
+ it('fallback to dist if manifest is not available', async () => {
+ os.platform = 'linux';
+ os.arch = 'x64';
+
+ // a version which is not in the manifest but is in node dist
+ let versionSpec = '12';
+
+ inputs['node-version'] = versionSpec;
+ inputs['check-latest'] = 'true';
+ inputs['always-auth'] = false;
+ inputs['token'] = 'faketoken';
+
+ // ... but not in the local cache
+ findSpy.mockImplementation(() => '');
+ getManifestSpy.mockImplementation(() => {
+ throw new Error('Unable to download manifest');
+ });
+
+ dlSpy.mockImplementation(async () => '/some/temp/path');
+ let toolPath = path.normalize('/cache/node/12.11.0/x64');
+ exSpy.mockImplementation(async () => '/some/other/temp/path');
+ cacheSpy.mockImplementation(async () => toolPath);
+
+ await main.run();
+
+ let expPath = path.join(toolPath, 'bin');
+
+ expect(dlSpy).toHaveBeenCalled();
+ expect(exSpy).toHaveBeenCalled();
+ expect(logSpy).toHaveBeenCalledWith(
+ 'Attempt to resolve the latest version from manifest...'
+ );
+ expect(logSpy).toHaveBeenCalledWith(
+ 'Unable to resolve version from manifest...'
+ );
+ expect(logSpy).toHaveBeenCalledWith(
+ `Failed to resolve version ${versionSpec} from manifest`
+ );
+ expect(logSpy).toHaveBeenCalledWith(
+ `Attempting to download ${versionSpec}...`
+ );
+ expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
+ });
});
});
diff --git a/__tests__/verify-no-unstaged-changes.sh b/__tests__/verify-no-unstaged-changes.sh
new file mode 100755
index 0000000..f3260e3
--- /dev/null
+++ b/__tests__/verify-no-unstaged-changes.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+if [[ "$(git status --porcelain)" != "" ]]; then
+ echo ----------------------------------------
+ echo git status
+ echo ----------------------------------------
+ git status
+ echo ----------------------------------------
+ echo git diff
+ echo ----------------------------------------
+ git diff
+ echo ----------------------------------------
+ echo Troubleshooting
+ echo ----------------------------------------
+ echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run pre-checkin"
+ exit 1
+fi
diff --git a/__tests__/verify-node.sh b/__tests__/verify-node.sh
new file mode 100755
index 0000000..797aa78
--- /dev/null
+++ b/__tests__/verify-node.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+if [ -z "$1" ]; then
+ echo "Must supply node version argument"
+ exit 1
+fi
+
+node_version="$(node --version)"
+echo "Found node version '$node_version'"
+if [ -z "$(echo $node_version | grep --fixed-strings v$1)" ]; then
+ echo "Unexpected version"
+ exit 1
+fi
+
+if [ -z "$2" ]; then
+ echo "Testing npm install"
+ mkdir -p test-npm-install
+ cd test-npm-install
+ npm init -y || exit 1
+ npm install @actions/core || exit 1
+else
+ echo "Skip testing npm"
+fi
diff --git a/action.yml b/action.yml
index 77b6ca0..e5b901f 100644
--- a/action.yml
+++ b/action.yml
@@ -1,21 +1,28 @@
name: 'Setup Node.js environment'
-description: 'Setup a Node.js environment and add it to the PATH, additionally providing proxy support'
+description: 'Setup a Node.js environment by adding problem matchers and optionally downloading and adding it to the PATH'
author: 'GitHub'
inputs:
always-auth:
description: 'Set always-auth in npmrc'
default: 'false'
node-version:
- description: 'Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0'
- default: '10.x'
+ description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0'
+ check-latest:
+ description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec'
+ default: false
registry-url:
description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN'
scope:
description: 'Optional scope for authenticating against scoped registries'
+ token:
+ description: Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user.
+ default: ${{ github.token }}
+# TODO: add input to control forcing to pull from cloud or dist.
+# escape valve for someone having issues or needing the absolute latest which isn't cached yet
# Deprecated option, do not use. Will not be supported after October 1, 2019
version:
description: 'Deprecated. Use node-version instead. Will not be supported after October 1, 2019'
deprecationMessage: 'The version property will not be supported after October 1, 2019. Use node-version instead'
runs:
using: 'node12'
- main: 'lib/setup-node.js'
+ main: 'dist/index.js'
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..481183e
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,17203 @@
+module.exports =
+/******/ (function(modules, runtime) { // webpackBootstrap
+/******/ "use strict";
+/******/ // The module cache
+/******/ var installedModules = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/
+/******/ // Check if module is in cache
+/******/ if(installedModules[moduleId]) {
+/******/ return installedModules[moduleId].exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = installedModules[moduleId] = {
+/******/ i: moduleId,
+/******/ l: false,
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ // Flag the module as loaded
+/******/ module.l = true;
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/
+/******/ __webpack_require__.ab = __dirname + "/";
+/******/
+/******/ // the startup function
+/******/ function startup() {
+/******/ // Load entry module and return exports
+/******/ return __webpack_require__(934);
+/******/ };
+/******/
+/******/ // run startup
+/******/ return startup();
+/******/ })
+/************************************************************************/
+/******/ ({
+
+/***/ 0:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = withDefaults
+
+const graphql = __webpack_require__(500)
+
+function withDefaults (request, newDefaults) {
+ const newRequest = request.defaults(newDefaults)
+ const newApi = function (query, options) {
+ return graphql(newRequest, query, options)
+ }
+
+ newApi.defaults = withDefaults.bind(null, newRequest)
+ return newApi
+}
+
+
+/***/ }),
+
+/***/ 1:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const childProcess = __webpack_require__(129);
+const path = __webpack_require__(622);
+const util_1 = __webpack_require__(669);
+const ioUtil = __webpack_require__(672);
+const exec = util_1.promisify(childProcess.exec);
+/**
+ * Copies a file or folder.
+ * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js
+ *
+ * @param source source path
+ * @param dest destination path
+ * @param options optional. See CopyOptions.
+ */
+function cp(source, dest, options = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const { force, recursive } = readCopyOptions(options);
+ const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null;
+ // Dest is an existing file, but not forcing
+ if (destStat && destStat.isFile() && !force) {
+ return;
+ }
+ // If dest is an existing directory, should copy inside.
+ const newDest = destStat && destStat.isDirectory()
+ ? path.join(dest, path.basename(source))
+ : dest;
+ if (!(yield ioUtil.exists(source))) {
+ throw new Error(`no such file or directory: ${source}`);
+ }
+ const sourceStat = yield ioUtil.stat(source);
+ if (sourceStat.isDirectory()) {
+ if (!recursive) {
+ throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);
+ }
+ else {
+ yield cpDirRecursive(source, newDest, 0, force);
+ }
+ }
+ else {
+ if (path.relative(source, newDest) === '') {
+ // a file cannot be copied to itself
+ throw new Error(`'${newDest}' and '${source}' are the same file`);
+ }
+ yield copyFile(source, newDest, force);
+ }
+ });
+}
+exports.cp = cp;
+/**
+ * Moves a path.
+ *
+ * @param source source path
+ * @param dest destination path
+ * @param options optional. See MoveOptions.
+ */
+function mv(source, dest, options = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (yield ioUtil.exists(dest)) {
+ let destExists = true;
+ if (yield ioUtil.isDirectory(dest)) {
+ // If dest is directory copy src into dest
+ dest = path.join(dest, path.basename(source));
+ destExists = yield ioUtil.exists(dest);
+ }
+ if (destExists) {
+ if (options.force == null || options.force) {
+ yield rmRF(dest);
+ }
+ else {
+ throw new Error('Destination already exists');
+ }
+ }
+ }
+ yield mkdirP(path.dirname(dest));
+ yield ioUtil.rename(source, dest);
+ });
+}
+exports.mv = mv;
+/**
+ * Remove a path recursively with force
+ *
+ * @param inputPath path to remove
+ */
+function rmRF(inputPath) {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (ioUtil.IS_WINDOWS) {
+ // Node doesn't provide a delete operation, only an unlink function. This means that if the file is being used by another
+ // program (e.g. antivirus), it won't be deleted. To address this, we shell out the work to rd/del.
+ try {
+ if (yield ioUtil.isDirectory(inputPath, true)) {
+ yield exec(`rd /s /q "${inputPath}"`);
+ }
+ else {
+ yield exec(`del /f /a "${inputPath}"`);
+ }
+ }
+ catch (err) {
+ // if you try to delete a file that doesn't exist, desired result is achieved
+ // other errors are valid
+ if (err.code !== 'ENOENT')
+ throw err;
+ }
+ // Shelling out fails to remove a symlink folder with missing source, this unlink catches that
+ try {
+ yield ioUtil.unlink(inputPath);
+ }
+ catch (err) {
+ // if you try to delete a file that doesn't exist, desired result is achieved
+ // other errors are valid
+ if (err.code !== 'ENOENT')
+ throw err;
+ }
+ }
+ else {
+ let isDir = false;
+ try {
+ isDir = yield ioUtil.isDirectory(inputPath);
+ }
+ catch (err) {
+ // if you try to delete a file that doesn't exist, desired result is achieved
+ // other errors are valid
+ if (err.code !== 'ENOENT')
+ throw err;
+ return;
+ }
+ if (isDir) {
+ yield exec(`rm -rf "${inputPath}"`);
+ }
+ else {
+ yield ioUtil.unlink(inputPath);
+ }
+ }
+ });
+}
+exports.rmRF = rmRF;
+/**
+ * Make a directory. Creates the full path with folders in between
+ * Will throw if it fails
+ *
+ * @param fsPath path to create
+ * @returns Promise
+ */
+function mkdirP(fsPath) {
+ return __awaiter(this, void 0, void 0, function* () {
+ yield ioUtil.mkdirP(fsPath);
+ });
+}
+exports.mkdirP = mkdirP;
+/**
+ * Returns path of a tool had the tool actually been invoked. Resolves via paths.
+ * If you check and the tool does not exist, it will throw.
+ *
+ * @param tool name of the tool
+ * @param check whether to check if tool exists
+ * @returns Promise path to tool
+ */
+function which(tool, check) {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (!tool) {
+ throw new Error("parameter 'tool' is required");
+ }
+ // recursive when check=true
+ if (check) {
+ const result = yield which(tool, false);
+ if (!result) {
+ if (ioUtil.IS_WINDOWS) {
+ throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`);
+ }
+ else {
+ throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);
+ }
+ }
+ }
+ try {
+ // build the list of extensions to try
+ const extensions = [];
+ if (ioUtil.IS_WINDOWS && process.env.PATHEXT) {
+ for (const extension of process.env.PATHEXT.split(path.delimiter)) {
+ if (extension) {
+ extensions.push(extension);
+ }
+ }
+ }
+ // if it's rooted, return it if exists. otherwise return empty.
+ if (ioUtil.isRooted(tool)) {
+ const filePath = yield ioUtil.tryGetExecutablePath(tool, extensions);
+ if (filePath) {
+ return filePath;
+ }
+ return '';
+ }
+ // if any path separators, return empty
+ if (tool.includes('/') || (ioUtil.IS_WINDOWS && tool.includes('\\'))) {
+ return '';
+ }
+ // build the list of directories
+ //
+ // Note, technically "where" checks the current directory on Windows. From a toolkit perspective,
+ // it feels like we should not do this. Checking the current directory seems like more of a use
+ // case of a shell, and the which() function exposed by the toolkit should strive for consistency
+ // across platforms.
+ const directories = [];
+ if (process.env.PATH) {
+ for (const p of process.env.PATH.split(path.delimiter)) {
+ if (p) {
+ directories.push(p);
+ }
+ }
+ }
+ // return the first match
+ for (const directory of directories) {
+ const filePath = yield ioUtil.tryGetExecutablePath(directory + path.sep + tool, extensions);
+ if (filePath) {
+ return filePath;
+ }
+ }
+ return '';
+ }
+ catch (err) {
+ throw new Error(`which failed with message ${err.message}`);
+ }
+ });
+}
+exports.which = which;
+function readCopyOptions(options) {
+ const force = options.force == null ? true : options.force;
+ const recursive = Boolean(options.recursive);
+ return { force, recursive };
+}
+function cpDirRecursive(sourceDir, destDir, currentDepth, force) {
+ return __awaiter(this, void 0, void 0, function* () {
+ // Ensure there is not a run away recursive copy
+ if (currentDepth >= 255)
+ return;
+ currentDepth++;
+ yield mkdirP(destDir);
+ const files = yield ioUtil.readdir(sourceDir);
+ for (const fileName of files) {
+ const srcFile = `${sourceDir}/${fileName}`;
+ const destFile = `${destDir}/${fileName}`;
+ const srcFileStat = yield ioUtil.lstat(srcFile);
+ if (srcFileStat.isDirectory()) {
+ // Recurse
+ yield cpDirRecursive(srcFile, destFile, currentDepth, force);
+ }
+ else {
+ yield copyFile(srcFile, destFile, force);
+ }
+ }
+ // Change the mode for the newly created directory
+ yield ioUtil.chmod(destDir, (yield ioUtil.stat(sourceDir)).mode);
+ });
+}
+// Buffered file copy
+function copyFile(srcFile, destFile, force) {
+ return __awaiter(this, void 0, void 0, function* () {
+ if ((yield ioUtil.lstat(srcFile)).isSymbolicLink()) {
+ // unlink/re-link it
+ try {
+ yield ioUtil.lstat(destFile);
+ yield ioUtil.unlink(destFile);
+ }
+ catch (e) {
+ // Try to override file permission
+ if (e.code === 'EPERM') {
+ yield ioUtil.chmod(destFile, '0666');
+ yield ioUtil.unlink(destFile);
+ }
+ // other errors = it doesn't exist, no work to do
+ }
+ // Copy over symlink
+ const symlinkFull = yield ioUtil.readlink(srcFile);
+ yield ioUtil.symlink(symlinkFull, destFile, ioUtil.IS_WINDOWS ? 'junction' : null);
+ }
+ else if (!(yield ioUtil.exists(destFile)) || force) {
+ yield ioUtil.copyFile(srcFile, destFile);
+ }
+ });
+}
+//# sourceMappingURL=io.js.map
+
+/***/ }),
+
+/***/ 2:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+const os = __webpack_require__(87);
+const macosRelease = __webpack_require__(118);
+const winRelease = __webpack_require__(49);
+
+const osName = (platform, release) => {
+ if (!platform && release) {
+ throw new Error('You can\'t specify a `release` without specifying `platform`');
+ }
+
+ platform = platform || os.platform();
+
+ let id;
+
+ if (platform === 'darwin') {
+ if (!release && os.platform() === 'darwin') {
+ release = os.release();
+ }
+
+ const prefix = release ? (Number(release.split('.')[0]) > 15 ? 'macOS' : 'OS X') : 'macOS';
+ id = release ? macosRelease(release).name : '';
+ return prefix + (id ? ' ' + id : '');
+ }
+
+ if (platform === 'linux') {
+ if (!release && os.platform() === 'linux') {
+ release = os.release();
+ }
+
+ id = release ? release.replace(/^(\d+\.\d+).*/, '$1') : '';
+ return 'Linux' + (id ? ' ' + id : '');
+ }
+
+ if (platform === 'win32') {
+ if (!release && os.platform() === 'win32') {
+ release = os.release();
+ }
+
+ id = release ? winRelease(release) : '';
+ return 'Windows' + (id ? ' ' + id : '');
+ }
+
+ return platform;
+};
+
+module.exports = osName;
+
+
+/***/ }),
+
+/***/ 3:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+var once = __webpack_require__(969);
+
+var noop = function() {};
+
+var isRequest = function(stream) {
+ return stream.setHeader && typeof stream.abort === 'function';
+};
+
+var isChildProcess = function(stream) {
+ return stream.stdio && Array.isArray(stream.stdio) && stream.stdio.length === 3
+};
+
+var eos = function(stream, opts, callback) {
+ if (typeof opts === 'function') return eos(stream, null, opts);
+ if (!opts) opts = {};
+
+ callback = once(callback || noop);
+
+ var ws = stream._writableState;
+ var rs = stream._readableState;
+ var readable = opts.readable || (opts.readable !== false && stream.readable);
+ var writable = opts.writable || (opts.writable !== false && stream.writable);
+
+ var onlegacyfinish = function() {
+ if (!stream.writable) onfinish();
+ };
+
+ var onfinish = function() {
+ writable = false;
+ if (!readable) callback.call(stream);
+ };
+
+ var onend = function() {
+ readable = false;
+ if (!writable) callback.call(stream);
+ };
+
+ var onexit = function(exitCode) {
+ callback.call(stream, exitCode ? new Error('exited with error code: ' + exitCode) : null);
+ };
+
+ var onerror = function(err) {
+ callback.call(stream, err);
+ };
+
+ var onclose = function() {
+ if (readable && !(rs && rs.ended)) return callback.call(stream, new Error('premature close'));
+ if (writable && !(ws && ws.ended)) return callback.call(stream, new Error('premature close'));
+ };
+
+ var onrequest = function() {
+ stream.req.on('finish', onfinish);
+ };
+
+ if (isRequest(stream)) {
+ stream.on('complete', onfinish);
+ stream.on('abort', onclose);
+ if (stream.req) onrequest();
+ else stream.on('request', onrequest);
+ } else if (writable && !ws) { // legacy streams
+ stream.on('end', onlegacyfinish);
+ stream.on('close', onlegacyfinish);
+ }
+
+ if (isChildProcess(stream)) stream.on('exit', onexit);
+
+ stream.on('end', onend);
+ stream.on('finish', onfinish);
+ if (opts.error !== false) stream.on('error', onerror);
+ stream.on('close', onclose);
+
+ return function() {
+ stream.removeListener('complete', onfinish);
+ stream.removeListener('abort', onclose);
+ stream.removeListener('request', onrequest);
+ if (stream.req) stream.req.removeListener('finish', onfinish);
+ stream.removeListener('end', onlegacyfinish);
+ stream.removeListener('close', onlegacyfinish);
+ stream.removeListener('finish', onfinish);
+ stream.removeListener('exit', onexit);
+ stream.removeListener('end', onend);
+ stream.removeListener('error', onerror);
+ stream.removeListener('close', onclose);
+ };
+};
+
+module.exports = eos;
+
+
+/***/ }),
+
+/***/ 8:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = iterator;
+
+const normalizePaginatedListResponse = __webpack_require__(301);
+
+function iterator(octokit, options) {
+ const headers = options.headers;
+ let url = octokit.request.endpoint(options).url;
+
+ return {
+ [Symbol.asyncIterator]: () => ({
+ next() {
+ if (!url) {
+ return Promise.resolve({ done: true });
+ }
+
+ return octokit
+ .request({ url, headers })
+
+ .then(response => {
+ normalizePaginatedListResponse(octokit, url, response);
+
+ // `response.headers.link` format:
+ // '; rel="next", ; rel="last"'
+ // sets `url` to undefined if "next" URL is not present or `link` header is not set
+ url = ((response.headers.link || "").match(
+ /<([^>]+)>;\s*rel="next"/
+ ) || [])[1];
+
+ return { value: response };
+ });
+ }
+ })
+ };
+}
+
+
+/***/ }),
+
+/***/ 9:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const os = __importStar(__webpack_require__(87));
+const events = __importStar(__webpack_require__(614));
+const child = __importStar(__webpack_require__(129));
+const path = __importStar(__webpack_require__(622));
+const io = __importStar(__webpack_require__(1));
+const ioUtil = __importStar(__webpack_require__(672));
+/* eslint-disable @typescript-eslint/unbound-method */
+const IS_WINDOWS = process.platform === 'win32';
+/*
+ * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.
+ */
+class ToolRunner extends events.EventEmitter {
+ constructor(toolPath, args, options) {
+ super();
+ if (!toolPath) {
+ throw new Error("Parameter 'toolPath' cannot be null or empty.");
+ }
+ this.toolPath = toolPath;
+ this.args = args || [];
+ this.options = options || {};
+ }
+ _debug(message) {
+ if (this.options.listeners && this.options.listeners.debug) {
+ this.options.listeners.debug(message);
+ }
+ }
+ _getCommandString(options, noPrefix) {
+ const toolPath = this._getSpawnFileName();
+ const args = this._getSpawnArgs(options);
+ let cmd = noPrefix ? '' : '[command]'; // omit prefix when piped to a second tool
+ if (IS_WINDOWS) {
+ // Windows + cmd file
+ if (this._isCmdFile()) {
+ cmd += toolPath;
+ for (const a of args) {
+ cmd += ` ${a}`;
+ }
+ }
+ // Windows + verbatim
+ else if (options.windowsVerbatimArguments) {
+ cmd += `"${toolPath}"`;
+ for (const a of args) {
+ cmd += ` ${a}`;
+ }
+ }
+ // Windows (regular)
+ else {
+ cmd += this._windowsQuoteCmdArg(toolPath);
+ for (const a of args) {
+ cmd += ` ${this._windowsQuoteCmdArg(a)}`;
+ }
+ }
+ }
+ else {
+ // OSX/Linux - this can likely be improved with some form of quoting.
+ // creating processes on Unix is fundamentally different than Windows.
+ // on Unix, execvp() takes an arg array.
+ cmd += toolPath;
+ for (const a of args) {
+ cmd += ` ${a}`;
+ }
+ }
+ return cmd;
+ }
+ _processLineBuffer(data, strBuffer, onLine) {
+ try {
+ let s = strBuffer + data.toString();
+ let n = s.indexOf(os.EOL);
+ while (n > -1) {
+ const line = s.substring(0, n);
+ onLine(line);
+ // the rest of the string ...
+ s = s.substring(n + os.EOL.length);
+ n = s.indexOf(os.EOL);
+ }
+ strBuffer = s;
+ }
+ catch (err) {
+ // streaming lines to console is best effort. Don't fail a build.
+ this._debug(`error processing line. Failed with error ${err}`);
+ }
+ }
+ _getSpawnFileName() {
+ if (IS_WINDOWS) {
+ if (this._isCmdFile()) {
+ return process.env['COMSPEC'] || 'cmd.exe';
+ }
+ }
+ return this.toolPath;
+ }
+ _getSpawnArgs(options) {
+ if (IS_WINDOWS) {
+ if (this._isCmdFile()) {
+ let argline = `/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;
+ for (const a of this.args) {
+ argline += ' ';
+ argline += options.windowsVerbatimArguments
+ ? a
+ : this._windowsQuoteCmdArg(a);
+ }
+ argline += '"';
+ return [argline];
+ }
+ }
+ return this.args;
+ }
+ _endsWith(str, end) {
+ return str.endsWith(end);
+ }
+ _isCmdFile() {
+ const upperToolPath = this.toolPath.toUpperCase();
+ return (this._endsWith(upperToolPath, '.CMD') ||
+ this._endsWith(upperToolPath, '.BAT'));
+ }
+ _windowsQuoteCmdArg(arg) {
+ // for .exe, apply the normal quoting rules that libuv applies
+ if (!this._isCmdFile()) {
+ return this._uvQuoteCmdArg(arg);
+ }
+ // otherwise apply quoting rules specific to the cmd.exe command line parser.
+ // the libuv rules are generic and are not designed specifically for cmd.exe
+ // command line parser.
+ //
+ // for a detailed description of the cmd.exe command line parser, refer to
+ // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912
+ // need quotes for empty arg
+ if (!arg) {
+ return '""';
+ }
+ // determine whether the arg needs to be quoted
+ const cmdSpecialChars = [
+ ' ',
+ '\t',
+ '&',
+ '(',
+ ')',
+ '[',
+ ']',
+ '{',
+ '}',
+ '^',
+ '=',
+ ';',
+ '!',
+ "'",
+ '+',
+ ',',
+ '`',
+ '~',
+ '|',
+ '<',
+ '>',
+ '"'
+ ];
+ let needsQuotes = false;
+ for (const char of arg) {
+ if (cmdSpecialChars.some(x => x === char)) {
+ needsQuotes = true;
+ break;
+ }
+ }
+ // short-circuit if quotes not needed
+ if (!needsQuotes) {
+ return arg;
+ }
+ // the following quoting rules are very similar to the rules that by libuv applies.
+ //
+ // 1) wrap the string in quotes
+ //
+ // 2) double-up quotes - i.e. " => ""
+ //
+ // this is different from the libuv quoting rules. libuv replaces " with \", which unfortunately
+ // doesn't work well with a cmd.exe command line.
+ //
+ // note, replacing " with "" also works well if the arg is passed to a downstream .NET console app.
+ // for example, the command line:
+ // foo.exe "myarg:""my val"""
+ // is parsed by a .NET console app into an arg array:
+ // [ "myarg:\"my val\"" ]
+ // which is the same end result when applying libuv quoting rules. although the actual
+ // command line from libuv quoting rules would look like:
+ // foo.exe "myarg:\"my val\""
+ //
+ // 3) double-up slashes that precede a quote,
+ // e.g. hello \world => "hello \world"
+ // hello\"world => "hello\\""world"
+ // hello\\"world => "hello\\\\""world"
+ // hello world\ => "hello world\\"
+ //
+ // technically this is not required for a cmd.exe command line, or the batch argument parser.
+ // the reasons for including this as a .cmd quoting rule are:
+ //
+ // a) this is optimized for the scenario where the argument is passed from the .cmd file to an
+ // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.
+ //
+ // b) it's what we've been doing previously (by deferring to node default behavior) and we
+ // haven't heard any complaints about that aspect.
+ //
+ // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be
+ // escaped when used on the command line directly - even though within a .cmd file % can be escaped
+ // by using %%.
+ //
+ // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts
+ // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.
+ //
+ // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would
+ // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the
+ // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args
+ // to an external program.
+ //
+ // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.
+ // % can be escaped within a .cmd file.
+ let reverse = '"';
+ let quoteHit = true;
+ for (let i = arg.length; i > 0; i--) {
+ // walk the string in reverse
+ reverse += arg[i - 1];
+ if (quoteHit && arg[i - 1] === '\\') {
+ reverse += '\\'; // double the slash
+ }
+ else if (arg[i - 1] === '"') {
+ quoteHit = true;
+ reverse += '"'; // double the quote
+ }
+ else {
+ quoteHit = false;
+ }
+ }
+ reverse += '"';
+ return reverse
+ .split('')
+ .reverse()
+ .join('');
+ }
+ _uvQuoteCmdArg(arg) {
+ // Tool runner wraps child_process.spawn() and needs to apply the same quoting as
+ // Node in certain cases where the undocumented spawn option windowsVerbatimArguments
+ // is used.
+ //
+ // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,
+ // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),
+ // pasting copyright notice from Node within this function:
+ //
+ // Copyright Joyent, Inc. and other Node contributors. All rights reserved.
+ //
+ // 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.
+ if (!arg) {
+ // Need double quotation for empty argument
+ return '""';
+ }
+ if (!arg.includes(' ') && !arg.includes('\t') && !arg.includes('"')) {
+ // No quotation needed
+ return arg;
+ }
+ if (!arg.includes('"') && !arg.includes('\\')) {
+ // No embedded double quotes or backslashes, so I can just wrap
+ // quote marks around the whole thing.
+ return `"${arg}"`;
+ }
+ // Expected input/output:
+ // input : hello"world
+ // output: "hello\"world"
+ // input : hello""world
+ // output: "hello\"\"world"
+ // input : hello\world
+ // output: hello\world
+ // input : hello\\world
+ // output: hello\\world
+ // input : hello\"world
+ // output: "hello\\\"world"
+ // input : hello\\"world
+ // output: "hello\\\\\"world"
+ // input : hello world\
+ // output: "hello world\\" - note the comment in libuv actually reads "hello world\"
+ // but it appears the comment is wrong, it should be "hello world\\"
+ let reverse = '"';
+ let quoteHit = true;
+ for (let i = arg.length; i > 0; i--) {
+ // walk the string in reverse
+ reverse += arg[i - 1];
+ if (quoteHit && arg[i - 1] === '\\') {
+ reverse += '\\';
+ }
+ else if (arg[i - 1] === '"') {
+ quoteHit = true;
+ reverse += '\\';
+ }
+ else {
+ quoteHit = false;
+ }
+ }
+ reverse += '"';
+ return reverse
+ .split('')
+ .reverse()
+ .join('');
+ }
+ _cloneExecOptions(options) {
+ options = options || {};
+ const result = {
+ cwd: options.cwd || process.cwd(),
+ env: options.env || process.env,
+ silent: options.silent || false,
+ windowsVerbatimArguments: options.windowsVerbatimArguments || false,
+ failOnStdErr: options.failOnStdErr || false,
+ ignoreReturnCode: options.ignoreReturnCode || false,
+ delay: options.delay || 10000
+ };
+ result.outStream = options.outStream || process.stdout;
+ result.errStream = options.errStream || process.stderr;
+ return result;
+ }
+ _getSpawnOptions(options, toolPath) {
+ options = options || {};
+ const result = {};
+ result.cwd = options.cwd;
+ result.env = options.env;
+ result['windowsVerbatimArguments'] =
+ options.windowsVerbatimArguments || this._isCmdFile();
+ if (options.windowsVerbatimArguments) {
+ result.argv0 = `"${toolPath}"`;
+ }
+ return result;
+ }
+ /**
+ * Exec a tool.
+ * Output will be streamed to the live console.
+ * Returns promise with return code
+ *
+ * @param tool path to tool to exec
+ * @param options optional exec options. See ExecOptions
+ * @returns number
+ */
+ exec() {
+ return __awaiter(this, void 0, void 0, function* () {
+ // root the tool path if it is unrooted and contains relative pathing
+ if (!ioUtil.isRooted(this.toolPath) &&
+ (this.toolPath.includes('/') ||
+ (IS_WINDOWS && this.toolPath.includes('\\')))) {
+ // prefer options.cwd if it is specified, however options.cwd may also need to be rooted
+ this.toolPath = path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);
+ }
+ // if the tool is only a file name, then resolve it from the PATH
+ // otherwise verify it exists (add extension on Windows if necessary)
+ this.toolPath = yield io.which(this.toolPath, true);
+ return new Promise((resolve, reject) => {
+ this._debug(`exec tool: ${this.toolPath}`);
+ this._debug('arguments:');
+ for (const arg of this.args) {
+ this._debug(` ${arg}`);
+ }
+ const optionsNonNull = this._cloneExecOptions(this.options);
+ if (!optionsNonNull.silent && optionsNonNull.outStream) {
+ optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + os.EOL);
+ }
+ const state = new ExecState(optionsNonNull, this.toolPath);
+ state.on('debug', (message) => {
+ this._debug(message);
+ });
+ const fileName = this._getSpawnFileName();
+ const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));
+ const stdbuffer = '';
+ if (cp.stdout) {
+ cp.stdout.on('data', (data) => {
+ if (this.options.listeners && this.options.listeners.stdout) {
+ this.options.listeners.stdout(data);
+ }
+ if (!optionsNonNull.silent && optionsNonNull.outStream) {
+ optionsNonNull.outStream.write(data);
+ }
+ this._processLineBuffer(data, stdbuffer, (line) => {
+ if (this.options.listeners && this.options.listeners.stdline) {
+ this.options.listeners.stdline(line);
+ }
+ });
+ });
+ }
+ const errbuffer = '';
+ if (cp.stderr) {
+ cp.stderr.on('data', (data) => {
+ state.processStderr = true;
+ if (this.options.listeners && this.options.listeners.stderr) {
+ this.options.listeners.stderr(data);
+ }
+ if (!optionsNonNull.silent &&
+ optionsNonNull.errStream &&
+ optionsNonNull.outStream) {
+ const s = optionsNonNull.failOnStdErr
+ ? optionsNonNull.errStream
+ : optionsNonNull.outStream;
+ s.write(data);
+ }
+ this._processLineBuffer(data, errbuffer, (line) => {
+ if (this.options.listeners && this.options.listeners.errline) {
+ this.options.listeners.errline(line);
+ }
+ });
+ });
+ }
+ cp.on('error', (err) => {
+ state.processError = err.message;
+ state.processExited = true;
+ state.processClosed = true;
+ state.CheckComplete();
+ });
+ cp.on('exit', (code) => {
+ state.processExitCode = code;
+ state.processExited = true;
+ this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);
+ state.CheckComplete();
+ });
+ cp.on('close', (code) => {
+ state.processExitCode = code;
+ state.processExited = true;
+ state.processClosed = true;
+ this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);
+ state.CheckComplete();
+ });
+ state.on('done', (error, exitCode) => {
+ if (stdbuffer.length > 0) {
+ this.emit('stdline', stdbuffer);
+ }
+ if (errbuffer.length > 0) {
+ this.emit('errline', errbuffer);
+ }
+ cp.removeAllListeners();
+ if (error) {
+ reject(error);
+ }
+ else {
+ resolve(exitCode);
+ }
+ });
+ if (this.options.input) {
+ if (!cp.stdin) {
+ throw new Error('child process missing stdin');
+ }
+ cp.stdin.end(this.options.input);
+ }
+ });
+ });
+ }
+}
+exports.ToolRunner = ToolRunner;
+/**
+ * Convert an arg string to an array of args. Handles escaping
+ *
+ * @param argString string of arguments
+ * @returns string[] array of arguments
+ */
+function argStringToArray(argString) {
+ const args = [];
+ let inQuotes = false;
+ let escaped = false;
+ let arg = '';
+ function append(c) {
+ // we only escape double quotes.
+ if (escaped && c !== '"') {
+ arg += '\\';
+ }
+ arg += c;
+ escaped = false;
+ }
+ for (let i = 0; i < argString.length; i++) {
+ const c = argString.charAt(i);
+ if (c === '"') {
+ if (!escaped) {
+ inQuotes = !inQuotes;
+ }
+ else {
+ append(c);
+ }
+ continue;
+ }
+ if (c === '\\' && escaped) {
+ append(c);
+ continue;
+ }
+ if (c === '\\' && inQuotes) {
+ escaped = true;
+ continue;
+ }
+ if (c === ' ' && !inQuotes) {
+ if (arg.length > 0) {
+ args.push(arg);
+ arg = '';
+ }
+ continue;
+ }
+ append(c);
+ }
+ if (arg.length > 0) {
+ args.push(arg.trim());
+ }
+ return args;
+}
+exports.argStringToArray = argStringToArray;
+class ExecState extends events.EventEmitter {
+ constructor(options, toolPath) {
+ super();
+ this.processClosed = false; // tracks whether the process has exited and stdio is closed
+ this.processError = '';
+ this.processExitCode = 0;
+ this.processExited = false; // tracks whether the process has exited
+ this.processStderr = false; // tracks whether stderr was written to
+ this.delay = 10000; // 10 seconds
+ this.done = false;
+ this.timeout = null;
+ if (!toolPath) {
+ throw new Error('toolPath must not be empty');
+ }
+ this.options = options;
+ this.toolPath = toolPath;
+ if (options.delay) {
+ this.delay = options.delay;
+ }
+ }
+ CheckComplete() {
+ if (this.done) {
+ return;
+ }
+ if (this.processClosed) {
+ this._setResult();
+ }
+ else if (this.processExited) {
+ this.timeout = setTimeout(ExecState.HandleTimeout, this.delay, this);
+ }
+ }
+ _debug(message) {
+ this.emit('debug', message);
+ }
+ _setResult() {
+ // determine whether there is an error
+ let error;
+ if (this.processExited) {
+ if (this.processError) {
+ error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);
+ }
+ else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) {
+ error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);
+ }
+ else if (this.processStderr && this.options.failOnStdErr) {
+ error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);
+ }
+ }
+ // clear the timeout
+ if (this.timeout) {
+ clearTimeout(this.timeout);
+ this.timeout = null;
+ }
+ this.done = true;
+ this.emit('done', error, this.processExitCode);
+ }
+ static HandleTimeout(state) {
+ if (state.done) {
+ return;
+ }
+ if (!state.processClosed && state.processExited) {
+ const message = `The STDIO streams did not close within ${state.delay /
+ 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;
+ state._debug(message);
+ }
+ state._setResult();
+ }
+}
+//# sourceMappingURL=toolrunner.js.map
+
+/***/ }),
+
+/***/ 11:
+/***/ (function(module) {
+
+// Returns a wrapper function that returns a wrapped callback
+// The wrapper function should do some stuff, and return a
+// presumably different callback function.
+// This makes sure that own properties are retained, so that
+// decorations and such are not lost along the way.
+module.exports = wrappy
+function wrappy (fn, cb) {
+ if (fn && cb) return wrappy(fn)(cb)
+
+ if (typeof fn !== 'function')
+ throw new TypeError('need wrapper function')
+
+ Object.keys(fn).forEach(function (k) {
+ wrapper[k] = fn[k]
+ })
+
+ return wrapper
+
+ function wrapper() {
+ var args = new Array(arguments.length)
+ for (var i = 0; i < args.length; i++) {
+ args[i] = arguments[i]
+ }
+ var ret = fn.apply(this, args)
+ var cb = args[args.length-1]
+ if (typeof ret === 'function' && ret !== cb) {
+ Object.keys(cb).forEach(function (k) {
+ ret[k] = cb[k]
+ })
+ }
+ return ret
+ }
+}
+
+
+/***/ }),
+
+/***/ 16:
+/***/ (function(module) {
+
+module.exports = require("tls");
+
+/***/ }),
+
+/***/ 18:
+/***/ (function() {
+
+eval("require")("encoding");
+
+
+/***/ }),
+
+/***/ 19:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = authenticationPlugin;
+
+const { Deprecation } = __webpack_require__(692);
+const once = __webpack_require__(969);
+
+const deprecateAuthenticate = once((log, deprecation) => log.warn(deprecation));
+
+const authenticate = __webpack_require__(674);
+const beforeRequest = __webpack_require__(471);
+const requestError = __webpack_require__(349);
+
+function authenticationPlugin(octokit, options) {
+ if (options.auth) {
+ octokit.authenticate = () => {
+ deprecateAuthenticate(
+ octokit.log,
+ new Deprecation(
+ '[@octokit/rest] octokit.authenticate() is deprecated and has no effect when "auth" option is set on Octokit constructor'
+ )
+ );
+ };
+ return;
+ }
+ const state = {
+ octokit,
+ auth: false
+ };
+ octokit.authenticate = authenticate.bind(null, state);
+ octokit.hook.before("request", beforeRequest.bind(null, state));
+ octokit.hook.error("request", requestError.bind(null, state));
+}
+
+
+/***/ }),
+
+/***/ 20:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", { value: true });
+const url = __webpack_require__(835);
+function getProxyUrl(reqUrl) {
+ let usingSsl = reqUrl.protocol === 'https:';
+ let proxyUrl;
+ if (checkBypass(reqUrl)) {
+ return proxyUrl;
+ }
+ let proxyVar;
+ if (usingSsl) {
+ proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];
+ }
+ else {
+ proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];
+ }
+ if (proxyVar) {
+ proxyUrl = url.parse(proxyVar);
+ }
+ return proxyUrl;
+}
+exports.getProxyUrl = getProxyUrl;
+function checkBypass(reqUrl) {
+ if (!reqUrl.hostname) {
+ return false;
+ }
+ let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';
+ if (!noProxy) {
+ return false;
+ }
+ // Determine the request port
+ let reqPort;
+ if (reqUrl.port) {
+ reqPort = Number(reqUrl.port);
+ }
+ else if (reqUrl.protocol === 'http:') {
+ reqPort = 80;
+ }
+ else if (reqUrl.protocol === 'https:') {
+ reqPort = 443;
+ }
+ // Format the request hostname and hostname with port
+ let upperReqHosts = [reqUrl.hostname.toUpperCase()];
+ if (typeof reqPort === 'number') {
+ upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);
+ }
+ // Compare request host against noproxy
+ for (let upperNoProxyItem of noProxy
+ .split(',')
+ .map(x => x.trim().toUpperCase())
+ .filter(x => x)) {
+ if (upperReqHosts.some(x => x === upperNoProxyItem)) {
+ return true;
+ }
+ }
+ return false;
+}
+exports.checkBypass = checkBypass;
+
+
+/***/ }),
+
+/***/ 31:
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const semver = __importStar(__webpack_require__(280));
+const core_1 = __webpack_require__(902);
+// needs to be require for core node modules to be mocked
+/* eslint @typescript-eslint/no-require-imports: 0 */
+const os = __webpack_require__(87);
+const cp = __webpack_require__(129);
+const fs = __webpack_require__(747);
+function _findMatch(versionSpec, stable, candidates, archFilter) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const platFilter = os.platform();
+ let result;
+ let match;
+ let file;
+ for (const candidate of candidates) {
+ const version = candidate.version;
+ core_1.debug(`check ${version} satisfies ${versionSpec}`);
+ if (semver.satisfies(version, versionSpec) &&
+ (!stable || candidate.stable === stable)) {
+ file = candidate.files.find(item => {
+ core_1.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);
+ let chk = item.arch === archFilter && item.platform === platFilter;
+ if (chk && item.platform_version) {
+ const osVersion = module.exports._getOsVersion();
+ if (osVersion === item.platform_version) {
+ chk = true;
+ }
+ else {
+ chk = semver.satisfies(osVersion, item.platform_version);
+ }
+ }
+ return chk;
+ });
+ if (file) {
+ core_1.debug(`matched ${candidate.version}`);
+ match = candidate;
+ break;
+ }
+ }
+ }
+ if (match && file) {
+ // clone since we're mutating the file list to be only the file that matches
+ result = Object.assign({}, match);
+ result.files = [file];
+ }
+ return result;
+ });
+}
+exports._findMatch = _findMatch;
+function _getOsVersion() {
+ // TODO: add windows and other linux, arm variants
+ // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)
+ const plat = os.platform();
+ let version = '';
+ if (plat === 'darwin') {
+ version = cp.execSync('sw_vers -productVersion').toString();
+ }
+ else if (plat === 'linux') {
+ // lsb_release process not in some containers, readfile
+ // Run cat /etc/lsb-release
+ // DISTRIB_ID=Ubuntu
+ // DISTRIB_RELEASE=18.04
+ // DISTRIB_CODENAME=bionic
+ // DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
+ const lsbContents = module.exports._readLinuxVersionFile();
+ if (lsbContents) {
+ const lines = lsbContents.split('\n');
+ for (const line of lines) {
+ const parts = line.split('=');
+ if (parts.length === 2 && parts[0].trim() === 'DISTRIB_RELEASE') {
+ version = parts[1].trim();
+ break;
+ }
+ }
+ }
+ }
+ return version;
+}
+exports._getOsVersion = _getOsVersion;
+function _readLinuxVersionFile() {
+ const lsbFile = '/etc/lsb-release';
+ let contents = '';
+ if (fs.existsSync(lsbFile)) {
+ contents = fs.readFileSync(lsbFile).toString();
+ }
+ return contents;
+}
+exports._readLinuxVersionFile = _readLinuxVersionFile;
+//# sourceMappingURL=manifest.js.map
+
+/***/ }),
+
+/***/ 39:
+/***/ (function(module) {
+
+"use strict";
+
+module.exports = opts => {
+ opts = opts || {};
+
+ const env = opts.env || process.env;
+ const platform = opts.platform || process.platform;
+
+ if (platform !== 'win32') {
+ return 'PATH';
+ }
+
+ return Object.keys(env).find(x => x.toUpperCase() === 'PATH') || 'Path';
+};
+
+
+/***/ }),
+
+/***/ 46:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = getUserAgentNode
+
+const osName = __webpack_require__(2)
+
+function getUserAgentNode () {
+ try {
+ return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`
+ } catch (error) {
+ if (/wmic os get Caption/.test(error.message)) {
+ return 'Windows '
+ }
+
+ throw error
+ }
+}
+
+
+/***/ }),
+
+/***/ 47:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = factory;
+
+const Octokit = __webpack_require__(402);
+const registerPlugin = __webpack_require__(855);
+
+function factory(plugins) {
+ const Api = Octokit.bind(null, plugins || []);
+ Api.plugin = registerPlugin.bind(null, plugins || []);
+ return Api;
+}
+
+
+/***/ }),
+
+/***/ 48:
+/***/ (function(module, exports) {
+
+exports = module.exports = SemVer
+
+var debug
+/* istanbul ignore next */
+if (typeof process === 'object' &&
+ process.env &&
+ process.env.NODE_DEBUG &&
+ /\bsemver\b/i.test(process.env.NODE_DEBUG)) {
+ debug = function () {
+ var args = Array.prototype.slice.call(arguments, 0)
+ args.unshift('SEMVER')
+ console.log.apply(console, args)
+ }
+} else {
+ debug = function () {}
+}
+
+// Note: this is the semver.org version of the spec that it implements
+// Not necessarily the package version of this code.
+exports.SEMVER_SPEC_VERSION = '2.0.0'
+
+var MAX_LENGTH = 256
+var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
+ /* istanbul ignore next */ 9007199254740991
+
+// Max safe segment length for coercion.
+var MAX_SAFE_COMPONENT_LENGTH = 16
+
+// The actual regexps go on exports.re
+var re = exports.re = []
+var src = exports.src = []
+var R = 0
+
+// The following Regular Expressions can be used for tokenizing,
+// validating, and parsing SemVer version strings.
+
+// ## Numeric Identifier
+// A single `0`, or a non-zero digit followed by zero or more digits.
+
+var NUMERICIDENTIFIER = R++
+src[NUMERICIDENTIFIER] = '0|[1-9]\\d*'
+var NUMERICIDENTIFIERLOOSE = R++
+src[NUMERICIDENTIFIERLOOSE] = '[0-9]+'
+
+// ## Non-numeric Identifier
+// Zero or more digits, followed by a letter or hyphen, and then zero or
+// more letters, digits, or hyphens.
+
+var NONNUMERICIDENTIFIER = R++
+src[NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*'
+
+// ## Main Version
+// Three dot-separated numeric identifiers.
+
+var MAINVERSION = R++
+src[MAINVERSION] = '(' + src[NUMERICIDENTIFIER] + ')\\.' +
+ '(' + src[NUMERICIDENTIFIER] + ')\\.' +
+ '(' + src[NUMERICIDENTIFIER] + ')'
+
+var MAINVERSIONLOOSE = R++
+src[MAINVERSIONLOOSE] = '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\.' +
+ '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\.' +
+ '(' + src[NUMERICIDENTIFIERLOOSE] + ')'
+
+// ## Pre-release Version Identifier
+// A numeric identifier, or a non-numeric identifier.
+
+var PRERELEASEIDENTIFIER = R++
+src[PRERELEASEIDENTIFIER] = '(?:' + src[NUMERICIDENTIFIER] +
+ '|' + src[NONNUMERICIDENTIFIER] + ')'
+
+var PRERELEASEIDENTIFIERLOOSE = R++
+src[PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[NUMERICIDENTIFIERLOOSE] +
+ '|' + src[NONNUMERICIDENTIFIER] + ')'
+
+// ## Pre-release Version
+// Hyphen, followed by one or more dot-separated pre-release version
+// identifiers.
+
+var PRERELEASE = R++
+src[PRERELEASE] = '(?:-(' + src[PRERELEASEIDENTIFIER] +
+ '(?:\\.' + src[PRERELEASEIDENTIFIER] + ')*))'
+
+var PRERELEASELOOSE = R++
+src[PRERELEASELOOSE] = '(?:-?(' + src[PRERELEASEIDENTIFIERLOOSE] +
+ '(?:\\.' + src[PRERELEASEIDENTIFIERLOOSE] + ')*))'
+
+// ## Build Metadata Identifier
+// Any combination of digits, letters, or hyphens.
+
+var BUILDIDENTIFIER = R++
+src[BUILDIDENTIFIER] = '[0-9A-Za-z-]+'
+
+// ## Build Metadata
+// Plus sign, followed by one or more period-separated build metadata
+// identifiers.
+
+var BUILD = R++
+src[BUILD] = '(?:\\+(' + src[BUILDIDENTIFIER] +
+ '(?:\\.' + src[BUILDIDENTIFIER] + ')*))'
+
+// ## Full Version String
+// A main version, followed optionally by a pre-release version and
+// build metadata.
+
+// Note that the only major, minor, patch, and pre-release sections of
+// the version string are capturing groups. The build metadata is not a
+// capturing group, because it should not ever be used in version
+// comparison.
+
+var FULL = R++
+var FULLPLAIN = 'v?' + src[MAINVERSION] +
+ src[PRERELEASE] + '?' +
+ src[BUILD] + '?'
+
+src[FULL] = '^' + FULLPLAIN + '$'
+
+// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
+// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
+// common in the npm registry.
+var LOOSEPLAIN = '[v=\\s]*' + src[MAINVERSIONLOOSE] +
+ src[PRERELEASELOOSE] + '?' +
+ src[BUILD] + '?'
+
+var LOOSE = R++
+src[LOOSE] = '^' + LOOSEPLAIN + '$'
+
+var GTLT = R++
+src[GTLT] = '((?:<|>)?=?)'
+
+// Something like "2.*" or "1.2.x".
+// Note that "x.x" is a valid xRange identifer, meaning "any version"
+// Only the first item is strictly required.
+var XRANGEIDENTIFIERLOOSE = R++
+src[XRANGEIDENTIFIERLOOSE] = src[NUMERICIDENTIFIERLOOSE] + '|x|X|\\*'
+var XRANGEIDENTIFIER = R++
+src[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + '|x|X|\\*'
+
+var XRANGEPLAIN = R++
+src[XRANGEPLAIN] = '[v=\\s]*(' + src[XRANGEIDENTIFIER] + ')' +
+ '(?:\\.(' + src[XRANGEIDENTIFIER] + ')' +
+ '(?:\\.(' + src[XRANGEIDENTIFIER] + ')' +
+ '(?:' + src[PRERELEASE] + ')?' +
+ src[BUILD] + '?' +
+ ')?)?'
+
+var XRANGEPLAINLOOSE = R++
+src[XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
+ '(?:\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
+ '(?:\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
+ '(?:' + src[PRERELEASELOOSE] + ')?' +
+ src[BUILD] + '?' +
+ ')?)?'
+
+var XRANGE = R++
+src[XRANGE] = '^' + src[GTLT] + '\\s*' + src[XRANGEPLAIN] + '$'
+var XRANGELOOSE = R++
+src[XRANGELOOSE] = '^' + src[GTLT] + '\\s*' + src[XRANGEPLAINLOOSE] + '$'
+
+// Coercion.
+// Extract anything that could conceivably be a part of a valid semver
+var COERCE = R++
+src[COERCE] = '(?:^|[^\\d])' +
+ '(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' +
+ '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' +
+ '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' +
+ '(?:$|[^\\d])'
+
+// Tilde ranges.
+// Meaning is "reasonably at or greater than"
+var LONETILDE = R++
+src[LONETILDE] = '(?:~>?)'
+
+var TILDETRIM = R++
+src[TILDETRIM] = '(\\s*)' + src[LONETILDE] + '\\s+'
+re[TILDETRIM] = new RegExp(src[TILDETRIM], 'g')
+var tildeTrimReplace = '$1~'
+
+var TILDE = R++
+src[TILDE] = '^' + src[LONETILDE] + src[XRANGEPLAIN] + '$'
+var TILDELOOSE = R++
+src[TILDELOOSE] = '^' + src[LONETILDE] + src[XRANGEPLAINLOOSE] + '$'
+
+// Caret ranges.
+// Meaning is "at least and backwards compatible with"
+var LONECARET = R++
+src[LONECARET] = '(?:\\^)'
+
+var CARETTRIM = R++
+src[CARETTRIM] = '(\\s*)' + src[LONECARET] + '\\s+'
+re[CARETTRIM] = new RegExp(src[CARETTRIM], 'g')
+var caretTrimReplace = '$1^'
+
+var CARET = R++
+src[CARET] = '^' + src[LONECARET] + src[XRANGEPLAIN] + '$'
+var CARETLOOSE = R++
+src[CARETLOOSE] = '^' + src[LONECARET] + src[XRANGEPLAINLOOSE] + '$'
+
+// A simple gt/lt/eq thing, or just "" to indicate "any version"
+var COMPARATORLOOSE = R++
+src[COMPARATORLOOSE] = '^' + src[GTLT] + '\\s*(' + LOOSEPLAIN + ')$|^$'
+var COMPARATOR = R++
+src[COMPARATOR] = '^' + src[GTLT] + '\\s*(' + FULLPLAIN + ')$|^$'
+
+// An expression to strip any whitespace between the gtlt and the thing
+// it modifies, so that `> 1.2.3` ==> `>1.2.3`
+var COMPARATORTRIM = R++
+src[COMPARATORTRIM] = '(\\s*)' + src[GTLT] +
+ '\\s*(' + LOOSEPLAIN + '|' + src[XRANGEPLAIN] + ')'
+
+// this one has to use the /g flag
+re[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], 'g')
+var comparatorTrimReplace = '$1$2$3'
+
+// Something like `1.2.3 - 1.2.4`
+// Note that these all use the loose form, because they'll be
+// checked against either the strict or loose comparator form
+// later.
+var HYPHENRANGE = R++
+src[HYPHENRANGE] = '^\\s*(' + src[XRANGEPLAIN] + ')' +
+ '\\s+-\\s+' +
+ '(' + src[XRANGEPLAIN] + ')' +
+ '\\s*$'
+
+var HYPHENRANGELOOSE = R++
+src[HYPHENRANGELOOSE] = '^\\s*(' + src[XRANGEPLAINLOOSE] + ')' +
+ '\\s+-\\s+' +
+ '(' + src[XRANGEPLAINLOOSE] + ')' +
+ '\\s*$'
+
+// Star ranges basically just allow anything at all.
+var STAR = R++
+src[STAR] = '(<|>)?=?\\s*\\*'
+
+// Compile to actual regexp objects.
+// All are flag-free, unless they were created above with a flag.
+for (var i = 0; i < R; i++) {
+ debug(i, src[i])
+ if (!re[i]) {
+ re[i] = new RegExp(src[i])
+ }
+}
+
+exports.parse = parse
+function parse (version, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (version instanceof SemVer) {
+ return version
+ }
+
+ if (typeof version !== 'string') {
+ return null
+ }
+
+ if (version.length > MAX_LENGTH) {
+ return null
+ }
+
+ var r = options.loose ? re[LOOSE] : re[FULL]
+ if (!r.test(version)) {
+ return null
+ }
+
+ try {
+ return new SemVer(version, options)
+ } catch (er) {
+ return null
+ }
+}
+
+exports.valid = valid
+function valid (version, options) {
+ var v = parse(version, options)
+ return v ? v.version : null
+}
+
+exports.clean = clean
+function clean (version, options) {
+ var s = parse(version.trim().replace(/^[=v]+/, ''), options)
+ return s ? s.version : null
+}
+
+exports.SemVer = SemVer
+
+function SemVer (version, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+ if (version instanceof SemVer) {
+ if (version.loose === options.loose) {
+ return version
+ } else {
+ version = version.version
+ }
+ } else if (typeof version !== 'string') {
+ throw new TypeError('Invalid Version: ' + version)
+ }
+
+ if (version.length > MAX_LENGTH) {
+ throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters')
+ }
+
+ if (!(this instanceof SemVer)) {
+ return new SemVer(version, options)
+ }
+
+ debug('SemVer', version, options)
+ this.options = options
+ this.loose = !!options.loose
+
+ var m = version.trim().match(options.loose ? re[LOOSE] : re[FULL])
+
+ if (!m) {
+ throw new TypeError('Invalid Version: ' + version)
+ }
+
+ this.raw = version
+
+ // these are actually numbers
+ this.major = +m[1]
+ this.minor = +m[2]
+ this.patch = +m[3]
+
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
+ throw new TypeError('Invalid major version')
+ }
+
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
+ throw new TypeError('Invalid minor version')
+ }
+
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
+ throw new TypeError('Invalid patch version')
+ }
+
+ // numberify any prerelease numeric ids
+ if (!m[4]) {
+ this.prerelease = []
+ } else {
+ this.prerelease = m[4].split('.').map(function (id) {
+ if (/^[0-9]+$/.test(id)) {
+ var num = +id
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
+ return num
+ }
+ }
+ return id
+ })
+ }
+
+ this.build = m[5] ? m[5].split('.') : []
+ this.format()
+}
+
+SemVer.prototype.format = function () {
+ this.version = this.major + '.' + this.minor + '.' + this.patch
+ if (this.prerelease.length) {
+ this.version += '-' + this.prerelease.join('.')
+ }
+ return this.version
+}
+
+SemVer.prototype.toString = function () {
+ return this.version
+}
+
+SemVer.prototype.compare = function (other) {
+ debug('SemVer.compare', this.version, this.options, other)
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ return this.compareMain(other) || this.comparePre(other)
+}
+
+SemVer.prototype.compareMain = function (other) {
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ return compareIdentifiers(this.major, other.major) ||
+ compareIdentifiers(this.minor, other.minor) ||
+ compareIdentifiers(this.patch, other.patch)
+}
+
+SemVer.prototype.comparePre = function (other) {
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ // NOT having a prerelease is > having one
+ if (this.prerelease.length && !other.prerelease.length) {
+ return -1
+ } else if (!this.prerelease.length && other.prerelease.length) {
+ return 1
+ } else if (!this.prerelease.length && !other.prerelease.length) {
+ return 0
+ }
+
+ var i = 0
+ do {
+ var a = this.prerelease[i]
+ var b = other.prerelease[i]
+ debug('prerelease compare', i, a, b)
+ if (a === undefined && b === undefined) {
+ return 0
+ } else if (b === undefined) {
+ return 1
+ } else if (a === undefined) {
+ return -1
+ } else if (a === b) {
+ continue
+ } else {
+ return compareIdentifiers(a, b)
+ }
+ } while (++i)
+}
+
+// preminor will bump the version up to the next minor release, and immediately
+// down to pre-release. premajor and prepatch work the same way.
+SemVer.prototype.inc = function (release, identifier) {
+ switch (release) {
+ case 'premajor':
+ this.prerelease.length = 0
+ this.patch = 0
+ this.minor = 0
+ this.major++
+ this.inc('pre', identifier)
+ break
+ case 'preminor':
+ this.prerelease.length = 0
+ this.patch = 0
+ this.minor++
+ this.inc('pre', identifier)
+ break
+ case 'prepatch':
+ // If this is already a prerelease, it will bump to the next version
+ // drop any prereleases that might already exist, since they are not
+ // relevant at this point.
+ this.prerelease.length = 0
+ this.inc('patch', identifier)
+ this.inc('pre', identifier)
+ break
+ // If the input is a non-prerelease version, this acts the same as
+ // prepatch.
+ case 'prerelease':
+ if (this.prerelease.length === 0) {
+ this.inc('patch', identifier)
+ }
+ this.inc('pre', identifier)
+ break
+
+ case 'major':
+ // If this is a pre-major version, bump up to the same major version.
+ // Otherwise increment major.
+ // 1.0.0-5 bumps to 1.0.0
+ // 1.1.0 bumps to 2.0.0
+ if (this.minor !== 0 ||
+ this.patch !== 0 ||
+ this.prerelease.length === 0) {
+ this.major++
+ }
+ this.minor = 0
+ this.patch = 0
+ this.prerelease = []
+ break
+ case 'minor':
+ // If this is a pre-minor version, bump up to the same minor version.
+ // Otherwise increment minor.
+ // 1.2.0-5 bumps to 1.2.0
+ // 1.2.1 bumps to 1.3.0
+ if (this.patch !== 0 || this.prerelease.length === 0) {
+ this.minor++
+ }
+ this.patch = 0
+ this.prerelease = []
+ break
+ case 'patch':
+ // If this is not a pre-release version, it will increment the patch.
+ // If it is a pre-release it will bump up to the same patch version.
+ // 1.2.0-5 patches to 1.2.0
+ // 1.2.0 patches to 1.2.1
+ if (this.prerelease.length === 0) {
+ this.patch++
+ }
+ this.prerelease = []
+ break
+ // This probably shouldn't be used publicly.
+ // 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction.
+ case 'pre':
+ if (this.prerelease.length === 0) {
+ this.prerelease = [0]
+ } else {
+ var i = this.prerelease.length
+ while (--i >= 0) {
+ if (typeof this.prerelease[i] === 'number') {
+ this.prerelease[i]++
+ i = -2
+ }
+ }
+ if (i === -1) {
+ // didn't increment anything
+ this.prerelease.push(0)
+ }
+ }
+ if (identifier) {
+ // 1.2.0-beta.1 bumps to 1.2.0-beta.2,
+ // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0
+ if (this.prerelease[0] === identifier) {
+ if (isNaN(this.prerelease[1])) {
+ this.prerelease = [identifier, 0]
+ }
+ } else {
+ this.prerelease = [identifier, 0]
+ }
+ }
+ break
+
+ default:
+ throw new Error('invalid increment argument: ' + release)
+ }
+ this.format()
+ this.raw = this.version
+ return this
+}
+
+exports.inc = inc
+function inc (version, release, loose, identifier) {
+ if (typeof (loose) === 'string') {
+ identifier = loose
+ loose = undefined
+ }
+
+ try {
+ return new SemVer(version, loose).inc(release, identifier).version
+ } catch (er) {
+ return null
+ }
+}
+
+exports.diff = diff
+function diff (version1, version2) {
+ if (eq(version1, version2)) {
+ return null
+ } else {
+ var v1 = parse(version1)
+ var v2 = parse(version2)
+ var prefix = ''
+ if (v1.prerelease.length || v2.prerelease.length) {
+ prefix = 'pre'
+ var defaultResult = 'prerelease'
+ }
+ for (var key in v1) {
+ if (key === 'major' || key === 'minor' || key === 'patch') {
+ if (v1[key] !== v2[key]) {
+ return prefix + key
+ }
+ }
+ }
+ return defaultResult // may be undefined
+ }
+}
+
+exports.compareIdentifiers = compareIdentifiers
+
+var numeric = /^[0-9]+$/
+function compareIdentifiers (a, b) {
+ var anum = numeric.test(a)
+ var bnum = numeric.test(b)
+
+ if (anum && bnum) {
+ a = +a
+ b = +b
+ }
+
+ return a === b ? 0
+ : (anum && !bnum) ? -1
+ : (bnum && !anum) ? 1
+ : a < b ? -1
+ : 1
+}
+
+exports.rcompareIdentifiers = rcompareIdentifiers
+function rcompareIdentifiers (a, b) {
+ return compareIdentifiers(b, a)
+}
+
+exports.major = major
+function major (a, loose) {
+ return new SemVer(a, loose).major
+}
+
+exports.minor = minor
+function minor (a, loose) {
+ return new SemVer(a, loose).minor
+}
+
+exports.patch = patch
+function patch (a, loose) {
+ return new SemVer(a, loose).patch
+}
+
+exports.compare = compare
+function compare (a, b, loose) {
+ return new SemVer(a, loose).compare(new SemVer(b, loose))
+}
+
+exports.compareLoose = compareLoose
+function compareLoose (a, b) {
+ return compare(a, b, true)
+}
+
+exports.rcompare = rcompare
+function rcompare (a, b, loose) {
+ return compare(b, a, loose)
+}
+
+exports.sort = sort
+function sort (list, loose) {
+ return list.sort(function (a, b) {
+ return exports.compare(a, b, loose)
+ })
+}
+
+exports.rsort = rsort
+function rsort (list, loose) {
+ return list.sort(function (a, b) {
+ return exports.rcompare(a, b, loose)
+ })
+}
+
+exports.gt = gt
+function gt (a, b, loose) {
+ return compare(a, b, loose) > 0
+}
+
+exports.lt = lt
+function lt (a, b, loose) {
+ return compare(a, b, loose) < 0
+}
+
+exports.eq = eq
+function eq (a, b, loose) {
+ return compare(a, b, loose) === 0
+}
+
+exports.neq = neq
+function neq (a, b, loose) {
+ return compare(a, b, loose) !== 0
+}
+
+exports.gte = gte
+function gte (a, b, loose) {
+ return compare(a, b, loose) >= 0
+}
+
+exports.lte = lte
+function lte (a, b, loose) {
+ return compare(a, b, loose) <= 0
+}
+
+exports.cmp = cmp
+function cmp (a, op, b, loose) {
+ switch (op) {
+ case '===':
+ if (typeof a === 'object')
+ a = a.version
+ if (typeof b === 'object')
+ b = b.version
+ return a === b
+
+ case '!==':
+ if (typeof a === 'object')
+ a = a.version
+ if (typeof b === 'object')
+ b = b.version
+ return a !== b
+
+ case '':
+ case '=':
+ case '==':
+ return eq(a, b, loose)
+
+ case '!=':
+ return neq(a, b, loose)
+
+ case '>':
+ return gt(a, b, loose)
+
+ case '>=':
+ return gte(a, b, loose)
+
+ case '<':
+ return lt(a, b, loose)
+
+ case '<=':
+ return lte(a, b, loose)
+
+ default:
+ throw new TypeError('Invalid operator: ' + op)
+ }
+}
+
+exports.Comparator = Comparator
+function Comparator (comp, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (comp instanceof Comparator) {
+ if (comp.loose === !!options.loose) {
+ return comp
+ } else {
+ comp = comp.value
+ }
+ }
+
+ if (!(this instanceof Comparator)) {
+ return new Comparator(comp, options)
+ }
+
+ debug('comparator', comp, options)
+ this.options = options
+ this.loose = !!options.loose
+ this.parse(comp)
+
+ if (this.semver === ANY) {
+ this.value = ''
+ } else {
+ this.value = this.operator + this.semver.version
+ }
+
+ debug('comp', this)
+}
+
+var ANY = {}
+Comparator.prototype.parse = function (comp) {
+ var r = this.options.loose ? re[COMPARATORLOOSE] : re[COMPARATOR]
+ var m = comp.match(r)
+
+ if (!m) {
+ throw new TypeError('Invalid comparator: ' + comp)
+ }
+
+ this.operator = m[1]
+ if (this.operator === '=') {
+ this.operator = ''
+ }
+
+ // if it literally is just '>' or '' then allow anything.
+ if (!m[2]) {
+ this.semver = ANY
+ } else {
+ this.semver = new SemVer(m[2], this.options.loose)
+ }
+}
+
+Comparator.prototype.toString = function () {
+ return this.value
+}
+
+Comparator.prototype.test = function (version) {
+ debug('Comparator.test', version, this.options.loose)
+
+ if (this.semver === ANY) {
+ return true
+ }
+
+ if (typeof version === 'string') {
+ version = new SemVer(version, this.options)
+ }
+
+ return cmp(version, this.operator, this.semver, this.options)
+}
+
+Comparator.prototype.intersects = function (comp, options) {
+ if (!(comp instanceof Comparator)) {
+ throw new TypeError('a Comparator is required')
+ }
+
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ var rangeTmp
+
+ if (this.operator === '') {
+ rangeTmp = new Range(comp.value, options)
+ return satisfies(this.value, rangeTmp, options)
+ } else if (comp.operator === '') {
+ rangeTmp = new Range(this.value, options)
+ return satisfies(comp.semver, rangeTmp, options)
+ }
+
+ var sameDirectionIncreasing =
+ (this.operator === '>=' || this.operator === '>') &&
+ (comp.operator === '>=' || comp.operator === '>')
+ var sameDirectionDecreasing =
+ (this.operator === '<=' || this.operator === '<') &&
+ (comp.operator === '<=' || comp.operator === '<')
+ var sameSemVer = this.semver.version === comp.semver.version
+ var differentDirectionsInclusive =
+ (this.operator === '>=' || this.operator === '<=') &&
+ (comp.operator === '>=' || comp.operator === '<=')
+ var oppositeDirectionsLessThan =
+ cmp(this.semver, '<', comp.semver, options) &&
+ ((this.operator === '>=' || this.operator === '>') &&
+ (comp.operator === '<=' || comp.operator === '<'))
+ var oppositeDirectionsGreaterThan =
+ cmp(this.semver, '>', comp.semver, options) &&
+ ((this.operator === '<=' || this.operator === '<') &&
+ (comp.operator === '>=' || comp.operator === '>'))
+
+ return sameDirectionIncreasing || sameDirectionDecreasing ||
+ (sameSemVer && differentDirectionsInclusive) ||
+ oppositeDirectionsLessThan || oppositeDirectionsGreaterThan
+}
+
+exports.Range = Range
+function Range (range, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (range instanceof Range) {
+ if (range.loose === !!options.loose &&
+ range.includePrerelease === !!options.includePrerelease) {
+ return range
+ } else {
+ return new Range(range.raw, options)
+ }
+ }
+
+ if (range instanceof Comparator) {
+ return new Range(range.value, options)
+ }
+
+ if (!(this instanceof Range)) {
+ return new Range(range, options)
+ }
+
+ this.options = options
+ this.loose = !!options.loose
+ this.includePrerelease = !!options.includePrerelease
+
+ // First, split based on boolean or ||
+ this.raw = range
+ this.set = range.split(/\s*\|\|\s*/).map(function (range) {
+ return this.parseRange(range.trim())
+ }, this).filter(function (c) {
+ // throw out any that are not relevant for whatever reason
+ return c.length
+ })
+
+ if (!this.set.length) {
+ throw new TypeError('Invalid SemVer Range: ' + range)
+ }
+
+ this.format()
+}
+
+Range.prototype.format = function () {
+ this.range = this.set.map(function (comps) {
+ return comps.join(' ').trim()
+ }).join('||').trim()
+ return this.range
+}
+
+Range.prototype.toString = function () {
+ return this.range
+}
+
+Range.prototype.parseRange = function (range) {
+ var loose = this.options.loose
+ range = range.trim()
+ // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
+ var hr = loose ? re[HYPHENRANGELOOSE] : re[HYPHENRANGE]
+ range = range.replace(hr, hyphenReplace)
+ debug('hyphen replace', range)
+ // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
+ range = range.replace(re[COMPARATORTRIM], comparatorTrimReplace)
+ debug('comparator trim', range, re[COMPARATORTRIM])
+
+ // `~ 1.2.3` => `~1.2.3`
+ range = range.replace(re[TILDETRIM], tildeTrimReplace)
+
+ // `^ 1.2.3` => `^1.2.3`
+ range = range.replace(re[CARETTRIM], caretTrimReplace)
+
+ // normalize spaces
+ range = range.split(/\s+/).join(' ')
+
+ // At this point, the range is completely trimmed and
+ // ready to be split into comparators.
+
+ var compRe = loose ? re[COMPARATORLOOSE] : re[COMPARATOR]
+ var set = range.split(' ').map(function (comp) {
+ return parseComparator(comp, this.options)
+ }, this).join(' ').split(/\s+/)
+ if (this.options.loose) {
+ // in loose mode, throw out any that are not valid comparators
+ set = set.filter(function (comp) {
+ return !!comp.match(compRe)
+ })
+ }
+ set = set.map(function (comp) {
+ return new Comparator(comp, this.options)
+ }, this)
+
+ return set
+}
+
+Range.prototype.intersects = function (range, options) {
+ if (!(range instanceof Range)) {
+ throw new TypeError('a Range is required')
+ }
+
+ return this.set.some(function (thisComparators) {
+ return thisComparators.every(function (thisComparator) {
+ return range.set.some(function (rangeComparators) {
+ return rangeComparators.every(function (rangeComparator) {
+ return thisComparator.intersects(rangeComparator, options)
+ })
+ })
+ })
+ })
+}
+
+// Mostly just for testing and legacy API reasons
+exports.toComparators = toComparators
+function toComparators (range, options) {
+ return new Range(range, options).set.map(function (comp) {
+ return comp.map(function (c) {
+ return c.value
+ }).join(' ').trim().split(' ')
+ })
+}
+
+// comprised of xranges, tildes, stars, and gtlt's at this point.
+// already replaced the hyphen ranges
+// turn into a set of JUST comparators.
+function parseComparator (comp, options) {
+ debug('comp', comp, options)
+ comp = replaceCarets(comp, options)
+ debug('caret', comp)
+ comp = replaceTildes(comp, options)
+ debug('tildes', comp)
+ comp = replaceXRanges(comp, options)
+ debug('xrange', comp)
+ comp = replaceStars(comp, options)
+ debug('stars', comp)
+ return comp
+}
+
+function isX (id) {
+ return !id || id.toLowerCase() === 'x' || id === '*'
+}
+
+// ~, ~> --> * (any, kinda silly)
+// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0
+// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0
+// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0
+// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0
+// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0
+function replaceTildes (comp, options) {
+ return comp.trim().split(/\s+/).map(function (comp) {
+ return replaceTilde(comp, options)
+ }).join(' ')
+}
+
+function replaceTilde (comp, options) {
+ var r = options.loose ? re[TILDELOOSE] : re[TILDE]
+ return comp.replace(r, function (_, M, m, p, pr) {
+ debug('tilde', comp, _, M, m, p, pr)
+ var ret
+
+ if (isX(M)) {
+ ret = ''
+ } else if (isX(m)) {
+ ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'
+ } else if (isX(p)) {
+ // ~1.2 == >=1.2.0 <1.3.0
+ ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'
+ } else if (pr) {
+ debug('replaceTilde pr', pr)
+ ret = '>=' + M + '.' + m + '.' + p + '-' + pr +
+ ' <' + M + '.' + (+m + 1) + '.0'
+ } else {
+ // ~1.2.3 == >=1.2.3 <1.3.0
+ ret = '>=' + M + '.' + m + '.' + p +
+ ' <' + M + '.' + (+m + 1) + '.0'
+ }
+
+ debug('tilde return', ret)
+ return ret
+ })
+}
+
+// ^ --> * (any, kinda silly)
+// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0
+// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0
+// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0
+// ^1.2.3 --> >=1.2.3 <2.0.0
+// ^1.2.0 --> >=1.2.0 <2.0.0
+function replaceCarets (comp, options) {
+ return comp.trim().split(/\s+/).map(function (comp) {
+ return replaceCaret(comp, options)
+ }).join(' ')
+}
+
+function replaceCaret (comp, options) {
+ debug('caret', comp, options)
+ var r = options.loose ? re[CARETLOOSE] : re[CARET]
+ return comp.replace(r, function (_, M, m, p, pr) {
+ debug('caret', comp, _, M, m, p, pr)
+ var ret
+
+ if (isX(M)) {
+ ret = ''
+ } else if (isX(m)) {
+ ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'
+ } else if (isX(p)) {
+ if (M === '0') {
+ ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'
+ } else {
+ ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0'
+ }
+ } else if (pr) {
+ debug('replaceCaret pr', pr)
+ if (M === '0') {
+ if (m === '0') {
+ ret = '>=' + M + '.' + m + '.' + p + '-' + pr +
+ ' <' + M + '.' + m + '.' + (+p + 1)
+ } else {
+ ret = '>=' + M + '.' + m + '.' + p + '-' + pr +
+ ' <' + M + '.' + (+m + 1) + '.0'
+ }
+ } else {
+ ret = '>=' + M + '.' + m + '.' + p + '-' + pr +
+ ' <' + (+M + 1) + '.0.0'
+ }
+ } else {
+ debug('no pr')
+ if (M === '0') {
+ if (m === '0') {
+ ret = '>=' + M + '.' + m + '.' + p +
+ ' <' + M + '.' + m + '.' + (+p + 1)
+ } else {
+ ret = '>=' + M + '.' + m + '.' + p +
+ ' <' + M + '.' + (+m + 1) + '.0'
+ }
+ } else {
+ ret = '>=' + M + '.' + m + '.' + p +
+ ' <' + (+M + 1) + '.0.0'
+ }
+ }
+
+ debug('caret return', ret)
+ return ret
+ })
+}
+
+function replaceXRanges (comp, options) {
+ debug('replaceXRanges', comp, options)
+ return comp.split(/\s+/).map(function (comp) {
+ return replaceXRange(comp, options)
+ }).join(' ')
+}
+
+function replaceXRange (comp, options) {
+ comp = comp.trim()
+ var r = options.loose ? re[XRANGELOOSE] : re[XRANGE]
+ return comp.replace(r, function (ret, gtlt, M, m, p, pr) {
+ debug('xRange', comp, ret, gtlt, M, m, p, pr)
+ var xM = isX(M)
+ var xm = xM || isX(m)
+ var xp = xm || isX(p)
+ var anyX = xp
+
+ if (gtlt === '=' && anyX) {
+ gtlt = ''
+ }
+
+ if (xM) {
+ if (gtlt === '>' || gtlt === '<') {
+ // nothing is allowed
+ ret = '<0.0.0'
+ } else {
+ // nothing is forbidden
+ ret = '*'
+ }
+ } else if (gtlt && anyX) {
+ // we know patch is an x, because we have any x at all.
+ // replace X with 0
+ if (xm) {
+ m = 0
+ }
+ p = 0
+
+ if (gtlt === '>') {
+ // >1 => >=2.0.0
+ // >1.2 => >=1.3.0
+ // >1.2.3 => >= 1.2.4
+ gtlt = '>='
+ if (xm) {
+ M = +M + 1
+ m = 0
+ p = 0
+ } else {
+ m = +m + 1
+ p = 0
+ }
+ } else if (gtlt === '<=') {
+ // <=0.7.x is actually <0.8.0, since any 0.7.x should
+ // pass. Similarly, <=7.x is actually <8.0.0, etc.
+ gtlt = '<'
+ if (xm) {
+ M = +M + 1
+ } else {
+ m = +m + 1
+ }
+ }
+
+ ret = gtlt + M + '.' + m + '.' + p
+ } else if (xm) {
+ ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'
+ } else if (xp) {
+ ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'
+ }
+
+ debug('xRange return', ret)
+
+ return ret
+ })
+}
+
+// Because * is AND-ed with everything else in the comparator,
+// and '' means "any version", just remove the *s entirely.
+function replaceStars (comp, options) {
+ debug('replaceStars', comp, options)
+ // Looseness is ignored here. star is always as loose as it gets!
+ return comp.trim().replace(re[STAR], '')
+}
+
+// This function is passed to string.replace(re[HYPHENRANGE])
+// M, m, patch, prerelease, build
+// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5
+// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do
+// 1.2 - 3.4 => >=1.2.0 <3.5.0
+function hyphenReplace ($0,
+ from, fM, fm, fp, fpr, fb,
+ to, tM, tm, tp, tpr, tb) {
+ if (isX(fM)) {
+ from = ''
+ } else if (isX(fm)) {
+ from = '>=' + fM + '.0.0'
+ } else if (isX(fp)) {
+ from = '>=' + fM + '.' + fm + '.0'
+ } else {
+ from = '>=' + from
+ }
+
+ if (isX(tM)) {
+ to = ''
+ } else if (isX(tm)) {
+ to = '<' + (+tM + 1) + '.0.0'
+ } else if (isX(tp)) {
+ to = '<' + tM + '.' + (+tm + 1) + '.0'
+ } else if (tpr) {
+ to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr
+ } else {
+ to = '<=' + to
+ }
+
+ return (from + ' ' + to).trim()
+}
+
+// if ANY of the sets match ALL of its comparators, then pass
+Range.prototype.test = function (version) {
+ if (!version) {
+ return false
+ }
+
+ if (typeof version === 'string') {
+ version = new SemVer(version, this.options)
+ }
+
+ for (var i = 0; i < this.set.length; i++) {
+ if (testSet(this.set[i], version, this.options)) {
+ return true
+ }
+ }
+ return false
+}
+
+function testSet (set, version, options) {
+ for (var i = 0; i < set.length; i++) {
+ if (!set[i].test(version)) {
+ return false
+ }
+ }
+
+ if (version.prerelease.length && !options.includePrerelease) {
+ // Find the set of versions that are allowed to have prereleases
+ // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0
+ // That should allow `1.2.3-pr.2` to pass.
+ // However, `1.2.4-alpha.notready` should NOT be allowed,
+ // even though it's within the range set by the comparators.
+ for (i = 0; i < set.length; i++) {
+ debug(set[i].semver)
+ if (set[i].semver === ANY) {
+ continue
+ }
+
+ if (set[i].semver.prerelease.length > 0) {
+ var allowed = set[i].semver
+ if (allowed.major === version.major &&
+ allowed.minor === version.minor &&
+ allowed.patch === version.patch) {
+ return true
+ }
+ }
+ }
+
+ // Version has a -pre, but it's not one of the ones we like.
+ return false
+ }
+
+ return true
+}
+
+exports.satisfies = satisfies
+function satisfies (version, range, options) {
+ try {
+ range = new Range(range, options)
+ } catch (er) {
+ return false
+ }
+ return range.test(version)
+}
+
+exports.maxSatisfying = maxSatisfying
+function maxSatisfying (versions, range, options) {
+ var max = null
+ var maxSV = null
+ try {
+ var rangeObj = new Range(range, options)
+ } catch (er) {
+ return null
+ }
+ versions.forEach(function (v) {
+ if (rangeObj.test(v)) {
+ // satisfies(v, range, options)
+ if (!max || maxSV.compare(v) === -1) {
+ // compare(max, v, true)
+ max = v
+ maxSV = new SemVer(max, options)
+ }
+ }
+ })
+ return max
+}
+
+exports.minSatisfying = minSatisfying
+function minSatisfying (versions, range, options) {
+ var min = null
+ var minSV = null
+ try {
+ var rangeObj = new Range(range, options)
+ } catch (er) {
+ return null
+ }
+ versions.forEach(function (v) {
+ if (rangeObj.test(v)) {
+ // satisfies(v, range, options)
+ if (!min || minSV.compare(v) === 1) {
+ // compare(min, v, true)
+ min = v
+ minSV = new SemVer(min, options)
+ }
+ }
+ })
+ return min
+}
+
+exports.minVersion = minVersion
+function minVersion (range, loose) {
+ range = new Range(range, loose)
+
+ var minver = new SemVer('0.0.0')
+ if (range.test(minver)) {
+ return minver
+ }
+
+ minver = new SemVer('0.0.0-0')
+ if (range.test(minver)) {
+ return minver
+ }
+
+ minver = null
+ for (var i = 0; i < range.set.length; ++i) {
+ var comparators = range.set[i]
+
+ comparators.forEach(function (comparator) {
+ // Clone to avoid manipulating the comparator's semver object.
+ var compver = new SemVer(comparator.semver.version)
+ switch (comparator.operator) {
+ case '>':
+ if (compver.prerelease.length === 0) {
+ compver.patch++
+ } else {
+ compver.prerelease.push(0)
+ }
+ compver.raw = compver.format()
+ /* fallthrough */
+ case '':
+ case '>=':
+ if (!minver || gt(minver, compver)) {
+ minver = compver
+ }
+ break
+ case '<':
+ case '<=':
+ /* Ignore maximum versions */
+ break
+ /* istanbul ignore next */
+ default:
+ throw new Error('Unexpected operation: ' + comparator.operator)
+ }
+ })
+ }
+
+ if (minver && range.test(minver)) {
+ return minver
+ }
+
+ return null
+}
+
+exports.validRange = validRange
+function validRange (range, options) {
+ try {
+ // Return '*' instead of '' so that truthiness works.
+ // This will throw if it's invalid anyway
+ return new Range(range, options).range || '*'
+ } catch (er) {
+ return null
+ }
+}
+
+// Determine if version is less than all the versions possible in the range
+exports.ltr = ltr
+function ltr (version, range, options) {
+ return outside(version, range, '<', options)
+}
+
+// Determine if version is greater than all the versions possible in the range.
+exports.gtr = gtr
+function gtr (version, range, options) {
+ return outside(version, range, '>', options)
+}
+
+exports.outside = outside
+function outside (version, range, hilo, options) {
+ version = new SemVer(version, options)
+ range = new Range(range, options)
+
+ var gtfn, ltefn, ltfn, comp, ecomp
+ switch (hilo) {
+ case '>':
+ gtfn = gt
+ ltefn = lte
+ ltfn = lt
+ comp = '>'
+ ecomp = '>='
+ break
+ case '<':
+ gtfn = lt
+ ltefn = gte
+ ltfn = gt
+ comp = '<'
+ ecomp = '<='
+ break
+ default:
+ throw new TypeError('Must provide a hilo val of "<" or ">"')
+ }
+
+ // If it satisifes the range it is not outside
+ if (satisfies(version, range, options)) {
+ return false
+ }
+
+ // From now on, variable terms are as if we're in "gtr" mode.
+ // but note that everything is flipped for the "ltr" function.
+
+ for (var i = 0; i < range.set.length; ++i) {
+ var comparators = range.set[i]
+
+ var high = null
+ var low = null
+
+ comparators.forEach(function (comparator) {
+ if (comparator.semver === ANY) {
+ comparator = new Comparator('>=0.0.0')
+ }
+ high = high || comparator
+ low = low || comparator
+ if (gtfn(comparator.semver, high.semver, options)) {
+ high = comparator
+ } else if (ltfn(comparator.semver, low.semver, options)) {
+ low = comparator
+ }
+ })
+
+ // If the edge version comparator has a operator then our version
+ // isn't outside it
+ if (high.operator === comp || high.operator === ecomp) {
+ return false
+ }
+
+ // If the lowest version comparator has an operator and our version
+ // is less than it then it isn't higher than the range
+ if ((!low.operator || low.operator === comp) &&
+ ltefn(version, low.semver)) {
+ return false
+ } else if (low.operator === ecomp && ltfn(version, low.semver)) {
+ return false
+ }
+ }
+ return true
+}
+
+exports.prerelease = prerelease
+function prerelease (version, options) {
+ var parsed = parse(version, options)
+ return (parsed && parsed.prerelease.length) ? parsed.prerelease : null
+}
+
+exports.intersects = intersects
+function intersects (r1, r2, options) {
+ r1 = new Range(r1, options)
+ r2 = new Range(r2, options)
+ return r1.intersects(r2)
+}
+
+exports.coerce = coerce
+function coerce (version) {
+ if (version instanceof SemVer) {
+ return version
+ }
+
+ if (typeof version !== 'string') {
+ return null
+ }
+
+ var match = version.match(re[COERCE])
+
+ if (match == null) {
+ return null
+ }
+
+ return parse(match[1] +
+ '.' + (match[2] || '0') +
+ '.' + (match[3] || '0'))
+}
+
+
+/***/ }),
+
+/***/ 49:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+const os = __webpack_require__(87);
+const execa = __webpack_require__(955);
+
+// Reference: https://www.gaijin.at/en/lstwinver.php
+const names = new Map([
+ ['10.0', '10'],
+ ['6.3', '8.1'],
+ ['6.2', '8'],
+ ['6.1', '7'],
+ ['6.0', 'Vista'],
+ ['5.2', 'Server 2003'],
+ ['5.1', 'XP'],
+ ['5.0', '2000'],
+ ['4.9', 'ME'],
+ ['4.1', '98'],
+ ['4.0', '95']
+]);
+
+const windowsRelease = release => {
+ const version = /\d+\.\d/.exec(release || os.release());
+
+ if (release && !version) {
+ throw new Error('`release` argument doesn\'t match `n.n`');
+ }
+
+ const ver = (version || [])[0];
+
+ // Server 2008, 2012 and 2016 versions are ambiguous with desktop versions and must be detected at runtime.
+ // If `release` is omitted or we're on a Windows system, and the version number is an ambiguous version
+ // then use `wmic` to get the OS caption: https://msdn.microsoft.com/en-us/library/aa394531(v=vs.85).aspx
+ // If the resulting caption contains the year 2008, 2012 or 2016, it is a server version, so return a server OS name.
+ if ((!release || release === os.release()) && ['6.1', '6.2', '6.3', '10.0'].includes(ver)) {
+ const stdout = execa.sync('wmic', ['os', 'get', 'Caption']).stdout || '';
+ const year = (stdout.match(/2008|2012|2016/) || [])[0];
+ if (year) {
+ return `Server ${year}`;
+ }
+ }
+
+ return names.get(ver);
+};
+
+module.exports = windowsRelease;
+
+
+/***/ }),
+
+/***/ 87:
+/***/ (function(module) {
+
+module.exports = require("os");
+
+/***/ }),
+
+/***/ 108:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+
+const cp = __webpack_require__(129);
+const parse = __webpack_require__(568);
+const enoent = __webpack_require__(881);
+
+function spawn(command, args, options) {
+ // Parse the arguments
+ const parsed = parse(command, args, options);
+
+ // Spawn the child process
+ const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
+
+ // Hook into child process "exit" event to emit an error if the command
+ // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16
+ enoent.hookChildProcess(spawned, parsed);
+
+ return spawned;
+}
+
+function spawnSync(command, args, options) {
+ // Parse the arguments
+ const parsed = parse(command, args, options);
+
+ // Spawn the child process
+ const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
+
+ // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16
+ result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
+
+ return result;
+}
+
+module.exports = spawn;
+module.exports.spawn = spawn;
+module.exports.sync = spawnSync;
+
+module.exports._parse = parse;
+module.exports._enoent = enoent;
+
+
+/***/ }),
+
+/***/ 118:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+const os = __webpack_require__(87);
+
+const nameMap = new Map([
+ [19, 'Catalina'],
+ [18, 'Mojave'],
+ [17, 'High Sierra'],
+ [16, 'Sierra'],
+ [15, 'El Capitan'],
+ [14, 'Yosemite'],
+ [13, 'Mavericks'],
+ [12, 'Mountain Lion'],
+ [11, 'Lion'],
+ [10, 'Snow Leopard'],
+ [9, 'Leopard'],
+ [8, 'Tiger'],
+ [7, 'Panther'],
+ [6, 'Jaguar'],
+ [5, 'Puma']
+]);
+
+const macosRelease = release => {
+ release = Number((release || os.release()).split('.')[0]);
+ return {
+ name: nameMap.get(release),
+ version: '10.' + (release - 4)
+ };
+};
+
+module.exports = macosRelease;
+// TODO: remove this in the next major version
+module.exports.default = macosRelease;
+
+
+/***/ }),
+
+/***/ 126:
+/***/ (function(module) {
+
+/**
+ * lodash (Custom Build)
+ * Build: `lodash modularize exports="npm" -o ./`
+ * Copyright jQuery Foundation and other contributors
+ * Released under MIT license
+ * Based on Underscore.js 1.8.3
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ */
+
+/** Used as the size to enable large array optimizations. */
+var LARGE_ARRAY_SIZE = 200;
+
+/** Used to stand-in for `undefined` hash values. */
+var HASH_UNDEFINED = '__lodash_hash_undefined__';
+
+/** Used as references for various `Number` constants. */
+var INFINITY = 1 / 0;
+
+/** `Object#toString` result references. */
+var funcTag = '[object Function]',
+ genTag = '[object GeneratorFunction]';
+
+/**
+ * Used to match `RegExp`
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
+ */
+var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
+
+/** Used to detect host constructors (Safari). */
+var reIsHostCtor = /^\[object .+?Constructor\]$/;
+
+/** Detect free variable `global` from Node.js. */
+var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
+
+/** Detect free variable `self`. */
+var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
+
+/** Used as a reference to the global object. */
+var root = freeGlobal || freeSelf || Function('return this')();
+
+/**
+ * A specialized version of `_.includes` for arrays without support for
+ * specifying an index to search from.
+ *
+ * @private
+ * @param {Array} [array] The array to inspect.
+ * @param {*} target The value to search for.
+ * @returns {boolean} Returns `true` if `target` is found, else `false`.
+ */
+function arrayIncludes(array, value) {
+ var length = array ? array.length : 0;
+ return !!length && baseIndexOf(array, value, 0) > -1;
+}
+
+/**
+ * This function is like `arrayIncludes` except that it accepts a comparator.
+ *
+ * @private
+ * @param {Array} [array] The array to inspect.
+ * @param {*} target The value to search for.
+ * @param {Function} comparator The comparator invoked per element.
+ * @returns {boolean} Returns `true` if `target` is found, else `false`.
+ */
+function arrayIncludesWith(array, value, comparator) {
+ var index = -1,
+ length = array ? array.length : 0;
+
+ while (++index < length) {
+ if (comparator(value, array[index])) {
+ return true;
+ }
+ }
+ return false;
+}
+
+/**
+ * The base implementation of `_.findIndex` and `_.findLastIndex` without
+ * support for iteratee shorthands.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {Function} predicate The function invoked per iteration.
+ * @param {number} fromIndex The index to search from.
+ * @param {boolean} [fromRight] Specify iterating from right to left.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+function baseFindIndex(array, predicate, fromIndex, fromRight) {
+ var length = array.length,
+ index = fromIndex + (fromRight ? 1 : -1);
+
+ while ((fromRight ? index-- : ++index < length)) {
+ if (predicate(array[index], index, array)) {
+ return index;
+ }
+ }
+ return -1;
+}
+
+/**
+ * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} value The value to search for.
+ * @param {number} fromIndex The index to search from.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+function baseIndexOf(array, value, fromIndex) {
+ if (value !== value) {
+ return baseFindIndex(array, baseIsNaN, fromIndex);
+ }
+ var index = fromIndex - 1,
+ length = array.length;
+
+ while (++index < length) {
+ if (array[index] === value) {
+ return index;
+ }
+ }
+ return -1;
+}
+
+/**
+ * The base implementation of `_.isNaN` without support for number objects.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
+ */
+function baseIsNaN(value) {
+ return value !== value;
+}
+
+/**
+ * Checks if a cache value for `key` exists.
+ *
+ * @private
+ * @param {Object} cache The cache to query.
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function cacheHas(cache, key) {
+ return cache.has(key);
+}
+
+/**
+ * Gets the value at `key` of `object`.
+ *
+ * @private
+ * @param {Object} [object] The object to query.
+ * @param {string} key The key of the property to get.
+ * @returns {*} Returns the property value.
+ */
+function getValue(object, key) {
+ return object == null ? undefined : object[key];
+}
+
+/**
+ * Checks if `value` is a host object in IE < 9.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
+ */
+function isHostObject(value) {
+ // Many host objects are `Object` objects that can coerce to strings
+ // despite having improperly defined `toString` methods.
+ var result = false;
+ if (value != null && typeof value.toString != 'function') {
+ try {
+ result = !!(value + '');
+ } catch (e) {}
+ }
+ return result;
+}
+
+/**
+ * Converts `set` to an array of its values.
+ *
+ * @private
+ * @param {Object} set The set to convert.
+ * @returns {Array} Returns the values.
+ */
+function setToArray(set) {
+ var index = -1,
+ result = Array(set.size);
+
+ set.forEach(function(value) {
+ result[++index] = value;
+ });
+ return result;
+}
+
+/** Used for built-in method references. */
+var arrayProto = Array.prototype,
+ funcProto = Function.prototype,
+ objectProto = Object.prototype;
+
+/** Used to detect overreaching core-js shims. */
+var coreJsData = root['__core-js_shared__'];
+
+/** Used to detect methods masquerading as native. */
+var maskSrcKey = (function() {
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
+ return uid ? ('Symbol(src)_1.' + uid) : '';
+}());
+
+/** Used to resolve the decompiled source of functions. */
+var funcToString = funcProto.toString;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+/**
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
+ * of values.
+ */
+var objectToString = objectProto.toString;
+
+/** Used to detect if a method is native. */
+var reIsNative = RegExp('^' +
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
+);
+
+/** Built-in value references. */
+var splice = arrayProto.splice;
+
+/* Built-in method references that are verified to be native. */
+var Map = getNative(root, 'Map'),
+ Set = getNative(root, 'Set'),
+ nativeCreate = getNative(Object, 'create');
+
+/**
+ * Creates a hash object.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+function Hash(entries) {
+ var index = -1,
+ length = entries ? entries.length : 0;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+}
+
+/**
+ * Removes all key-value entries from the hash.
+ *
+ * @private
+ * @name clear
+ * @memberOf Hash
+ */
+function hashClear() {
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
+}
+
+/**
+ * Removes `key` and its value from the hash.
+ *
+ * @private
+ * @name delete
+ * @memberOf Hash
+ * @param {Object} hash The hash to modify.
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function hashDelete(key) {
+ return this.has(key) && delete this.__data__[key];
+}
+
+/**
+ * Gets the hash value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf Hash
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function hashGet(key) {
+ var data = this.__data__;
+ if (nativeCreate) {
+ var result = data[key];
+ return result === HASH_UNDEFINED ? undefined : result;
+ }
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
+}
+
+/**
+ * Checks if a hash value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf Hash
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function hashHas(key) {
+ var data = this.__data__;
+ return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
+}
+
+/**
+ * Sets the hash `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf Hash
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the hash instance.
+ */
+function hashSet(key, value) {
+ var data = this.__data__;
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
+ return this;
+}
+
+// Add methods to `Hash`.
+Hash.prototype.clear = hashClear;
+Hash.prototype['delete'] = hashDelete;
+Hash.prototype.get = hashGet;
+Hash.prototype.has = hashHas;
+Hash.prototype.set = hashSet;
+
+/**
+ * Creates an list cache object.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+function ListCache(entries) {
+ var index = -1,
+ length = entries ? entries.length : 0;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+}
+
+/**
+ * Removes all key-value entries from the list cache.
+ *
+ * @private
+ * @name clear
+ * @memberOf ListCache
+ */
+function listCacheClear() {
+ this.__data__ = [];
+}
+
+/**
+ * Removes `key` and its value from the list cache.
+ *
+ * @private
+ * @name delete
+ * @memberOf ListCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function listCacheDelete(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ if (index < 0) {
+ return false;
+ }
+ var lastIndex = data.length - 1;
+ if (index == lastIndex) {
+ data.pop();
+ } else {
+ splice.call(data, index, 1);
+ }
+ return true;
+}
+
+/**
+ * Gets the list cache value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf ListCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function listCacheGet(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ return index < 0 ? undefined : data[index][1];
+}
+
+/**
+ * Checks if a list cache value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf ListCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function listCacheHas(key) {
+ return assocIndexOf(this.__data__, key) > -1;
+}
+
+/**
+ * Sets the list cache `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf ListCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the list cache instance.
+ */
+function listCacheSet(key, value) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ if (index < 0) {
+ data.push([key, value]);
+ } else {
+ data[index][1] = value;
+ }
+ return this;
+}
+
+// Add methods to `ListCache`.
+ListCache.prototype.clear = listCacheClear;
+ListCache.prototype['delete'] = listCacheDelete;
+ListCache.prototype.get = listCacheGet;
+ListCache.prototype.has = listCacheHas;
+ListCache.prototype.set = listCacheSet;
+
+/**
+ * Creates a map cache object to store key-value pairs.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+function MapCache(entries) {
+ var index = -1,
+ length = entries ? entries.length : 0;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+}
+
+/**
+ * Removes all key-value entries from the map.
+ *
+ * @private
+ * @name clear
+ * @memberOf MapCache
+ */
+function mapCacheClear() {
+ this.__data__ = {
+ 'hash': new Hash,
+ 'map': new (Map || ListCache),
+ 'string': new Hash
+ };
+}
+
+/**
+ * Removes `key` and its value from the map.
+ *
+ * @private
+ * @name delete
+ * @memberOf MapCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function mapCacheDelete(key) {
+ return getMapData(this, key)['delete'](key);
+}
+
+/**
+ * Gets the map value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf MapCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function mapCacheGet(key) {
+ return getMapData(this, key).get(key);
+}
+
+/**
+ * Checks if a map value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf MapCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function mapCacheHas(key) {
+ return getMapData(this, key).has(key);
+}
+
+/**
+ * Sets the map `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf MapCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the map cache instance.
+ */
+function mapCacheSet(key, value) {
+ getMapData(this, key).set(key, value);
+ return this;
+}
+
+// Add methods to `MapCache`.
+MapCache.prototype.clear = mapCacheClear;
+MapCache.prototype['delete'] = mapCacheDelete;
+MapCache.prototype.get = mapCacheGet;
+MapCache.prototype.has = mapCacheHas;
+MapCache.prototype.set = mapCacheSet;
+
+/**
+ *
+ * Creates an array cache object to store unique values.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [values] The values to cache.
+ */
+function SetCache(values) {
+ var index = -1,
+ length = values ? values.length : 0;
+
+ this.__data__ = new MapCache;
+ while (++index < length) {
+ this.add(values[index]);
+ }
+}
+
+/**
+ * Adds `value` to the array cache.
+ *
+ * @private
+ * @name add
+ * @memberOf SetCache
+ * @alias push
+ * @param {*} value The value to cache.
+ * @returns {Object} Returns the cache instance.
+ */
+function setCacheAdd(value) {
+ this.__data__.set(value, HASH_UNDEFINED);
+ return this;
+}
+
+/**
+ * Checks if `value` is in the array cache.
+ *
+ * @private
+ * @name has
+ * @memberOf SetCache
+ * @param {*} value The value to search for.
+ * @returns {number} Returns `true` if `value` is found, else `false`.
+ */
+function setCacheHas(value) {
+ return this.__data__.has(value);
+}
+
+// Add methods to `SetCache`.
+SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
+SetCache.prototype.has = setCacheHas;
+
+/**
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} key The key to search for.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+function assocIndexOf(array, key) {
+ var length = array.length;
+ while (length--) {
+ if (eq(array[length][0], key)) {
+ return length;
+ }
+ }
+ return -1;
+}
+
+/**
+ * The base implementation of `_.isNative` without bad shim checks.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a native function,
+ * else `false`.
+ */
+function baseIsNative(value) {
+ if (!isObject(value) || isMasked(value)) {
+ return false;
+ }
+ var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
+ return pattern.test(toSource(value));
+}
+
+/**
+ * The base implementation of `_.uniqBy` without support for iteratee shorthands.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {Function} [iteratee] The iteratee invoked per element.
+ * @param {Function} [comparator] The comparator invoked per element.
+ * @returns {Array} Returns the new duplicate free array.
+ */
+function baseUniq(array, iteratee, comparator) {
+ var index = -1,
+ includes = arrayIncludes,
+ length = array.length,
+ isCommon = true,
+ result = [],
+ seen = result;
+
+ if (comparator) {
+ isCommon = false;
+ includes = arrayIncludesWith;
+ }
+ else if (length >= LARGE_ARRAY_SIZE) {
+ var set = iteratee ? null : createSet(array);
+ if (set) {
+ return setToArray(set);
+ }
+ isCommon = false;
+ includes = cacheHas;
+ seen = new SetCache;
+ }
+ else {
+ seen = iteratee ? [] : result;
+ }
+ outer:
+ while (++index < length) {
+ var value = array[index],
+ computed = iteratee ? iteratee(value) : value;
+
+ value = (comparator || value !== 0) ? value : 0;
+ if (isCommon && computed === computed) {
+ var seenIndex = seen.length;
+ while (seenIndex--) {
+ if (seen[seenIndex] === computed) {
+ continue outer;
+ }
+ }
+ if (iteratee) {
+ seen.push(computed);
+ }
+ result.push(value);
+ }
+ else if (!includes(seen, computed, comparator)) {
+ if (seen !== result) {
+ seen.push(computed);
+ }
+ result.push(value);
+ }
+ }
+ return result;
+}
+
+/**
+ * Creates a set object of `values`.
+ *
+ * @private
+ * @param {Array} values The values to add to the set.
+ * @returns {Object} Returns the new set.
+ */
+var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {
+ return new Set(values);
+};
+
+/**
+ * Gets the data for `map`.
+ *
+ * @private
+ * @param {Object} map The map to query.
+ * @param {string} key The reference key.
+ * @returns {*} Returns the map data.
+ */
+function getMapData(map, key) {
+ var data = map.__data__;
+ return isKeyable(key)
+ ? data[typeof key == 'string' ? 'string' : 'hash']
+ : data.map;
+}
+
+/**
+ * Gets the native function at `key` of `object`.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @param {string} key The key of the method to get.
+ * @returns {*} Returns the function if it's native, else `undefined`.
+ */
+function getNative(object, key) {
+ var value = getValue(object, key);
+ return baseIsNative(value) ? value : undefined;
+}
+
+/**
+ * Checks if `value` is suitable for use as unique object key.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
+ */
+function isKeyable(value) {
+ var type = typeof value;
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
+ ? (value !== '__proto__')
+ : (value === null);
+}
+
+/**
+ * Checks if `func` has its source masked.
+ *
+ * @private
+ * @param {Function} func The function to check.
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
+ */
+function isMasked(func) {
+ return !!maskSrcKey && (maskSrcKey in func);
+}
+
+/**
+ * Converts `func` to its source code.
+ *
+ * @private
+ * @param {Function} func The function to process.
+ * @returns {string} Returns the source code.
+ */
+function toSource(func) {
+ if (func != null) {
+ try {
+ return funcToString.call(func);
+ } catch (e) {}
+ try {
+ return (func + '');
+ } catch (e) {}
+ }
+ return '';
+}
+
+/**
+ * Creates a duplicate-free version of an array, using
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
+ * for equality comparisons, in which only the first occurrence of each
+ * element is kept.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Array
+ * @param {Array} array The array to inspect.
+ * @returns {Array} Returns the new duplicate free array.
+ * @example
+ *
+ * _.uniq([2, 1, 2]);
+ * // => [2, 1]
+ */
+function uniq(array) {
+ return (array && array.length)
+ ? baseUniq(array)
+ : [];
+}
+
+/**
+ * Performs a
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
+ * comparison between two values to determine if they are equivalent.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to compare.
+ * @param {*} other The other value to compare.
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
+ * @example
+ *
+ * var object = { 'a': 1 };
+ * var other = { 'a': 1 };
+ *
+ * _.eq(object, object);
+ * // => true
+ *
+ * _.eq(object, other);
+ * // => false
+ *
+ * _.eq('a', 'a');
+ * // => true
+ *
+ * _.eq('a', Object('a'));
+ * // => false
+ *
+ * _.eq(NaN, NaN);
+ * // => true
+ */
+function eq(value, other) {
+ return value === other || (value !== value && other !== other);
+}
+
+/**
+ * Checks if `value` is classified as a `Function` object.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
+ * @example
+ *
+ * _.isFunction(_);
+ * // => true
+ *
+ * _.isFunction(/abc/);
+ * // => false
+ */
+function isFunction(value) {
+ // The use of `Object#toString` avoids issues with the `typeof` operator
+ // in Safari 8-9 which returns 'object' for typed array and other constructors.
+ var tag = isObject(value) ? objectToString.call(value) : '';
+ return tag == funcTag || tag == genTag;
+}
+
+/**
+ * Checks if `value` is the
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
+ * @example
+ *
+ * _.isObject({});
+ * // => true
+ *
+ * _.isObject([1, 2, 3]);
+ * // => true
+ *
+ * _.isObject(_.noop);
+ * // => true
+ *
+ * _.isObject(null);
+ * // => false
+ */
+function isObject(value) {
+ var type = typeof value;
+ return !!value && (type == 'object' || type == 'function');
+}
+
+/**
+ * This method returns `undefined`.
+ *
+ * @static
+ * @memberOf _
+ * @since 2.3.0
+ * @category Util
+ * @example
+ *
+ * _.times(2, _.noop);
+ * // => [undefined, undefined]
+ */
+function noop() {
+ // No operation performed.
+}
+
+module.exports = uniq;
+
+
+/***/ }),
+
+/***/ 129:
+/***/ (function(module) {
+
+module.exports = require("child_process");
+
+/***/ }),
+
+/***/ 139:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+// Unique ID creation requires a high quality random # generator. In node.js
+// this is pretty straight-forward - we use the crypto API.
+
+var crypto = __webpack_require__(417);
+
+module.exports = function nodeRNG() {
+ return crypto.randomBytes(16);
+};
+
+
+/***/ }),
+
+/***/ 141:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+
+var net = __webpack_require__(631);
+var tls = __webpack_require__(16);
+var http = __webpack_require__(605);
+var https = __webpack_require__(211);
+var events = __webpack_require__(614);
+var assert = __webpack_require__(357);
+var util = __webpack_require__(669);
+
+
+exports.httpOverHttp = httpOverHttp;
+exports.httpsOverHttp = httpsOverHttp;
+exports.httpOverHttps = httpOverHttps;
+exports.httpsOverHttps = httpsOverHttps;
+
+
+function httpOverHttp(options) {
+ var agent = new TunnelingAgent(options);
+ agent.request = http.request;
+ return agent;
+}
+
+function httpsOverHttp(options) {
+ var agent = new TunnelingAgent(options);
+ agent.request = http.request;
+ agent.createSocket = createSecureSocket;
+ agent.defaultPort = 443;
+ return agent;
+}
+
+function httpOverHttps(options) {
+ var agent = new TunnelingAgent(options);
+ agent.request = https.request;
+ return agent;
+}
+
+function httpsOverHttps(options) {
+ var agent = new TunnelingAgent(options);
+ agent.request = https.request;
+ agent.createSocket = createSecureSocket;
+ agent.defaultPort = 443;
+ return agent;
+}
+
+
+function TunnelingAgent(options) {
+ var self = this;
+ self.options = options || {};
+ self.proxyOptions = self.options.proxy || {};
+ self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;
+ self.requests = [];
+ self.sockets = [];
+
+ self.on('free', function onFree(socket, host, port, localAddress) {
+ var options = toOptions(host, port, localAddress);
+ for (var i = 0, len = self.requests.length; i < len; ++i) {
+ var pending = self.requests[i];
+ if (pending.host === options.host && pending.port === options.port) {
+ // Detect the request to connect same origin server,
+ // reuse the connection.
+ self.requests.splice(i, 1);
+ pending.request.onSocket(socket);
+ return;
+ }
+ }
+ socket.destroy();
+ self.removeSocket(socket);
+ });
+}
+util.inherits(TunnelingAgent, events.EventEmitter);
+
+TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {
+ var self = this;
+ var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));
+
+ if (self.sockets.length >= this.maxSockets) {
+ // We are over limit so we'll add it to the queue.
+ self.requests.push(options);
+ return;
+ }
+
+ // If we are under maxSockets create a new one.
+ self.createSocket(options, function(socket) {
+ socket.on('free', onFree);
+ socket.on('close', onCloseOrRemove);
+ socket.on('agentRemove', onCloseOrRemove);
+ req.onSocket(socket);
+
+ function onFree() {
+ self.emit('free', socket, options);
+ }
+
+ function onCloseOrRemove(err) {
+ self.removeSocket(socket);
+ socket.removeListener('free', onFree);
+ socket.removeListener('close', onCloseOrRemove);
+ socket.removeListener('agentRemove', onCloseOrRemove);
+ }
+ });
+};
+
+TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {
+ var self = this;
+ var placeholder = {};
+ self.sockets.push(placeholder);
+
+ var connectOptions = mergeOptions({}, self.proxyOptions, {
+ method: 'CONNECT',
+ path: options.host + ':' + options.port,
+ agent: false,
+ headers: {
+ host: options.host + ':' + options.port
+ }
+ });
+ if (options.localAddress) {
+ connectOptions.localAddress = options.localAddress;
+ }
+ if (connectOptions.proxyAuth) {
+ connectOptions.headers = connectOptions.headers || {};
+ connectOptions.headers['Proxy-Authorization'] = 'Basic ' +
+ new Buffer(connectOptions.proxyAuth).toString('base64');
+ }
+
+ debug('making CONNECT request');
+ var connectReq = self.request(connectOptions);
+ connectReq.useChunkedEncodingByDefault = false; // for v0.6
+ connectReq.once('response', onResponse); // for v0.6
+ connectReq.once('upgrade', onUpgrade); // for v0.6
+ connectReq.once('connect', onConnect); // for v0.7 or later
+ connectReq.once('error', onError);
+ connectReq.end();
+
+ function onResponse(res) {
+ // Very hacky. This is necessary to avoid http-parser leaks.
+ res.upgrade = true;
+ }
+
+ function onUpgrade(res, socket, head) {
+ // Hacky.
+ process.nextTick(function() {
+ onConnect(res, socket, head);
+ });
+ }
+
+ function onConnect(res, socket, head) {
+ connectReq.removeAllListeners();
+ socket.removeAllListeners();
+
+ if (res.statusCode !== 200) {
+ debug('tunneling socket could not be established, statusCode=%d',
+ res.statusCode);
+ socket.destroy();
+ var error = new Error('tunneling socket could not be established, ' +
+ 'statusCode=' + res.statusCode);
+ error.code = 'ECONNRESET';
+ options.request.emit('error', error);
+ self.removeSocket(placeholder);
+ return;
+ }
+ if (head.length > 0) {
+ debug('got illegal response body from proxy');
+ socket.destroy();
+ var error = new Error('got illegal response body from proxy');
+ error.code = 'ECONNRESET';
+ options.request.emit('error', error);
+ self.removeSocket(placeholder);
+ return;
+ }
+ debug('tunneling connection has established');
+ self.sockets[self.sockets.indexOf(placeholder)] = socket;
+ return cb(socket);
+ }
+
+ function onError(cause) {
+ connectReq.removeAllListeners();
+
+ debug('tunneling socket could not be established, cause=%s\n',
+ cause.message, cause.stack);
+ var error = new Error('tunneling socket could not be established, ' +
+ 'cause=' + cause.message);
+ error.code = 'ECONNRESET';
+ options.request.emit('error', error);
+ self.removeSocket(placeholder);
+ }
+};
+
+TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {
+ var pos = this.sockets.indexOf(socket)
+ if (pos === -1) {
+ return;
+ }
+ this.sockets.splice(pos, 1);
+
+ var pending = this.requests.shift();
+ if (pending) {
+ // If we have pending requests and a socket gets closed a new one
+ // needs to be created to take over in the pool for the one that closed.
+ this.createSocket(pending, function(socket) {
+ pending.request.onSocket(socket);
+ });
+ }
+};
+
+function createSecureSocket(options, cb) {
+ var self = this;
+ TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {
+ var hostHeader = options.request.getHeader('host');
+ var tlsOptions = mergeOptions({}, self.options, {
+ socket: socket,
+ servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host
+ });
+
+ // 0 is dummy port for v0.6
+ var secureSocket = tls.connect(0, tlsOptions);
+ self.sockets[self.sockets.indexOf(socket)] = secureSocket;
+ cb(secureSocket);
+ });
+}
+
+
+function toOptions(host, port, localAddress) {
+ if (typeof host === 'string') { // since v0.10
+ return {
+ host: host,
+ port: port,
+ localAddress: localAddress
+ };
+ }
+ return host; // for v0.11 or later
+}
+
+function mergeOptions(target) {
+ for (var i = 1, len = arguments.length; i < len; ++i) {
+ var overrides = arguments[i];
+ if (typeof overrides === 'object') {
+ var keys = Object.keys(overrides);
+ for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {
+ var k = keys[j];
+ if (overrides[k] !== undefined) {
+ target[k] = overrides[k];
+ }
+ }
+ }
+ }
+ return target;
+}
+
+
+var debug;
+if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) {
+ debug = function() {
+ var args = Array.prototype.slice.call(arguments);
+ if (typeof args[0] === 'string') {
+ args[0] = 'TUNNEL: ' + args[0];
+ } else {
+ args.unshift('TUNNEL:');
+ }
+ console.error.apply(console, args);
+ }
+} else {
+ debug = function() {};
+}
+exports.debug = debug; // for test
+
+
+/***/ }),
+
+/***/ 143:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = withAuthorizationPrefix;
+
+const atob = __webpack_require__(368);
+
+const REGEX_IS_BASIC_AUTH = /^[\w-]+:/;
+
+function withAuthorizationPrefix(authorization) {
+ if (/^(basic|bearer|token) /i.test(authorization)) {
+ return authorization;
+ }
+
+ try {
+ if (REGEX_IS_BASIC_AUTH.test(atob(authorization))) {
+ return `basic ${authorization}`;
+ }
+ } catch (error) {}
+
+ if (authorization.split(/\./).length === 3) {
+ return `bearer ${authorization}`;
+ }
+
+ return `token ${authorization}`;
+}
+
+
+/***/ }),
+
+/***/ 145:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+const pump = __webpack_require__(453);
+const bufferStream = __webpack_require__(966);
+
+class MaxBufferError extends Error {
+ constructor() {
+ super('maxBuffer exceeded');
+ this.name = 'MaxBufferError';
+ }
+}
+
+function getStream(inputStream, options) {
+ if (!inputStream) {
+ return Promise.reject(new Error('Expected a stream'));
+ }
+
+ options = Object.assign({maxBuffer: Infinity}, options);
+
+ const {maxBuffer} = options;
+
+ let stream;
+ return new Promise((resolve, reject) => {
+ const rejectPromise = error => {
+ if (error) { // A null check
+ error.bufferedData = stream.getBufferedValue();
+ }
+ reject(error);
+ };
+
+ stream = pump(inputStream, bufferStream(options), error => {
+ if (error) {
+ rejectPromise(error);
+ return;
+ }
+
+ resolve();
+ });
+
+ stream.on('data', () => {
+ if (stream.getBufferedLength() > maxBuffer) {
+ rejectPromise(new MaxBufferError());
+ }
+ });
+ }).then(() => stream.getBufferedValue());
+}
+
+module.exports = getStream;
+module.exports.buffer = (stream, options) => getStream(stream, Object.assign({}, options, {encoding: 'buffer'}));
+module.exports.array = (stream, options) => getStream(stream, Object.assign({}, options, {array: true}));
+module.exports.MaxBufferError = MaxBufferError;
+
+
+/***/ }),
+
+/***/ 148:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = paginatePlugin;
+
+const iterator = __webpack_require__(8);
+const paginate = __webpack_require__(807);
+
+function paginatePlugin(octokit) {
+ octokit.paginate = paginate.bind(null, octokit);
+ octokit.paginate.iterator = iterator.bind(null, octokit);
+}
+
+
+/***/ }),
+
+/***/ 168:
+/***/ (function(module) {
+
+"use strict";
+
+const alias = ['stdin', 'stdout', 'stderr'];
+
+const hasAlias = opts => alias.some(x => Boolean(opts[x]));
+
+module.exports = opts => {
+ if (!opts) {
+ return null;
+ }
+
+ if (opts.stdio && hasAlias(opts)) {
+ throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${alias.map(x => `\`${x}\``).join(', ')}`);
+ }
+
+ if (typeof opts.stdio === 'string') {
+ return opts.stdio;
+ }
+
+ const stdio = opts.stdio || [];
+
+ if (!Array.isArray(stdio)) {
+ throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``);
+ }
+
+ const result = [];
+ const len = Math.max(stdio.length, alias.length);
+
+ for (let i = 0; i < len; i++) {
+ let value = null;
+
+ if (stdio[i] !== undefined) {
+ value = stdio[i];
+ } else if (opts[alias[i]] !== undefined) {
+ value = opts[alias[i]];
+ }
+
+ result[i] = value;
+ }
+
+ return result;
+};
+
+
+/***/ }),
+
+/***/ 190:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = authenticationPlugin;
+
+const { createTokenAuth } = __webpack_require__(813);
+const { Deprecation } = __webpack_require__(692);
+const once = __webpack_require__(969);
+
+const beforeRequest = __webpack_require__(863);
+const requestError = __webpack_require__(293);
+const validate = __webpack_require__(954);
+const withAuthorizationPrefix = __webpack_require__(143);
+
+const deprecateAuthBasic = once((log, deprecation) => log.warn(deprecation));
+const deprecateAuthObject = once((log, deprecation) => log.warn(deprecation));
+
+function authenticationPlugin(octokit, options) {
+ // If `options.authStrategy` is set then use it and pass in `options.auth`
+ if (options.authStrategy) {
+ const auth = options.authStrategy(options.auth);
+ octokit.hook.wrap("request", auth.hook);
+ octokit.auth = auth;
+ return;
+ }
+
+ // If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance
+ // is unauthenticated. The `octokit.auth()` method is a no-op and no request hook is registred.
+ if (!options.auth) {
+ octokit.auth = () =>
+ Promise.resolve({
+ type: "unauthenticated"
+ });
+ return;
+ }
+
+ const isBasicAuthString =
+ typeof options.auth === "string" &&
+ /^basic/.test(withAuthorizationPrefix(options.auth));
+
+ // If only `options.auth` is set to a string, use the default token authentication strategy.
+ if (typeof options.auth === "string" && !isBasicAuthString) {
+ const auth = createTokenAuth(options.auth);
+ octokit.hook.wrap("request", auth.hook);
+ octokit.auth = auth;
+ return;
+ }
+
+ // Otherwise log a deprecation message
+ const [deprecationMethod, deprecationMessapge] = isBasicAuthString
+ ? [
+ deprecateAuthBasic,
+ 'Setting the "new Octokit({ auth })" option to a Basic Auth string is deprecated. Use https://github.com/octokit/auth-basic.js instead. See (https://octokit.github.io/rest.js/#authentication)'
+ ]
+ : [
+ deprecateAuthObject,
+ 'Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)'
+ ];
+ deprecationMethod(
+ octokit.log,
+ new Deprecation("[@octokit/rest] " + deprecationMessapge)
+ );
+
+ octokit.auth = () =>
+ Promise.resolve({
+ type: "deprecated",
+ message: deprecationMessapge
+ });
+
+ validate(options.auth);
+
+ const state = {
+ octokit,
+ auth: options.auth
+ };
+
+ octokit.hook.before("request", beforeRequest.bind(null, state));
+ octokit.hook.error("request", requestError.bind(null, state));
+}
+
+
+/***/ }),
+
+/***/ 197:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = isexe
+isexe.sync = sync
+
+var fs = __webpack_require__(747)
+
+function isexe (path, options, cb) {
+ fs.stat(path, function (er, stat) {
+ cb(er, er ? false : checkStat(stat, options))
+ })
+}
+
+function sync (path, options) {
+ return checkStat(fs.statSync(path), options)
+}
+
+function checkStat (stat, options) {
+ return stat.isFile() && checkMode(stat, options)
+}
+
+function checkMode (stat, options) {
+ var mod = stat.mode
+ var uid = stat.uid
+ var gid = stat.gid
+
+ var myUid = options.uid !== undefined ?
+ options.uid : process.getuid && process.getuid()
+ var myGid = options.gid !== undefined ?
+ options.gid : process.getgid && process.getgid()
+
+ var u = parseInt('100', 8)
+ var g = parseInt('010', 8)
+ var o = parseInt('001', 8)
+ var ug = u | g
+
+ var ret = (mod & o) ||
+ (mod & g) && gid === myGid ||
+ (mod & u) && uid === myUid ||
+ (mod & ug) && myUid === 0
+
+ return ret
+}
+
+
+/***/ }),
+
+/***/ 198:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const core = __importStar(__webpack_require__(470));
+const installer = __importStar(__webpack_require__(749));
+const auth = __importStar(__webpack_require__(202));
+const path = __importStar(__webpack_require__(622));
+const url_1 = __webpack_require__(835);
+function run() {
+ return __awaiter(this, void 0, void 0, function* () {
+ try {
+ //
+ // Version is optional. If supplied, install / use from the tool cache
+ // If not supplied then task is still used to setup proxy, auth, etc...
+ //
+ let version = core.getInput('node-version');
+ if (!version) {
+ version = core.getInput('version');
+ }
+ if (version) {
+ let token = core.getInput('token');
+ let auth = !token || isGhes() ? undefined : `token ${token}`;
+ let stable = (core.getInput('stable') || 'true').toUpperCase() === 'TRUE';
+ const checkLatest = (core.getInput('check-latest') || 'false').toUpperCase() === 'TRUE';
+ yield installer.getNode(version, stable, checkLatest, auth);
+ }
+ const registryUrl = core.getInput('registry-url');
+ const alwaysAuth = core.getInput('always-auth');
+ if (registryUrl) {
+ auth.configAuthentication(registryUrl, alwaysAuth);
+ }
+ const matchersPath = path.join(__dirname, '..', '.github');
+ console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`);
+ console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}`);
+ console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}`);
+ }
+ catch (error) {
+ core.setFailed(error.message);
+ }
+ });
+}
+exports.run = run;
+function isGhes() {
+ const ghUrl = new url_1.URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com');
+ return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';
+}
+//# sourceMappingURL=main.js.map
+
+/***/ }),
+
+/***/ 202:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const fs = __importStar(__webpack_require__(747));
+const os = __importStar(__webpack_require__(87));
+const path = __importStar(__webpack_require__(622));
+const core = __importStar(__webpack_require__(470));
+const github = __importStar(__webpack_require__(469));
+function configAuthentication(registryUrl, alwaysAuth) {
+ const npmrc = path.resolve(process.env['RUNNER_TEMP'] || process.cwd(), '.npmrc');
+ if (!registryUrl.endsWith('/')) {
+ registryUrl += '/';
+ }
+ writeRegistryToFile(registryUrl, npmrc, alwaysAuth);
+}
+exports.configAuthentication = configAuthentication;
+function writeRegistryToFile(registryUrl, fileLocation, alwaysAuth) {
+ let scope = core.getInput('scope');
+ if (!scope && registryUrl.indexOf('npm.pkg.github.com') > -1) {
+ scope = github.context.repo.owner;
+ }
+ if (scope && scope[0] != '@') {
+ scope = '@' + scope;
+ }
+ if (scope) {
+ scope = scope.toLowerCase();
+ }
+ core.debug(`Setting auth in ${fileLocation}`);
+ let newContents = '';
+ if (fs.existsSync(fileLocation)) {
+ const curContents = fs.readFileSync(fileLocation, 'utf8');
+ curContents.split(os.EOL).forEach((line) => {
+ // Add current contents unless they are setting the registry
+ if (!line.toLowerCase().startsWith('registry')) {
+ newContents += line + os.EOL;
+ }
+ });
+ }
+ // Remove http: or https: from front of registry.
+ const authString = registryUrl.replace(/(^\w+:|^)/, '') + ':_authToken=${NODE_AUTH_TOKEN}';
+ const registryString = scope
+ ? `${scope}:registry=${registryUrl}`
+ : `registry=${registryUrl}`;
+ const alwaysAuthString = `always-auth=${alwaysAuth}`;
+ newContents += `${authString}${os.EOL}${registryString}${os.EOL}${alwaysAuthString}`;
+ fs.writeFileSync(fileLocation, newContents);
+ core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
+ // Export empty node_auth_token so npm doesn't complain about not being able to find it
+ core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX');
+}
+//# sourceMappingURL=authutil.js.map
+
+/***/ }),
+
+/***/ 211:
+/***/ (function(module) {
+
+module.exports = require("https");
+
+/***/ }),
+
+/***/ 215:
+/***/ (function(module) {
+
+module.exports = {"name":"@octokit/rest","version":"16.38.1","publishConfig":{"access":"public"},"description":"GitHub REST API client for Node.js","keywords":["octokit","github","rest","api-client"],"author":"Gregor Martynus (https://github.com/gr2m)","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"}],"repository":"https://github.com/octokit/rest.js","dependencies":{"@octokit/auth-token":"^2.4.0","@octokit/request":"^5.2.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/auth":"^1.1.1","@octokit/fixtures-server":"^5.0.6","@octokit/graphql":"^4.2.0","@types/node":"^13.1.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.1.0","cypress":"^3.0.0","glob":"^7.1.2","http-proxy-agent":"^3.0.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","mustache":"^4.0.0","nock":"^11.3.3","npm-run-all":"^4.1.2","nyc":"^15.0.0","prettier":"^1.14.2","proxy":"^1.0.0","semantic-release":"^16.0.0","sinon":"^8.0.0","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"types":"index.d.ts","scripts":{"coverage":"nyc report --reporter=html && open coverage/index.html","lint":"prettier --check '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","lint:fix":"prettier --write '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","pretest":"npm run -s lint","test":"nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"","test:browser":"cypress run --browser chrome","build":"npm-run-all build:*","build:ts":"npm run -s update-endpoints:typescript","prebuild:browser":"mkdirp dist/","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json","update-endpoints:code":"node scripts/update-endpoints/code","update-endpoints:typescript":"node scripts/update-endpoints/typescript","prevalidate:ts":"npm run -s build:ts","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","start-fixtures-server":"octokit-fixtures-server"},"license":"MIT","files":["index.js","index.d.ts","lib","plugins"],"nyc":{"ignore":["test"]},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}],"_resolved":"https://registry.npmjs.org/@octokit/rest/-/rest-16.38.1.tgz","_integrity":"sha512-zyNFx+/Bd1EXt7LQjfrc6H4wryBQ/oDuZeZhGMBSFr1eMPFDmpEweFQR3R25zjKwBQpDY7L5GQO6A3XSaOfV1w==","_from":"@octokit/rest@16.38.1"};
+
+/***/ }),
+
+/***/ 248:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = octokitRegisterEndpoints;
+
+const registerEndpoints = __webpack_require__(899);
+
+function octokitRegisterEndpoints(octokit) {
+ octokit.registerEndpoints = registerEndpoints.bind(null, octokit);
+}
+
+
+/***/ }),
+
+/***/ 260:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+// Note: since nyc uses this module to output coverage, any lines
+// that are in the direct sync flow of nyc's outputCoverage are
+// ignored, since we can never get coverage for them.
+var assert = __webpack_require__(357)
+var signals = __webpack_require__(654)
+
+var EE = __webpack_require__(614)
+/* istanbul ignore if */
+if (typeof EE !== 'function') {
+ EE = EE.EventEmitter
+}
+
+var emitter
+if (process.__signal_exit_emitter__) {
+ emitter = process.__signal_exit_emitter__
+} else {
+ emitter = process.__signal_exit_emitter__ = new EE()
+ emitter.count = 0
+ emitter.emitted = {}
+}
+
+// Because this emitter is a global, we have to check to see if a
+// previous version of this library failed to enable infinite listeners.
+// I know what you're about to say. But literally everything about
+// signal-exit is a compromise with evil. Get used to it.
+if (!emitter.infinite) {
+ emitter.setMaxListeners(Infinity)
+ emitter.infinite = true
+}
+
+module.exports = function (cb, opts) {
+ assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')
+
+ if (loaded === false) {
+ load()
+ }
+
+ var ev = 'exit'
+ if (opts && opts.alwaysLast) {
+ ev = 'afterexit'
+ }
+
+ var remove = function () {
+ emitter.removeListener(ev, cb)
+ if (emitter.listeners('exit').length === 0 &&
+ emitter.listeners('afterexit').length === 0) {
+ unload()
+ }
+ }
+ emitter.on(ev, cb)
+
+ return remove
+}
+
+module.exports.unload = unload
+function unload () {
+ if (!loaded) {
+ return
+ }
+ loaded = false
+
+ signals.forEach(function (sig) {
+ try {
+ process.removeListener(sig, sigListeners[sig])
+ } catch (er) {}
+ })
+ process.emit = originalProcessEmit
+ process.reallyExit = originalProcessReallyExit
+ emitter.count -= 1
+}
+
+function emit (event, code, signal) {
+ if (emitter.emitted[event]) {
+ return
+ }
+ emitter.emitted[event] = true
+ emitter.emit(event, code, signal)
+}
+
+// { : , ... }
+var sigListeners = {}
+signals.forEach(function (sig) {
+ sigListeners[sig] = function listener () {
+ // If there are no other listeners, an exit is coming!
+ // Simplest way: remove us and then re-send the signal.
+ // We know that this will kill the process, so we can
+ // safely emit now.
+ var listeners = process.listeners(sig)
+ if (listeners.length === emitter.count) {
+ unload()
+ emit('exit', null, sig)
+ /* istanbul ignore next */
+ emit('afterexit', null, sig)
+ /* istanbul ignore next */
+ process.kill(process.pid, sig)
+ }
+ }
+})
+
+module.exports.signals = function () {
+ return signals
+}
+
+module.exports.load = load
+
+var loaded = false
+
+function load () {
+ if (loaded) {
+ return
+ }
+ loaded = true
+
+ // This is the number of onSignalExit's that are in play.
+ // It's important so that we can count the correct number of
+ // listeners on signals, and don't wait for the other one to
+ // handle it instead of us.
+ emitter.count += 1
+
+ signals = signals.filter(function (sig) {
+ try {
+ process.on(sig, sigListeners[sig])
+ return true
+ } catch (er) {
+ return false
+ }
+ })
+
+ process.emit = processEmit
+ process.reallyExit = processReallyExit
+}
+
+var originalProcessReallyExit = process.reallyExit
+function processReallyExit (code) {
+ process.exitCode = code || 0
+ emit('exit', process.exitCode, null)
+ /* istanbul ignore next */
+ emit('afterexit', process.exitCode, null)
+ /* istanbul ignore next */
+ originalProcessReallyExit.call(process, process.exitCode)
+}
+
+var originalProcessEmit = process.emit
+function processEmit (ev, arg) {
+ if (ev === 'exit') {
+ if (arg !== undefined) {
+ process.exitCode = arg
+ }
+ var ret = originalProcessEmit.apply(this, arguments)
+ emit('exit', process.exitCode, null)
+ /* istanbul ignore next */
+ emit('afterexit', process.exitCode, null)
+ return ret
+ } else {
+ return originalProcessEmit.apply(this, arguments)
+ }
+}
+
+
+/***/ }),
+
+/***/ 262:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", { value: true });
+const fs_1 = __webpack_require__(747);
+const os_1 = __webpack_require__(87);
+class Context {
+ /**
+ * Hydrate the context from the environment
+ */
+ constructor() {
+ this.payload = {};
+ if (process.env.GITHUB_EVENT_PATH) {
+ if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) {
+ this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' }));
+ }
+ else {
+ process.stdout.write(`GITHUB_EVENT_PATH ${process.env.GITHUB_EVENT_PATH} does not exist${os_1.EOL}`);
+ }
+ }
+ this.eventName = process.env.GITHUB_EVENT_NAME;
+ this.sha = process.env.GITHUB_SHA;
+ this.ref = process.env.GITHUB_REF;
+ this.workflow = process.env.GITHUB_WORKFLOW;
+ this.action = process.env.GITHUB_ACTION;
+ this.actor = process.env.GITHUB_ACTOR;
+ }
+ get issue() {
+ const payload = this.payload;
+ return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pullRequest || payload).number });
+ }
+ get repo() {
+ if (process.env.GITHUB_REPOSITORY) {
+ const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
+ return { owner, repo };
+ }
+ if (this.payload.repository) {
+ return {
+ owner: this.payload.repository.owner.login,
+ repo: this.payload.repository.name
+ };
+ }
+ throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'");
+ }
+}
+exports.Context = Context;
+//# sourceMappingURL=context.js.map
+
+/***/ }),
+
+/***/ 265:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = getPage
+
+const deprecate = __webpack_require__(370)
+const getPageLinks = __webpack_require__(577)
+const HttpError = __webpack_require__(297)
+
+function getPage (octokit, link, which, headers) {
+ deprecate(`octokit.get${which.charAt(0).toUpperCase() + which.slice(1)}Page() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
+ const url = getPageLinks(link)[which]
+
+ if (!url) {
+ const urlError = new HttpError(`No ${which} page found`, 404)
+ return Promise.reject(urlError)
+ }
+
+ const requestOptions = {
+ url,
+ headers: applyAcceptHeader(link, headers)
+ }
+
+ const promise = octokit.request(requestOptions)
+
+ return promise
+}
+
+function applyAcceptHeader (res, headers) {
+ const previous = res.headers && res.headers['x-github-media-type']
+
+ if (!previous || (headers && headers.accept)) {
+ return headers
+ }
+ headers = headers || {}
+ headers.accept = 'application/vnd.' + previous
+ .replace('; param=', '.')
+ .replace('; format=', '+')
+
+ return headers
+}
+
+
+/***/ }),
+
+/***/ 280:
+/***/ (function(module, exports) {
+
+exports = module.exports = SemVer
+
+var debug
+/* istanbul ignore next */
+if (typeof process === 'object' &&
+ process.env &&
+ process.env.NODE_DEBUG &&
+ /\bsemver\b/i.test(process.env.NODE_DEBUG)) {
+ debug = function () {
+ var args = Array.prototype.slice.call(arguments, 0)
+ args.unshift('SEMVER')
+ console.log.apply(console, args)
+ }
+} else {
+ debug = function () {}
+}
+
+// Note: this is the semver.org version of the spec that it implements
+// Not necessarily the package version of this code.
+exports.SEMVER_SPEC_VERSION = '2.0.0'
+
+var MAX_LENGTH = 256
+var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
+ /* istanbul ignore next */ 9007199254740991
+
+// Max safe segment length for coercion.
+var MAX_SAFE_COMPONENT_LENGTH = 16
+
+// The actual regexps go on exports.re
+var re = exports.re = []
+var src = exports.src = []
+var R = 0
+
+// The following Regular Expressions can be used for tokenizing,
+// validating, and parsing SemVer version strings.
+
+// ## Numeric Identifier
+// A single `0`, or a non-zero digit followed by zero or more digits.
+
+var NUMERICIDENTIFIER = R++
+src[NUMERICIDENTIFIER] = '0|[1-9]\\d*'
+var NUMERICIDENTIFIERLOOSE = R++
+src[NUMERICIDENTIFIERLOOSE] = '[0-9]+'
+
+// ## Non-numeric Identifier
+// Zero or more digits, followed by a letter or hyphen, and then zero or
+// more letters, digits, or hyphens.
+
+var NONNUMERICIDENTIFIER = R++
+src[NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*'
+
+// ## Main Version
+// Three dot-separated numeric identifiers.
+
+var MAINVERSION = R++
+src[MAINVERSION] = '(' + src[NUMERICIDENTIFIER] + ')\\.' +
+ '(' + src[NUMERICIDENTIFIER] + ')\\.' +
+ '(' + src[NUMERICIDENTIFIER] + ')'
+
+var MAINVERSIONLOOSE = R++
+src[MAINVERSIONLOOSE] = '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\.' +
+ '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\.' +
+ '(' + src[NUMERICIDENTIFIERLOOSE] + ')'
+
+// ## Pre-release Version Identifier
+// A numeric identifier, or a non-numeric identifier.
+
+var PRERELEASEIDENTIFIER = R++
+src[PRERELEASEIDENTIFIER] = '(?:' + src[NUMERICIDENTIFIER] +
+ '|' + src[NONNUMERICIDENTIFIER] + ')'
+
+var PRERELEASEIDENTIFIERLOOSE = R++
+src[PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[NUMERICIDENTIFIERLOOSE] +
+ '|' + src[NONNUMERICIDENTIFIER] + ')'
+
+// ## Pre-release Version
+// Hyphen, followed by one or more dot-separated pre-release version
+// identifiers.
+
+var PRERELEASE = R++
+src[PRERELEASE] = '(?:-(' + src[PRERELEASEIDENTIFIER] +
+ '(?:\\.' + src[PRERELEASEIDENTIFIER] + ')*))'
+
+var PRERELEASELOOSE = R++
+src[PRERELEASELOOSE] = '(?:-?(' + src[PRERELEASEIDENTIFIERLOOSE] +
+ '(?:\\.' + src[PRERELEASEIDENTIFIERLOOSE] + ')*))'
+
+// ## Build Metadata Identifier
+// Any combination of digits, letters, or hyphens.
+
+var BUILDIDENTIFIER = R++
+src[BUILDIDENTIFIER] = '[0-9A-Za-z-]+'
+
+// ## Build Metadata
+// Plus sign, followed by one or more period-separated build metadata
+// identifiers.
+
+var BUILD = R++
+src[BUILD] = '(?:\\+(' + src[BUILDIDENTIFIER] +
+ '(?:\\.' + src[BUILDIDENTIFIER] + ')*))'
+
+// ## Full Version String
+// A main version, followed optionally by a pre-release version and
+// build metadata.
+
+// Note that the only major, minor, patch, and pre-release sections of
+// the version string are capturing groups. The build metadata is not a
+// capturing group, because it should not ever be used in version
+// comparison.
+
+var FULL = R++
+var FULLPLAIN = 'v?' + src[MAINVERSION] +
+ src[PRERELEASE] + '?' +
+ src[BUILD] + '?'
+
+src[FULL] = '^' + FULLPLAIN + '$'
+
+// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
+// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
+// common in the npm registry.
+var LOOSEPLAIN = '[v=\\s]*' + src[MAINVERSIONLOOSE] +
+ src[PRERELEASELOOSE] + '?' +
+ src[BUILD] + '?'
+
+var LOOSE = R++
+src[LOOSE] = '^' + LOOSEPLAIN + '$'
+
+var GTLT = R++
+src[GTLT] = '((?:<|>)?=?)'
+
+// Something like "2.*" or "1.2.x".
+// Note that "x.x" is a valid xRange identifer, meaning "any version"
+// Only the first item is strictly required.
+var XRANGEIDENTIFIERLOOSE = R++
+src[XRANGEIDENTIFIERLOOSE] = src[NUMERICIDENTIFIERLOOSE] + '|x|X|\\*'
+var XRANGEIDENTIFIER = R++
+src[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + '|x|X|\\*'
+
+var XRANGEPLAIN = R++
+src[XRANGEPLAIN] = '[v=\\s]*(' + src[XRANGEIDENTIFIER] + ')' +
+ '(?:\\.(' + src[XRANGEIDENTIFIER] + ')' +
+ '(?:\\.(' + src[XRANGEIDENTIFIER] + ')' +
+ '(?:' + src[PRERELEASE] + ')?' +
+ src[BUILD] + '?' +
+ ')?)?'
+
+var XRANGEPLAINLOOSE = R++
+src[XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
+ '(?:\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
+ '(?:\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +
+ '(?:' + src[PRERELEASELOOSE] + ')?' +
+ src[BUILD] + '?' +
+ ')?)?'
+
+var XRANGE = R++
+src[XRANGE] = '^' + src[GTLT] + '\\s*' + src[XRANGEPLAIN] + '$'
+var XRANGELOOSE = R++
+src[XRANGELOOSE] = '^' + src[GTLT] + '\\s*' + src[XRANGEPLAINLOOSE] + '$'
+
+// Coercion.
+// Extract anything that could conceivably be a part of a valid semver
+var COERCE = R++
+src[COERCE] = '(?:^|[^\\d])' +
+ '(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' +
+ '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' +
+ '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' +
+ '(?:$|[^\\d])'
+
+// Tilde ranges.
+// Meaning is "reasonably at or greater than"
+var LONETILDE = R++
+src[LONETILDE] = '(?:~>?)'
+
+var TILDETRIM = R++
+src[TILDETRIM] = '(\\s*)' + src[LONETILDE] + '\\s+'
+re[TILDETRIM] = new RegExp(src[TILDETRIM], 'g')
+var tildeTrimReplace = '$1~'
+
+var TILDE = R++
+src[TILDE] = '^' + src[LONETILDE] + src[XRANGEPLAIN] + '$'
+var TILDELOOSE = R++
+src[TILDELOOSE] = '^' + src[LONETILDE] + src[XRANGEPLAINLOOSE] + '$'
+
+// Caret ranges.
+// Meaning is "at least and backwards compatible with"
+var LONECARET = R++
+src[LONECARET] = '(?:\\^)'
+
+var CARETTRIM = R++
+src[CARETTRIM] = '(\\s*)' + src[LONECARET] + '\\s+'
+re[CARETTRIM] = new RegExp(src[CARETTRIM], 'g')
+var caretTrimReplace = '$1^'
+
+var CARET = R++
+src[CARET] = '^' + src[LONECARET] + src[XRANGEPLAIN] + '$'
+var CARETLOOSE = R++
+src[CARETLOOSE] = '^' + src[LONECARET] + src[XRANGEPLAINLOOSE] + '$'
+
+// A simple gt/lt/eq thing, or just "" to indicate "any version"
+var COMPARATORLOOSE = R++
+src[COMPARATORLOOSE] = '^' + src[GTLT] + '\\s*(' + LOOSEPLAIN + ')$|^$'
+var COMPARATOR = R++
+src[COMPARATOR] = '^' + src[GTLT] + '\\s*(' + FULLPLAIN + ')$|^$'
+
+// An expression to strip any whitespace between the gtlt and the thing
+// it modifies, so that `> 1.2.3` ==> `>1.2.3`
+var COMPARATORTRIM = R++
+src[COMPARATORTRIM] = '(\\s*)' + src[GTLT] +
+ '\\s*(' + LOOSEPLAIN + '|' + src[XRANGEPLAIN] + ')'
+
+// this one has to use the /g flag
+re[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], 'g')
+var comparatorTrimReplace = '$1$2$3'
+
+// Something like `1.2.3 - 1.2.4`
+// Note that these all use the loose form, because they'll be
+// checked against either the strict or loose comparator form
+// later.
+var HYPHENRANGE = R++
+src[HYPHENRANGE] = '^\\s*(' + src[XRANGEPLAIN] + ')' +
+ '\\s+-\\s+' +
+ '(' + src[XRANGEPLAIN] + ')' +
+ '\\s*$'
+
+var HYPHENRANGELOOSE = R++
+src[HYPHENRANGELOOSE] = '^\\s*(' + src[XRANGEPLAINLOOSE] + ')' +
+ '\\s+-\\s+' +
+ '(' + src[XRANGEPLAINLOOSE] + ')' +
+ '\\s*$'
+
+// Star ranges basically just allow anything at all.
+var STAR = R++
+src[STAR] = '(<|>)?=?\\s*\\*'
+
+// Compile to actual regexp objects.
+// All are flag-free, unless they were created above with a flag.
+for (var i = 0; i < R; i++) {
+ debug(i, src[i])
+ if (!re[i]) {
+ re[i] = new RegExp(src[i])
+ }
+}
+
+exports.parse = parse
+function parse (version, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (version instanceof SemVer) {
+ return version
+ }
+
+ if (typeof version !== 'string') {
+ return null
+ }
+
+ if (version.length > MAX_LENGTH) {
+ return null
+ }
+
+ var r = options.loose ? re[LOOSE] : re[FULL]
+ if (!r.test(version)) {
+ return null
+ }
+
+ try {
+ return new SemVer(version, options)
+ } catch (er) {
+ return null
+ }
+}
+
+exports.valid = valid
+function valid (version, options) {
+ var v = parse(version, options)
+ return v ? v.version : null
+}
+
+exports.clean = clean
+function clean (version, options) {
+ var s = parse(version.trim().replace(/^[=v]+/, ''), options)
+ return s ? s.version : null
+}
+
+exports.SemVer = SemVer
+
+function SemVer (version, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+ if (version instanceof SemVer) {
+ if (version.loose === options.loose) {
+ return version
+ } else {
+ version = version.version
+ }
+ } else if (typeof version !== 'string') {
+ throw new TypeError('Invalid Version: ' + version)
+ }
+
+ if (version.length > MAX_LENGTH) {
+ throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters')
+ }
+
+ if (!(this instanceof SemVer)) {
+ return new SemVer(version, options)
+ }
+
+ debug('SemVer', version, options)
+ this.options = options
+ this.loose = !!options.loose
+
+ var m = version.trim().match(options.loose ? re[LOOSE] : re[FULL])
+
+ if (!m) {
+ throw new TypeError('Invalid Version: ' + version)
+ }
+
+ this.raw = version
+
+ // these are actually numbers
+ this.major = +m[1]
+ this.minor = +m[2]
+ this.patch = +m[3]
+
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
+ throw new TypeError('Invalid major version')
+ }
+
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
+ throw new TypeError('Invalid minor version')
+ }
+
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
+ throw new TypeError('Invalid patch version')
+ }
+
+ // numberify any prerelease numeric ids
+ if (!m[4]) {
+ this.prerelease = []
+ } else {
+ this.prerelease = m[4].split('.').map(function (id) {
+ if (/^[0-9]+$/.test(id)) {
+ var num = +id
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
+ return num
+ }
+ }
+ return id
+ })
+ }
+
+ this.build = m[5] ? m[5].split('.') : []
+ this.format()
+}
+
+SemVer.prototype.format = function () {
+ this.version = this.major + '.' + this.minor + '.' + this.patch
+ if (this.prerelease.length) {
+ this.version += '-' + this.prerelease.join('.')
+ }
+ return this.version
+}
+
+SemVer.prototype.toString = function () {
+ return this.version
+}
+
+SemVer.prototype.compare = function (other) {
+ debug('SemVer.compare', this.version, this.options, other)
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ return this.compareMain(other) || this.comparePre(other)
+}
+
+SemVer.prototype.compareMain = function (other) {
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ return compareIdentifiers(this.major, other.major) ||
+ compareIdentifiers(this.minor, other.minor) ||
+ compareIdentifiers(this.patch, other.patch)
+}
+
+SemVer.prototype.comparePre = function (other) {
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ // NOT having a prerelease is > having one
+ if (this.prerelease.length && !other.prerelease.length) {
+ return -1
+ } else if (!this.prerelease.length && other.prerelease.length) {
+ return 1
+ } else if (!this.prerelease.length && !other.prerelease.length) {
+ return 0
+ }
+
+ var i = 0
+ do {
+ var a = this.prerelease[i]
+ var b = other.prerelease[i]
+ debug('prerelease compare', i, a, b)
+ if (a === undefined && b === undefined) {
+ return 0
+ } else if (b === undefined) {
+ return 1
+ } else if (a === undefined) {
+ return -1
+ } else if (a === b) {
+ continue
+ } else {
+ return compareIdentifiers(a, b)
+ }
+ } while (++i)
+}
+
+SemVer.prototype.compareBuild = function (other) {
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ var i = 0
+ do {
+ var a = this.build[i]
+ var b = other.build[i]
+ debug('prerelease compare', i, a, b)
+ if (a === undefined && b === undefined) {
+ return 0
+ } else if (b === undefined) {
+ return 1
+ } else if (a === undefined) {
+ return -1
+ } else if (a === b) {
+ continue
+ } else {
+ return compareIdentifiers(a, b)
+ }
+ } while (++i)
+}
+
+// preminor will bump the version up to the next minor release, and immediately
+// down to pre-release. premajor and prepatch work the same way.
+SemVer.prototype.inc = function (release, identifier) {
+ switch (release) {
+ case 'premajor':
+ this.prerelease.length = 0
+ this.patch = 0
+ this.minor = 0
+ this.major++
+ this.inc('pre', identifier)
+ break
+ case 'preminor':
+ this.prerelease.length = 0
+ this.patch = 0
+ this.minor++
+ this.inc('pre', identifier)
+ break
+ case 'prepatch':
+ // If this is already a prerelease, it will bump to the next version
+ // drop any prereleases that might already exist, since they are not
+ // relevant at this point.
+ this.prerelease.length = 0
+ this.inc('patch', identifier)
+ this.inc('pre', identifier)
+ break
+ // If the input is a non-prerelease version, this acts the same as
+ // prepatch.
+ case 'prerelease':
+ if (this.prerelease.length === 0) {
+ this.inc('patch', identifier)
+ }
+ this.inc('pre', identifier)
+ break
+
+ case 'major':
+ // If this is a pre-major version, bump up to the same major version.
+ // Otherwise increment major.
+ // 1.0.0-5 bumps to 1.0.0
+ // 1.1.0 bumps to 2.0.0
+ if (this.minor !== 0 ||
+ this.patch !== 0 ||
+ this.prerelease.length === 0) {
+ this.major++
+ }
+ this.minor = 0
+ this.patch = 0
+ this.prerelease = []
+ break
+ case 'minor':
+ // If this is a pre-minor version, bump up to the same minor version.
+ // Otherwise increment minor.
+ // 1.2.0-5 bumps to 1.2.0
+ // 1.2.1 bumps to 1.3.0
+ if (this.patch !== 0 || this.prerelease.length === 0) {
+ this.minor++
+ }
+ this.patch = 0
+ this.prerelease = []
+ break
+ case 'patch':
+ // If this is not a pre-release version, it will increment the patch.
+ // If it is a pre-release it will bump up to the same patch version.
+ // 1.2.0-5 patches to 1.2.0
+ // 1.2.0 patches to 1.2.1
+ if (this.prerelease.length === 0) {
+ this.patch++
+ }
+ this.prerelease = []
+ break
+ // This probably shouldn't be used publicly.
+ // 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction.
+ case 'pre':
+ if (this.prerelease.length === 0) {
+ this.prerelease = [0]
+ } else {
+ var i = this.prerelease.length
+ while (--i >= 0) {
+ if (typeof this.prerelease[i] === 'number') {
+ this.prerelease[i]++
+ i = -2
+ }
+ }
+ if (i === -1) {
+ // didn't increment anything
+ this.prerelease.push(0)
+ }
+ }
+ if (identifier) {
+ // 1.2.0-beta.1 bumps to 1.2.0-beta.2,
+ // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0
+ if (this.prerelease[0] === identifier) {
+ if (isNaN(this.prerelease[1])) {
+ this.prerelease = [identifier, 0]
+ }
+ } else {
+ this.prerelease = [identifier, 0]
+ }
+ }
+ break
+
+ default:
+ throw new Error('invalid increment argument: ' + release)
+ }
+ this.format()
+ this.raw = this.version
+ return this
+}
+
+exports.inc = inc
+function inc (version, release, loose, identifier) {
+ if (typeof (loose) === 'string') {
+ identifier = loose
+ loose = undefined
+ }
+
+ try {
+ return new SemVer(version, loose).inc(release, identifier).version
+ } catch (er) {
+ return null
+ }
+}
+
+exports.diff = diff
+function diff (version1, version2) {
+ if (eq(version1, version2)) {
+ return null
+ } else {
+ var v1 = parse(version1)
+ var v2 = parse(version2)
+ var prefix = ''
+ if (v1.prerelease.length || v2.prerelease.length) {
+ prefix = 'pre'
+ var defaultResult = 'prerelease'
+ }
+ for (var key in v1) {
+ if (key === 'major' || key === 'minor' || key === 'patch') {
+ if (v1[key] !== v2[key]) {
+ return prefix + key
+ }
+ }
+ }
+ return defaultResult // may be undefined
+ }
+}
+
+exports.compareIdentifiers = compareIdentifiers
+
+var numeric = /^[0-9]+$/
+function compareIdentifiers (a, b) {
+ var anum = numeric.test(a)
+ var bnum = numeric.test(b)
+
+ if (anum && bnum) {
+ a = +a
+ b = +b
+ }
+
+ return a === b ? 0
+ : (anum && !bnum) ? -1
+ : (bnum && !anum) ? 1
+ : a < b ? -1
+ : 1
+}
+
+exports.rcompareIdentifiers = rcompareIdentifiers
+function rcompareIdentifiers (a, b) {
+ return compareIdentifiers(b, a)
+}
+
+exports.major = major
+function major (a, loose) {
+ return new SemVer(a, loose).major
+}
+
+exports.minor = minor
+function minor (a, loose) {
+ return new SemVer(a, loose).minor
+}
+
+exports.patch = patch
+function patch (a, loose) {
+ return new SemVer(a, loose).patch
+}
+
+exports.compare = compare
+function compare (a, b, loose) {
+ return new SemVer(a, loose).compare(new SemVer(b, loose))
+}
+
+exports.compareLoose = compareLoose
+function compareLoose (a, b) {
+ return compare(a, b, true)
+}
+
+exports.compareBuild = compareBuild
+function compareBuild (a, b, loose) {
+ var versionA = new SemVer(a, loose)
+ var versionB = new SemVer(b, loose)
+ return versionA.compare(versionB) || versionA.compareBuild(versionB)
+}
+
+exports.rcompare = rcompare
+function rcompare (a, b, loose) {
+ return compare(b, a, loose)
+}
+
+exports.sort = sort
+function sort (list, loose) {
+ return list.sort(function (a, b) {
+ return exports.compareBuild(a, b, loose)
+ })
+}
+
+exports.rsort = rsort
+function rsort (list, loose) {
+ return list.sort(function (a, b) {
+ return exports.compareBuild(b, a, loose)
+ })
+}
+
+exports.gt = gt
+function gt (a, b, loose) {
+ return compare(a, b, loose) > 0
+}
+
+exports.lt = lt
+function lt (a, b, loose) {
+ return compare(a, b, loose) < 0
+}
+
+exports.eq = eq
+function eq (a, b, loose) {
+ return compare(a, b, loose) === 0
+}
+
+exports.neq = neq
+function neq (a, b, loose) {
+ return compare(a, b, loose) !== 0
+}
+
+exports.gte = gte
+function gte (a, b, loose) {
+ return compare(a, b, loose) >= 0
+}
+
+exports.lte = lte
+function lte (a, b, loose) {
+ return compare(a, b, loose) <= 0
+}
+
+exports.cmp = cmp
+function cmp (a, op, b, loose) {
+ switch (op) {
+ case '===':
+ if (typeof a === 'object')
+ a = a.version
+ if (typeof b === 'object')
+ b = b.version
+ return a === b
+
+ case '!==':
+ if (typeof a === 'object')
+ a = a.version
+ if (typeof b === 'object')
+ b = b.version
+ return a !== b
+
+ case '':
+ case '=':
+ case '==':
+ return eq(a, b, loose)
+
+ case '!=':
+ return neq(a, b, loose)
+
+ case '>':
+ return gt(a, b, loose)
+
+ case '>=':
+ return gte(a, b, loose)
+
+ case '<':
+ return lt(a, b, loose)
+
+ case '<=':
+ return lte(a, b, loose)
+
+ default:
+ throw new TypeError('Invalid operator: ' + op)
+ }
+}
+
+exports.Comparator = Comparator
+function Comparator (comp, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (comp instanceof Comparator) {
+ if (comp.loose === !!options.loose) {
+ return comp
+ } else {
+ comp = comp.value
+ }
+ }
+
+ if (!(this instanceof Comparator)) {
+ return new Comparator(comp, options)
+ }
+
+ debug('comparator', comp, options)
+ this.options = options
+ this.loose = !!options.loose
+ this.parse(comp)
+
+ if (this.semver === ANY) {
+ this.value = ''
+ } else {
+ this.value = this.operator + this.semver.version
+ }
+
+ debug('comp', this)
+}
+
+var ANY = {}
+Comparator.prototype.parse = function (comp) {
+ var r = this.options.loose ? re[COMPARATORLOOSE] : re[COMPARATOR]
+ var m = comp.match(r)
+
+ if (!m) {
+ throw new TypeError('Invalid comparator: ' + comp)
+ }
+
+ this.operator = m[1] !== undefined ? m[1] : ''
+ if (this.operator === '=') {
+ this.operator = ''
+ }
+
+ // if it literally is just '>' or '' then allow anything.
+ if (!m[2]) {
+ this.semver = ANY
+ } else {
+ this.semver = new SemVer(m[2], this.options.loose)
+ }
+}
+
+Comparator.prototype.toString = function () {
+ return this.value
+}
+
+Comparator.prototype.test = function (version) {
+ debug('Comparator.test', version, this.options.loose)
+
+ if (this.semver === ANY || version === ANY) {
+ return true
+ }
+
+ if (typeof version === 'string') {
+ try {
+ version = new SemVer(version, this.options)
+ } catch (er) {
+ return false
+ }
+ }
+
+ return cmp(version, this.operator, this.semver, this.options)
+}
+
+Comparator.prototype.intersects = function (comp, options) {
+ if (!(comp instanceof Comparator)) {
+ throw new TypeError('a Comparator is required')
+ }
+
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ var rangeTmp
+
+ if (this.operator === '') {
+ if (this.value === '') {
+ return true
+ }
+ rangeTmp = new Range(comp.value, options)
+ return satisfies(this.value, rangeTmp, options)
+ } else if (comp.operator === '') {
+ if (comp.value === '') {
+ return true
+ }
+ rangeTmp = new Range(this.value, options)
+ return satisfies(comp.semver, rangeTmp, options)
+ }
+
+ var sameDirectionIncreasing =
+ (this.operator === '>=' || this.operator === '>') &&
+ (comp.operator === '>=' || comp.operator === '>')
+ var sameDirectionDecreasing =
+ (this.operator === '<=' || this.operator === '<') &&
+ (comp.operator === '<=' || comp.operator === '<')
+ var sameSemVer = this.semver.version === comp.semver.version
+ var differentDirectionsInclusive =
+ (this.operator === '>=' || this.operator === '<=') &&
+ (comp.operator === '>=' || comp.operator === '<=')
+ var oppositeDirectionsLessThan =
+ cmp(this.semver, '<', comp.semver, options) &&
+ ((this.operator === '>=' || this.operator === '>') &&
+ (comp.operator === '<=' || comp.operator === '<'))
+ var oppositeDirectionsGreaterThan =
+ cmp(this.semver, '>', comp.semver, options) &&
+ ((this.operator === '<=' || this.operator === '<') &&
+ (comp.operator === '>=' || comp.operator === '>'))
+
+ return sameDirectionIncreasing || sameDirectionDecreasing ||
+ (sameSemVer && differentDirectionsInclusive) ||
+ oppositeDirectionsLessThan || oppositeDirectionsGreaterThan
+}
+
+exports.Range = Range
+function Range (range, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (range instanceof Range) {
+ if (range.loose === !!options.loose &&
+ range.includePrerelease === !!options.includePrerelease) {
+ return range
+ } else {
+ return new Range(range.raw, options)
+ }
+ }
+
+ if (range instanceof Comparator) {
+ return new Range(range.value, options)
+ }
+
+ if (!(this instanceof Range)) {
+ return new Range(range, options)
+ }
+
+ this.options = options
+ this.loose = !!options.loose
+ this.includePrerelease = !!options.includePrerelease
+
+ // First, split based on boolean or ||
+ this.raw = range
+ this.set = range.split(/\s*\|\|\s*/).map(function (range) {
+ return this.parseRange(range.trim())
+ }, this).filter(function (c) {
+ // throw out any that are not relevant for whatever reason
+ return c.length
+ })
+
+ if (!this.set.length) {
+ throw new TypeError('Invalid SemVer Range: ' + range)
+ }
+
+ this.format()
+}
+
+Range.prototype.format = function () {
+ this.range = this.set.map(function (comps) {
+ return comps.join(' ').trim()
+ }).join('||').trim()
+ return this.range
+}
+
+Range.prototype.toString = function () {
+ return this.range
+}
+
+Range.prototype.parseRange = function (range) {
+ var loose = this.options.loose
+ range = range.trim()
+ // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
+ var hr = loose ? re[HYPHENRANGELOOSE] : re[HYPHENRANGE]
+ range = range.replace(hr, hyphenReplace)
+ debug('hyphen replace', range)
+ // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
+ range = range.replace(re[COMPARATORTRIM], comparatorTrimReplace)
+ debug('comparator trim', range, re[COMPARATORTRIM])
+
+ // `~ 1.2.3` => `~1.2.3`
+ range = range.replace(re[TILDETRIM], tildeTrimReplace)
+
+ // `^ 1.2.3` => `^1.2.3`
+ range = range.replace(re[CARETTRIM], caretTrimReplace)
+
+ // normalize spaces
+ range = range.split(/\s+/).join(' ')
+
+ // At this point, the range is completely trimmed and
+ // ready to be split into comparators.
+
+ var compRe = loose ? re[COMPARATORLOOSE] : re[COMPARATOR]
+ var set = range.split(' ').map(function (comp) {
+ return parseComparator(comp, this.options)
+ }, this).join(' ').split(/\s+/)
+ if (this.options.loose) {
+ // in loose mode, throw out any that are not valid comparators
+ set = set.filter(function (comp) {
+ return !!comp.match(compRe)
+ })
+ }
+ set = set.map(function (comp) {
+ return new Comparator(comp, this.options)
+ }, this)
+
+ return set
+}
+
+Range.prototype.intersects = function (range, options) {
+ if (!(range instanceof Range)) {
+ throw new TypeError('a Range is required')
+ }
+
+ return this.set.some(function (thisComparators) {
+ return (
+ isSatisfiable(thisComparators, options) &&
+ range.set.some(function (rangeComparators) {
+ return (
+ isSatisfiable(rangeComparators, options) &&
+ thisComparators.every(function (thisComparator) {
+ return rangeComparators.every(function (rangeComparator) {
+ return thisComparator.intersects(rangeComparator, options)
+ })
+ })
+ )
+ })
+ )
+ })
+}
+
+// take a set of comparators and determine whether there
+// exists a version which can satisfy it
+function isSatisfiable (comparators, options) {
+ var result = true
+ var remainingComparators = comparators.slice()
+ var testComparator = remainingComparators.pop()
+
+ while (result && remainingComparators.length) {
+ result = remainingComparators.every(function (otherComparator) {
+ return testComparator.intersects(otherComparator, options)
+ })
+
+ testComparator = remainingComparators.pop()
+ }
+
+ return result
+}
+
+// Mostly just for testing and legacy API reasons
+exports.toComparators = toComparators
+function toComparators (range, options) {
+ return new Range(range, options).set.map(function (comp) {
+ return comp.map(function (c) {
+ return c.value
+ }).join(' ').trim().split(' ')
+ })
+}
+
+// comprised of xranges, tildes, stars, and gtlt's at this point.
+// already replaced the hyphen ranges
+// turn into a set of JUST comparators.
+function parseComparator (comp, options) {
+ debug('comp', comp, options)
+ comp = replaceCarets(comp, options)
+ debug('caret', comp)
+ comp = replaceTildes(comp, options)
+ debug('tildes', comp)
+ comp = replaceXRanges(comp, options)
+ debug('xrange', comp)
+ comp = replaceStars(comp, options)
+ debug('stars', comp)
+ return comp
+}
+
+function isX (id) {
+ return !id || id.toLowerCase() === 'x' || id === '*'
+}
+
+// ~, ~> --> * (any, kinda silly)
+// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0
+// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0
+// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0
+// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0
+// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0
+function replaceTildes (comp, options) {
+ return comp.trim().split(/\s+/).map(function (comp) {
+ return replaceTilde(comp, options)
+ }).join(' ')
+}
+
+function replaceTilde (comp, options) {
+ var r = options.loose ? re[TILDELOOSE] : re[TILDE]
+ return comp.replace(r, function (_, M, m, p, pr) {
+ debug('tilde', comp, _, M, m, p, pr)
+ var ret
+
+ if (isX(M)) {
+ ret = ''
+ } else if (isX(m)) {
+ ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'
+ } else if (isX(p)) {
+ // ~1.2 == >=1.2.0 <1.3.0
+ ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'
+ } else if (pr) {
+ debug('replaceTilde pr', pr)
+ ret = '>=' + M + '.' + m + '.' + p + '-' + pr +
+ ' <' + M + '.' + (+m + 1) + '.0'
+ } else {
+ // ~1.2.3 == >=1.2.3 <1.3.0
+ ret = '>=' + M + '.' + m + '.' + p +
+ ' <' + M + '.' + (+m + 1) + '.0'
+ }
+
+ debug('tilde return', ret)
+ return ret
+ })
+}
+
+// ^ --> * (any, kinda silly)
+// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0
+// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0
+// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0
+// ^1.2.3 --> >=1.2.3 <2.0.0
+// ^1.2.0 --> >=1.2.0 <2.0.0
+function replaceCarets (comp, options) {
+ return comp.trim().split(/\s+/).map(function (comp) {
+ return replaceCaret(comp, options)
+ }).join(' ')
+}
+
+function replaceCaret (comp, options) {
+ debug('caret', comp, options)
+ var r = options.loose ? re[CARETLOOSE] : re[CARET]
+ return comp.replace(r, function (_, M, m, p, pr) {
+ debug('caret', comp, _, M, m, p, pr)
+ var ret
+
+ if (isX(M)) {
+ ret = ''
+ } else if (isX(m)) {
+ ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'
+ } else if (isX(p)) {
+ if (M === '0') {
+ ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'
+ } else {
+ ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0'
+ }
+ } else if (pr) {
+ debug('replaceCaret pr', pr)
+ if (M === '0') {
+ if (m === '0') {
+ ret = '>=' + M + '.' + m + '.' + p + '-' + pr +
+ ' <' + M + '.' + m + '.' + (+p + 1)
+ } else {
+ ret = '>=' + M + '.' + m + '.' + p + '-' + pr +
+ ' <' + M + '.' + (+m + 1) + '.0'
+ }
+ } else {
+ ret = '>=' + M + '.' + m + '.' + p + '-' + pr +
+ ' <' + (+M + 1) + '.0.0'
+ }
+ } else {
+ debug('no pr')
+ if (M === '0') {
+ if (m === '0') {
+ ret = '>=' + M + '.' + m + '.' + p +
+ ' <' + M + '.' + m + '.' + (+p + 1)
+ } else {
+ ret = '>=' + M + '.' + m + '.' + p +
+ ' <' + M + '.' + (+m + 1) + '.0'
+ }
+ } else {
+ ret = '>=' + M + '.' + m + '.' + p +
+ ' <' + (+M + 1) + '.0.0'
+ }
+ }
+
+ debug('caret return', ret)
+ return ret
+ })
+}
+
+function replaceXRanges (comp, options) {
+ debug('replaceXRanges', comp, options)
+ return comp.split(/\s+/).map(function (comp) {
+ return replaceXRange(comp, options)
+ }).join(' ')
+}
+
+function replaceXRange (comp, options) {
+ comp = comp.trim()
+ var r = options.loose ? re[XRANGELOOSE] : re[XRANGE]
+ return comp.replace(r, function (ret, gtlt, M, m, p, pr) {
+ debug('xRange', comp, ret, gtlt, M, m, p, pr)
+ var xM = isX(M)
+ var xm = xM || isX(m)
+ var xp = xm || isX(p)
+ var anyX = xp
+
+ if (gtlt === '=' && anyX) {
+ gtlt = ''
+ }
+
+ if (xM) {
+ if (gtlt === '>' || gtlt === '<') {
+ // nothing is allowed
+ ret = '<0.0.0'
+ } else {
+ // nothing is forbidden
+ ret = '*'
+ }
+ } else if (gtlt && anyX) {
+ // we know patch is an x, because we have any x at all.
+ // replace X with 0
+ if (xm) {
+ m = 0
+ }
+ p = 0
+
+ if (gtlt === '>') {
+ // >1 => >=2.0.0
+ // >1.2 => >=1.3.0
+ // >1.2.3 => >= 1.2.4
+ gtlt = '>='
+ if (xm) {
+ M = +M + 1
+ m = 0
+ p = 0
+ } else {
+ m = +m + 1
+ p = 0
+ }
+ } else if (gtlt === '<=') {
+ // <=0.7.x is actually <0.8.0, since any 0.7.x should
+ // pass. Similarly, <=7.x is actually <8.0.0, etc.
+ gtlt = '<'
+ if (xm) {
+ M = +M + 1
+ } else {
+ m = +m + 1
+ }
+ }
+
+ ret = gtlt + M + '.' + m + '.' + p
+ } else if (xm) {
+ ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'
+ } else if (xp) {
+ ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'
+ }
+
+ debug('xRange return', ret)
+
+ return ret
+ })
+}
+
+// Because * is AND-ed with everything else in the comparator,
+// and '' means "any version", just remove the *s entirely.
+function replaceStars (comp, options) {
+ debug('replaceStars', comp, options)
+ // Looseness is ignored here. star is always as loose as it gets!
+ return comp.trim().replace(re[STAR], '')
+}
+
+// This function is passed to string.replace(re[HYPHENRANGE])
+// M, m, patch, prerelease, build
+// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5
+// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do
+// 1.2 - 3.4 => >=1.2.0 <3.5.0
+function hyphenReplace ($0,
+ from, fM, fm, fp, fpr, fb,
+ to, tM, tm, tp, tpr, tb) {
+ if (isX(fM)) {
+ from = ''
+ } else if (isX(fm)) {
+ from = '>=' + fM + '.0.0'
+ } else if (isX(fp)) {
+ from = '>=' + fM + '.' + fm + '.0'
+ } else {
+ from = '>=' + from
+ }
+
+ if (isX(tM)) {
+ to = ''
+ } else if (isX(tm)) {
+ to = '<' + (+tM + 1) + '.0.0'
+ } else if (isX(tp)) {
+ to = '<' + tM + '.' + (+tm + 1) + '.0'
+ } else if (tpr) {
+ to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr
+ } else {
+ to = '<=' + to
+ }
+
+ return (from + ' ' + to).trim()
+}
+
+// if ANY of the sets match ALL of its comparators, then pass
+Range.prototype.test = function (version) {
+ if (!version) {
+ return false
+ }
+
+ if (typeof version === 'string') {
+ try {
+ version = new SemVer(version, this.options)
+ } catch (er) {
+ return false
+ }
+ }
+
+ for (var i = 0; i < this.set.length; i++) {
+ if (testSet(this.set[i], version, this.options)) {
+ return true
+ }
+ }
+ return false
+}
+
+function testSet (set, version, options) {
+ for (var i = 0; i < set.length; i++) {
+ if (!set[i].test(version)) {
+ return false
+ }
+ }
+
+ if (version.prerelease.length && !options.includePrerelease) {
+ // Find the set of versions that are allowed to have prereleases
+ // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0
+ // That should allow `1.2.3-pr.2` to pass.
+ // However, `1.2.4-alpha.notready` should NOT be allowed,
+ // even though it's within the range set by the comparators.
+ for (i = 0; i < set.length; i++) {
+ debug(set[i].semver)
+ if (set[i].semver === ANY) {
+ continue
+ }
+
+ if (set[i].semver.prerelease.length > 0) {
+ var allowed = set[i].semver
+ if (allowed.major === version.major &&
+ allowed.minor === version.minor &&
+ allowed.patch === version.patch) {
+ return true
+ }
+ }
+ }
+
+ // Version has a -pre, but it's not one of the ones we like.
+ return false
+ }
+
+ return true
+}
+
+exports.satisfies = satisfies
+function satisfies (version, range, options) {
+ try {
+ range = new Range(range, options)
+ } catch (er) {
+ return false
+ }
+ return range.test(version)
+}
+
+exports.maxSatisfying = maxSatisfying
+function maxSatisfying (versions, range, options) {
+ var max = null
+ var maxSV = null
+ try {
+ var rangeObj = new Range(range, options)
+ } catch (er) {
+ return null
+ }
+ versions.forEach(function (v) {
+ if (rangeObj.test(v)) {
+ // satisfies(v, range, options)
+ if (!max || maxSV.compare(v) === -1) {
+ // compare(max, v, true)
+ max = v
+ maxSV = new SemVer(max, options)
+ }
+ }
+ })
+ return max
+}
+
+exports.minSatisfying = minSatisfying
+function minSatisfying (versions, range, options) {
+ var min = null
+ var minSV = null
+ try {
+ var rangeObj = new Range(range, options)
+ } catch (er) {
+ return null
+ }
+ versions.forEach(function (v) {
+ if (rangeObj.test(v)) {
+ // satisfies(v, range, options)
+ if (!min || minSV.compare(v) === 1) {
+ // compare(min, v, true)
+ min = v
+ minSV = new SemVer(min, options)
+ }
+ }
+ })
+ return min
+}
+
+exports.minVersion = minVersion
+function minVersion (range, loose) {
+ range = new Range(range, loose)
+
+ var minver = new SemVer('0.0.0')
+ if (range.test(minver)) {
+ return minver
+ }
+
+ minver = new SemVer('0.0.0-0')
+ if (range.test(minver)) {
+ return minver
+ }
+
+ minver = null
+ for (var i = 0; i < range.set.length; ++i) {
+ var comparators = range.set[i]
+
+ comparators.forEach(function (comparator) {
+ // Clone to avoid manipulating the comparator's semver object.
+ var compver = new SemVer(comparator.semver.version)
+ switch (comparator.operator) {
+ case '>':
+ if (compver.prerelease.length === 0) {
+ compver.patch++
+ } else {
+ compver.prerelease.push(0)
+ }
+ compver.raw = compver.format()
+ /* fallthrough */
+ case '':
+ case '>=':
+ if (!minver || gt(minver, compver)) {
+ minver = compver
+ }
+ break
+ case '<':
+ case '<=':
+ /* Ignore maximum versions */
+ break
+ /* istanbul ignore next */
+ default:
+ throw new Error('Unexpected operation: ' + comparator.operator)
+ }
+ })
+ }
+
+ if (minver && range.test(minver)) {
+ return minver
+ }
+
+ return null
+}
+
+exports.validRange = validRange
+function validRange (range, options) {
+ try {
+ // Return '*' instead of '' so that truthiness works.
+ // This will throw if it's invalid anyway
+ return new Range(range, options).range || '*'
+ } catch (er) {
+ return null
+ }
+}
+
+// Determine if version is less than all the versions possible in the range
+exports.ltr = ltr
+function ltr (version, range, options) {
+ return outside(version, range, '<', options)
+}
+
+// Determine if version is greater than all the versions possible in the range.
+exports.gtr = gtr
+function gtr (version, range, options) {
+ return outside(version, range, '>', options)
+}
+
+exports.outside = outside
+function outside (version, range, hilo, options) {
+ version = new SemVer(version, options)
+ range = new Range(range, options)
+
+ var gtfn, ltefn, ltfn, comp, ecomp
+ switch (hilo) {
+ case '>':
+ gtfn = gt
+ ltefn = lte
+ ltfn = lt
+ comp = '>'
+ ecomp = '>='
+ break
+ case '<':
+ gtfn = lt
+ ltefn = gte
+ ltfn = gt
+ comp = '<'
+ ecomp = '<='
+ break
+ default:
+ throw new TypeError('Must provide a hilo val of "<" or ">"')
+ }
+
+ // If it satisifes the range it is not outside
+ if (satisfies(version, range, options)) {
+ return false
+ }
+
+ // From now on, variable terms are as if we're in "gtr" mode.
+ // but note that everything is flipped for the "ltr" function.
+
+ for (var i = 0; i < range.set.length; ++i) {
+ var comparators = range.set[i]
+
+ var high = null
+ var low = null
+
+ comparators.forEach(function (comparator) {
+ if (comparator.semver === ANY) {
+ comparator = new Comparator('>=0.0.0')
+ }
+ high = high || comparator
+ low = low || comparator
+ if (gtfn(comparator.semver, high.semver, options)) {
+ high = comparator
+ } else if (ltfn(comparator.semver, low.semver, options)) {
+ low = comparator
+ }
+ })
+
+ // If the edge version comparator has a operator then our version
+ // isn't outside it
+ if (high.operator === comp || high.operator === ecomp) {
+ return false
+ }
+
+ // If the lowest version comparator has an operator and our version
+ // is less than it then it isn't higher than the range
+ if ((!low.operator || low.operator === comp) &&
+ ltefn(version, low.semver)) {
+ return false
+ } else if (low.operator === ecomp && ltfn(version, low.semver)) {
+ return false
+ }
+ }
+ return true
+}
+
+exports.prerelease = prerelease
+function prerelease (version, options) {
+ var parsed = parse(version, options)
+ return (parsed && parsed.prerelease.length) ? parsed.prerelease : null
+}
+
+exports.intersects = intersects
+function intersects (r1, r2, options) {
+ r1 = new Range(r1, options)
+ r2 = new Range(r2, options)
+ return r1.intersects(r2)
+}
+
+exports.coerce = coerce
+function coerce (version, options) {
+ if (version instanceof SemVer) {
+ return version
+ }
+
+ if (typeof version !== 'string') {
+ return null
+ }
+
+ var match = version.match(re[COERCE])
+
+ if (match == null) {
+ return null
+ }
+
+ return parse(match[1] +
+ '.' + (match[2] || '0') +
+ '.' + (match[3] || '0'), options)
+}
+
+
+/***/ }),
+
+/***/ 293:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = authenticationRequestError;
+
+const { RequestError } = __webpack_require__(463);
+
+function authenticationRequestError(state, error, options) {
+ if (!error.headers) throw error;
+
+ const otpRequired = /required/.test(error.headers["x-github-otp"] || "");
+ // handle "2FA required" error only
+ if (error.status !== 401 || !otpRequired) {
+ throw error;
+ }
+
+ if (
+ error.status === 401 &&
+ otpRequired &&
+ error.request &&
+ error.request.headers["x-github-otp"]
+ ) {
+ if (state.otp) {
+ delete state.otp; // no longer valid, request again
+ } else {
+ throw new RequestError(
+ "Invalid one-time password for two-factor authentication",
+ 401,
+ {
+ headers: error.headers,
+ request: options
+ }
+ );
+ }
+ }
+
+ if (typeof state.auth.on2fa !== "function") {
+ throw new RequestError(
+ "2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",
+ 401,
+ {
+ headers: error.headers,
+ request: options
+ }
+ );
+ }
+
+ return Promise.resolve()
+ .then(() => {
+ return state.auth.on2fa();
+ })
+ .then(oneTimePassword => {
+ const newOptions = Object.assign(options, {
+ headers: Object.assign(options.headers, {
+ "x-github-otp": oneTimePassword
+ })
+ });
+ return state.octokit.request(newOptions).then(response => {
+ // If OTP still valid, then persist it for following requests
+ state.otp = oneTimePassword;
+ return response;
+ });
+ });
+}
+
+
+/***/ }),
+
+/***/ 294:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = parseOptions;
+
+const { Deprecation } = __webpack_require__(692);
+const { getUserAgent } = __webpack_require__(619);
+const once = __webpack_require__(969);
+
+const pkg = __webpack_require__(215);
+
+const deprecateOptionsTimeout = once((log, deprecation) =>
+ log.warn(deprecation)
+);
+const deprecateOptionsAgent = once((log, deprecation) => log.warn(deprecation));
+const deprecateOptionsHeaders = once((log, deprecation) =>
+ log.warn(deprecation)
+);
+
+function parseOptions(options, log, hook) {
+ if (options.headers) {
+ options.headers = Object.keys(options.headers).reduce((newObj, key) => {
+ newObj[key.toLowerCase()] = options.headers[key];
+ return newObj;
+ }, {});
+ }
+
+ const clientDefaults = {
+ headers: options.headers || {},
+ request: options.request || {},
+ mediaType: {
+ previews: [],
+ format: ""
+ }
+ };
+
+ if (options.baseUrl) {
+ clientDefaults.baseUrl = options.baseUrl;
+ }
+
+ if (options.userAgent) {
+ clientDefaults.headers["user-agent"] = options.userAgent;
+ }
+
+ if (options.previews) {
+ clientDefaults.mediaType.previews = options.previews;
+ }
+
+ if (options.timeZone) {
+ clientDefaults.headers["time-zone"] = options.timeZone;
+ }
+
+ if (options.timeout) {
+ deprecateOptionsTimeout(
+ log,
+ new Deprecation(
+ "[@octokit/rest] new Octokit({timeout}) is deprecated. Use {request: {timeout}} instead. See https://github.com/octokit/request.js#request"
+ )
+ );
+ clientDefaults.request.timeout = options.timeout;
+ }
+
+ if (options.agent) {
+ deprecateOptionsAgent(
+ log,
+ new Deprecation(
+ "[@octokit/rest] new Octokit({agent}) is deprecated. Use {request: {agent}} instead. See https://github.com/octokit/request.js#request"
+ )
+ );
+ clientDefaults.request.agent = options.agent;
+ }
+
+ if (options.headers) {
+ deprecateOptionsHeaders(
+ log,
+ new Deprecation(
+ "[@octokit/rest] new Octokit({headers}) is deprecated. Use {userAgent, previews} instead. See https://github.com/octokit/request.js#request"
+ )
+ );
+ }
+
+ const userAgentOption = clientDefaults.headers["user-agent"];
+ const defaultUserAgent = `octokit.js/${pkg.version} ${getUserAgent()}`;
+
+ clientDefaults.headers["user-agent"] = [userAgentOption, defaultUserAgent]
+ .filter(Boolean)
+ .join(" ");
+
+ clientDefaults.request.hook = hook.bind(null, "request");
+
+ return clientDefaults;
+}
+
+
+/***/ }),
+
+/***/ 297:
+/***/ (function(module) {
+
+module.exports = class HttpError extends Error {
+ constructor (message, code, headers) {
+ super(message)
+
+ // Maintains proper stack trace (only available on V8)
+ /* istanbul ignore next */
+ if (Error.captureStackTrace) {
+ Error.captureStackTrace(this, this.constructor)
+ }
+
+ this.name = 'HttpError'
+ this.code = code
+ this.headers = headers
+ }
+}
+
+
+/***/ }),
+
+/***/ 301:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+/**
+ * Some “list” response that can be paginated have a different response structure
+ *
+ * They have a `total_count` key in the response (search also has `incomplete_results`,
+ * /installation/repositories also has `repository_selection`), as well as a key with
+ * the list of the items which name varies from endpoint to endpoint:
+ *
+ * - https://developer.github.com/v3/search/#example (key `items`)
+ * - https://developer.github.com/v3/checks/runs/#response-3 (key: `check_runs`)
+ * - https://developer.github.com/v3/checks/suites/#response-1 (key: `check_suites`)
+ * - https://developer.github.com/v3/apps/installations/#list-repositories (key: `repositories`)
+ * - https://developer.github.com/v3/apps/installations/#list-installations-for-a-user (key `installations`)
+ * - https://developer.github.com/v3/orgs/#list-installations-for-an-organization (key `installations`)
+ *
+ * Octokit normalizes these responses so that paginated results are always returned following
+ * the same structure. One challenge is that if the list response has only one page, no Link
+ * header is provided, so this header alone is not sufficient to check wether a response is
+ * paginated or not. For the exceptions with the namespace, a fallback check for the route
+ * paths has to be added in order to normalize the response. We cannot check for the total_count
+ * property because it also exists in the response of Get the combined status for a specific ref.
+ */
+
+module.exports = normalizePaginatedListResponse;
+
+const { Deprecation } = __webpack_require__(692);
+const once = __webpack_require__(969);
+
+const deprecateIncompleteResults = once((log, deprecation) =>
+ log.warn(deprecation)
+);
+const deprecateTotalCount = once((log, deprecation) => log.warn(deprecation));
+const deprecateNamespace = once((log, deprecation) => log.warn(deprecation));
+
+const REGEX_IS_SEARCH_PATH = /^\/search\//;
+const REGEX_IS_CHECKS_PATH = /^\/repos\/[^/]+\/[^/]+\/commits\/[^/]+\/(check-runs|check-suites)/;
+const REGEX_IS_INSTALLATION_REPOSITORIES_PATH = /^\/installation\/repositories/;
+const REGEX_IS_USER_INSTALLATIONS_PATH = /^\/user\/installations/;
+const REGEX_IS_ORG_INSTALLATIONS_PATH = /^\/orgs\/[^/]+\/installations/;
+
+function normalizePaginatedListResponse(octokit, url, response) {
+ const path = url.replace(octokit.request.endpoint.DEFAULTS.baseUrl, "");
+ if (
+ !REGEX_IS_SEARCH_PATH.test(path) &&
+ !REGEX_IS_CHECKS_PATH.test(path) &&
+ !REGEX_IS_INSTALLATION_REPOSITORIES_PATH.test(path) &&
+ !REGEX_IS_USER_INSTALLATIONS_PATH.test(path) &&
+ !REGEX_IS_ORG_INSTALLATIONS_PATH.test(path)
+ ) {
+ return;
+ }
+
+ // keep the additional properties intact to avoid a breaking change,
+ // but log a deprecation warning when accessed
+ const incompleteResults = response.data.incomplete_results;
+ const repositorySelection = response.data.repository_selection;
+ const totalCount = response.data.total_count;
+ delete response.data.incomplete_results;
+ delete response.data.repository_selection;
+ delete response.data.total_count;
+
+ const namespaceKey = Object.keys(response.data)[0];
+
+ response.data = response.data[namespaceKey];
+
+ Object.defineProperty(response.data, namespaceKey, {
+ get() {
+ deprecateNamespace(
+ octokit.log,
+ new Deprecation(
+ `[@octokit/rest] "result.data.${namespaceKey}" is deprecated. Use "result.data" instead`
+ )
+ );
+ return response.data;
+ }
+ });
+
+ if (typeof incompleteResults !== "undefined") {
+ Object.defineProperty(response.data, "incomplete_results", {
+ get() {
+ deprecateIncompleteResults(
+ octokit.log,
+ new Deprecation(
+ '[@octokit/rest] "result.data.incomplete_results" is deprecated.'
+ )
+ );
+ return incompleteResults;
+ }
+ });
+ }
+
+ if (typeof repositorySelection !== "undefined") {
+ Object.defineProperty(response.data, "repository_selection", {
+ get() {
+ deprecateTotalCount(
+ octokit.log,
+ new Deprecation(
+ '[@octokit/rest] "result.data.repository_selection" is deprecated.'
+ )
+ );
+ return repositorySelection;
+ }
+ });
+ }
+
+ Object.defineProperty(response.data, "total_count", {
+ get() {
+ deprecateTotalCount(
+ octokit.log,
+ new Deprecation(
+ '[@octokit/rest] "result.data.total_count" is deprecated.'
+ )
+ );
+ return totalCount;
+ }
+ });
+}
+
+
+/***/ }),
+
+/***/ 314:
+/***/ (function(module) {
+
+module.exports = {"name":"@octokit/graphql","version":"2.1.3","publishConfig":{"access":"public"},"description":"GitHub GraphQL API client for browsers and Node","main":"index.js","scripts":{"prebuild":"mkdirp dist/","build":"npm-run-all build:*","build:development":"webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json","build:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map","bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","coverage":"nyc report --reporter=html && open coverage/index.html","coverage:upload":"nyc report --reporter=text-lcov | coveralls","pretest":"standard","test":"nyc mocha test/*-test.js","test:browser":"cypress run --browser chrome"},"repository":{"type":"git","url":"https://github.com/octokit/graphql.js.git"},"keywords":["octokit","github","api","graphql"],"author":"Gregor Martynus (https://github.com/gr2m)","license":"MIT","bugs":{"url":"https://github.com/octokit/graphql.js/issues"},"homepage":"https://github.com/octokit/graphql.js#readme","dependencies":{"@octokit/request":"^5.0.0","universal-user-agent":"^2.0.3"},"devDependencies":{"chai":"^4.2.0","compression-webpack-plugin":"^2.0.0","coveralls":"^3.0.3","cypress":"^3.1.5","fetch-mock":"^7.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","npm-run-all":"^4.1.3","nyc":"^14.0.0","semantic-release":"^15.13.3","simple-mock":"^0.8.0","standard":"^12.0.1","webpack":"^4.29.6","webpack-bundle-analyzer":"^3.1.0","webpack-cli":"^3.2.3"},"bundlesize":[{"path":"./dist/octokit-graphql.min.js.gz","maxSize":"5KB"}],"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"standard":{"globals":["describe","before","beforeEach","afterEach","after","it","expect"]},"files":["lib"],"_resolved":"https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz","_integrity":"sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==","_from":"@octokit/graphql@2.1.3"};
+
+/***/ }),
+
+/***/ 323:
+/***/ (function(module) {
+
+"use strict";
+
+
+var isStream = module.exports = function (stream) {
+ return stream !== null && typeof stream === 'object' && typeof stream.pipe === 'function';
+};
+
+isStream.writable = function (stream) {
+ return isStream(stream) && stream.writable !== false && typeof stream._write === 'function' && typeof stream._writableState === 'object';
+};
+
+isStream.readable = function (stream) {
+ return isStream(stream) && stream.readable !== false && typeof stream._read === 'function' && typeof stream._readableState === 'object';
+};
+
+isStream.duplex = function (stream) {
+ return isStream.writable(stream) && isStream.readable(stream);
+};
+
+isStream.transform = function (stream) {
+ return isStream.duplex(stream) && typeof stream._transform === 'function' && typeof stream._transformState === 'object';
+};
+
+
+/***/ }),
+
+/***/ 336:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = hasLastPage
+
+const deprecate = __webpack_require__(370)
+const getPageLinks = __webpack_require__(577)
+
+function hasLastPage (link) {
+ deprecate(`octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
+ return getPageLinks(link).last
+}
+
+
+/***/ }),
+
+/***/ 348:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+
+module.exports = validate;
+
+const { RequestError } = __webpack_require__(463);
+const get = __webpack_require__(854);
+const set = __webpack_require__(883);
+
+function validate(octokit, options) {
+ if (!options.request.validate) {
+ return;
+ }
+ const { validate: params } = options.request;
+
+ Object.keys(params).forEach(parameterName => {
+ const parameter = get(params, parameterName);
+
+ const expectedType = parameter.type;
+ let parentParameterName;
+ let parentValue;
+ let parentParamIsPresent = true;
+ let parentParameterIsArray = false;
+
+ if (/\./.test(parameterName)) {
+ parentParameterName = parameterName.replace(/\.[^.]+$/, "");
+ parentParameterIsArray = parentParameterName.slice(-2) === "[]";
+ if (parentParameterIsArray) {
+ parentParameterName = parentParameterName.slice(0, -2);
+ }
+ parentValue = get(options, parentParameterName);
+ parentParamIsPresent =
+ parentParameterName === "headers" ||
+ (typeof parentValue === "object" && parentValue !== null);
+ }
+
+ const values = parentParameterIsArray
+ ? (get(options, parentParameterName) || []).map(
+ value => value[parameterName.split(/\./).pop()]
+ )
+ : [get(options, parameterName)];
+
+ values.forEach((value, i) => {
+ const valueIsPresent = typeof value !== "undefined";
+ const valueIsNull = value === null;
+ const currentParameterName = parentParameterIsArray
+ ? parameterName.replace(/\[\]/, `[${i}]`)
+ : parameterName;
+
+ if (!parameter.required && !valueIsPresent) {
+ return;
+ }
+
+ // if the parent parameter is of type object but allows null
+ // then the child parameters can be ignored
+ if (!parentParamIsPresent) {
+ return;
+ }
+
+ if (parameter.allowNull && valueIsNull) {
+ return;
+ }
+
+ if (!parameter.allowNull && valueIsNull) {
+ throw new RequestError(
+ `'${currentParameterName}' cannot be null`,
+ 400,
+ {
+ request: options
+ }
+ );
+ }
+
+ if (parameter.required && !valueIsPresent) {
+ throw new RequestError(
+ `Empty value for parameter '${currentParameterName}': ${JSON.stringify(
+ value
+ )}`,
+ 400,
+ {
+ request: options
+ }
+ );
+ }
+
+ // parse to integer before checking for enum
+ // so that string "1" will match enum with number 1
+ if (expectedType === "integer") {
+ const unparsedValue = value;
+ value = parseInt(value, 10);
+ if (isNaN(value)) {
+ throw new RequestError(
+ `Invalid value for parameter '${currentParameterName}': ${JSON.stringify(
+ unparsedValue
+ )} is NaN`,
+ 400,
+ {
+ request: options
+ }
+ );
+ }
+ }
+
+ if (parameter.enum && parameter.enum.indexOf(String(value)) === -1) {
+ throw new RequestError(
+ `Invalid value for parameter '${currentParameterName}': ${JSON.stringify(
+ value
+ )}`,
+ 400,
+ {
+ request: options
+ }
+ );
+ }
+
+ if (parameter.validation) {
+ const regex = new RegExp(parameter.validation);
+ if (!regex.test(value)) {
+ throw new RequestError(
+ `Invalid value for parameter '${currentParameterName}': ${JSON.stringify(
+ value
+ )}`,
+ 400,
+ {
+ request: options
+ }
+ );
+ }
+ }
+
+ if (expectedType === "object" && typeof value === "string") {
+ try {
+ value = JSON.parse(value);
+ } catch (exception) {
+ throw new RequestError(
+ `JSON parse error of value for parameter '${currentParameterName}': ${JSON.stringify(
+ value
+ )}`,
+ 400,
+ {
+ request: options
+ }
+ );
+ }
+ }
+
+ set(options, parameter.mapTo || currentParameterName, value);
+ });
+ });
+
+ return options;
+}
+
+
+/***/ }),
+
+/***/ 349:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = authenticationRequestError;
+
+const { RequestError } = __webpack_require__(463);
+
+function authenticationRequestError(state, error, options) {
+ /* istanbul ignore next */
+ if (!error.headers) throw error;
+
+ const otpRequired = /required/.test(error.headers["x-github-otp"] || "");
+ // handle "2FA required" error only
+ if (error.status !== 401 || !otpRequired) {
+ throw error;
+ }
+
+ if (
+ error.status === 401 &&
+ otpRequired &&
+ error.request &&
+ error.request.headers["x-github-otp"]
+ ) {
+ throw new RequestError(
+ "Invalid one-time password for two-factor authentication",
+ 401,
+ {
+ headers: error.headers,
+ request: options
+ }
+ );
+ }
+
+ if (typeof state.auth.on2fa !== "function") {
+ throw new RequestError(
+ "2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",
+ 401,
+ {
+ headers: error.headers,
+ request: options
+ }
+ );
+ }
+
+ return Promise.resolve()
+ .then(() => {
+ return state.auth.on2fa();
+ })
+ .then(oneTimePassword => {
+ const newOptions = Object.assign(options, {
+ headers: Object.assign(
+ { "x-github-otp": oneTimePassword },
+ options.headers
+ )
+ });
+ return state.octokit.request(newOptions);
+ });
+}
+
+
+/***/ }),
+
+/***/ 357:
+/***/ (function(module) {
+
+module.exports = require("assert");
+
+/***/ }),
+
+/***/ 363:
+/***/ (function(module) {
+
+module.exports = register
+
+function register (state, name, method, options) {
+ if (typeof method !== 'function') {
+ throw new Error('method for before hook must be a function')
+ }
+
+ if (!options) {
+ options = {}
+ }
+
+ if (Array.isArray(name)) {
+ return name.reverse().reduce(function (callback, name) {
+ return register.bind(null, state, name, callback, options)
+ }, method)()
+ }
+
+ return Promise.resolve()
+ .then(function () {
+ if (!state.registry[name]) {
+ return method(options)
+ }
+
+ return (state.registry[name]).reduce(function (method, registered) {
+ return registered.hook.bind(null, method, options)
+ }, method)()
+ })
+}
+
+
+/***/ }),
+
+/***/ 368:
+/***/ (function(module) {
+
+module.exports = function atob(str) {
+ return Buffer.from(str, 'base64').toString('binary')
+}
+
+
+/***/ }),
+
+/***/ 370:
+/***/ (function(module) {
+
+module.exports = deprecate
+
+const loggedMessages = {}
+
+function deprecate (message) {
+ if (loggedMessages[message]) {
+ return
+ }
+
+ console.warn(`DEPRECATED (@octokit/rest): ${message}`)
+ loggedMessages[message] = 1
+}
+
+
+/***/ }),
+
+/***/ 372:
+/***/ (function(module) {
+
+module.exports = octokitDebug;
+
+function octokitDebug(octokit) {
+ octokit.hook.wrap("request", (request, options) => {
+ octokit.log.debug("request", options);
+ const start = Date.now();
+ const requestOptions = octokit.request.endpoint.parse(options);
+ const path = requestOptions.url.replace(options.baseUrl, "");
+
+ return request(options)
+ .then(response => {
+ octokit.log.info(
+ `${requestOptions.method} ${path} - ${
+ response.status
+ } in ${Date.now() - start}ms`
+ );
+ return response;
+ })
+
+ .catch(error => {
+ octokit.log.info(
+ `${requestOptions.method} ${path} - ${error.status} in ${Date.now() -
+ start}ms`
+ );
+ throw error;
+ });
+ });
+}
+
+
+/***/ }),
+
+/***/ 385:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
+
+var isPlainObject = _interopDefault(__webpack_require__(626));
+var universalUserAgent = __webpack_require__(562);
+
+function lowercaseKeys(object) {
+ if (!object) {
+ return {};
+ }
+
+ return Object.keys(object).reduce((newObj, key) => {
+ newObj[key.toLowerCase()] = object[key];
+ return newObj;
+ }, {});
+}
+
+function mergeDeep(defaults, options) {
+ const result = Object.assign({}, defaults);
+ Object.keys(options).forEach(key => {
+ if (isPlainObject(options[key])) {
+ if (!(key in defaults)) Object.assign(result, {
+ [key]: options[key]
+ });else result[key] = mergeDeep(defaults[key], options[key]);
+ } else {
+ Object.assign(result, {
+ [key]: options[key]
+ });
+ }
+ });
+ return result;
+}
+
+function merge(defaults, route, options) {
+ if (typeof route === "string") {
+ let [method, url] = route.split(" ");
+ options = Object.assign(url ? {
+ method,
+ url
+ } : {
+ url: method
+ }, options);
+ } else {
+ options = Object.assign({}, route);
+ } // lowercase header names before merging with defaults to avoid duplicates
+
+
+ options.headers = lowercaseKeys(options.headers);
+ const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten
+
+ if (defaults && defaults.mediaType.previews.length) {
+ mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews);
+ }
+
+ mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, ""));
+ return mergedOptions;
+}
+
+function addQueryParameters(url, parameters) {
+ const separator = /\?/.test(url) ? "&" : "?";
+ const names = Object.keys(parameters);
+
+ if (names.length === 0) {
+ return url;
+ }
+
+ return url + separator + names.map(name => {
+ if (name === "q") {
+ return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+");
+ }
+
+ return `${name}=${encodeURIComponent(parameters[name])}`;
+ }).join("&");
+}
+
+const urlVariableRegex = /\{[^}]+\}/g;
+
+function removeNonChars(variableName) {
+ return variableName.replace(/^\W+|\W+$/g, "").split(/,/);
+}
+
+function extractUrlVariableNames(url) {
+ const matches = url.match(urlVariableRegex);
+
+ if (!matches) {
+ return [];
+ }
+
+ return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);
+}
+
+function omit(object, keysToOmit) {
+ return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => {
+ obj[key] = object[key];
+ return obj;
+ }, {});
+}
+
+// Based on https://github.com/bramstein/url-template, licensed under BSD
+// TODO: create separate package.
+//
+// Copyright (c) 2012-2014, Bram Stein
+// All rights reserved.
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions
+// are met:
+// 1. Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// 2. Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// 3. The name of the author may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+/* istanbul ignore file */
+function encodeReserved(str) {
+ return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) {
+ if (!/%[0-9A-Fa-f]/.test(part)) {
+ part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]");
+ }
+
+ return part;
+ }).join("");
+}
+
+function encodeUnreserved(str) {
+ return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
+ return "%" + c.charCodeAt(0).toString(16).toUpperCase();
+ });
+}
+
+function encodeValue(operator, value, key) {
+ value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value);
+
+ if (key) {
+ return encodeUnreserved(key) + "=" + value;
+ } else {
+ return value;
+ }
+}
+
+function isDefined(value) {
+ return value !== undefined && value !== null;
+}
+
+function isKeyOperator(operator) {
+ return operator === ";" || operator === "&" || operator === "?";
+}
+
+function getValues(context, operator, key, modifier) {
+ var value = context[key],
+ result = [];
+
+ if (isDefined(value) && value !== "") {
+ if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") {
+ value = value.toString();
+
+ if (modifier && modifier !== "*") {
+ value = value.substring(0, parseInt(modifier, 10));
+ }
+
+ result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : ""));
+ } else {
+ if (modifier === "*") {
+ if (Array.isArray(value)) {
+ value.filter(isDefined).forEach(function (value) {
+ result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : ""));
+ });
+ } else {
+ Object.keys(value).forEach(function (k) {
+ if (isDefined(value[k])) {
+ result.push(encodeValue(operator, value[k], k));
+ }
+ });
+ }
+ } else {
+ const tmp = [];
+
+ if (Array.isArray(value)) {
+ value.filter(isDefined).forEach(function (value) {
+ tmp.push(encodeValue(operator, value));
+ });
+ } else {
+ Object.keys(value).forEach(function (k) {
+ if (isDefined(value[k])) {
+ tmp.push(encodeUnreserved(k));
+ tmp.push(encodeValue(operator, value[k].toString()));
+ }
+ });
+ }
+
+ if (isKeyOperator(operator)) {
+ result.push(encodeUnreserved(key) + "=" + tmp.join(","));
+ } else if (tmp.length !== 0) {
+ result.push(tmp.join(","));
+ }
+ }
+ }
+ } else {
+ if (operator === ";") {
+ if (isDefined(value)) {
+ result.push(encodeUnreserved(key));
+ }
+ } else if (value === "" && (operator === "&" || operator === "?")) {
+ result.push(encodeUnreserved(key) + "=");
+ } else if (value === "") {
+ result.push("");
+ }
+ }
+
+ return result;
+}
+
+function parseUrl(template) {
+ return {
+ expand: expand.bind(null, template)
+ };
+}
+
+function expand(template, context) {
+ var operators = ["+", "#", ".", "/", ";", "?", "&"];
+ return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) {
+ if (expression) {
+ let operator = "";
+ const values = [];
+
+ if (operators.indexOf(expression.charAt(0)) !== -1) {
+ operator = expression.charAt(0);
+ expression = expression.substr(1);
+ }
+
+ expression.split(/,/g).forEach(function (variable) {
+ var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable);
+ values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));
+ });
+
+ if (operator && operator !== "+") {
+ var separator = ",";
+
+ if (operator === "?") {
+ separator = "&";
+ } else if (operator !== "#") {
+ separator = operator;
+ }
+
+ return (values.length !== 0 ? operator : "") + values.join(separator);
+ } else {
+ return values.join(",");
+ }
+ } else {
+ return encodeReserved(literal);
+ }
+ });
+}
+
+function parse(options) {
+ // https://fetch.spec.whatwg.org/#methods
+ let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible
+
+ let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{+$1}");
+ let headers = Object.assign({}, options.headers);
+ let body;
+ let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later
+
+ const urlVariableNames = extractUrlVariableNames(url);
+ url = parseUrl(url).expand(parameters);
+
+ if (!/^http/.test(url)) {
+ url = options.baseUrl + url;
+ }
+
+ const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl");
+ const remainingParameters = omit(parameters, omittedParameters);
+ const isBinaryRequset = /application\/octet-stream/i.test(headers.accept);
+
+ if (!isBinaryRequset) {
+ if (options.mediaType.format) {
+ // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw
+ headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(",");
+ }
+
+ if (options.mediaType.previews.length) {
+ const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || [];
+ headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => {
+ const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
+ return `application/vnd.github.${preview}-preview${format}`;
+ }).join(",");
+ }
+ } // for GET/HEAD requests, set URL query parameters from remaining parameters
+ // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters
+
+
+ if (["GET", "HEAD"].includes(method)) {
+ url = addQueryParameters(url, remainingParameters);
+ } else {
+ if ("data" in remainingParameters) {
+ body = remainingParameters.data;
+ } else {
+ if (Object.keys(remainingParameters).length) {
+ body = remainingParameters;
+ } else {
+ headers["content-length"] = 0;
+ }
+ }
+ } // default content-type for JSON if body is set
+
+
+ if (!headers["content-type"] && typeof body !== "undefined") {
+ headers["content-type"] = "application/json; charset=utf-8";
+ } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.
+ // fetch does not allow to set `content-length` header, but we can set body to an empty string
+
+
+ if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") {
+ body = "";
+ } // Only return body/request keys if present
+
+
+ return Object.assign({
+ method,
+ url,
+ headers
+ }, typeof body !== "undefined" ? {
+ body
+ } : null, options.request ? {
+ request: options.request
+ } : null);
+}
+
+function endpointWithDefaults(defaults, route, options) {
+ return parse(merge(defaults, route, options));
+}
+
+function withDefaults(oldDefaults, newDefaults) {
+ const DEFAULTS = merge(oldDefaults, newDefaults);
+ const endpoint = endpointWithDefaults.bind(null, DEFAULTS);
+ return Object.assign(endpoint, {
+ DEFAULTS,
+ defaults: withDefaults.bind(null, DEFAULTS),
+ merge: merge.bind(null, DEFAULTS),
+ parse
+ });
+}
+
+const VERSION = "5.5.1";
+
+const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.
+// So we use RequestParameters and add method as additional required property.
+
+const DEFAULTS = {
+ method: "GET",
+ baseUrl: "https://api.github.com",
+ headers: {
+ accept: "application/vnd.github.v3+json",
+ "user-agent": userAgent
+ },
+ mediaType: {
+ format: "",
+ previews: []
+ }
+};
+
+const endpoint = withDefaults(null, DEFAULTS);
+
+exports.endpoint = endpoint;
+//# sourceMappingURL=index.js.map
+
+
+/***/ }),
+
+/***/ 389:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+
+const fs = __webpack_require__(747);
+const shebangCommand = __webpack_require__(866);
+
+function readShebang(command) {
+ // Read the first 150 bytes from the file
+ const size = 150;
+ let buffer;
+
+ if (Buffer.alloc) {
+ // Node.js v4.5+ / v5.10+
+ buffer = Buffer.alloc(size);
+ } else {
+ // Old Node.js API
+ buffer = new Buffer(size);
+ buffer.fill(0); // zero-fill
+ }
+
+ let fd;
+
+ try {
+ fd = fs.openSync(command, 'r');
+ fs.readSync(fd, buffer, 0, size, 0);
+ fs.closeSync(fd);
+ } catch (e) { /* Empty */ }
+
+ // Attempt to extract shebang (null is returned if not a shebang)
+ return shebangCommand(buffer.toString());
+}
+
+module.exports = readShebang;
+
+
+/***/ }),
+
+/***/ 392:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
+
+var osName = _interopDefault(__webpack_require__(2));
+
+function getUserAgent() {
+ try {
+ return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`;
+ } catch (error) {
+ if (/wmic os get Caption/.test(error.message)) {
+ return "Windows ";
+ }
+
+ throw error;
+ }
+}
+
+exports.getUserAgent = getUserAgent;
+//# sourceMappingURL=index.js.map
+
+
+/***/ }),
+
+/***/ 402:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = Octokit;
+
+const { request } = __webpack_require__(753);
+const Hook = __webpack_require__(523);
+
+const parseClientOptions = __webpack_require__(294);
+
+function Octokit(plugins, options) {
+ options = options || {};
+ const hook = new Hook.Collection();
+ const log = Object.assign(
+ {
+ debug: () => {},
+ info: () => {},
+ warn: console.warn,
+ error: console.error
+ },
+ options && options.log
+ );
+ const api = {
+ hook,
+ log,
+ request: request.defaults(parseClientOptions(options, log, hook))
+ };
+
+ plugins.forEach(pluginFunction => pluginFunction(api, options));
+
+ return api;
+}
+
+
+/***/ }),
+
+/***/ 403:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", { value: true });
+const url = __webpack_require__(835);
+const http = __webpack_require__(605);
+const https = __webpack_require__(211);
+const pm = __webpack_require__(20);
+let tunnel;
+var HttpCodes;
+(function (HttpCodes) {
+ HttpCodes[HttpCodes["OK"] = 200] = "OK";
+ HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices";
+ HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently";
+ HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved";
+ HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther";
+ HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified";
+ HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy";
+ HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy";
+ HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect";
+ HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect";
+ HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest";
+ HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized";
+ HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired";
+ HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden";
+ HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound";
+ HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed";
+ HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable";
+ HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
+ HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout";
+ HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict";
+ HttpCodes[HttpCodes["Gone"] = 410] = "Gone";
+ HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests";
+ HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError";
+ HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented";
+ HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway";
+ HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable";
+ HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout";
+})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));
+var Headers;
+(function (Headers) {
+ Headers["Accept"] = "accept";
+ Headers["ContentType"] = "content-type";
+})(Headers = exports.Headers || (exports.Headers = {}));
+var MediaTypes;
+(function (MediaTypes) {
+ MediaTypes["ApplicationJson"] = "application/json";
+})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));
+/**
+ * Returns the proxy URL, depending upon the supplied url and proxy environment variables.
+ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
+ */
+function getProxyUrl(serverUrl) {
+ let proxyUrl = pm.getProxyUrl(url.parse(serverUrl));
+ return proxyUrl ? proxyUrl.href : '';
+}
+exports.getProxyUrl = getProxyUrl;
+const HttpRedirectCodes = [
+ HttpCodes.MovedPermanently,
+ HttpCodes.ResourceMoved,
+ HttpCodes.SeeOther,
+ HttpCodes.TemporaryRedirect,
+ HttpCodes.PermanentRedirect
+];
+const HttpResponseRetryCodes = [
+ HttpCodes.BadGateway,
+ HttpCodes.ServiceUnavailable,
+ HttpCodes.GatewayTimeout
+];
+const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];
+const ExponentialBackoffCeiling = 10;
+const ExponentialBackoffTimeSlice = 5;
+class HttpClientResponse {
+ constructor(message) {
+ this.message = message;
+ }
+ readBody() {
+ return new Promise(async (resolve, reject) => {
+ let output = Buffer.alloc(0);
+ this.message.on('data', (chunk) => {
+ output = Buffer.concat([output, chunk]);
+ });
+ this.message.on('end', () => {
+ resolve(output.toString());
+ });
+ });
+ }
+}
+exports.HttpClientResponse = HttpClientResponse;
+function isHttps(requestUrl) {
+ let parsedUrl = url.parse(requestUrl);
+ return parsedUrl.protocol === 'https:';
+}
+exports.isHttps = isHttps;
+class HttpClient {
+ constructor(userAgent, handlers, requestOptions) {
+ this._ignoreSslError = false;
+ this._allowRedirects = true;
+ this._allowRedirectDowngrade = false;
+ this._maxRedirects = 50;
+ this._allowRetries = false;
+ this._maxRetries = 1;
+ this._keepAlive = false;
+ this._disposed = false;
+ this.userAgent = userAgent;
+ this.handlers = handlers || [];
+ this.requestOptions = requestOptions;
+ if (requestOptions) {
+ if (requestOptions.ignoreSslError != null) {
+ this._ignoreSslError = requestOptions.ignoreSslError;
+ }
+ this._socketTimeout = requestOptions.socketTimeout;
+ if (requestOptions.allowRedirects != null) {
+ this._allowRedirects = requestOptions.allowRedirects;
+ }
+ if (requestOptions.allowRedirectDowngrade != null) {
+ this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;
+ }
+ if (requestOptions.maxRedirects != null) {
+ this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);
+ }
+ if (requestOptions.keepAlive != null) {
+ this._keepAlive = requestOptions.keepAlive;
+ }
+ if (requestOptions.allowRetries != null) {
+ this._allowRetries = requestOptions.allowRetries;
+ }
+ if (requestOptions.maxRetries != null) {
+ this._maxRetries = requestOptions.maxRetries;
+ }
+ }
+ }
+ options(requestUrl, additionalHeaders) {
+ return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});
+ }
+ get(requestUrl, additionalHeaders) {
+ return this.request('GET', requestUrl, null, additionalHeaders || {});
+ }
+ del(requestUrl, additionalHeaders) {
+ return this.request('DELETE', requestUrl, null, additionalHeaders || {});
+ }
+ post(requestUrl, data, additionalHeaders) {
+ return this.request('POST', requestUrl, data, additionalHeaders || {});
+ }
+ patch(requestUrl, data, additionalHeaders) {
+ return this.request('PATCH', requestUrl, data, additionalHeaders || {});
+ }
+ put(requestUrl, data, additionalHeaders) {
+ return this.request('PUT', requestUrl, data, additionalHeaders || {});
+ }
+ head(requestUrl, additionalHeaders) {
+ return this.request('HEAD', requestUrl, null, additionalHeaders || {});
+ }
+ sendStream(verb, requestUrl, stream, additionalHeaders) {
+ return this.request(verb, requestUrl, stream, additionalHeaders);
+ }
+ /**
+ * Gets a typed object from an endpoint
+ * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise
+ */
+ async getJson(requestUrl, additionalHeaders = {}) {
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ let res = await this.get(requestUrl, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ async postJson(requestUrl, obj, additionalHeaders = {}) {
+ let data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
+ let res = await this.post(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ async putJson(requestUrl, obj, additionalHeaders = {}) {
+ let data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
+ let res = await this.put(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ async patchJson(requestUrl, obj, additionalHeaders = {}) {
+ let data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
+ let res = await this.patch(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ /**
+ * Makes a raw http request.
+ * All other methods such as get, post, patch, and request ultimately call this.
+ * Prefer get, del, post and patch
+ */
+ async request(verb, requestUrl, data, headers) {
+ if (this._disposed) {
+ throw new Error('Client has already been disposed.');
+ }
+ let parsedUrl = url.parse(requestUrl);
+ let info = this._prepareRequest(verb, parsedUrl, headers);
+ // Only perform retries on reads since writes may not be idempotent.
+ let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1
+ ? this._maxRetries + 1
+ : 1;
+ let numTries = 0;
+ let response;
+ while (numTries < maxTries) {
+ response = await this.requestRaw(info, data);
+ // Check if it's an authentication challenge
+ if (response &&
+ response.message &&
+ response.message.statusCode === HttpCodes.Unauthorized) {
+ let authenticationHandler;
+ for (let i = 0; i < this.handlers.length; i++) {
+ if (this.handlers[i].canHandleAuthentication(response)) {
+ authenticationHandler = this.handlers[i];
+ break;
+ }
+ }
+ if (authenticationHandler) {
+ return authenticationHandler.handleAuthentication(this, info, data);
+ }
+ else {
+ // We have received an unauthorized response but have no handlers to handle it.
+ // Let the response return to the caller.
+ return response;
+ }
+ }
+ let redirectsRemaining = this._maxRedirects;
+ while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&
+ this._allowRedirects &&
+ redirectsRemaining > 0) {
+ const redirectUrl = response.message.headers['location'];
+ if (!redirectUrl) {
+ // if there's no location to redirect to, we won't
+ break;
+ }
+ let parsedRedirectUrl = url.parse(redirectUrl);
+ if (parsedUrl.protocol == 'https:' &&
+ parsedUrl.protocol != parsedRedirectUrl.protocol &&
+ !this._allowRedirectDowngrade) {
+ throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');
+ }
+ // we need to finish reading the response before reassigning response
+ // which will leak the open socket.
+ await response.readBody();
+ // strip authorization header if redirected to a different hostname
+ if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {
+ for (let header in headers) {
+ // header names are case insensitive
+ if (header.toLowerCase() === 'authorization') {
+ delete headers[header];
+ }
+ }
+ }
+ // let's make the request with the new redirectUrl
+ info = this._prepareRequest(verb, parsedRedirectUrl, headers);
+ response = await this.requestRaw(info, data);
+ redirectsRemaining--;
+ }
+ if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {
+ // If not a retry code, return immediately instead of retrying
+ return response;
+ }
+ numTries += 1;
+ if (numTries < maxTries) {
+ await response.readBody();
+ await this._performExponentialBackoff(numTries);
+ }
+ }
+ return response;
+ }
+ /**
+ * Needs to be called if keepAlive is set to true in request options.
+ */
+ dispose() {
+ if (this._agent) {
+ this._agent.destroy();
+ }
+ this._disposed = true;
+ }
+ /**
+ * Raw request.
+ * @param info
+ * @param data
+ */
+ requestRaw(info, data) {
+ return new Promise((resolve, reject) => {
+ let callbackForResult = function (err, res) {
+ if (err) {
+ reject(err);
+ }
+ resolve(res);
+ };
+ this.requestRawWithCallback(info, data, callbackForResult);
+ });
+ }
+ /**
+ * Raw request with callback.
+ * @param info
+ * @param data
+ * @param onResult
+ */
+ requestRawWithCallback(info, data, onResult) {
+ let socket;
+ if (typeof data === 'string') {
+ info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');
+ }
+ let callbackCalled = false;
+ let handleResult = (err, res) => {
+ if (!callbackCalled) {
+ callbackCalled = true;
+ onResult(err, res);
+ }
+ };
+ let req = info.httpModule.request(info.options, (msg) => {
+ let res = new HttpClientResponse(msg);
+ handleResult(null, res);
+ });
+ req.on('socket', sock => {
+ socket = sock;
+ });
+ // If we ever get disconnected, we want the socket to timeout eventually
+ req.setTimeout(this._socketTimeout || 3 * 60000, () => {
+ if (socket) {
+ socket.end();
+ }
+ handleResult(new Error('Request timeout: ' + info.options.path), null);
+ });
+ req.on('error', function (err) {
+ // err has statusCode property
+ // res should have headers
+ handleResult(err, null);
+ });
+ if (data && typeof data === 'string') {
+ req.write(data, 'utf8');
+ }
+ if (data && typeof data !== 'string') {
+ data.on('close', function () {
+ req.end();
+ });
+ data.pipe(req);
+ }
+ else {
+ req.end();
+ }
+ }
+ /**
+ * Gets an http agent. This function is useful when you need an http agent that handles
+ * routing through a proxy server - depending upon the url and proxy environment variables.
+ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
+ */
+ getAgent(serverUrl) {
+ let parsedUrl = url.parse(serverUrl);
+ return this._getAgent(parsedUrl);
+ }
+ _prepareRequest(method, requestUrl, headers) {
+ const info = {};
+ info.parsedUrl = requestUrl;
+ const usingSsl = info.parsedUrl.protocol === 'https:';
+ info.httpModule = usingSsl ? https : http;
+ const defaultPort = usingSsl ? 443 : 80;
+ info.options = {};
+ info.options.host = info.parsedUrl.hostname;
+ info.options.port = info.parsedUrl.port
+ ? parseInt(info.parsedUrl.port)
+ : defaultPort;
+ info.options.path =
+ (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');
+ info.options.method = method;
+ info.options.headers = this._mergeHeaders(headers);
+ if (this.userAgent != null) {
+ info.options.headers['user-agent'] = this.userAgent;
+ }
+ info.options.agent = this._getAgent(info.parsedUrl);
+ // gives handlers an opportunity to participate
+ if (this.handlers) {
+ this.handlers.forEach(handler => {
+ handler.prepareRequest(info.options);
+ });
+ }
+ return info;
+ }
+ _mergeHeaders(headers) {
+ const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});
+ if (this.requestOptions && this.requestOptions.headers) {
+ return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));
+ }
+ return lowercaseKeys(headers || {});
+ }
+ _getExistingOrDefaultHeader(additionalHeaders, header, _default) {
+ const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});
+ let clientHeader;
+ if (this.requestOptions && this.requestOptions.headers) {
+ clientHeader = lowercaseKeys(this.requestOptions.headers)[header];
+ }
+ return additionalHeaders[header] || clientHeader || _default;
+ }
+ _getAgent(parsedUrl) {
+ let agent;
+ let proxyUrl = pm.getProxyUrl(parsedUrl);
+ let useProxy = proxyUrl && proxyUrl.hostname;
+ if (this._keepAlive && useProxy) {
+ agent = this._proxyAgent;
+ }
+ if (this._keepAlive && !useProxy) {
+ agent = this._agent;
+ }
+ // if agent is already assigned use that agent.
+ if (!!agent) {
+ return agent;
+ }
+ const usingSsl = parsedUrl.protocol === 'https:';
+ let maxSockets = 100;
+ if (!!this.requestOptions) {
+ maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;
+ }
+ if (useProxy) {
+ // If using proxy, need tunnel
+ if (!tunnel) {
+ tunnel = __webpack_require__(413);
+ }
+ const agentOptions = {
+ maxSockets: maxSockets,
+ keepAlive: this._keepAlive,
+ proxy: {
+ proxyAuth: proxyUrl.auth,
+ host: proxyUrl.hostname,
+ port: proxyUrl.port
+ }
+ };
+ let tunnelAgent;
+ const overHttps = proxyUrl.protocol === 'https:';
+ if (usingSsl) {
+ tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;
+ }
+ else {
+ tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;
+ }
+ agent = tunnelAgent(agentOptions);
+ this._proxyAgent = agent;
+ }
+ // if reusing agent across request and tunneling agent isn't assigned create a new agent
+ if (this._keepAlive && !agent) {
+ const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };
+ agent = usingSsl ? new https.Agent(options) : new http.Agent(options);
+ this._agent = agent;
+ }
+ // if not using private agent and tunnel agent isn't setup then use global agent
+ if (!agent) {
+ agent = usingSsl ? https.globalAgent : http.globalAgent;
+ }
+ if (usingSsl && this._ignoreSslError) {
+ // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process
+ // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options
+ // we have to cast it to any and change it directly
+ agent.options = Object.assign(agent.options || {}, {
+ rejectUnauthorized: false
+ });
+ }
+ return agent;
+ }
+ _performExponentialBackoff(retryNumber) {
+ retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);
+ const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);
+ return new Promise(resolve => setTimeout(() => resolve(), ms));
+ }
+ static dateTimeDeserializer(key, value) {
+ if (typeof value === 'string') {
+ let a = new Date(value);
+ if (!isNaN(a.valueOf())) {
+ return a;
+ }
+ }
+ return value;
+ }
+ async _processResponse(res, options) {
+ return new Promise(async (resolve, reject) => {
+ const statusCode = res.message.statusCode;
+ const response = {
+ statusCode: statusCode,
+ result: null,
+ headers: {}
+ };
+ // not found leads to null obj returned
+ if (statusCode == HttpCodes.NotFound) {
+ resolve(response);
+ }
+ let obj;
+ let contents;
+ // get the result from the body
+ try {
+ contents = await res.readBody();
+ if (contents && contents.length > 0) {
+ if (options && options.deserializeDates) {
+ obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);
+ }
+ else {
+ obj = JSON.parse(contents);
+ }
+ response.result = obj;
+ }
+ response.headers = res.message.headers;
+ }
+ catch (err) {
+ // Invalid resource (contents not json); leaving result obj null
+ }
+ // note that 3xx redirects are handled by the http layer.
+ if (statusCode > 299) {
+ let msg;
+ // if exception/error in body, attempt to get better error
+ if (obj && obj.message) {
+ msg = obj.message;
+ }
+ else if (contents && contents.length > 0) {
+ // it may be the case that the exception is in the body message as string
+ msg = contents;
+ }
+ else {
+ msg = 'Failed request: (' + statusCode + ')';
+ }
+ let err = new Error(msg);
+ // attach statusCode and body obj (if available) to the error object
+ err['statusCode'] = statusCode;
+ if (response.result) {
+ err['result'] = response.result;
+ }
+ reject(err);
+ }
+ else {
+ resolve(response);
+ }
+ });
+ }
+}
+exports.HttpClient = HttpClient;
+
+
+/***/ }),
+
+/***/ 413:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = __webpack_require__(141);
+
+
+/***/ }),
+
+/***/ 417:
+/***/ (function(module) {
+
+module.exports = require("crypto");
+
+/***/ }),
+
+/***/ 427:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+// Older verions of Node.js might not have `util.getSystemErrorName()`.
+// In that case, fall back to a deprecated internal.
+const util = __webpack_require__(669);
+
+let uv;
+
+if (typeof util.getSystemErrorName === 'function') {
+ module.exports = util.getSystemErrorName;
+} else {
+ try {
+ uv = process.binding('uv');
+
+ if (typeof uv.errname !== 'function') {
+ throw new TypeError('uv.errname is not a function');
+ }
+ } catch (err) {
+ console.error('execa/lib/errname: unable to establish process.binding(\'uv\')', err);
+ uv = null;
+ }
+
+ module.exports = code => errname(uv, code);
+}
+
+// Used for testing the fallback behavior
+module.exports.__test__ = errname;
+
+function errname(uv, code) {
+ if (uv) {
+ return uv.errname(code);
+ }
+
+ if (!(code < 0)) {
+ throw new Error('err >= 0');
+ }
+
+ return `Unknown system error ${code}`;
+}
+
+
+
+/***/ }),
+
+/***/ 430:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = octokitValidate;
+
+const validate = __webpack_require__(348);
+
+function octokitValidate(octokit) {
+ octokit.hook.before("request", validate.bind(null, octokit));
+}
+
+
+/***/ }),
+
+/***/ 431:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const os = __importStar(__webpack_require__(87));
+/**
+ * Commands
+ *
+ * Command Format:
+ * ::name key=value,key=value::message
+ *
+ * Examples:
+ * ::warning::This is the message
+ * ::set-env name=MY_VAR::some value
+ */
+function issueCommand(command, properties, message) {
+ const cmd = new Command(command, properties, message);
+ process.stdout.write(cmd.toString() + os.EOL);
+}
+exports.issueCommand = issueCommand;
+function issue(name, message = '') {
+ issueCommand(name, {}, message);
+}
+exports.issue = issue;
+const CMD_STRING = '::';
+class Command {
+ constructor(command, properties, message) {
+ if (!command) {
+ command = 'missing.command';
+ }
+ this.command = command;
+ this.properties = properties;
+ this.message = message;
+ }
+ toString() {
+ let cmdStr = CMD_STRING + this.command;
+ if (this.properties && Object.keys(this.properties).length > 0) {
+ cmdStr += ' ';
+ let first = true;
+ for (const key in this.properties) {
+ if (this.properties.hasOwnProperty(key)) {
+ const val = this.properties[key];
+ if (val) {
+ if (first) {
+ first = false;
+ }
+ else {
+ cmdStr += ',';
+ }
+ cmdStr += `${key}=${escapeProperty(val)}`;
+ }
+ }
+ }
+ }
+ cmdStr += `${CMD_STRING}${escapeData(this.message)}`;
+ return cmdStr;
+ }
+}
+function escapeData(s) {
+ return (s || '')
+ .replace(/%/g, '%25')
+ .replace(/\r/g, '%0D')
+ .replace(/\n/g, '%0A');
+}
+function escapeProperty(s) {
+ return (s || '')
+ .replace(/%/g, '%25')
+ .replace(/\r/g, '%0D')
+ .replace(/\n/g, '%0A')
+ .replace(/:/g, '%3A')
+ .replace(/,/g, '%2C');
+}
+//# sourceMappingURL=command.js.map
+
+/***/ }),
+
+/***/ 453:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+var once = __webpack_require__(969)
+var eos = __webpack_require__(3)
+var fs = __webpack_require__(747) // we only need fs to get the ReadStream and WriteStream prototypes
+
+var noop = function () {}
+var ancient = /^v?\.0/.test(process.version)
+
+var isFn = function (fn) {
+ return typeof fn === 'function'
+}
+
+var isFS = function (stream) {
+ if (!ancient) return false // newer node version do not need to care about fs is a special way
+ if (!fs) return false // browser
+ return (stream instanceof (fs.ReadStream || noop) || stream instanceof (fs.WriteStream || noop)) && isFn(stream.close)
+}
+
+var isRequest = function (stream) {
+ return stream.setHeader && isFn(stream.abort)
+}
+
+var destroyer = function (stream, reading, writing, callback) {
+ callback = once(callback)
+
+ var closed = false
+ stream.on('close', function () {
+ closed = true
+ })
+
+ eos(stream, {readable: reading, writable: writing}, function (err) {
+ if (err) return callback(err)
+ closed = true
+ callback()
+ })
+
+ var destroyed = false
+ return function (err) {
+ if (closed) return
+ if (destroyed) return
+ destroyed = true
+
+ if (isFS(stream)) return stream.close(noop) // use close for fs streams to avoid fd leaks
+ if (isRequest(stream)) return stream.abort() // request.destroy just do .end - .abort is what we want
+
+ if (isFn(stream.destroy)) return stream.destroy()
+
+ callback(err || new Error('stream was destroyed'))
+ }
+}
+
+var call = function (fn) {
+ fn()
+}
+
+var pipe = function (from, to) {
+ return from.pipe(to)
+}
+
+var pump = function () {
+ var streams = Array.prototype.slice.call(arguments)
+ var callback = isFn(streams[streams.length - 1] || noop) && streams.pop() || noop
+
+ if (Array.isArray(streams[0])) streams = streams[0]
+ if (streams.length < 2) throw new Error('pump requires two streams per minimum')
+
+ var error
+ var destroys = streams.map(function (stream, i) {
+ var reading = i < streams.length - 1
+ var writing = i > 0
+ return destroyer(stream, reading, writing, function (err) {
+ if (!error) error = err
+ if (err) destroys.forEach(call)
+ if (reading) return
+ destroys.forEach(call)
+ callback(error)
+ })
+ })
+
+ return streams.reduce(pipe)
+}
+
+module.exports = pump
+
+
+/***/ }),
+
+/***/ 454:
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
+
+var Stream = _interopDefault(__webpack_require__(794));
+var http = _interopDefault(__webpack_require__(605));
+var Url = _interopDefault(__webpack_require__(835));
+var https = _interopDefault(__webpack_require__(211));
+var zlib = _interopDefault(__webpack_require__(761));
+
+// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js
+
+// fix for "Readable" isn't a named export issue
+const Readable = Stream.Readable;
+
+const BUFFER = Symbol('buffer');
+const TYPE = Symbol('type');
+
+class Blob {
+ constructor() {
+ this[TYPE] = '';
+
+ const blobParts = arguments[0];
+ const options = arguments[1];
+
+ const buffers = [];
+ let size = 0;
+
+ if (blobParts) {
+ const a = blobParts;
+ const length = Number(a.length);
+ for (let i = 0; i < length; i++) {
+ const element = a[i];
+ let buffer;
+ if (element instanceof Buffer) {
+ buffer = element;
+ } else if (ArrayBuffer.isView(element)) {
+ buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);
+ } else if (element instanceof ArrayBuffer) {
+ buffer = Buffer.from(element);
+ } else if (element instanceof Blob) {
+ buffer = element[BUFFER];
+ } else {
+ buffer = Buffer.from(typeof element === 'string' ? element : String(element));
+ }
+ size += buffer.length;
+ buffers.push(buffer);
+ }
+ }
+
+ this[BUFFER] = Buffer.concat(buffers);
+
+ let type = options && options.type !== undefined && String(options.type).toLowerCase();
+ if (type && !/[^\u0020-\u007E]/.test(type)) {
+ this[TYPE] = type;
+ }
+ }
+ get size() {
+ return this[BUFFER].length;
+ }
+ get type() {
+ return this[TYPE];
+ }
+ text() {
+ return Promise.resolve(this[BUFFER].toString());
+ }
+ arrayBuffer() {
+ const buf = this[BUFFER];
+ const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);
+ return Promise.resolve(ab);
+ }
+ stream() {
+ const readable = new Readable();
+ readable._read = function () {};
+ readable.push(this[BUFFER]);
+ readable.push(null);
+ return readable;
+ }
+ toString() {
+ return '[object Blob]';
+ }
+ slice() {
+ const size = this.size;
+
+ const start = arguments[0];
+ const end = arguments[1];
+ let relativeStart, relativeEnd;
+ if (start === undefined) {
+ relativeStart = 0;
+ } else if (start < 0) {
+ relativeStart = Math.max(size + start, 0);
+ } else {
+ relativeStart = Math.min(start, size);
+ }
+ if (end === undefined) {
+ relativeEnd = size;
+ } else if (end < 0) {
+ relativeEnd = Math.max(size + end, 0);
+ } else {
+ relativeEnd = Math.min(end, size);
+ }
+ const span = Math.max(relativeEnd - relativeStart, 0);
+
+ const buffer = this[BUFFER];
+ const slicedBuffer = buffer.slice(relativeStart, relativeStart + span);
+ const blob = new Blob([], { type: arguments[2] });
+ blob[BUFFER] = slicedBuffer;
+ return blob;
+ }
+}
+
+Object.defineProperties(Blob.prototype, {
+ size: { enumerable: true },
+ type: { enumerable: true },
+ slice: { enumerable: true }
+});
+
+Object.defineProperty(Blob.prototype, Symbol.toStringTag, {
+ value: 'Blob',
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
+
+/**
+ * fetch-error.js
+ *
+ * FetchError interface for operational errors
+ */
+
+/**
+ * Create FetchError instance
+ *
+ * @param String message Error message for human
+ * @param String type Error type for machine
+ * @param String systemError For Node.js system error
+ * @return FetchError
+ */
+function FetchError(message, type, systemError) {
+ Error.call(this, message);
+
+ this.message = message;
+ this.type = type;
+
+ // when err.type is `system`, err.code contains system error code
+ if (systemError) {
+ this.code = this.errno = systemError.code;
+ }
+
+ // hide custom error implementation details from end-users
+ Error.captureStackTrace(this, this.constructor);
+}
+
+FetchError.prototype = Object.create(Error.prototype);
+FetchError.prototype.constructor = FetchError;
+FetchError.prototype.name = 'FetchError';
+
+let convert;
+try {
+ convert = __webpack_require__(18).convert;
+} catch (e) {}
+
+const INTERNALS = Symbol('Body internals');
+
+// fix an issue where "PassThrough" isn't a named export for node <10
+const PassThrough = Stream.PassThrough;
+
+/**
+ * Body mixin
+ *
+ * Ref: https://fetch.spec.whatwg.org/#body
+ *
+ * @param Stream body Readable stream
+ * @param Object opts Response options
+ * @return Void
+ */
+function Body(body) {
+ var _this = this;
+
+ var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
+ _ref$size = _ref.size;
+
+ let size = _ref$size === undefined ? 0 : _ref$size;
+ var _ref$timeout = _ref.timeout;
+ let timeout = _ref$timeout === undefined ? 0 : _ref$timeout;
+
+ if (body == null) {
+ // body is undefined or null
+ body = null;
+ } else if (isURLSearchParams(body)) {
+ // body is a URLSearchParams
+ body = Buffer.from(body.toString());
+ } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {
+ // body is ArrayBuffer
+ body = Buffer.from(body);
+ } else if (ArrayBuffer.isView(body)) {
+ // body is ArrayBufferView
+ body = Buffer.from(body.buffer, body.byteOffset, body.byteLength);
+ } else if (body instanceof Stream) ; else {
+ // none of the above
+ // coerce to string then buffer
+ body = Buffer.from(String(body));
+ }
+ this[INTERNALS] = {
+ body,
+ disturbed: false,
+ error: null
+ };
+ this.size = size;
+ this.timeout = timeout;
+
+ if (body instanceof Stream) {
+ body.on('error', function (err) {
+ const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);
+ _this[INTERNALS].error = error;
+ });
+ }
+}
+
+Body.prototype = {
+ get body() {
+ return this[INTERNALS].body;
+ },
+
+ get bodyUsed() {
+ return this[INTERNALS].disturbed;
+ },
+
+ /**
+ * Decode response as ArrayBuffer
+ *
+ * @return Promise
+ */
+ arrayBuffer() {
+ return consumeBody.call(this).then(function (buf) {
+ return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);
+ });
+ },
+
+ /**
+ * Return raw response as Blob
+ *
+ * @return Promise
+ */
+ blob() {
+ let ct = this.headers && this.headers.get('content-type') || '';
+ return consumeBody.call(this).then(function (buf) {
+ return Object.assign(
+ // Prevent copying
+ new Blob([], {
+ type: ct.toLowerCase()
+ }), {
+ [BUFFER]: buf
+ });
+ });
+ },
+
+ /**
+ * Decode response as json
+ *
+ * @return Promise
+ */
+ json() {
+ var _this2 = this;
+
+ return consumeBody.call(this).then(function (buffer) {
+ try {
+ return JSON.parse(buffer.toString());
+ } catch (err) {
+ return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
+ }
+ });
+ },
+
+ /**
+ * Decode response as text
+ *
+ * @return Promise
+ */
+ text() {
+ return consumeBody.call(this).then(function (buffer) {
+ return buffer.toString();
+ });
+ },
+
+ /**
+ * Decode response as buffer (non-spec api)
+ *
+ * @return Promise
+ */
+ buffer() {
+ return consumeBody.call(this);
+ },
+
+ /**
+ * Decode response as text, while automatically detecting the encoding and
+ * trying to decode to UTF-8 (non-spec api)
+ *
+ * @return Promise
+ */
+ textConverted() {
+ var _this3 = this;
+
+ return consumeBody.call(this).then(function (buffer) {
+ return convertBody(buffer, _this3.headers);
+ });
+ }
+};
+
+// In browsers, all properties are enumerable.
+Object.defineProperties(Body.prototype, {
+ body: { enumerable: true },
+ bodyUsed: { enumerable: true },
+ arrayBuffer: { enumerable: true },
+ blob: { enumerable: true },
+ json: { enumerable: true },
+ text: { enumerable: true }
+});
+
+Body.mixIn = function (proto) {
+ for (const name of Object.getOwnPropertyNames(Body.prototype)) {
+ // istanbul ignore else: future proof
+ if (!(name in proto)) {
+ const desc = Object.getOwnPropertyDescriptor(Body.prototype, name);
+ Object.defineProperty(proto, name, desc);
+ }
+ }
+};
+
+/**
+ * Consume and convert an entire Body to a Buffer.
+ *
+ * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body
+ *
+ * @return Promise
+ */
+function consumeBody() {
+ var _this4 = this;
+
+ if (this[INTERNALS].disturbed) {
+ return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));
+ }
+
+ this[INTERNALS].disturbed = true;
+
+ if (this[INTERNALS].error) {
+ return Body.Promise.reject(this[INTERNALS].error);
+ }
+
+ let body = this.body;
+
+ // body is null
+ if (body === null) {
+ return Body.Promise.resolve(Buffer.alloc(0));
+ }
+
+ // body is blob
+ if (isBlob(body)) {
+ body = body.stream();
+ }
+
+ // body is buffer
+ if (Buffer.isBuffer(body)) {
+ return Body.Promise.resolve(body);
+ }
+
+ // istanbul ignore if: should never happen
+ if (!(body instanceof Stream)) {
+ return Body.Promise.resolve(Buffer.alloc(0));
+ }
+
+ // body is stream
+ // get ready to actually consume the body
+ let accum = [];
+ let accumBytes = 0;
+ let abort = false;
+
+ return new Body.Promise(function (resolve, reject) {
+ let resTimeout;
+
+ // allow timeout on slow response body
+ if (_this4.timeout) {
+ resTimeout = setTimeout(function () {
+ abort = true;
+ reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));
+ }, _this4.timeout);
+ }
+
+ // handle stream errors
+ body.on('error', function (err) {
+ if (err.name === 'AbortError') {
+ // if the request was aborted, reject with this Error
+ abort = true;
+ reject(err);
+ } else {
+ // other errors, such as incorrect content-encoding
+ reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));
+ }
+ });
+
+ body.on('data', function (chunk) {
+ if (abort || chunk === null) {
+ return;
+ }
+
+ if (_this4.size && accumBytes + chunk.length > _this4.size) {
+ abort = true;
+ reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));
+ return;
+ }
+
+ accumBytes += chunk.length;
+ accum.push(chunk);
+ });
+
+ body.on('end', function () {
+ if (abort) {
+ return;
+ }
+
+ clearTimeout(resTimeout);
+
+ try {
+ resolve(Buffer.concat(accum, accumBytes));
+ } catch (err) {
+ // handle streams that have accumulated too much data (issue #414)
+ reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));
+ }
+ });
+ });
+}
+
+/**
+ * Detect buffer encoding and convert to target encoding
+ * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding
+ *
+ * @param Buffer buffer Incoming buffer
+ * @param String encoding Target encoding
+ * @return String
+ */
+function convertBody(buffer, headers) {
+ if (typeof convert !== 'function') {
+ throw new Error('The package `encoding` must be installed to use the textConverted() function');
+ }
+
+ const ct = headers.get('content-type');
+ let charset = 'utf-8';
+ let res, str;
+
+ // header
+ if (ct) {
+ res = /charset=([^;]*)/i.exec(ct);
+ }
+
+ // no charset in content type, peek at response body for at most 1024 bytes
+ str = buffer.slice(0, 1024).toString();
+
+ // html5
+ if (!res && str) {
+ res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined;
+
+ this[MAP] = Object.create(null);
+
+ if (init instanceof Headers) {
+ const rawHeaders = init.raw();
+ const headerNames = Object.keys(rawHeaders);
+
+ for (const headerName of headerNames) {
+ for (const value of rawHeaders[headerName]) {
+ this.append(headerName, value);
+ }
+ }
+
+ return;
+ }
+
+ // We don't worry about converting prop to ByteString here as append()
+ // will handle it.
+ if (init == null) ; else if (typeof init === 'object') {
+ const method = init[Symbol.iterator];
+ if (method != null) {
+ if (typeof method !== 'function') {
+ throw new TypeError('Header pairs must be iterable');
+ }
+
+ // sequence>
+ // Note: per spec we have to first exhaust the lists then process them
+ const pairs = [];
+ for (const pair of init) {
+ if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {
+ throw new TypeError('Each header pair must be iterable');
+ }
+ pairs.push(Array.from(pair));
+ }
+
+ for (const pair of pairs) {
+ if (pair.length !== 2) {
+ throw new TypeError('Each header pair must be a name/value tuple');
+ }
+ this.append(pair[0], pair[1]);
+ }
+ } else {
+ // record
+ for (const key of Object.keys(init)) {
+ const value = init[key];
+ this.append(key, value);
+ }
+ }
+ } else {
+ throw new TypeError('Provided initializer must be an object');
+ }
+ }
+
+ /**
+ * Return combined header value given name
+ *
+ * @param String name Header name
+ * @return Mixed
+ */
+ get(name) {
+ name = `${name}`;
+ validateName(name);
+ const key = find(this[MAP], name);
+ if (key === undefined) {
+ return null;
+ }
+
+ return this[MAP][key].join(', ');
+ }
+
+ /**
+ * Iterate over all headers
+ *
+ * @param Function callback Executed for each item with parameters (value, name, thisArg)
+ * @param Boolean thisArg `this` context for callback function
+ * @return Void
+ */
+ forEach(callback) {
+ let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
+
+ let pairs = getHeaders(this);
+ let i = 0;
+ while (i < pairs.length) {
+ var _pairs$i = pairs[i];
+ const name = _pairs$i[0],
+ value = _pairs$i[1];
+
+ callback.call(thisArg, value, name, this);
+ pairs = getHeaders(this);
+ i++;
+ }
+ }
+
+ /**
+ * Overwrite header values given name
+ *
+ * @param String name Header name
+ * @param String value Header value
+ * @return Void
+ */
+ set(name, value) {
+ name = `${name}`;
+ value = `${value}`;
+ validateName(name);
+ validateValue(value);
+ const key = find(this[MAP], name);
+ this[MAP][key !== undefined ? key : name] = [value];
+ }
+
+ /**
+ * Append a value onto existing header
+ *
+ * @param String name Header name
+ * @param String value Header value
+ * @return Void
+ */
+ append(name, value) {
+ name = `${name}`;
+ value = `${value}`;
+ validateName(name);
+ validateValue(value);
+ const key = find(this[MAP], name);
+ if (key !== undefined) {
+ this[MAP][key].push(value);
+ } else {
+ this[MAP][name] = [value];
+ }
+ }
+
+ /**
+ * Check for header name existence
+ *
+ * @param String name Header name
+ * @return Boolean
+ */
+ has(name) {
+ name = `${name}`;
+ validateName(name);
+ return find(this[MAP], name) !== undefined;
+ }
+
+ /**
+ * Delete all header values given name
+ *
+ * @param String name Header name
+ * @return Void
+ */
+ delete(name) {
+ name = `${name}`;
+ validateName(name);
+ const key = find(this[MAP], name);
+ if (key !== undefined) {
+ delete this[MAP][key];
+ }
+ }
+
+ /**
+ * Return raw headers (non-spec api)
+ *
+ * @return Object
+ */
+ raw() {
+ return this[MAP];
+ }
+
+ /**
+ * Get an iterator on keys.
+ *
+ * @return Iterator
+ */
+ keys() {
+ return createHeadersIterator(this, 'key');
+ }
+
+ /**
+ * Get an iterator on values.
+ *
+ * @return Iterator
+ */
+ values() {
+ return createHeadersIterator(this, 'value');
+ }
+
+ /**
+ * Get an iterator on entries.
+ *
+ * This is the default iterator of the Headers object.
+ *
+ * @return Iterator
+ */
+ [Symbol.iterator]() {
+ return createHeadersIterator(this, 'key+value');
+ }
+}
+Headers.prototype.entries = Headers.prototype[Symbol.iterator];
+
+Object.defineProperty(Headers.prototype, Symbol.toStringTag, {
+ value: 'Headers',
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
+
+Object.defineProperties(Headers.prototype, {
+ get: { enumerable: true },
+ forEach: { enumerable: true },
+ set: { enumerable: true },
+ append: { enumerable: true },
+ has: { enumerable: true },
+ delete: { enumerable: true },
+ keys: { enumerable: true },
+ values: { enumerable: true },
+ entries: { enumerable: true }
+});
+
+function getHeaders(headers) {
+ let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';
+
+ const keys = Object.keys(headers[MAP]).sort();
+ return keys.map(kind === 'key' ? function (k) {
+ return k.toLowerCase();
+ } : kind === 'value' ? function (k) {
+ return headers[MAP][k].join(', ');
+ } : function (k) {
+ return [k.toLowerCase(), headers[MAP][k].join(', ')];
+ });
+}
+
+const INTERNAL = Symbol('internal');
+
+function createHeadersIterator(target, kind) {
+ const iterator = Object.create(HeadersIteratorPrototype);
+ iterator[INTERNAL] = {
+ target,
+ kind,
+ index: 0
+ };
+ return iterator;
+}
+
+const HeadersIteratorPrototype = Object.setPrototypeOf({
+ next() {
+ // istanbul ignore if
+ if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {
+ throw new TypeError('Value of `this` is not a HeadersIterator');
+ }
+
+ var _INTERNAL = this[INTERNAL];
+ const target = _INTERNAL.target,
+ kind = _INTERNAL.kind,
+ index = _INTERNAL.index;
+
+ const values = getHeaders(target, kind);
+ const len = values.length;
+ if (index >= len) {
+ return {
+ value: undefined,
+ done: true
+ };
+ }
+
+ this[INTERNAL].index = index + 1;
+
+ return {
+ value: values[index],
+ done: false
+ };
+ }
+}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));
+
+Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {
+ value: 'HeadersIterator',
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
+
+/**
+ * Export the Headers object in a form that Node.js can consume.
+ *
+ * @param Headers headers
+ * @return Object
+ */
+function exportNodeCompatibleHeaders(headers) {
+ const obj = Object.assign({ __proto__: null }, headers[MAP]);
+
+ // http.request() only supports string as Host header. This hack makes
+ // specifying custom Host header possible.
+ const hostHeaderKey = find(headers[MAP], 'Host');
+ if (hostHeaderKey !== undefined) {
+ obj[hostHeaderKey] = obj[hostHeaderKey][0];
+ }
+
+ return obj;
+}
+
+/**
+ * Create a Headers object from an object of headers, ignoring those that do
+ * not conform to HTTP grammar productions.
+ *
+ * @param Object obj Object of headers
+ * @return Headers
+ */
+function createHeadersLenient(obj) {
+ const headers = new Headers();
+ for (const name of Object.keys(obj)) {
+ if (invalidTokenRegex.test(name)) {
+ continue;
+ }
+ if (Array.isArray(obj[name])) {
+ for (const val of obj[name]) {
+ if (invalidHeaderCharRegex.test(val)) {
+ continue;
+ }
+ if (headers[MAP][name] === undefined) {
+ headers[MAP][name] = [val];
+ } else {
+ headers[MAP][name].push(val);
+ }
+ }
+ } else if (!invalidHeaderCharRegex.test(obj[name])) {
+ headers[MAP][name] = [obj[name]];
+ }
+ }
+ return headers;
+}
+
+const INTERNALS$1 = Symbol('Response internals');
+
+// fix an issue where "STATUS_CODES" aren't a named export for node <10
+const STATUS_CODES = http.STATUS_CODES;
+
+/**
+ * Response class
+ *
+ * @param Stream body Readable stream
+ * @param Object opts Response options
+ * @return Void
+ */
+class Response {
+ constructor() {
+ let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+ let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+
+ Body.call(this, body, opts);
+
+ const status = opts.status || 200;
+ const headers = new Headers(opts.headers);
+
+ if (body != null && !headers.has('Content-Type')) {
+ const contentType = extractContentType(body);
+ if (contentType) {
+ headers.append('Content-Type', contentType);
+ }
+ }
+
+ this[INTERNALS$1] = {
+ url: opts.url,
+ status,
+ statusText: opts.statusText || STATUS_CODES[status],
+ headers,
+ counter: opts.counter
+ };
+ }
+
+ get url() {
+ return this[INTERNALS$1].url || '';
+ }
+
+ get status() {
+ return this[INTERNALS$1].status;
+ }
+
+ /**
+ * Convenience property representing if the request ended normally
+ */
+ get ok() {
+ return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;
+ }
+
+ get redirected() {
+ return this[INTERNALS$1].counter > 0;
+ }
+
+ get statusText() {
+ return this[INTERNALS$1].statusText;
+ }
+
+ get headers() {
+ return this[INTERNALS$1].headers;
+ }
+
+ /**
+ * Clone this response
+ *
+ * @return Response
+ */
+ clone() {
+ return new Response(clone(this), {
+ url: this.url,
+ status: this.status,
+ statusText: this.statusText,
+ headers: this.headers,
+ ok: this.ok,
+ redirected: this.redirected
+ });
+ }
+}
+
+Body.mixIn(Response.prototype);
+
+Object.defineProperties(Response.prototype, {
+ url: { enumerable: true },
+ status: { enumerable: true },
+ ok: { enumerable: true },
+ redirected: { enumerable: true },
+ statusText: { enumerable: true },
+ headers: { enumerable: true },
+ clone: { enumerable: true }
+});
+
+Object.defineProperty(Response.prototype, Symbol.toStringTag, {
+ value: 'Response',
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
+
+const INTERNALS$2 = Symbol('Request internals');
+
+// fix an issue where "format", "parse" aren't a named export for node <10
+const parse_url = Url.parse;
+const format_url = Url.format;
+
+const streamDestructionSupported = 'destroy' in Stream.Readable.prototype;
+
+/**
+ * Check if a value is an instance of Request.
+ *
+ * @param Mixed input
+ * @return Boolean
+ */
+function isRequest(input) {
+ return typeof input === 'object' && typeof input[INTERNALS$2] === 'object';
+}
+
+function isAbortSignal(signal) {
+ const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);
+ return !!(proto && proto.constructor.name === 'AbortSignal');
+}
+
+/**
+ * Request class
+ *
+ * @param Mixed input Url or Request instance
+ * @param Object init Custom options
+ * @return Void
+ */
+class Request {
+ constructor(input) {
+ let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+
+ let parsedURL;
+
+ // normalize input
+ if (!isRequest(input)) {
+ if (input && input.href) {
+ // in order to support Node.js' Url objects; though WHATWG's URL objects
+ // will fall into this branch also (since their `toString()` will return
+ // `href` property anyway)
+ parsedURL = parse_url(input.href);
+ } else {
+ // coerce input to a string before attempting to parse
+ parsedURL = parse_url(`${input}`);
+ }
+ input = {};
+ } else {
+ parsedURL = parse_url(input.url);
+ }
+
+ let method = init.method || input.method || 'GET';
+ method = method.toUpperCase();
+
+ if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {
+ throw new TypeError('Request with GET/HEAD method cannot have body');
+ }
+
+ let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;
+
+ Body.call(this, inputBody, {
+ timeout: init.timeout || input.timeout || 0,
+ size: init.size || input.size || 0
+ });
+
+ const headers = new Headers(init.headers || input.headers || {});
+
+ if (inputBody != null && !headers.has('Content-Type')) {
+ const contentType = extractContentType(inputBody);
+ if (contentType) {
+ headers.append('Content-Type', contentType);
+ }
+ }
+
+ let signal = isRequest(input) ? input.signal : null;
+ if ('signal' in init) signal = init.signal;
+
+ if (signal != null && !isAbortSignal(signal)) {
+ throw new TypeError('Expected signal to be an instanceof AbortSignal');
+ }
+
+ this[INTERNALS$2] = {
+ method,
+ redirect: init.redirect || input.redirect || 'follow',
+ headers,
+ parsedURL,
+ signal
+ };
+
+ // node-fetch-only options
+ this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;
+ this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;
+ this.counter = init.counter || input.counter || 0;
+ this.agent = init.agent || input.agent;
+ }
+
+ get method() {
+ return this[INTERNALS$2].method;
+ }
+
+ get url() {
+ return format_url(this[INTERNALS$2].parsedURL);
+ }
+
+ get headers() {
+ return this[INTERNALS$2].headers;
+ }
+
+ get redirect() {
+ return this[INTERNALS$2].redirect;
+ }
+
+ get signal() {
+ return this[INTERNALS$2].signal;
+ }
+
+ /**
+ * Clone this request
+ *
+ * @return Request
+ */
+ clone() {
+ return new Request(this);
+ }
+}
+
+Body.mixIn(Request.prototype);
+
+Object.defineProperty(Request.prototype, Symbol.toStringTag, {
+ value: 'Request',
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
+
+Object.defineProperties(Request.prototype, {
+ method: { enumerable: true },
+ url: { enumerable: true },
+ headers: { enumerable: true },
+ redirect: { enumerable: true },
+ clone: { enumerable: true },
+ signal: { enumerable: true }
+});
+
+/**
+ * Convert a Request to Node.js http request options.
+ *
+ * @param Request A Request instance
+ * @return Object The options object to be passed to http.request
+ */
+function getNodeRequestOptions(request) {
+ const parsedURL = request[INTERNALS$2].parsedURL;
+ const headers = new Headers(request[INTERNALS$2].headers);
+
+ // fetch step 1.3
+ if (!headers.has('Accept')) {
+ headers.set('Accept', '*/*');
+ }
+
+ // Basic fetch
+ if (!parsedURL.protocol || !parsedURL.hostname) {
+ throw new TypeError('Only absolute URLs are supported');
+ }
+
+ if (!/^https?:$/.test(parsedURL.protocol)) {
+ throw new TypeError('Only HTTP(S) protocols are supported');
+ }
+
+ if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) {
+ throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');
+ }
+
+ // HTTP-network-or-cache fetch steps 2.4-2.7
+ let contentLengthValue = null;
+ if (request.body == null && /^(POST|PUT)$/i.test(request.method)) {
+ contentLengthValue = '0';
+ }
+ if (request.body != null) {
+ const totalBytes = getTotalBytes(request);
+ if (typeof totalBytes === 'number') {
+ contentLengthValue = String(totalBytes);
+ }
+ }
+ if (contentLengthValue) {
+ headers.set('Content-Length', contentLengthValue);
+ }
+
+ // HTTP-network-or-cache fetch step 2.11
+ if (!headers.has('User-Agent')) {
+ headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');
+ }
+
+ // HTTP-network-or-cache fetch step 2.15
+ if (request.compress && !headers.has('Accept-Encoding')) {
+ headers.set('Accept-Encoding', 'gzip,deflate');
+ }
+
+ let agent = request.agent;
+ if (typeof agent === 'function') {
+ agent = agent(parsedURL);
+ }
+
+ if (!headers.has('Connection') && !agent) {
+ headers.set('Connection', 'close');
+ }
+
+ // HTTP-network fetch step 4.2
+ // chunked encoding is handled by Node.js
+
+ return Object.assign({}, parsedURL, {
+ method: request.method,
+ headers: exportNodeCompatibleHeaders(headers),
+ agent
+ });
+}
+
+/**
+ * abort-error.js
+ *
+ * AbortError interface for cancelled requests
+ */
+
+/**
+ * Create AbortError instance
+ *
+ * @param String message Error message for human
+ * @return AbortError
+ */
+function AbortError(message) {
+ Error.call(this, message);
+
+ this.type = 'aborted';
+ this.message = message;
+
+ // hide custom error implementation details from end-users
+ Error.captureStackTrace(this, this.constructor);
+}
+
+AbortError.prototype = Object.create(Error.prototype);
+AbortError.prototype.constructor = AbortError;
+AbortError.prototype.name = 'AbortError';
+
+// fix an issue where "PassThrough", "resolve" aren't a named export for node <10
+const PassThrough$1 = Stream.PassThrough;
+const resolve_url = Url.resolve;
+
+/**
+ * Fetch function
+ *
+ * @param Mixed url Absolute url or Request instance
+ * @param Object opts Fetch options
+ * @return Promise
+ */
+function fetch(url, opts) {
+
+ // allow custom promise
+ if (!fetch.Promise) {
+ throw new Error('native promise missing, set fetch.Promise to your favorite alternative');
+ }
+
+ Body.Promise = fetch.Promise;
+
+ // wrap http.request into fetch
+ return new fetch.Promise(function (resolve, reject) {
+ // build request object
+ const request = new Request(url, opts);
+ const options = getNodeRequestOptions(request);
+
+ const send = (options.protocol === 'https:' ? https : http).request;
+ const signal = request.signal;
+
+ let response = null;
+
+ const abort = function abort() {
+ let error = new AbortError('The user aborted a request.');
+ reject(error);
+ if (request.body && request.body instanceof Stream.Readable) {
+ request.body.destroy(error);
+ }
+ if (!response || !response.body) return;
+ response.body.emit('error', error);
+ };
+
+ if (signal && signal.aborted) {
+ abort();
+ return;
+ }
+
+ const abortAndFinalize = function abortAndFinalize() {
+ abort();
+ finalize();
+ };
+
+ // send request
+ const req = send(options);
+ let reqTimeout;
+
+ if (signal) {
+ signal.addEventListener('abort', abortAndFinalize);
+ }
+
+ function finalize() {
+ req.abort();
+ if (signal) signal.removeEventListener('abort', abortAndFinalize);
+ clearTimeout(reqTimeout);
+ }
+
+ if (request.timeout) {
+ req.once('socket', function (socket) {
+ reqTimeout = setTimeout(function () {
+ reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));
+ finalize();
+ }, request.timeout);
+ });
+ }
+
+ req.on('error', function (err) {
+ reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
+ finalize();
+ });
+
+ req.on('response', function (res) {
+ clearTimeout(reqTimeout);
+
+ const headers = createHeadersLenient(res.headers);
+
+ // HTTP fetch step 5
+ if (fetch.isRedirect(res.statusCode)) {
+ // HTTP fetch step 5.2
+ const location = headers.get('Location');
+
+ // HTTP fetch step 5.3
+ const locationURL = location === null ? null : resolve_url(request.url, location);
+
+ // HTTP fetch step 5.5
+ switch (request.redirect) {
+ case 'error':
+ reject(new FetchError(`redirect mode is set to error: ${request.url}`, 'no-redirect'));
+ finalize();
+ return;
+ case 'manual':
+ // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.
+ if (locationURL !== null) {
+ // handle corrupted header
+ try {
+ headers.set('Location', locationURL);
+ } catch (err) {
+ // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request
+ reject(err);
+ }
+ }
+ break;
+ case 'follow':
+ // HTTP-redirect fetch step 2
+ if (locationURL === null) {
+ break;
+ }
+
+ // HTTP-redirect fetch step 5
+ if (request.counter >= request.follow) {
+ reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));
+ finalize();
+ return;
+ }
+
+ // HTTP-redirect fetch step 6 (counter increment)
+ // Create a new Request object.
+ const requestOpts = {
+ headers: new Headers(request.headers),
+ follow: request.follow,
+ counter: request.counter + 1,
+ agent: request.agent,
+ compress: request.compress,
+ method: request.method,
+ body: request.body,
+ signal: request.signal,
+ timeout: request.timeout
+ };
+
+ // HTTP-redirect fetch step 9
+ if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {
+ reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));
+ finalize();
+ return;
+ }
+
+ // HTTP-redirect fetch step 11
+ if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {
+ requestOpts.method = 'GET';
+ requestOpts.body = undefined;
+ requestOpts.headers.delete('content-length');
+ }
+
+ // HTTP-redirect fetch step 15
+ resolve(fetch(new Request(locationURL, requestOpts)));
+ finalize();
+ return;
+ }
+ }
+
+ // prepare response
+ res.once('end', function () {
+ if (signal) signal.removeEventListener('abort', abortAndFinalize);
+ });
+ let body = res.pipe(new PassThrough$1());
+
+ const response_options = {
+ url: request.url,
+ status: res.statusCode,
+ statusText: res.statusMessage,
+ headers: headers,
+ size: request.size,
+ timeout: request.timeout,
+ counter: request.counter
+ };
+
+ // HTTP-network fetch step 12.1.1.3
+ const codings = headers.get('Content-Encoding');
+
+ // HTTP-network fetch step 12.1.1.4: handle content codings
+
+ // in following scenarios we ignore compression support
+ // 1. compression support is disabled
+ // 2. HEAD request
+ // 3. no Content-Encoding header
+ // 4. no content response (204)
+ // 5. content not modified response (304)
+ if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {
+ response = new Response(body, response_options);
+ resolve(response);
+ return;
+ }
+
+ // For Node v6+
+ // Be less strict when decoding compressed responses, since sometimes
+ // servers send slightly invalid responses that are still accepted
+ // by common browsers.
+ // Always using Z_SYNC_FLUSH is what cURL does.
+ const zlibOptions = {
+ flush: zlib.Z_SYNC_FLUSH,
+ finishFlush: zlib.Z_SYNC_FLUSH
+ };
+
+ // for gzip
+ if (codings == 'gzip' || codings == 'x-gzip') {
+ body = body.pipe(zlib.createGunzip(zlibOptions));
+ response = new Response(body, response_options);
+ resolve(response);
+ return;
+ }
+
+ // for deflate
+ if (codings == 'deflate' || codings == 'x-deflate') {
+ // handle the infamous raw deflate response from old servers
+ // a hack for old IIS and Apache servers
+ const raw = res.pipe(new PassThrough$1());
+ raw.once('data', function (chunk) {
+ // see http://stackoverflow.com/questions/37519828
+ if ((chunk[0] & 0x0F) === 0x08) {
+ body = body.pipe(zlib.createInflate());
+ } else {
+ body = body.pipe(zlib.createInflateRaw());
+ }
+ response = new Response(body, response_options);
+ resolve(response);
+ });
+ return;
+ }
+
+ // for br
+ if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') {
+ body = body.pipe(zlib.createBrotliDecompress());
+ response = new Response(body, response_options);
+ resolve(response);
+ return;
+ }
+
+ // otherwise, use response as-is
+ response = new Response(body, response_options);
+ resolve(response);
+ });
+
+ writeToStream(req, request);
+ });
+}
+/**
+ * Redirect code matching
+ *
+ * @param Number code Status code
+ * @return Boolean
+ */
+fetch.isRedirect = function (code) {
+ return code === 301 || code === 302 || code === 303 || code === 307 || code === 308;
+};
+
+// expose Promise
+fetch.Promise = global.Promise;
+
+module.exports = exports = fetch;
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.default = exports;
+exports.Headers = Headers;
+exports.Request = Request;
+exports.Response = Response;
+exports.FetchError = FetchError;
+
+
+/***/ }),
+
+/***/ 462:
+/***/ (function(module) {
+
+"use strict";
+
+
+// See http://www.robvanderwoude.com/escapechars.php
+const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
+
+function escapeCommand(arg) {
+ // Escape meta chars
+ arg = arg.replace(metaCharsRegExp, '^$1');
+
+ return arg;
+}
+
+function escapeArgument(arg, doubleEscapeMetaChars) {
+ // Convert to string
+ arg = `${arg}`;
+
+ // Algorithm below is based on https://qntm.org/cmd
+
+ // Sequence of backslashes followed by a double quote:
+ // double up all the backslashes and escape the double quote
+ arg = arg.replace(/(\\*)"/g, '$1$1\\"');
+
+ // Sequence of backslashes followed by the end of the string
+ // (which will become a double quote later):
+ // double up all the backslashes
+ arg = arg.replace(/(\\*)$/, '$1$1');
+
+ // All other backslashes occur literally
+
+ // Quote the whole thing:
+ arg = `"${arg}"`;
+
+ // Escape meta chars
+ arg = arg.replace(metaCharsRegExp, '^$1');
+
+ // Double escape meta chars if necessary
+ if (doubleEscapeMetaChars) {
+ arg = arg.replace(metaCharsRegExp, '^$1');
+ }
+
+ return arg;
+}
+
+module.exports.command = escapeCommand;
+module.exports.argument = escapeArgument;
+
+
+/***/ }),
+
+/***/ 463:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
+
+var deprecation = __webpack_require__(692);
+var once = _interopDefault(__webpack_require__(969));
+
+const logOnce = once(deprecation => console.warn(deprecation));
+/**
+ * Error with extra properties to help with debugging
+ */
+
+class RequestError extends Error {
+ constructor(message, statusCode, options) {
+ super(message); // Maintains proper stack trace (only available on V8)
+
+ /* istanbul ignore next */
+
+ if (Error.captureStackTrace) {
+ Error.captureStackTrace(this, this.constructor);
+ }
+
+ this.name = "HttpError";
+ this.status = statusCode;
+ Object.defineProperty(this, "code", {
+ get() {
+ logOnce(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));
+ return statusCode;
+ }
+
+ });
+ this.headers = options.headers || {}; // redact request credentials without mutating original request options
+
+ const requestCopy = Object.assign({}, options.request);
+
+ if (options.request.headers.authorization) {
+ requestCopy.headers = Object.assign({}, options.request.headers, {
+ authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]")
+ });
+ }
+
+ requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit
+ // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications
+ .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended
+ // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header
+ .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
+ this.request = requestCopy;
+ }
+
+}
+
+exports.RequestError = RequestError;
+//# sourceMappingURL=index.js.map
+
+
+/***/ }),
+
+/***/ 469:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+// Originally pulled from https://github.com/JasonEtco/actions-toolkit/blob/master/src/github.ts
+const graphql_1 = __webpack_require__(503);
+const rest_1 = __importDefault(__webpack_require__(613));
+const Context = __importStar(__webpack_require__(262));
+// We need this in order to extend Octokit
+rest_1.default.prototype = new rest_1.default();
+exports.context = new Context.Context();
+class GitHub extends rest_1.default {
+ constructor(token, opts = {}) {
+ super(Object.assign(Object.assign({}, opts), { auth: `token ${token}` }));
+ this.graphql = graphql_1.defaults({
+ headers: { authorization: `token ${token}` }
+ });
+ }
+}
+exports.GitHub = GitHub;
+//# sourceMappingURL=github.js.map
+
+/***/ }),
+
+/***/ 470:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const command_1 = __webpack_require__(431);
+const os = __importStar(__webpack_require__(87));
+const path = __importStar(__webpack_require__(622));
+/**
+ * The code to exit an action
+ */
+var ExitCode;
+(function (ExitCode) {
+ /**
+ * A code indicating that the action was successful
+ */
+ ExitCode[ExitCode["Success"] = 0] = "Success";
+ /**
+ * A code indicating that the action was a failure
+ */
+ ExitCode[ExitCode["Failure"] = 1] = "Failure";
+})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));
+//-----------------------------------------------------------------------
+// Variables
+//-----------------------------------------------------------------------
+/**
+ * Sets env variable for this action and future actions in the job
+ * @param name the name of the variable to set
+ * @param val the value of the variable
+ */
+function exportVariable(name, val) {
+ process.env[name] = val;
+ command_1.issueCommand('set-env', { name }, val);
+}
+exports.exportVariable = exportVariable;
+/**
+ * Registers a secret which will get masked from logs
+ * @param secret value of the secret
+ */
+function setSecret(secret) {
+ command_1.issueCommand('add-mask', {}, secret);
+}
+exports.setSecret = setSecret;
+/**
+ * Prepends inputPath to the PATH (for this action and future actions)
+ * @param inputPath
+ */
+function addPath(inputPath) {
+ command_1.issueCommand('add-path', {}, inputPath);
+ process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
+}
+exports.addPath = addPath;
+/**
+ * Gets the value of an input. The value is also trimmed.
+ *
+ * @param name name of the input to get
+ * @param options optional. See InputOptions.
+ * @returns string
+ */
+function getInput(name, options) {
+ const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';
+ if (options && options.required && !val) {
+ throw new Error(`Input required and not supplied: ${name}`);
+ }
+ return val.trim();
+}
+exports.getInput = getInput;
+/**
+ * Sets the value of an output.
+ *
+ * @param name name of the output to set
+ * @param value value to store
+ */
+function setOutput(name, value) {
+ command_1.issueCommand('set-output', { name }, value);
+}
+exports.setOutput = setOutput;
+//-----------------------------------------------------------------------
+// Results
+//-----------------------------------------------------------------------
+/**
+ * Sets the action status to failed.
+ * When the action exits it will be with an exit code of 1
+ * @param message add error issue message
+ */
+function setFailed(message) {
+ process.exitCode = ExitCode.Failure;
+ error(message);
+}
+exports.setFailed = setFailed;
+//-----------------------------------------------------------------------
+// Logging Commands
+//-----------------------------------------------------------------------
+/**
+ * Writes debug message to user log
+ * @param message debug message
+ */
+function debug(message) {
+ command_1.issueCommand('debug', {}, message);
+}
+exports.debug = debug;
+/**
+ * Adds an error issue
+ * @param message error issue message
+ */
+function error(message) {
+ command_1.issue('error', message);
+}
+exports.error = error;
+/**
+ * Adds an warning issue
+ * @param message warning issue message
+ */
+function warning(message) {
+ command_1.issue('warning', message);
+}
+exports.warning = warning;
+/**
+ * Writes info to log with console.log.
+ * @param message info message
+ */
+function info(message) {
+ process.stdout.write(message + os.EOL);
+}
+exports.info = info;
+/**
+ * Begin an output group.
+ *
+ * Output until the next `groupEnd` will be foldable in this group
+ *
+ * @param name The name of the output group
+ */
+function startGroup(name) {
+ command_1.issue('group', name);
+}
+exports.startGroup = startGroup;
+/**
+ * End an output group.
+ */
+function endGroup() {
+ command_1.issue('endgroup');
+}
+exports.endGroup = endGroup;
+/**
+ * Wrap an asynchronous function call in a group.
+ *
+ * Returns the same type as the function itself.
+ *
+ * @param name The name of the group
+ * @param fn The function to wrap in the group
+ */
+function group(name, fn) {
+ return __awaiter(this, void 0, void 0, function* () {
+ startGroup(name);
+ let result;
+ try {
+ result = yield fn();
+ }
+ finally {
+ endGroup();
+ }
+ return result;
+ });
+}
+exports.group = group;
+//-----------------------------------------------------------------------
+// Wrapper action state
+//-----------------------------------------------------------------------
+/**
+ * Saves state for current action, the state can only be retrieved by this action's post job execution.
+ *
+ * @param name name of the state to store
+ * @param value value to store
+ */
+function saveState(name, value) {
+ command_1.issueCommand('save-state', { name }, value);
+}
+exports.saveState = saveState;
+/**
+ * Gets the value of an state set by this action's main execution.
+ *
+ * @param name name of the state to get
+ * @returns string
+ */
+function getState(name) {
+ return process.env[`STATE_${name}`] || '';
+}
+exports.getState = getState;
+//# sourceMappingURL=core.js.map
+
+/***/ }),
+
+/***/ 471:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = authenticationBeforeRequest;
+
+const btoa = __webpack_require__(675);
+const uniq = __webpack_require__(126);
+
+function authenticationBeforeRequest(state, options) {
+ if (!state.auth.type) {
+ return;
+ }
+
+ if (state.auth.type === "basic") {
+ const hash = btoa(`${state.auth.username}:${state.auth.password}`);
+ options.headers.authorization = `Basic ${hash}`;
+ return;
+ }
+
+ if (state.auth.type === "token") {
+ options.headers.authorization = `token ${state.auth.token}`;
+ return;
+ }
+
+ if (state.auth.type === "app") {
+ options.headers.authorization = `Bearer ${state.auth.token}`;
+ const acceptHeaders = options.headers.accept
+ .split(",")
+ .concat("application/vnd.github.machine-man-preview+json");
+ options.headers.accept = uniq(acceptHeaders)
+ .filter(Boolean)
+ .join(",");
+ return;
+ }
+
+ options.url += options.url.indexOf("?") === -1 ? "?" : "&";
+
+ if (state.auth.token) {
+ options.url += `access_token=${encodeURIComponent(state.auth.token)}`;
+ return;
+ }
+
+ const key = encodeURIComponent(state.auth.key);
+ const secret = encodeURIComponent(state.auth.secret);
+ options.url += `client_id=${key}&client_secret=${secret}`;
+}
+
+
+/***/ }),
+
+/***/ 489:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+
+const path = __webpack_require__(622);
+const which = __webpack_require__(814);
+const pathKey = __webpack_require__(39)();
+
+function resolveCommandAttempt(parsed, withoutPathExt) {
+ const cwd = process.cwd();
+ const hasCustomCwd = parsed.options.cwd != null;
+
+ // If a custom `cwd` was specified, we need to change the process cwd
+ // because `which` will do stat calls but does not support a custom cwd
+ if (hasCustomCwd) {
+ try {
+ process.chdir(parsed.options.cwd);
+ } catch (err) {
+ /* Empty */
+ }
+ }
+
+ let resolved;
+
+ try {
+ resolved = which.sync(parsed.command, {
+ path: (parsed.options.env || process.env)[pathKey],
+ pathExt: withoutPathExt ? path.delimiter : undefined,
+ });
+ } catch (e) {
+ /* Empty */
+ } finally {
+ process.chdir(cwd);
+ }
+
+ // If we successfully resolved, ensure that an absolute path is returned
+ // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it
+ if (resolved) {
+ resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);
+ }
+
+ return resolved;
+}
+
+function resolveCommand(parsed) {
+ return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
+}
+
+module.exports = resolveCommand;
+
+
+/***/ }),
+
+/***/ 500:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = graphql
+
+const GraphqlError = __webpack_require__(862)
+
+const NON_VARIABLE_OPTIONS = ['method', 'baseUrl', 'url', 'headers', 'request', 'query']
+
+function graphql (request, query, options) {
+ if (typeof query === 'string') {
+ options = Object.assign({ query }, options)
+ } else {
+ options = query
+ }
+
+ const requestOptions = Object.keys(options).reduce((result, key) => {
+ if (NON_VARIABLE_OPTIONS.includes(key)) {
+ result[key] = options[key]
+ return result
+ }
+
+ if (!result.variables) {
+ result.variables = {}
+ }
+
+ result.variables[key] = options[key]
+ return result
+ }, {})
+
+ return request(requestOptions)
+ .then(response => {
+ if (response.data.errors) {
+ throw new GraphqlError(requestOptions, response)
+ }
+
+ return response.data.data
+ })
+}
+
+
+/***/ }),
+
+/***/ 503:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+const { request } = __webpack_require__(753)
+const getUserAgent = __webpack_require__(46)
+
+const version = __webpack_require__(314).version
+const userAgent = `octokit-graphql.js/${version} ${getUserAgent()}`
+
+const withDefaults = __webpack_require__(0)
+
+module.exports = withDefaults(request, {
+ method: 'POST',
+ url: '/graphql',
+ headers: {
+ 'user-agent': userAgent
+ }
+})
+
+
+/***/ }),
+
+/***/ 510:
+/***/ (function(module) {
+
+module.exports = addHook
+
+function addHook (state, kind, name, hook) {
+ var orig = hook
+ if (!state.registry[name]) {
+ state.registry[name] = []
+ }
+
+ if (kind === 'before') {
+ hook = function (method, options) {
+ return Promise.resolve()
+ .then(orig.bind(null, options))
+ .then(method.bind(null, options))
+ }
+ }
+
+ if (kind === 'after') {
+ hook = function (method, options) {
+ var result
+ return Promise.resolve()
+ .then(method.bind(null, options))
+ .then(function (result_) {
+ result = result_
+ return orig(result, options)
+ })
+ .then(function () {
+ return result
+ })
+ }
+ }
+
+ if (kind === 'error') {
+ hook = function (method, options) {
+ return Promise.resolve()
+ .then(method.bind(null, options))
+ .catch(function (error) {
+ return orig(error, options)
+ })
+ }
+ }
+
+ state.registry[name].push({
+ hook: hook,
+ orig: orig
+ })
+}
+
+
+/***/ }),
+
+/***/ 523:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+var register = __webpack_require__(363)
+var addHook = __webpack_require__(510)
+var removeHook = __webpack_require__(763)
+
+// bind with array of arguments: https://stackoverflow.com/a/21792913
+var bind = Function.bind
+var bindable = bind.bind(bind)
+
+function bindApi (hook, state, name) {
+ var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state])
+ hook.api = { remove: removeHookRef }
+ hook.remove = removeHookRef
+
+ ;['before', 'error', 'after', 'wrap'].forEach(function (kind) {
+ var args = name ? [state, kind, name] : [state, kind]
+ hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args)
+ })
+}
+
+function HookSingular () {
+ var singularHookName = 'h'
+ var singularHookState = {
+ registry: {}
+ }
+ var singularHook = register.bind(null, singularHookState, singularHookName)
+ bindApi(singularHook, singularHookState, singularHookName)
+ return singularHook
+}
+
+function HookCollection () {
+ var state = {
+ registry: {}
+ }
+
+ var hook = register.bind(null, state)
+ bindApi(hook, state)
+
+ return hook
+}
+
+var collectionHookDeprecationMessageDisplayed = false
+function Hook () {
+ if (!collectionHookDeprecationMessageDisplayed) {
+ console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4')
+ collectionHookDeprecationMessageDisplayed = true
+ }
+ return HookCollection()
+}
+
+Hook.Singular = HookSingular.bind()
+Hook.Collection = HookCollection.bind()
+
+module.exports = Hook
+// expose constructors as a named property for TypeScript
+module.exports.Hook = Hook
+module.exports.Singular = Hook.Singular
+module.exports.Collection = Hook.Collection
+
+
+/***/ }),
+
+/***/ 529:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+const factory = __webpack_require__(47);
+
+module.exports = factory();
+
+
+/***/ }),
+
+/***/ 533:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const core = __importStar(__webpack_require__(902));
+const io = __importStar(__webpack_require__(1));
+const fs = __importStar(__webpack_require__(747));
+const mm = __importStar(__webpack_require__(31));
+const os = __importStar(__webpack_require__(87));
+const path = __importStar(__webpack_require__(622));
+const httpm = __importStar(__webpack_require__(403));
+const semver = __importStar(__webpack_require__(280));
+const stream = __importStar(__webpack_require__(794));
+const util = __importStar(__webpack_require__(669));
+const v4_1 = __importDefault(__webpack_require__(826));
+const exec_1 = __webpack_require__(986);
+const assert_1 = __webpack_require__(357);
+const retry_helper_1 = __webpack_require__(979);
+class HTTPError extends Error {
+ constructor(httpStatusCode) {
+ super(`Unexpected HTTP response: ${httpStatusCode}`);
+ this.httpStatusCode = httpStatusCode;
+ Object.setPrototypeOf(this, new.target.prototype);
+ }
+}
+exports.HTTPError = HTTPError;
+const IS_WINDOWS = process.platform === 'win32';
+const userAgent = 'actions/tool-cache';
+/**
+ * Download a tool from an url and stream it into a file
+ *
+ * @param url url of tool to download
+ * @param dest path to download tool
+ * @param auth authorization header
+ * @returns path to downloaded tool
+ */
+function downloadTool(url, dest, auth) {
+ return __awaiter(this, void 0, void 0, function* () {
+ dest = dest || path.join(_getTempDirectory(), v4_1.default());
+ yield io.mkdirP(path.dirname(dest));
+ core.debug(`Downloading ${url}`);
+ core.debug(`Destination ${dest}`);
+ const maxAttempts = 3;
+ const minSeconds = _getGlobal('TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS', 10);
+ const maxSeconds = _getGlobal('TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS', 20);
+ const retryHelper = new retry_helper_1.RetryHelper(maxAttempts, minSeconds, maxSeconds);
+ return yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () {
+ return yield downloadToolAttempt(url, dest || '', auth);
+ }), (err) => {
+ if (err instanceof HTTPError && err.httpStatusCode) {
+ // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests
+ if (err.httpStatusCode < 500 &&
+ err.httpStatusCode !== 408 &&
+ err.httpStatusCode !== 429) {
+ return false;
+ }
+ }
+ // Otherwise retry
+ return true;
+ });
+ });
+}
+exports.downloadTool = downloadTool;
+function downloadToolAttempt(url, dest, auth) {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (fs.existsSync(dest)) {
+ throw new Error(`Destination file path ${dest} already exists`);
+ }
+ // Get the response headers
+ const http = new httpm.HttpClient(userAgent, [], {
+ allowRetries: false
+ });
+ let headers;
+ if (auth) {
+ core.debug('set auth');
+ headers = {
+ authorization: auth
+ };
+ }
+ const response = yield http.get(url, headers);
+ if (response.message.statusCode !== 200) {
+ const err = new HTTPError(response.message.statusCode);
+ core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);
+ throw err;
+ }
+ // Download the response body
+ const pipeline = util.promisify(stream.pipeline);
+ const responseMessageFactory = _getGlobal('TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY', () => response.message);
+ const readStream = responseMessageFactory();
+ let succeeded = false;
+ try {
+ yield pipeline(readStream, fs.createWriteStream(dest));
+ core.debug('download complete');
+ succeeded = true;
+ return dest;
+ }
+ finally {
+ // Error, delete dest before retry
+ if (!succeeded) {
+ core.debug('download failed');
+ try {
+ yield io.rmRF(dest);
+ }
+ catch (err) {
+ core.debug(`Failed to delete '${dest}'. ${err.message}`);
+ }
+ }
+ }
+ });
+}
+/**
+ * Extract a .7z file
+ *
+ * @param file path to the .7z file
+ * @param dest destination directory. Optional.
+ * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this
+ * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will
+ * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is
+ * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line
+ * interface, it is smaller than the full command line interface, and it does support long paths. At the
+ * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.
+ * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path
+ * to 7zr.exe can be pass to this function.
+ * @returns path to the destination directory
+ */
+function extract7z(file, dest, _7zPath) {
+ return __awaiter(this, void 0, void 0, function* () {
+ assert_1.ok(IS_WINDOWS, 'extract7z() not supported on current OS');
+ assert_1.ok(file, 'parameter "file" is required');
+ dest = yield _createExtractFolder(dest);
+ const originalCwd = process.cwd();
+ process.chdir(dest);
+ if (_7zPath) {
+ try {
+ const logLevel = core.isDebug() ? '-bb1' : '-bb0';
+ const args = [
+ 'x',
+ logLevel,
+ '-bd',
+ '-sccUTF-8',
+ file
+ ];
+ const options = {
+ silent: true
+ };
+ yield exec_1.exec(`"${_7zPath}"`, args, options);
+ }
+ finally {
+ process.chdir(originalCwd);
+ }
+ }
+ else {
+ const escapedScript = path
+ .join(__dirname, '..', 'scripts', 'Invoke-7zdec.ps1')
+ .replace(/'/g, "''")
+ .replace(/"|\n|\r/g, ''); // double-up single quotes, remove double quotes and newlines
+ const escapedFile = file.replace(/'/g, "''").replace(/"|\n|\r/g, '');
+ const escapedTarget = dest.replace(/'/g, "''").replace(/"|\n|\r/g, '');
+ const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;
+ const args = [
+ '-NoLogo',
+ '-Sta',
+ '-NoProfile',
+ '-NonInteractive',
+ '-ExecutionPolicy',
+ 'Unrestricted',
+ '-Command',
+ command
+ ];
+ const options = {
+ silent: true
+ };
+ try {
+ const powershellPath = yield io.which('powershell', true);
+ yield exec_1.exec(`"${powershellPath}"`, args, options);
+ }
+ finally {
+ process.chdir(originalCwd);
+ }
+ }
+ return dest;
+ });
+}
+exports.extract7z = extract7z;
+/**
+ * Extract a compressed tar archive
+ *
+ * @param file path to the tar
+ * @param dest destination directory. Optional.
+ * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.
+ * @returns path to the destination directory
+ */
+function extractTar(file, dest, flags = 'xz') {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (!file) {
+ throw new Error("parameter 'file' is required");
+ }
+ // Create dest
+ dest = yield _createExtractFolder(dest);
+ // Determine whether GNU tar
+ core.debug('Checking tar --version');
+ let versionOutput = '';
+ yield exec_1.exec('tar --version', [], {
+ ignoreReturnCode: true,
+ silent: true,
+ listeners: {
+ stdout: (data) => (versionOutput += data.toString()),
+ stderr: (data) => (versionOutput += data.toString())
+ }
+ });
+ core.debug(versionOutput.trim());
+ const isGnuTar = versionOutput.toUpperCase().includes('GNU TAR');
+ // Initialize args
+ let args;
+ if (flags instanceof Array) {
+ args = flags;
+ }
+ else {
+ args = [flags];
+ }
+ if (core.isDebug() && !flags.includes('v')) {
+ args.push('-v');
+ }
+ let destArg = dest;
+ let fileArg = file;
+ if (IS_WINDOWS && isGnuTar) {
+ args.push('--force-local');
+ destArg = dest.replace(/\\/g, '/');
+ // Technically only the dest needs to have `/` but for aesthetic consistency
+ // convert slashes in the file arg too.
+ fileArg = file.replace(/\\/g, '/');
+ }
+ if (isGnuTar) {
+ // Suppress warnings when using GNU tar to extract archives created by BSD tar
+ args.push('--warning=no-unknown-keyword');
+ }
+ args.push('-C', destArg, '-f', fileArg);
+ yield exec_1.exec(`tar`, args);
+ return dest;
+ });
+}
+exports.extractTar = extractTar;
+/**
+ * Extract a zip
+ *
+ * @param file path to the zip
+ * @param dest destination directory. Optional.
+ * @returns path to the destination directory
+ */
+function extractZip(file, dest) {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (!file) {
+ throw new Error("parameter 'file' is required");
+ }
+ dest = yield _createExtractFolder(dest);
+ if (IS_WINDOWS) {
+ yield extractZipWin(file, dest);
+ }
+ else {
+ yield extractZipNix(file, dest);
+ }
+ return dest;
+ });
+}
+exports.extractZip = extractZip;
+function extractZipWin(file, dest) {
+ return __awaiter(this, void 0, void 0, function* () {
+ // build the powershell command
+ const escapedFile = file.replace(/'/g, "''").replace(/"|\n|\r/g, ''); // double-up single quotes, remove double quotes and newlines
+ const escapedDest = dest.replace(/'/g, "''").replace(/"|\n|\r/g, '');
+ const command = `$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}')`;
+ // run powershell
+ const powershellPath = yield io.which('powershell', true);
+ const args = [
+ '-NoLogo',
+ '-Sta',
+ '-NoProfile',
+ '-NonInteractive',
+ '-ExecutionPolicy',
+ 'Unrestricted',
+ '-Command',
+ command
+ ];
+ yield exec_1.exec(`"${powershellPath}"`, args);
+ });
+}
+function extractZipNix(file, dest) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const unzipPath = yield io.which('unzip', true);
+ const args = [file];
+ if (!core.isDebug()) {
+ args.unshift('-q');
+ }
+ yield exec_1.exec(`"${unzipPath}"`, args, { cwd: dest });
+ });
+}
+/**
+ * Caches a directory and installs it into the tool cacheDir
+ *
+ * @param sourceDir the directory to cache into tools
+ * @param tool tool name
+ * @param version version of the tool. semver format
+ * @param arch architecture of the tool. Optional. Defaults to machine architecture
+ */
+function cacheDir(sourceDir, tool, version, arch) {
+ return __awaiter(this, void 0, void 0, function* () {
+ version = semver.clean(version) || version;
+ arch = arch || os.arch();
+ core.debug(`Caching tool ${tool} ${version} ${arch}`);
+ core.debug(`source dir: ${sourceDir}`);
+ if (!fs.statSync(sourceDir).isDirectory()) {
+ throw new Error('sourceDir is not a directory');
+ }
+ // Create the tool dir
+ const destPath = yield _createToolPath(tool, version, arch);
+ // copy each child item. do not move. move can fail on Windows
+ // due to anti-virus software having an open handle on a file.
+ for (const itemName of fs.readdirSync(sourceDir)) {
+ const s = path.join(sourceDir, itemName);
+ yield io.cp(s, destPath, { recursive: true });
+ }
+ // write .complete
+ _completeToolPath(tool, version, arch);
+ return destPath;
+ });
+}
+exports.cacheDir = cacheDir;
+/**
+ * Caches a downloaded file (GUID) and installs it
+ * into the tool cache with a given targetName
+ *
+ * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.
+ * @param targetFile the name of the file name in the tools directory
+ * @param tool tool name
+ * @param version version of the tool. semver format
+ * @param arch architecture of the tool. Optional. Defaults to machine architecture
+ */
+function cacheFile(sourceFile, targetFile, tool, version, arch) {
+ return __awaiter(this, void 0, void 0, function* () {
+ version = semver.clean(version) || version;
+ arch = arch || os.arch();
+ core.debug(`Caching tool ${tool} ${version} ${arch}`);
+ core.debug(`source file: ${sourceFile}`);
+ if (!fs.statSync(sourceFile).isFile()) {
+ throw new Error('sourceFile is not a file');
+ }
+ // create the tool dir
+ const destFolder = yield _createToolPath(tool, version, arch);
+ // copy instead of move. move can fail on Windows due to
+ // anti-virus software having an open handle on a file.
+ const destPath = path.join(destFolder, targetFile);
+ core.debug(`destination file ${destPath}`);
+ yield io.cp(sourceFile, destPath);
+ // write .complete
+ _completeToolPath(tool, version, arch);
+ return destFolder;
+ });
+}
+exports.cacheFile = cacheFile;
+/**
+ * Finds the path to a tool version in the local installed tool cache
+ *
+ * @param toolName name of the tool
+ * @param versionSpec version of the tool
+ * @param arch optional arch. defaults to arch of computer
+ */
+function find(toolName, versionSpec, arch) {
+ if (!toolName) {
+ throw new Error('toolName parameter is required');
+ }
+ if (!versionSpec) {
+ throw new Error('versionSpec parameter is required');
+ }
+ arch = arch || os.arch();
+ // attempt to resolve an explicit version
+ if (!_isExplicitVersion(versionSpec)) {
+ const localVersions = findAllVersions(toolName, arch);
+ const match = _evaluateVersions(localVersions, versionSpec);
+ versionSpec = match;
+ }
+ // check for the explicit version in the cache
+ let toolPath = '';
+ if (versionSpec) {
+ versionSpec = semver.clean(versionSpec) || '';
+ const cachePath = path.join(_getCacheDirectory(), toolName, versionSpec, arch);
+ core.debug(`checking cache: ${cachePath}`);
+ if (fs.existsSync(cachePath) && fs.existsSync(`${cachePath}.complete`)) {
+ core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);
+ toolPath = cachePath;
+ }
+ else {
+ core.debug('not found');
+ }
+ }
+ return toolPath;
+}
+exports.find = find;
+/**
+ * Finds the paths to all versions of a tool that are installed in the local tool cache
+ *
+ * @param toolName name of the tool
+ * @param arch optional arch. defaults to arch of computer
+ */
+function findAllVersions(toolName, arch) {
+ const versions = [];
+ arch = arch || os.arch();
+ const toolPath = path.join(_getCacheDirectory(), toolName);
+ if (fs.existsSync(toolPath)) {
+ const children = fs.readdirSync(toolPath);
+ for (const child of children) {
+ if (_isExplicitVersion(child)) {
+ const fullPath = path.join(toolPath, child, arch || '');
+ if (fs.existsSync(fullPath) && fs.existsSync(`${fullPath}.complete`)) {
+ versions.push(child);
+ }
+ }
+ }
+ }
+ return versions;
+}
+exports.findAllVersions = findAllVersions;
+function getManifestFromRepo(owner, repo, auth, branch = 'master') {
+ return __awaiter(this, void 0, void 0, function* () {
+ let releases = [];
+ const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;
+ const http = new httpm.HttpClient('tool-cache');
+ const headers = {};
+ if (auth) {
+ core.debug('set auth');
+ headers.authorization = auth;
+ }
+ const response = yield http.getJson(treeUrl, headers);
+ if (!response.result) {
+ return releases;
+ }
+ let manifestUrl = '';
+ for (const item of response.result.tree) {
+ if (item.path === 'versions-manifest.json') {
+ manifestUrl = item.url;
+ break;
+ }
+ }
+ headers['accept'] = 'application/vnd.github.VERSION.raw';
+ let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();
+ if (versionsRaw) {
+ // shouldn't be needed but protects against invalid json saved with BOM
+ versionsRaw = versionsRaw.replace(/^\uFEFF/, '');
+ try {
+ releases = JSON.parse(versionsRaw);
+ }
+ catch (_a) {
+ core.debug('Invalid json');
+ }
+ }
+ return releases;
+ });
+}
+exports.getManifestFromRepo = getManifestFromRepo;
+function findFromManifest(versionSpec, stable, manifest, archFilter = os.arch()) {
+ return __awaiter(this, void 0, void 0, function* () {
+ // wrap the internal impl
+ const match = yield mm._findMatch(versionSpec, stable, manifest, archFilter);
+ return match;
+ });
+}
+exports.findFromManifest = findFromManifest;
+function _createExtractFolder(dest) {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (!dest) {
+ // create a temp dir
+ dest = path.join(_getTempDirectory(), v4_1.default());
+ }
+ yield io.mkdirP(dest);
+ return dest;
+ });
+}
+function _createToolPath(tool, version, arch) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const folderPath = path.join(_getCacheDirectory(), tool, semver.clean(version) || version, arch || '');
+ core.debug(`destination ${folderPath}`);
+ const markerPath = `${folderPath}.complete`;
+ yield io.rmRF(folderPath);
+ yield io.rmRF(markerPath);
+ yield io.mkdirP(folderPath);
+ return folderPath;
+ });
+}
+function _completeToolPath(tool, version, arch) {
+ const folderPath = path.join(_getCacheDirectory(), tool, semver.clean(version) || version, arch || '');
+ const markerPath = `${folderPath}.complete`;
+ fs.writeFileSync(markerPath, '');
+ core.debug('finished caching tool');
+}
+function _isExplicitVersion(versionSpec) {
+ const c = semver.clean(versionSpec) || '';
+ core.debug(`isExplicit: ${c}`);
+ const valid = semver.valid(c) != null;
+ core.debug(`explicit? ${valid}`);
+ return valid;
+}
+function _evaluateVersions(versions, versionSpec) {
+ let version = '';
+ core.debug(`evaluating ${versions.length} versions`);
+ versions = versions.sort((a, b) => {
+ if (semver.gt(a, b)) {
+ return 1;
+ }
+ return -1;
+ });
+ for (let i = versions.length - 1; i >= 0; i--) {
+ const potential = versions[i];
+ const satisfied = semver.satisfies(potential, versionSpec);
+ if (satisfied) {
+ version = potential;
+ break;
+ }
+ }
+ if (version) {
+ core.debug(`matched: ${version}`);
+ }
+ else {
+ core.debug('match not found');
+ }
+ return version;
+}
+/**
+ * Gets RUNNER_TOOL_CACHE
+ */
+function _getCacheDirectory() {
+ const cacheDirectory = process.env['RUNNER_TOOL_CACHE'] || '';
+ assert_1.ok(cacheDirectory, 'Expected RUNNER_TOOL_CACHE to be defined');
+ return cacheDirectory;
+}
+/**
+ * Gets RUNNER_TEMP
+ */
+function _getTempDirectory() {
+ const tempDirectory = process.env['RUNNER_TEMP'] || '';
+ assert_1.ok(tempDirectory, 'Expected RUNNER_TEMP to be defined');
+ return tempDirectory;
+}
+/**
+ * Gets a global variable
+ */
+function _getGlobal(key, defaultValue) {
+ /* eslint-disable @typescript-eslint/no-explicit-any */
+ const value = global[key];
+ /* eslint-enable @typescript-eslint/no-explicit-any */
+ return value !== undefined ? value : defaultValue;
+}
+//# sourceMappingURL=tool-cache.js.map
+
+/***/ }),
+
+/***/ 536:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = hasFirstPage
+
+const deprecate = __webpack_require__(370)
+const getPageLinks = __webpack_require__(577)
+
+function hasFirstPage (link) {
+ deprecate(`octokit.hasFirstPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
+ return getPageLinks(link).first
+}
+
+
+/***/ }),
+
+/***/ 539:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", { value: true });
+const url = __webpack_require__(835);
+const http = __webpack_require__(605);
+const https = __webpack_require__(211);
+const pm = __webpack_require__(950);
+let tunnel;
+var HttpCodes;
+(function (HttpCodes) {
+ HttpCodes[HttpCodes["OK"] = 200] = "OK";
+ HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices";
+ HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently";
+ HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved";
+ HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther";
+ HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified";
+ HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy";
+ HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy";
+ HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect";
+ HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect";
+ HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest";
+ HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized";
+ HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired";
+ HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden";
+ HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound";
+ HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed";
+ HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable";
+ HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
+ HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout";
+ HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict";
+ HttpCodes[HttpCodes["Gone"] = 410] = "Gone";
+ HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError";
+ HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented";
+ HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway";
+ HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable";
+ HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout";
+})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));
+var Headers;
+(function (Headers) {
+ Headers["Accept"] = "accept";
+ Headers["ContentType"] = "content-type";
+})(Headers = exports.Headers || (exports.Headers = {}));
+var MediaTypes;
+(function (MediaTypes) {
+ MediaTypes["ApplicationJson"] = "application/json";
+})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));
+/**
+ * Returns the proxy URL, depending upon the supplied url and proxy environment variables.
+ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
+ */
+function getProxyUrl(serverUrl) {
+ let proxyUrl = pm.getProxyUrl(url.parse(serverUrl));
+ return proxyUrl ? proxyUrl.href : '';
+}
+exports.getProxyUrl = getProxyUrl;
+const HttpRedirectCodes = [HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, HttpCodes.SeeOther, HttpCodes.TemporaryRedirect, HttpCodes.PermanentRedirect];
+const HttpResponseRetryCodes = [HttpCodes.BadGateway, HttpCodes.ServiceUnavailable, HttpCodes.GatewayTimeout];
+const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];
+const ExponentialBackoffCeiling = 10;
+const ExponentialBackoffTimeSlice = 5;
+class HttpClientResponse {
+ constructor(message) {
+ this.message = message;
+ }
+ readBody() {
+ return new Promise(async (resolve, reject) => {
+ let output = Buffer.alloc(0);
+ this.message.on('data', (chunk) => {
+ output = Buffer.concat([output, chunk]);
+ });
+ this.message.on('end', () => {
+ resolve(output.toString());
+ });
+ });
+ }
+}
+exports.HttpClientResponse = HttpClientResponse;
+function isHttps(requestUrl) {
+ let parsedUrl = url.parse(requestUrl);
+ return parsedUrl.protocol === 'https:';
+}
+exports.isHttps = isHttps;
+class HttpClient {
+ constructor(userAgent, handlers, requestOptions) {
+ this._ignoreSslError = false;
+ this._allowRedirects = true;
+ this._allowRedirectDowngrade = false;
+ this._maxRedirects = 50;
+ this._allowRetries = false;
+ this._maxRetries = 1;
+ this._keepAlive = false;
+ this._disposed = false;
+ this.userAgent = userAgent;
+ this.handlers = handlers || [];
+ this.requestOptions = requestOptions;
+ if (requestOptions) {
+ if (requestOptions.ignoreSslError != null) {
+ this._ignoreSslError = requestOptions.ignoreSslError;
+ }
+ this._socketTimeout = requestOptions.socketTimeout;
+ if (requestOptions.allowRedirects != null) {
+ this._allowRedirects = requestOptions.allowRedirects;
+ }
+ if (requestOptions.allowRedirectDowngrade != null) {
+ this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;
+ }
+ if (requestOptions.maxRedirects != null) {
+ this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);
+ }
+ if (requestOptions.keepAlive != null) {
+ this._keepAlive = requestOptions.keepAlive;
+ }
+ if (requestOptions.allowRetries != null) {
+ this._allowRetries = requestOptions.allowRetries;
+ }
+ if (requestOptions.maxRetries != null) {
+ this._maxRetries = requestOptions.maxRetries;
+ }
+ }
+ }
+ options(requestUrl, additionalHeaders) {
+ return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});
+ }
+ get(requestUrl, additionalHeaders) {
+ return this.request('GET', requestUrl, null, additionalHeaders || {});
+ }
+ del(requestUrl, additionalHeaders) {
+ return this.request('DELETE', requestUrl, null, additionalHeaders || {});
+ }
+ post(requestUrl, data, additionalHeaders) {
+ return this.request('POST', requestUrl, data, additionalHeaders || {});
+ }
+ patch(requestUrl, data, additionalHeaders) {
+ return this.request('PATCH', requestUrl, data, additionalHeaders || {});
+ }
+ put(requestUrl, data, additionalHeaders) {
+ return this.request('PUT', requestUrl, data, additionalHeaders || {});
+ }
+ head(requestUrl, additionalHeaders) {
+ return this.request('HEAD', requestUrl, null, additionalHeaders || {});
+ }
+ sendStream(verb, requestUrl, stream, additionalHeaders) {
+ return this.request(verb, requestUrl, stream, additionalHeaders);
+ }
+ /**
+ * Gets a typed object from an endpoint
+ * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise
+ */
+ async getJson(requestUrl, additionalHeaders = {}) {
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ let res = await this.get(requestUrl, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ async postJson(requestUrl, obj, additionalHeaders = {}) {
+ let data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
+ let res = await this.post(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ async putJson(requestUrl, obj, additionalHeaders = {}) {
+ let data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
+ let res = await this.put(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ async patchJson(requestUrl, obj, additionalHeaders = {}) {
+ let data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
+ let res = await this.patch(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ }
+ /**
+ * Makes a raw http request.
+ * All other methods such as get, post, patch, and request ultimately call this.
+ * Prefer get, del, post and patch
+ */
+ async request(verb, requestUrl, data, headers) {
+ if (this._disposed) {
+ throw new Error("Client has already been disposed.");
+ }
+ let parsedUrl = url.parse(requestUrl);
+ let info = this._prepareRequest(verb, parsedUrl, headers);
+ // Only perform retries on reads since writes may not be idempotent.
+ let maxTries = (this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1) ? this._maxRetries + 1 : 1;
+ let numTries = 0;
+ let response;
+ while (numTries < maxTries) {
+ response = await this.requestRaw(info, data);
+ // Check if it's an authentication challenge
+ if (response && response.message && response.message.statusCode === HttpCodes.Unauthorized) {
+ let authenticationHandler;
+ for (let i = 0; i < this.handlers.length; i++) {
+ if (this.handlers[i].canHandleAuthentication(response)) {
+ authenticationHandler = this.handlers[i];
+ break;
+ }
+ }
+ if (authenticationHandler) {
+ return authenticationHandler.handleAuthentication(this, info, data);
+ }
+ else {
+ // We have received an unauthorized response but have no handlers to handle it.
+ // Let the response return to the caller.
+ return response;
+ }
+ }
+ let redirectsRemaining = this._maxRedirects;
+ while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1
+ && this._allowRedirects
+ && redirectsRemaining > 0) {
+ const redirectUrl = response.message.headers["location"];
+ if (!redirectUrl) {
+ // if there's no location to redirect to, we won't
+ break;
+ }
+ let parsedRedirectUrl = url.parse(redirectUrl);
+ if (parsedUrl.protocol == 'https:' && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) {
+ throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");
+ }
+ // we need to finish reading the response before reassigning response
+ // which will leak the open socket.
+ await response.readBody();
+ // let's make the request with the new redirectUrl
+ info = this._prepareRequest(verb, parsedRedirectUrl, headers);
+ response = await this.requestRaw(info, data);
+ redirectsRemaining--;
+ }
+ if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {
+ // If not a retry code, return immediately instead of retrying
+ return response;
+ }
+ numTries += 1;
+ if (numTries < maxTries) {
+ await response.readBody();
+ await this._performExponentialBackoff(numTries);
+ }
+ }
+ return response;
+ }
+ /**
+ * Needs to be called if keepAlive is set to true in request options.
+ */
+ dispose() {
+ if (this._agent) {
+ this._agent.destroy();
+ }
+ this._disposed = true;
+ }
+ /**
+ * Raw request.
+ * @param info
+ * @param data
+ */
+ requestRaw(info, data) {
+ return new Promise((resolve, reject) => {
+ let callbackForResult = function (err, res) {
+ if (err) {
+ reject(err);
+ }
+ resolve(res);
+ };
+ this.requestRawWithCallback(info, data, callbackForResult);
+ });
+ }
+ /**
+ * Raw request with callback.
+ * @param info
+ * @param data
+ * @param onResult
+ */
+ requestRawWithCallback(info, data, onResult) {
+ let socket;
+ if (typeof (data) === 'string') {
+ info.options.headers["Content-Length"] = Buffer.byteLength(data, 'utf8');
+ }
+ let callbackCalled = false;
+ let handleResult = (err, res) => {
+ if (!callbackCalled) {
+ callbackCalled = true;
+ onResult(err, res);
+ }
+ };
+ let req = info.httpModule.request(info.options, (msg) => {
+ let res = new HttpClientResponse(msg);
+ handleResult(null, res);
+ });
+ req.on('socket', (sock) => {
+ socket = sock;
+ });
+ // If we ever get disconnected, we want the socket to timeout eventually
+ req.setTimeout(this._socketTimeout || 3 * 60000, () => {
+ if (socket) {
+ socket.end();
+ }
+ handleResult(new Error('Request timeout: ' + info.options.path), null);
+ });
+ req.on('error', function (err) {
+ // err has statusCode property
+ // res should have headers
+ handleResult(err, null);
+ });
+ if (data && typeof (data) === 'string') {
+ req.write(data, 'utf8');
+ }
+ if (data && typeof (data) !== 'string') {
+ data.on('close', function () {
+ req.end();
+ });
+ data.pipe(req);
+ }
+ else {
+ req.end();
+ }
+ }
+ /**
+ * Gets an http agent. This function is useful when you need an http agent that handles
+ * routing through a proxy server - depending upon the url and proxy environment variables.
+ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
+ */
+ getAgent(serverUrl) {
+ let parsedUrl = url.parse(serverUrl);
+ return this._getAgent(parsedUrl);
+ }
+ _prepareRequest(method, requestUrl, headers) {
+ const info = {};
+ info.parsedUrl = requestUrl;
+ const usingSsl = info.parsedUrl.protocol === 'https:';
+ info.httpModule = usingSsl ? https : http;
+ const defaultPort = usingSsl ? 443 : 80;
+ info.options = {};
+ info.options.host = info.parsedUrl.hostname;
+ info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;
+ info.options.path = (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');
+ info.options.method = method;
+ info.options.headers = this._mergeHeaders(headers);
+ if (this.userAgent != null) {
+ info.options.headers["user-agent"] = this.userAgent;
+ }
+ info.options.agent = this._getAgent(info.parsedUrl);
+ // gives handlers an opportunity to participate
+ if (this.handlers) {
+ this.handlers.forEach((handler) => {
+ handler.prepareRequest(info.options);
+ });
+ }
+ return info;
+ }
+ _mergeHeaders(headers) {
+ const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {});
+ if (this.requestOptions && this.requestOptions.headers) {
+ return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));
+ }
+ return lowercaseKeys(headers || {});
+ }
+ _getExistingOrDefaultHeader(additionalHeaders, header, _default) {
+ const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {});
+ let clientHeader;
+ if (this.requestOptions && this.requestOptions.headers) {
+ clientHeader = lowercaseKeys(this.requestOptions.headers)[header];
+ }
+ return additionalHeaders[header] || clientHeader || _default;
+ }
+ _getAgent(parsedUrl) {
+ let agent;
+ let proxyUrl = pm.getProxyUrl(parsedUrl);
+ let useProxy = proxyUrl && proxyUrl.hostname;
+ if (this._keepAlive && useProxy) {
+ agent = this._proxyAgent;
+ }
+ if (this._keepAlive && !useProxy) {
+ agent = this._agent;
+ }
+ // if agent is already assigned use that agent.
+ if (!!agent) {
+ return agent;
+ }
+ const usingSsl = parsedUrl.protocol === 'https:';
+ let maxSockets = 100;
+ if (!!this.requestOptions) {
+ maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;
+ }
+ if (useProxy) {
+ // If using proxy, need tunnel
+ if (!tunnel) {
+ tunnel = __webpack_require__(413);
+ }
+ const agentOptions = {
+ maxSockets: maxSockets,
+ keepAlive: this._keepAlive,
+ proxy: {
+ proxyAuth: proxyUrl.auth,
+ host: proxyUrl.hostname,
+ port: proxyUrl.port
+ },
+ };
+ let tunnelAgent;
+ const overHttps = proxyUrl.protocol === 'https:';
+ if (usingSsl) {
+ tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;
+ }
+ else {
+ tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;
+ }
+ agent = tunnelAgent(agentOptions);
+ this._proxyAgent = agent;
+ }
+ // if reusing agent across request and tunneling agent isn't assigned create a new agent
+ if (this._keepAlive && !agent) {
+ const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };
+ agent = usingSsl ? new https.Agent(options) : new http.Agent(options);
+ this._agent = agent;
+ }
+ // if not using private agent and tunnel agent isn't setup then use global agent
+ if (!agent) {
+ agent = usingSsl ? https.globalAgent : http.globalAgent;
+ }
+ if (usingSsl && this._ignoreSslError) {
+ // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process
+ // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options
+ // we have to cast it to any and change it directly
+ agent.options = Object.assign(agent.options || {}, { rejectUnauthorized: false });
+ }
+ return agent;
+ }
+ _performExponentialBackoff(retryNumber) {
+ retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);
+ const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);
+ return new Promise(resolve => setTimeout(() => resolve(), ms));
+ }
+ static dateTimeDeserializer(key, value) {
+ if (typeof value === 'string') {
+ let a = new Date(value);
+ if (!isNaN(a.valueOf())) {
+ return a;
+ }
+ }
+ return value;
+ }
+ async _processResponse(res, options) {
+ return new Promise(async (resolve, reject) => {
+ const statusCode = res.message.statusCode;
+ const response = {
+ statusCode: statusCode,
+ result: null,
+ headers: {}
+ };
+ // not found leads to null obj returned
+ if (statusCode == HttpCodes.NotFound) {
+ resolve(response);
+ }
+ let obj;
+ let contents;
+ // get the result from the body
+ try {
+ contents = await res.readBody();
+ if (contents && contents.length > 0) {
+ if (options && options.deserializeDates) {
+ obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);
+ }
+ else {
+ obj = JSON.parse(contents);
+ }
+ response.result = obj;
+ }
+ response.headers = res.message.headers;
+ }
+ catch (err) {
+ // Invalid resource (contents not json); leaving result obj null
+ }
+ // note that 3xx redirects are handled by the http layer.
+ if (statusCode > 299) {
+ let msg;
+ // if exception/error in body, attempt to get better error
+ if (obj && obj.message) {
+ msg = obj.message;
+ }
+ else if (contents && contents.length > 0) {
+ // it may be the case that the exception is in the body message as string
+ msg = contents;
+ }
+ else {
+ msg = "Failed request: (" + statusCode + ")";
+ }
+ let err = new Error(msg);
+ // attach statusCode and body obj (if available) to the error object
+ err['statusCode'] = statusCode;
+ if (response.result) {
+ err['result'] = response.result;
+ }
+ reject(err);
+ }
+ else {
+ resolve(response);
+ }
+ });
+ }
+}
+exports.HttpClient = HttpClient;
+
+
+/***/ }),
+
+/***/ 548:
+/***/ (function(module) {
+
+"use strict";
+
+
+/*!
+ * isobject
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+function isObject(val) {
+ return val != null && typeof val === 'object' && Array.isArray(val) === false;
+}
+
+/*!
+ * is-plain-object
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+function isObjectObject(o) {
+ return isObject(o) === true
+ && Object.prototype.toString.call(o) === '[object Object]';
+}
+
+function isPlainObject(o) {
+ var ctor,prot;
+
+ if (isObjectObject(o) === false) return false;
+
+ // If has modified constructor
+ ctor = o.constructor;
+ if (typeof ctor !== 'function') return false;
+
+ // If has modified prototype
+ prot = ctor.prototype;
+ if (isObjectObject(prot) === false) return false;
+
+ // If constructor does not have an Object-specific method
+ if (prot.hasOwnProperty('isPrototypeOf') === false) {
+ return false;
+ }
+
+ // Most likely a plain Object
+ return true;
+}
+
+module.exports = isPlainObject;
+
+
+/***/ }),
+
+/***/ 550:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = getNextPage
+
+const getPage = __webpack_require__(265)
+
+function getNextPage (octokit, link, headers) {
+ return getPage(octokit, link, 'next', headers)
+}
+
+
+/***/ }),
+
+/***/ 558:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = hasPreviousPage
+
+const deprecate = __webpack_require__(370)
+const getPageLinks = __webpack_require__(577)
+
+function hasPreviousPage (link) {
+ deprecate(`octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
+ return getPageLinks(link).prev
+}
+
+
+/***/ }),
+
+/***/ 562:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
+
+var osName = _interopDefault(__webpack_require__(2));
+
+function getUserAgent() {
+ try {
+ return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`;
+ } catch (error) {
+ if (/wmic os get Caption/.test(error.message)) {
+ return "Windows ";
+ }
+
+ throw error;
+ }
+}
+
+exports.getUserAgent = getUserAgent;
+//# sourceMappingURL=index.js.map
+
+
+/***/ }),
+
+/***/ 563:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = getPreviousPage
+
+const getPage = __webpack_require__(265)
+
+function getPreviousPage (octokit, link, headers) {
+ return getPage(octokit, link, 'prev', headers)
+}
+
+
+/***/ }),
+
+/***/ 568:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+
+const path = __webpack_require__(622);
+const niceTry = __webpack_require__(948);
+const resolveCommand = __webpack_require__(489);
+const escape = __webpack_require__(462);
+const readShebang = __webpack_require__(389);
+const semver = __webpack_require__(48);
+
+const isWin = process.platform === 'win32';
+const isExecutableRegExp = /\.(?:com|exe)$/i;
+const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
+
+// `options.shell` is supported in Node ^4.8.0, ^5.7.0 and >= 6.0.0
+const supportsShellOption = niceTry(() => semver.satisfies(process.version, '^4.8.0 || ^5.7.0 || >= 6.0.0', true)) || false;
+
+function detectShebang(parsed) {
+ parsed.file = resolveCommand(parsed);
+
+ const shebang = parsed.file && readShebang(parsed.file);
+
+ if (shebang) {
+ parsed.args.unshift(parsed.file);
+ parsed.command = shebang;
+
+ return resolveCommand(parsed);
+ }
+
+ return parsed.file;
+}
+
+function parseNonShell(parsed) {
+ if (!isWin) {
+ return parsed;
+ }
+
+ // Detect & add support for shebangs
+ const commandFile = detectShebang(parsed);
+
+ // We don't need a shell if the command filename is an executable
+ const needsShell = !isExecutableRegExp.test(commandFile);
+
+ // If a shell is required, use cmd.exe and take care of escaping everything correctly
+ // Note that `forceShell` is an hidden option used only in tests
+ if (parsed.options.forceShell || needsShell) {
+ // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`
+ // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument
+ // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,
+ // we need to double escape them
+ const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
+
+ // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\bar)
+ // This is necessary otherwise it will always fail with ENOENT in those cases
+ parsed.command = path.normalize(parsed.command);
+
+ // Escape command & arguments
+ parsed.command = escape.command(parsed.command);
+ parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
+
+ const shellCommand = [parsed.command].concat(parsed.args).join(' ');
+
+ parsed.args = ['/d', '/s', '/c', `"${shellCommand}"`];
+ parsed.command = process.env.comspec || 'cmd.exe';
+ parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped
+ }
+
+ return parsed;
+}
+
+function parseShell(parsed) {
+ // If node supports the shell option, there's no need to mimic its behavior
+ if (supportsShellOption) {
+ return parsed;
+ }
+
+ // Mimic node shell option
+ // See https://github.com/nodejs/node/blob/b9f6a2dc059a1062776133f3d4fd848c4da7d150/lib/child_process.js#L335
+ const shellCommand = [parsed.command].concat(parsed.args).join(' ');
+
+ if (isWin) {
+ parsed.command = typeof parsed.options.shell === 'string' ? parsed.options.shell : process.env.comspec || 'cmd.exe';
+ parsed.args = ['/d', '/s', '/c', `"${shellCommand}"`];
+ parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped
+ } else {
+ if (typeof parsed.options.shell === 'string') {
+ parsed.command = parsed.options.shell;
+ } else if (process.platform === 'android') {
+ parsed.command = '/system/bin/sh';
+ } else {
+ parsed.command = '/bin/sh';
+ }
+
+ parsed.args = ['-c', shellCommand];
+ }
+
+ return parsed;
+}
+
+function parse(command, args, options) {
+ // Normalize arguments, similar to nodejs
+ if (args && !Array.isArray(args)) {
+ options = args;
+ args = null;
+ }
+
+ args = args ? args.slice(0) : []; // Clone array to avoid changing the original
+ options = Object.assign({}, options); // Clone object to avoid changing the original
+
+ // Build our parsed object
+ const parsed = {
+ command,
+ args,
+ options,
+ file: undefined,
+ original: {
+ command,
+ args,
+ },
+ };
+
+ // Delegate further parsing to shell or non-shell
+ return options.shell ? parseShell(parsed) : parseNonShell(parsed);
+}
+
+module.exports = parse;
+
+
+/***/ }),
+
+/***/ 577:
+/***/ (function(module) {
+
+module.exports = getPageLinks
+
+function getPageLinks (link) {
+ link = link.link || link.headers.link || ''
+
+ const links = {}
+
+ // link format:
+ // '; rel="next", ; rel="last"'
+ link.replace(/<([^>]*)>;\s*rel="([\w]*)"/g, (m, uri, type) => {
+ links[type] = uri
+ })
+
+ return links
+}
+
+
+/***/ }),
+
+/***/ 586:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = octokitRestApiEndpoints;
+
+const ROUTES = __webpack_require__(705);
+
+function octokitRestApiEndpoints(octokit) {
+ // Aliasing scopes for backward compatibility
+ // See https://github.com/octokit/rest.js/pull/1134
+ ROUTES.gitdata = ROUTES.git;
+ ROUTES.authorization = ROUTES.oauthAuthorizations;
+ ROUTES.pullRequests = ROUTES.pulls;
+
+ octokit.registerEndpoints(ROUTES);
+}
+
+
+/***/ }),
+
+/***/ 605:
+/***/ (function(module) {
+
+module.exports = require("http");
+
+/***/ }),
+
+/***/ 613:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+const Octokit = __webpack_require__(529);
+
+const CORE_PLUGINS = [
+ __webpack_require__(190),
+ __webpack_require__(19), // deprecated: remove in v17
+ __webpack_require__(372),
+ __webpack_require__(148),
+ __webpack_require__(248),
+ __webpack_require__(586),
+ __webpack_require__(430),
+
+ __webpack_require__(850) // deprecated: remove in v17
+];
+
+module.exports = Octokit.plugin(CORE_PLUGINS);
+
+
+/***/ }),
+
+/***/ 614:
+/***/ (function(module) {
+
+module.exports = require("events");
+
+/***/ }),
+
+/***/ 619:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
+
+var osName = _interopDefault(__webpack_require__(2));
+
+function getUserAgent() {
+ try {
+ return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`;
+ } catch (error) {
+ if (/wmic os get Caption/.test(error.message)) {
+ return "Windows ";
+ }
+
+ throw error;
+ }
+}
+
+exports.getUserAgent = getUserAgent;
+//# sourceMappingURL=index.js.map
+
+
+/***/ }),
+
+/***/ 621:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+const path = __webpack_require__(622);
+const pathKey = __webpack_require__(39);
+
+module.exports = opts => {
+ opts = Object.assign({
+ cwd: process.cwd(),
+ path: process.env[pathKey()]
+ }, opts);
+
+ let prev;
+ let pth = path.resolve(opts.cwd);
+ const ret = [];
+
+ while (prev !== pth) {
+ ret.push(path.join(pth, 'node_modules/.bin'));
+ prev = pth;
+ pth = path.resolve(pth, '..');
+ }
+
+ // ensure the running `node` binary is used
+ ret.push(path.dirname(process.execPath));
+
+ return ret.concat(opts.path).join(path.delimiter);
+};
+
+module.exports.env = opts => {
+ opts = Object.assign({
+ env: process.env
+ }, opts);
+
+ const env = Object.assign({}, opts.env);
+ const path = pathKey({env});
+
+ opts.path = env[path];
+ env[path] = module.exports(opts);
+
+ return env;
+};
+
+
+/***/ }),
+
+/***/ 622:
+/***/ (function(module) {
+
+module.exports = require("path");
+
+/***/ }),
+
+/***/ 626:
+/***/ (function(module) {
+
+"use strict";
+
+
+/*!
+ * isobject
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+function isObject(val) {
+ return val != null && typeof val === 'object' && Array.isArray(val) === false;
+}
+
+/*!
+ * is-plain-object
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+function isObjectObject(o) {
+ return isObject(o) === true
+ && Object.prototype.toString.call(o) === '[object Object]';
+}
+
+function isPlainObject(o) {
+ var ctor,prot;
+
+ if (isObjectObject(o) === false) return false;
+
+ // If has modified constructor
+ ctor = o.constructor;
+ if (typeof ctor !== 'function') return false;
+
+ // If has modified prototype
+ prot = ctor.prototype;
+ if (isObjectObject(prot) === false) return false;
+
+ // If constructor does not have an Object-specific method
+ if (prot.hasOwnProperty('isPrototypeOf') === false) {
+ return false;
+ }
+
+ // Most likely a plain Object
+ return true;
+}
+
+module.exports = isPlainObject;
+
+
+/***/ }),
+
+/***/ 631:
+/***/ (function(module) {
+
+module.exports = require("net");
+
+/***/ }),
+
+/***/ 649:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = getLastPage
+
+const getPage = __webpack_require__(265)
+
+function getLastPage (octokit, link, headers) {
+ return getPage(octokit, link, 'last', headers)
+}
+
+
+/***/ }),
+
+/***/ 654:
+/***/ (function(module) {
+
+// This is not the set of all possible signals.
+//
+// It IS, however, the set of all signals that trigger
+// an exit on either Linux or BSD systems. Linux is a
+// superset of the signal names supported on BSD, and
+// the unknown signals just fail to register, so we can
+// catch that easily enough.
+//
+// Don't bother with SIGKILL. It's uncatchable, which
+// means that we can't fire any callbacks anyway.
+//
+// If a user does happen to register a handler on a non-
+// fatal signal like SIGWINCH or something, and then
+// exit, it'll end up firing `process.emit('exit')`, so
+// the handler will be fired anyway.
+//
+// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised
+// artificially, inherently leave the process in a
+// state from which it is not safe to try and enter JS
+// listeners.
+module.exports = [
+ 'SIGABRT',
+ 'SIGALRM',
+ 'SIGHUP',
+ 'SIGINT',
+ 'SIGTERM'
+]
+
+if (process.platform !== 'win32') {
+ module.exports.push(
+ 'SIGVTALRM',
+ 'SIGXCPU',
+ 'SIGXFSZ',
+ 'SIGUSR2',
+ 'SIGTRAP',
+ 'SIGSYS',
+ 'SIGQUIT',
+ 'SIGIOT'
+ // should detect profiler and enable/disable accordingly.
+ // see #21
+ // 'SIGPROF'
+ )
+}
+
+if (process.platform === 'linux') {
+ module.exports.push(
+ 'SIGIO',
+ 'SIGPOLL',
+ 'SIGPWR',
+ 'SIGSTKFLT',
+ 'SIGUNUSED'
+ )
+}
+
+
+/***/ }),
+
+/***/ 669:
+/***/ (function(module) {
+
+module.exports = require("util");
+
+/***/ }),
+
+/***/ 672:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var _a;
+Object.defineProperty(exports, "__esModule", { value: true });
+const assert_1 = __webpack_require__(357);
+const fs = __webpack_require__(747);
+const path = __webpack_require__(622);
+_a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink;
+exports.IS_WINDOWS = process.platform === 'win32';
+function exists(fsPath) {
+ return __awaiter(this, void 0, void 0, function* () {
+ try {
+ yield exports.stat(fsPath);
+ }
+ catch (err) {
+ if (err.code === 'ENOENT') {
+ return false;
+ }
+ throw err;
+ }
+ return true;
+ });
+}
+exports.exists = exists;
+function isDirectory(fsPath, useStat = false) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath);
+ return stats.isDirectory();
+ });
+}
+exports.isDirectory = isDirectory;
+/**
+ * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:
+ * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases).
+ */
+function isRooted(p) {
+ p = normalizeSeparators(p);
+ if (!p) {
+ throw new Error('isRooted() parameter "p" cannot be empty');
+ }
+ if (exports.IS_WINDOWS) {
+ return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello
+ ); // e.g. C: or C:\hello
+ }
+ return p.startsWith('/');
+}
+exports.isRooted = isRooted;
+/**
+ * Recursively create a directory at `fsPath`.
+ *
+ * This implementation is optimistic, meaning it attempts to create the full
+ * path first, and backs up the path stack from there.
+ *
+ * @param fsPath The path to create
+ * @param maxDepth The maximum recursion depth
+ * @param depth The current recursion depth
+ */
+function mkdirP(fsPath, maxDepth = 1000, depth = 1) {
+ return __awaiter(this, void 0, void 0, function* () {
+ assert_1.ok(fsPath, 'a path argument must be provided');
+ fsPath = path.resolve(fsPath);
+ if (depth >= maxDepth)
+ return exports.mkdir(fsPath);
+ try {
+ yield exports.mkdir(fsPath);
+ return;
+ }
+ catch (err) {
+ switch (err.code) {
+ case 'ENOENT': {
+ yield mkdirP(path.dirname(fsPath), maxDepth, depth + 1);
+ yield exports.mkdir(fsPath);
+ return;
+ }
+ default: {
+ let stats;
+ try {
+ stats = yield exports.stat(fsPath);
+ }
+ catch (err2) {
+ throw err;
+ }
+ if (!stats.isDirectory())
+ throw err;
+ }
+ }
+ }
+ });
+}
+exports.mkdirP = mkdirP;
+/**
+ * Best effort attempt to determine whether a file exists and is executable.
+ * @param filePath file path to check
+ * @param extensions additional file extensions to try
+ * @return if file exists and is executable, returns the file path. otherwise empty string.
+ */
+function tryGetExecutablePath(filePath, extensions) {
+ return __awaiter(this, void 0, void 0, function* () {
+ let stats = undefined;
+ try {
+ // test file exists
+ stats = yield exports.stat(filePath);
+ }
+ catch (err) {
+ if (err.code !== 'ENOENT') {
+ // eslint-disable-next-line no-console
+ console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);
+ }
+ }
+ if (stats && stats.isFile()) {
+ if (exports.IS_WINDOWS) {
+ // on Windows, test for valid extension
+ const upperExt = path.extname(filePath).toUpperCase();
+ if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) {
+ return filePath;
+ }
+ }
+ else {
+ if (isUnixExecutable(stats)) {
+ return filePath;
+ }
+ }
+ }
+ // try each extension
+ const originalFilePath = filePath;
+ for (const extension of extensions) {
+ filePath = originalFilePath + extension;
+ stats = undefined;
+ try {
+ stats = yield exports.stat(filePath);
+ }
+ catch (err) {
+ if (err.code !== 'ENOENT') {
+ // eslint-disable-next-line no-console
+ console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);
+ }
+ }
+ if (stats && stats.isFile()) {
+ if (exports.IS_WINDOWS) {
+ // preserve the case of the actual file (since an extension was appended)
+ try {
+ const directory = path.dirname(filePath);
+ const upperName = path.basename(filePath).toUpperCase();
+ for (const actualName of yield exports.readdir(directory)) {
+ if (upperName === actualName.toUpperCase()) {
+ filePath = path.join(directory, actualName);
+ break;
+ }
+ }
+ }
+ catch (err) {
+ // eslint-disable-next-line no-console
+ console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);
+ }
+ return filePath;
+ }
+ else {
+ if (isUnixExecutable(stats)) {
+ return filePath;
+ }
+ }
+ }
+ }
+ return '';
+ });
+}
+exports.tryGetExecutablePath = tryGetExecutablePath;
+function normalizeSeparators(p) {
+ p = p || '';
+ if (exports.IS_WINDOWS) {
+ // convert slashes on Windows
+ p = p.replace(/\//g, '\\');
+ // remove redundant slashes
+ return p.replace(/\\\\+/g, '\\');
+ }
+ // remove redundant slashes
+ return p.replace(/\/\/+/g, '/');
+}
+// on Mac/Linux, test the execute bit
+// R W X R W X R W X
+// 256 128 64 32 16 8 4 2 1
+function isUnixExecutable(stats) {
+ return ((stats.mode & 1) > 0 ||
+ ((stats.mode & 8) > 0 && stats.gid === process.getgid()) ||
+ ((stats.mode & 64) > 0 && stats.uid === process.getuid()));
+}
+//# sourceMappingURL=io-util.js.map
+
+/***/ }),
+
+/***/ 674:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = authenticate;
+
+const { Deprecation } = __webpack_require__(692);
+const once = __webpack_require__(969);
+
+const deprecateAuthenticate = once((log, deprecation) => log.warn(deprecation));
+
+function authenticate(state, options) {
+ deprecateAuthenticate(
+ state.octokit.log,
+ new Deprecation(
+ '[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.'
+ )
+ );
+
+ if (!options) {
+ state.auth = false;
+ return;
+ }
+
+ switch (options.type) {
+ case "basic":
+ if (!options.username || !options.password) {
+ throw new Error(
+ "Basic authentication requires both a username and password to be set"
+ );
+ }
+ break;
+
+ case "oauth":
+ if (!options.token && !(options.key && options.secret)) {
+ throw new Error(
+ "OAuth2 authentication requires a token or key & secret to be set"
+ );
+ }
+ break;
+
+ case "token":
+ case "app":
+ if (!options.token) {
+ throw new Error("Token authentication requires a token to be set");
+ }
+ break;
+
+ default:
+ throw new Error(
+ "Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'"
+ );
+ }
+
+ state.auth = options;
+}
+
+
+/***/ }),
+
+/***/ 675:
+/***/ (function(module) {
+
+module.exports = function btoa(str) {
+ return new Buffer(str).toString('base64')
+}
+
+
+/***/ }),
+
+/***/ 692:
+/***/ (function(__unusedmodule, exports) {
+
+"use strict";
+
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+class Deprecation extends Error {
+ constructor(message) {
+ super(message); // Maintains proper stack trace (only available on V8)
+
+ /* istanbul ignore next */
+
+ if (Error.captureStackTrace) {
+ Error.captureStackTrace(this, this.constructor);
+ }
+
+ this.name = 'Deprecation';
+ }
+
+}
+
+exports.Deprecation = Deprecation;
+
+
+/***/ }),
+
+/***/ 697:
+/***/ (function(module) {
+
+"use strict";
+
+module.exports = (promise, onFinally) => {
+ onFinally = onFinally || (() => {});
+
+ return promise.then(
+ val => new Promise(resolve => {
+ resolve(onFinally());
+ }).then(() => val),
+ err => new Promise(resolve => {
+ resolve(onFinally());
+ }).then(() => {
+ throw err;
+ })
+ );
+};
+
+
+/***/ }),
+
+/***/ 705:
+/***/ (function(module) {
+
+module.exports = {"activity":{"checkStarringRepo":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/user/starred/:owner/:repo"},"deleteRepoSubscription":{"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/subscription"},"deleteThreadSubscription":{"method":"DELETE","params":{"thread_id":{"required":true,"type":"integer"}},"url":"/notifications/threads/:thread_id/subscription"},"getRepoSubscription":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/subscription"},"getThread":{"method":"GET","params":{"thread_id":{"required":true,"type":"integer"}},"url":"/notifications/threads/:thread_id"},"getThreadSubscription":{"method":"GET","params":{"thread_id":{"required":true,"type":"integer"}},"url":"/notifications/threads/:thread_id/subscription"},"listEventsForOrg":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/events/orgs/:org"},"listEventsForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/events"},"listFeeds":{"method":"GET","params":{},"url":"/feeds"},"listNotifications":{"method":"GET","params":{"all":{"type":"boolean"},"before":{"type":"string"},"page":{"type":"integer"},"participating":{"type":"boolean"},"per_page":{"type":"integer"},"since":{"type":"string"}},"url":"/notifications"},"listNotificationsForRepo":{"method":"GET","params":{"all":{"type":"boolean"},"before":{"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"participating":{"type":"boolean"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"since":{"type":"string"}},"url":"/repos/:owner/:repo/notifications"},"listPublicEvents":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/events"},"listPublicEventsForOrg":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/events"},"listPublicEventsForRepoNetwork":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/networks/:owner/:repo/events"},"listPublicEventsForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/events/public"},"listReceivedEventsForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/received_events"},"listReceivedPublicEventsForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/received_events/public"},"listRepoEvents":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/events"},"listReposStarredByAuthenticatedUser":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"sort":{"enum":["created","updated"],"type":"string"}},"url":"/user/starred"},"listReposStarredByUser":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"sort":{"enum":["created","updated"],"type":"string"},"username":{"required":true,"type":"string"}},"url":"/users/:username/starred"},"listReposWatchedByUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/subscriptions"},"listStargazersForRepo":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/stargazers"},"listWatchedReposForAuthenticatedUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/subscriptions"},"listWatchersForRepo":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/subscribers"},"markAsRead":{"method":"PUT","params":{"last_read_at":{"type":"string"}},"url":"/notifications"},"markNotificationsAsReadForRepo":{"method":"PUT","params":{"last_read_at":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/notifications"},"markThreadAsRead":{"method":"PATCH","params":{"thread_id":{"required":true,"type":"integer"}},"url":"/notifications/threads/:thread_id"},"setRepoSubscription":{"method":"PUT","params":{"ignored":{"type":"boolean"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"subscribed":{"type":"boolean"}},"url":"/repos/:owner/:repo/subscription"},"setThreadSubscription":{"method":"PUT","params":{"ignored":{"type":"boolean"},"thread_id":{"required":true,"type":"integer"}},"url":"/notifications/threads/:thread_id/subscription"},"starRepo":{"method":"PUT","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/user/starred/:owner/:repo"},"unstarRepo":{"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/user/starred/:owner/:repo"}},"apps":{"addRepoToInstallation":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"PUT","params":{"installation_id":{"required":true,"type":"integer"},"repository_id":{"required":true,"type":"integer"}},"url":"/user/installations/:installation_id/repositories/:repository_id"},"checkAccountIsAssociatedWithAny":{"method":"GET","params":{"account_id":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/marketplace_listing/accounts/:account_id"},"checkAccountIsAssociatedWithAnyStubbed":{"method":"GET","params":{"account_id":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/marketplace_listing/stubbed/accounts/:account_id"},"checkAuthorization":{"deprecated":"octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)","method":"GET","params":{"access_token":{"required":true,"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/tokens/:access_token"},"checkToken":{"headers":{"accept":"application/vnd.github.doctor-strange-preview+json"},"method":"POST","params":{"access_token":{"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/token"},"createContentAttachment":{"headers":{"accept":"application/vnd.github.corsair-preview+json"},"method":"POST","params":{"body":{"required":true,"type":"string"},"content_reference_id":{"required":true,"type":"integer"},"title":{"required":true,"type":"string"}},"url":"/content_references/:content_reference_id/attachments"},"createFromManifest":{"headers":{"accept":"application/vnd.github.fury-preview+json"},"method":"POST","params":{"code":{"required":true,"type":"string"}},"url":"/app-manifests/:code/conversions"},"createInstallationToken":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"POST","params":{"installation_id":{"required":true,"type":"integer"},"permissions":{"type":"object"},"repository_ids":{"type":"integer[]"}},"url":"/app/installations/:installation_id/access_tokens"},"deleteAuthorization":{"headers":{"accept":"application/vnd.github.doctor-strange-preview+json"},"method":"DELETE","params":{"access_token":{"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/grant"},"deleteInstallation":{"headers":{"accept":"application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json"},"method":"DELETE","params":{"installation_id":{"required":true,"type":"integer"}},"url":"/app/installations/:installation_id"},"deleteToken":{"headers":{"accept":"application/vnd.github.doctor-strange-preview+json"},"method":"DELETE","params":{"access_token":{"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/token"},"findOrgInstallation":{"deprecated":"octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)","headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"org":{"required":true,"type":"string"}},"url":"/orgs/:org/installation"},"findRepoInstallation":{"deprecated":"octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)","headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/installation"},"findUserInstallation":{"deprecated":"octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)","headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"username":{"required":true,"type":"string"}},"url":"/users/:username/installation"},"getAuthenticated":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{},"url":"/app"},"getBySlug":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"app_slug":{"required":true,"type":"string"}},"url":"/apps/:app_slug"},"getInstallation":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"installation_id":{"required":true,"type":"integer"}},"url":"/app/installations/:installation_id"},"getOrgInstallation":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"org":{"required":true,"type":"string"}},"url":"/orgs/:org/installation"},"getRepoInstallation":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/installation"},"getUserInstallation":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"username":{"required":true,"type":"string"}},"url":"/users/:username/installation"},"listAccountsUserOrOrgOnPlan":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"plan_id":{"required":true,"type":"integer"},"sort":{"enum":["created","updated"],"type":"string"}},"url":"/marketplace_listing/plans/:plan_id/accounts"},"listAccountsUserOrOrgOnPlanStubbed":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"plan_id":{"required":true,"type":"integer"},"sort":{"enum":["created","updated"],"type":"string"}},"url":"/marketplace_listing/stubbed/plans/:plan_id/accounts"},"listInstallationReposForAuthenticatedUser":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"installation_id":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/installations/:installation_id/repositories"},"listInstallations":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/app/installations"},"listInstallationsForAuthenticatedUser":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/installations"},"listMarketplacePurchasesForAuthenticatedUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/marketplace_purchases"},"listMarketplacePurchasesForAuthenticatedUserStubbed":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/marketplace_purchases/stubbed"},"listPlans":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/marketplace_listing/plans"},"listPlansStubbed":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/marketplace_listing/stubbed/plans"},"listRepos":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/installation/repositories"},"removeRepoFromInstallation":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"DELETE","params":{"installation_id":{"required":true,"type":"integer"},"repository_id":{"required":true,"type":"integer"}},"url":"/user/installations/:installation_id/repositories/:repository_id"},"resetAuthorization":{"deprecated":"octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)","method":"POST","params":{"access_token":{"required":true,"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/tokens/:access_token"},"resetToken":{"headers":{"accept":"application/vnd.github.doctor-strange-preview+json"},"method":"PATCH","params":{"access_token":{"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/token"},"revokeAuthorizationForApplication":{"deprecated":"octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)","method":"DELETE","params":{"access_token":{"required":true,"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/tokens/:access_token"},"revokeGrantForApplication":{"deprecated":"octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)","method":"DELETE","params":{"access_token":{"required":true,"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/grants/:access_token"},"revokeInstallationToken":{"headers":{"accept":"application/vnd.github.gambit-preview+json"},"method":"DELETE","params":{},"url":"/installation/token"}},"checks":{"create":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"POST","params":{"actions":{"type":"object[]"},"actions[].description":{"required":true,"type":"string"},"actions[].identifier":{"required":true,"type":"string"},"actions[].label":{"required":true,"type":"string"},"completed_at":{"type":"string"},"conclusion":{"enum":["success","failure","neutral","cancelled","timed_out","action_required"],"type":"string"},"details_url":{"type":"string"},"external_id":{"type":"string"},"head_sha":{"required":true,"type":"string"},"name":{"required":true,"type":"string"},"output":{"type":"object"},"output.annotations":{"type":"object[]"},"output.annotations[].annotation_level":{"enum":["notice","warning","failure"],"required":true,"type":"string"},"output.annotations[].end_column":{"type":"integer"},"output.annotations[].end_line":{"required":true,"type":"integer"},"output.annotations[].message":{"required":true,"type":"string"},"output.annotations[].path":{"required":true,"type":"string"},"output.annotations[].raw_details":{"type":"string"},"output.annotations[].start_column":{"type":"integer"},"output.annotations[].start_line":{"required":true,"type":"integer"},"output.annotations[].title":{"type":"string"},"output.images":{"type":"object[]"},"output.images[].alt":{"required":true,"type":"string"},"output.images[].caption":{"type":"string"},"output.images[].image_url":{"required":true,"type":"string"},"output.summary":{"required":true,"type":"string"},"output.text":{"type":"string"},"output.title":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"started_at":{"type":"string"},"status":{"enum":["queued","in_progress","completed"],"type":"string"}},"url":"/repos/:owner/:repo/check-runs"},"createSuite":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"POST","params":{"head_sha":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/check-suites"},"get":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"GET","params":{"check_run_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/check-runs/:check_run_id"},"getSuite":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"GET","params":{"check_suite_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/check-suites/:check_suite_id"},"listAnnotations":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"GET","params":{"check_run_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/check-runs/:check_run_id/annotations"},"listForRef":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"GET","params":{"check_name":{"type":"string"},"filter":{"enum":["latest","all"],"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"status":{"enum":["queued","in_progress","completed"],"type":"string"}},"url":"/repos/:owner/:repo/commits/:ref/check-runs"},"listForSuite":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"GET","params":{"check_name":{"type":"string"},"check_suite_id":{"required":true,"type":"integer"},"filter":{"enum":["latest","all"],"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"status":{"enum":["queued","in_progress","completed"],"type":"string"}},"url":"/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"},"listSuitesForRef":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"GET","params":{"app_id":{"type":"integer"},"check_name":{"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/commits/:ref/check-suites"},"rerequestSuite":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"POST","params":{"check_suite_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/check-suites/:check_suite_id/rerequest"},"setSuitesPreferences":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"PATCH","params":{"auto_trigger_checks":{"type":"object[]"},"auto_trigger_checks[].app_id":{"required":true,"type":"integer"},"auto_trigger_checks[].setting":{"required":true,"type":"boolean"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/check-suites/preferences"},"update":{"headers":{"accept":"application/vnd.github.antiope-preview+json"},"method":"PATCH","params":{"actions":{"type":"object[]"},"actions[].description":{"required":true,"type":"string"},"actions[].identifier":{"required":true,"type":"string"},"actions[].label":{"required":true,"type":"string"},"check_run_id":{"required":true,"type":"integer"},"completed_at":{"type":"string"},"conclusion":{"enum":["success","failure","neutral","cancelled","timed_out","action_required"],"type":"string"},"details_url":{"type":"string"},"external_id":{"type":"string"},"name":{"type":"string"},"output":{"type":"object"},"output.annotations":{"type":"object[]"},"output.annotations[].annotation_level":{"enum":["notice","warning","failure"],"required":true,"type":"string"},"output.annotations[].end_column":{"type":"integer"},"output.annotations[].end_line":{"required":true,"type":"integer"},"output.annotations[].message":{"required":true,"type":"string"},"output.annotations[].path":{"required":true,"type":"string"},"output.annotations[].raw_details":{"type":"string"},"output.annotations[].start_column":{"type":"integer"},"output.annotations[].start_line":{"required":true,"type":"integer"},"output.annotations[].title":{"type":"string"},"output.images":{"type":"object[]"},"output.images[].alt":{"required":true,"type":"string"},"output.images[].caption":{"type":"string"},"output.images[].image_url":{"required":true,"type":"string"},"output.summary":{"required":true,"type":"string"},"output.text":{"type":"string"},"output.title":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"started_at":{"type":"string"},"status":{"enum":["queued","in_progress","completed"],"type":"string"}},"url":"/repos/:owner/:repo/check-runs/:check_run_id"}},"codesOfConduct":{"getConductCode":{"headers":{"accept":"application/vnd.github.scarlet-witch-preview+json"},"method":"GET","params":{"key":{"required":true,"type":"string"}},"url":"/codes_of_conduct/:key"},"getForRepo":{"headers":{"accept":"application/vnd.github.scarlet-witch-preview+json"},"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/community/code_of_conduct"},"listConductCodes":{"headers":{"accept":"application/vnd.github.scarlet-witch-preview+json"},"method":"GET","params":{},"url":"/codes_of_conduct"}},"emojis":{"get":{"method":"GET","params":{},"url":"/emojis"}},"gists":{"checkIsStarred":{"method":"GET","params":{"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id/star"},"create":{"method":"POST","params":{"description":{"type":"string"},"files":{"required":true,"type":"object"},"files.content":{"type":"string"},"public":{"type":"boolean"}},"url":"/gists"},"createComment":{"method":"POST","params":{"body":{"required":true,"type":"string"},"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id/comments"},"delete":{"method":"DELETE","params":{"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id"},"deleteComment":{"method":"DELETE","params":{"comment_id":{"required":true,"type":"integer"},"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id/comments/:comment_id"},"fork":{"method":"POST","params":{"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id/forks"},"get":{"method":"GET","params":{"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id"},"getComment":{"method":"GET","params":{"comment_id":{"required":true,"type":"integer"},"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id/comments/:comment_id"},"getRevision":{"method":"GET","params":{"gist_id":{"required":true,"type":"string"},"sha":{"required":true,"type":"string"}},"url":"/gists/:gist_id/:sha"},"list":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"}},"url":"/gists"},"listComments":{"method":"GET","params":{"gist_id":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/gists/:gist_id/comments"},"listCommits":{"method":"GET","params":{"gist_id":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/gists/:gist_id/commits"},"listForks":{"method":"GET","params":{"gist_id":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/gists/:gist_id/forks"},"listPublic":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"}},"url":"/gists/public"},"listPublicForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"},"username":{"required":true,"type":"string"}},"url":"/users/:username/gists"},"listStarred":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"}},"url":"/gists/starred"},"star":{"method":"PUT","params":{"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id/star"},"unstar":{"method":"DELETE","params":{"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id/star"},"update":{"method":"PATCH","params":{"description":{"type":"string"},"files":{"type":"object"},"files.content":{"type":"string"},"files.filename":{"type":"string"},"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id"},"updateComment":{"method":"PATCH","params":{"body":{"required":true,"type":"string"},"comment_id":{"required":true,"type":"integer"},"gist_id":{"required":true,"type":"string"}},"url":"/gists/:gist_id/comments/:comment_id"}},"git":{"createBlob":{"method":"POST","params":{"content":{"required":true,"type":"string"},"encoding":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/blobs"},"createCommit":{"method":"POST","params":{"author":{"type":"object"},"author.date":{"type":"string"},"author.email":{"type":"string"},"author.name":{"type":"string"},"committer":{"type":"object"},"committer.date":{"type":"string"},"committer.email":{"type":"string"},"committer.name":{"type":"string"},"message":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"parents":{"required":true,"type":"string[]"},"repo":{"required":true,"type":"string"},"signature":{"type":"string"},"tree":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/commits"},"createRef":{"method":"POST","params":{"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/refs"},"createTag":{"method":"POST","params":{"message":{"required":true,"type":"string"},"object":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"tag":{"required":true,"type":"string"},"tagger":{"type":"object"},"tagger.date":{"type":"string"},"tagger.email":{"type":"string"},"tagger.name":{"type":"string"},"type":{"enum":["commit","tree","blob"],"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/tags"},"createTree":{"method":"POST","params":{"base_tree":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"tree":{"required":true,"type":"object[]"},"tree[].content":{"type":"string"},"tree[].mode":{"enum":["100644","100755","040000","160000","120000"],"type":"string"},"tree[].path":{"type":"string"},"tree[].sha":{"allowNull":true,"type":"string"},"tree[].type":{"enum":["blob","tree","commit"],"type":"string"}},"url":"/repos/:owner/:repo/git/trees"},"deleteRef":{"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/refs/:ref"},"getBlob":{"method":"GET","params":{"file_sha":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/blobs/:file_sha"},"getCommit":{"method":"GET","params":{"commit_sha":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/commits/:commit_sha"},"getRef":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/ref/:ref"},"getTag":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"tag_sha":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/tags/:tag_sha"},"getTree":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"recursive":{"enum":["1"],"type":"integer"},"repo":{"required":true,"type":"string"},"tree_sha":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/trees/:tree_sha"},"listMatchingRefs":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/matching-refs/:ref"},"listRefs":{"method":"GET","params":{"namespace":{"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/refs/:namespace"},"updateRef":{"method":"PATCH","params":{"force":{"type":"boolean"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/git/refs/:ref"}},"gitignore":{"getTemplate":{"method":"GET","params":{"name":{"required":true,"type":"string"}},"url":"/gitignore/templates/:name"},"listTemplates":{"method":"GET","params":{},"url":"/gitignore/templates"}},"interactions":{"addOrUpdateRestrictionsForOrg":{"headers":{"accept":"application/vnd.github.sombra-preview+json"},"method":"PUT","params":{"limit":{"enum":["existing_users","contributors_only","collaborators_only"],"required":true,"type":"string"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/interaction-limits"},"addOrUpdateRestrictionsForRepo":{"headers":{"accept":"application/vnd.github.sombra-preview+json"},"method":"PUT","params":{"limit":{"enum":["existing_users","contributors_only","collaborators_only"],"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/interaction-limits"},"getRestrictionsForOrg":{"headers":{"accept":"application/vnd.github.sombra-preview+json"},"method":"GET","params":{"org":{"required":true,"type":"string"}},"url":"/orgs/:org/interaction-limits"},"getRestrictionsForRepo":{"headers":{"accept":"application/vnd.github.sombra-preview+json"},"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/interaction-limits"},"removeRestrictionsForOrg":{"headers":{"accept":"application/vnd.github.sombra-preview+json"},"method":"DELETE","params":{"org":{"required":true,"type":"string"}},"url":"/orgs/:org/interaction-limits"},"removeRestrictionsForRepo":{"headers":{"accept":"application/vnd.github.sombra-preview+json"},"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/interaction-limits"}},"issues":{"addAssignees":{"method":"POST","params":{"assignees":{"type":"string[]"},"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/assignees"},"addLabels":{"method":"POST","params":{"issue_number":{"required":true,"type":"integer"},"labels":{"required":true,"type":"string[]"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/labels"},"checkAssignee":{"method":"GET","params":{"assignee":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/assignees/:assignee"},"create":{"method":"POST","params":{"assignee":{"type":"string"},"assignees":{"type":"string[]"},"body":{"type":"string"},"labels":{"type":"string[]"},"milestone":{"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"title":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues"},"createComment":{"method":"POST","params":{"body":{"required":true,"type":"string"},"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/comments"},"createLabel":{"method":"POST","params":{"color":{"required":true,"type":"string"},"description":{"type":"string"},"name":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/labels"},"createMilestone":{"method":"POST","params":{"description":{"type":"string"},"due_on":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"state":{"enum":["open","closed"],"type":"string"},"title":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/milestones"},"deleteComment":{"method":"DELETE","params":{"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/comments/:comment_id"},"deleteLabel":{"method":"DELETE","params":{"name":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/labels/:name"},"deleteMilestone":{"method":"DELETE","params":{"milestone_number":{"required":true,"type":"integer"},"number":{"alias":"milestone_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/milestones/:milestone_number"},"get":{"method":"GET","params":{"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number"},"getComment":{"method":"GET","params":{"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/comments/:comment_id"},"getEvent":{"method":"GET","params":{"event_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/events/:event_id"},"getLabel":{"method":"GET","params":{"name":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/labels/:name"},"getMilestone":{"method":"GET","params":{"milestone_number":{"required":true,"type":"integer"},"number":{"alias":"milestone_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/milestones/:milestone_number"},"list":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"filter":{"enum":["assigned","created","mentioned","subscribed","all"],"type":"string"},"labels":{"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"},"sort":{"enum":["created","updated","comments"],"type":"string"},"state":{"enum":["open","closed","all"],"type":"string"}},"url":"/issues"},"listAssignees":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/assignees"},"listComments":{"method":"GET","params":{"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"since":{"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/comments"},"listCommentsForRepo":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"since":{"type":"string"},"sort":{"enum":["created","updated"],"type":"string"}},"url":"/repos/:owner/:repo/issues/comments"},"listEvents":{"method":"GET","params":{"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/events"},"listEventsForRepo":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/events"},"listEventsForTimeline":{"headers":{"accept":"application/vnd.github.mockingbird-preview+json"},"method":"GET","params":{"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/timeline"},"listForAuthenticatedUser":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"filter":{"enum":["assigned","created","mentioned","subscribed","all"],"type":"string"},"labels":{"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"},"sort":{"enum":["created","updated","comments"],"type":"string"},"state":{"enum":["open","closed","all"],"type":"string"}},"url":"/user/issues"},"listForOrg":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"filter":{"enum":["assigned","created","mentioned","subscribed","all"],"type":"string"},"labels":{"type":"string"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"},"sort":{"enum":["created","updated","comments"],"type":"string"},"state":{"enum":["open","closed","all"],"type":"string"}},"url":"/orgs/:org/issues"},"listForRepo":{"method":"GET","params":{"assignee":{"type":"string"},"creator":{"type":"string"},"direction":{"enum":["asc","desc"],"type":"string"},"labels":{"type":"string"},"mentioned":{"type":"string"},"milestone":{"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"since":{"type":"string"},"sort":{"enum":["created","updated","comments"],"type":"string"},"state":{"enum":["open","closed","all"],"type":"string"}},"url":"/repos/:owner/:repo/issues"},"listLabelsForMilestone":{"method":"GET","params":{"milestone_number":{"required":true,"type":"integer"},"number":{"alias":"milestone_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/milestones/:milestone_number/labels"},"listLabelsForRepo":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/labels"},"listLabelsOnIssue":{"method":"GET","params":{"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/labels"},"listMilestonesForRepo":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"sort":{"enum":["due_on","completeness"],"type":"string"},"state":{"enum":["open","closed","all"],"type":"string"}},"url":"/repos/:owner/:repo/milestones"},"lock":{"method":"PUT","params":{"issue_number":{"required":true,"type":"integer"},"lock_reason":{"enum":["off-topic","too heated","resolved","spam"],"type":"string"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/lock"},"removeAssignees":{"method":"DELETE","params":{"assignees":{"type":"string[]"},"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/assignees"},"removeLabel":{"method":"DELETE","params":{"issue_number":{"required":true,"type":"integer"},"name":{"required":true,"type":"string"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/labels/:name"},"removeLabels":{"method":"DELETE","params":{"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/labels"},"replaceLabels":{"method":"PUT","params":{"issue_number":{"required":true,"type":"integer"},"labels":{"type":"string[]"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/labels"},"unlock":{"method":"DELETE","params":{"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/lock"},"update":{"method":"PATCH","params":{"assignee":{"type":"string"},"assignees":{"type":"string[]"},"body":{"type":"string"},"issue_number":{"required":true,"type":"integer"},"labels":{"type":"string[]"},"milestone":{"allowNull":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"state":{"enum":["open","closed"],"type":"string"},"title":{"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number"},"updateComment":{"method":"PATCH","params":{"body":{"required":true,"type":"string"},"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/comments/:comment_id"},"updateLabel":{"method":"PATCH","params":{"color":{"type":"string"},"current_name":{"required":true,"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/labels/:current_name"},"updateMilestone":{"method":"PATCH","params":{"description":{"type":"string"},"due_on":{"type":"string"},"milestone_number":{"required":true,"type":"integer"},"number":{"alias":"milestone_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"state":{"enum":["open","closed"],"type":"string"},"title":{"type":"string"}},"url":"/repos/:owner/:repo/milestones/:milestone_number"}},"licenses":{"get":{"method":"GET","params":{"license":{"required":true,"type":"string"}},"url":"/licenses/:license"},"getForRepo":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/license"},"list":{"deprecated":"octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)","method":"GET","params":{},"url":"/licenses"},"listCommonlyUsed":{"method":"GET","params":{},"url":"/licenses"}},"markdown":{"render":{"method":"POST","params":{"context":{"type":"string"},"mode":{"enum":["markdown","gfm"],"type":"string"},"text":{"required":true,"type":"string"}},"url":"/markdown"},"renderRaw":{"headers":{"content-type":"text/plain; charset=utf-8"},"method":"POST","params":{"data":{"mapTo":"data","required":true,"type":"string"}},"url":"/markdown/raw"}},"meta":{"get":{"method":"GET","params":{},"url":"/meta"}},"migrations":{"cancelImport":{"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/import"},"deleteArchiveForAuthenticatedUser":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"DELETE","params":{"migration_id":{"required":true,"type":"integer"}},"url":"/user/migrations/:migration_id/archive"},"deleteArchiveForOrg":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"DELETE","params":{"migration_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/migrations/:migration_id/archive"},"getArchiveForAuthenticatedUser":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"GET","params":{"migration_id":{"required":true,"type":"integer"}},"url":"/user/migrations/:migration_id/archive"},"getArchiveForOrg":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"GET","params":{"migration_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/migrations/:migration_id/archive"},"getCommitAuthors":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"since":{"type":"string"}},"url":"/repos/:owner/:repo/import/authors"},"getImportProgress":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/import"},"getLargeFiles":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/import/large_files"},"getStatusForAuthenticatedUser":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"GET","params":{"migration_id":{"required":true,"type":"integer"}},"url":"/user/migrations/:migration_id"},"getStatusForOrg":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"GET","params":{"migration_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/migrations/:migration_id"},"listForAuthenticatedUser":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/migrations"},"listForOrg":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/migrations"},"listReposForOrg":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"GET","params":{"migration_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/migrations/:migration_id/repositories"},"listReposForUser":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"GET","params":{"migration_id":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/:migration_id/repositories"},"mapCommitAuthor":{"method":"PATCH","params":{"author_id":{"required":true,"type":"integer"},"email":{"type":"string"},"name":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/import/authors/:author_id"},"setLfsPreference":{"method":"PATCH","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"use_lfs":{"enum":["opt_in","opt_out"],"required":true,"type":"string"}},"url":"/repos/:owner/:repo/import/lfs"},"startForAuthenticatedUser":{"method":"POST","params":{"exclude_attachments":{"type":"boolean"},"lock_repositories":{"type":"boolean"},"repositories":{"required":true,"type":"string[]"}},"url":"/user/migrations"},"startForOrg":{"method":"POST","params":{"exclude_attachments":{"type":"boolean"},"lock_repositories":{"type":"boolean"},"org":{"required":true,"type":"string"},"repositories":{"required":true,"type":"string[]"}},"url":"/orgs/:org/migrations"},"startImport":{"method":"PUT","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"tfvc_project":{"type":"string"},"vcs":{"enum":["subversion","git","mercurial","tfvc"],"type":"string"},"vcs_password":{"type":"string"},"vcs_url":{"required":true,"type":"string"},"vcs_username":{"type":"string"}},"url":"/repos/:owner/:repo/import"},"unlockRepoForAuthenticatedUser":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"DELETE","params":{"migration_id":{"required":true,"type":"integer"},"repo_name":{"required":true,"type":"string"}},"url":"/user/migrations/:migration_id/repos/:repo_name/lock"},"unlockRepoForOrg":{"headers":{"accept":"application/vnd.github.wyandotte-preview+json"},"method":"DELETE","params":{"migration_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"repo_name":{"required":true,"type":"string"}},"url":"/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"},"updateImport":{"method":"PATCH","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"vcs_password":{"type":"string"},"vcs_username":{"type":"string"}},"url":"/repos/:owner/:repo/import"}},"oauthAuthorizations":{"checkAuthorization":{"deprecated":"octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)","method":"GET","params":{"access_token":{"required":true,"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/tokens/:access_token"},"createAuthorization":{"deprecated":"octokit.oauthAuthorizations.createAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization","method":"POST","params":{"client_id":{"type":"string"},"client_secret":{"type":"string"},"fingerprint":{"type":"string"},"note":{"required":true,"type":"string"},"note_url":{"type":"string"},"scopes":{"type":"string[]"}},"url":"/authorizations"},"deleteAuthorization":{"deprecated":"octokit.oauthAuthorizations.deleteAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization","method":"DELETE","params":{"authorization_id":{"required":true,"type":"integer"}},"url":"/authorizations/:authorization_id"},"deleteGrant":{"deprecated":"octokit.oauthAuthorizations.deleteGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant","method":"DELETE","params":{"grant_id":{"required":true,"type":"integer"}},"url":"/applications/grants/:grant_id"},"getAuthorization":{"deprecated":"octokit.oauthAuthorizations.getAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization","method":"GET","params":{"authorization_id":{"required":true,"type":"integer"}},"url":"/authorizations/:authorization_id"},"getGrant":{"deprecated":"octokit.oauthAuthorizations.getGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant","method":"GET","params":{"grant_id":{"required":true,"type":"integer"}},"url":"/applications/grants/:grant_id"},"getOrCreateAuthorizationForApp":{"deprecated":"octokit.oauthAuthorizations.getOrCreateAuthorizationForApp() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app","method":"PUT","params":{"client_id":{"required":true,"type":"string"},"client_secret":{"required":true,"type":"string"},"fingerprint":{"type":"string"},"note":{"type":"string"},"note_url":{"type":"string"},"scopes":{"type":"string[]"}},"url":"/authorizations/clients/:client_id"},"getOrCreateAuthorizationForAppAndFingerprint":{"deprecated":"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint","method":"PUT","params":{"client_id":{"required":true,"type":"string"},"client_secret":{"required":true,"type":"string"},"fingerprint":{"required":true,"type":"string"},"note":{"type":"string"},"note_url":{"type":"string"},"scopes":{"type":"string[]"}},"url":"/authorizations/clients/:client_id/:fingerprint"},"getOrCreateAuthorizationForAppFingerprint":{"deprecated":"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)","method":"PUT","params":{"client_id":{"required":true,"type":"string"},"client_secret":{"required":true,"type":"string"},"fingerprint":{"required":true,"type":"string"},"note":{"type":"string"},"note_url":{"type":"string"},"scopes":{"type":"string[]"}},"url":"/authorizations/clients/:client_id/:fingerprint"},"listAuthorizations":{"deprecated":"octokit.oauthAuthorizations.listAuthorizations() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/authorizations"},"listGrants":{"deprecated":"octokit.oauthAuthorizations.listGrants() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-grants","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/applications/grants"},"resetAuthorization":{"deprecated":"octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)","method":"POST","params":{"access_token":{"required":true,"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/tokens/:access_token"},"revokeAuthorizationForApplication":{"deprecated":"octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)","method":"DELETE","params":{"access_token":{"required":true,"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/tokens/:access_token"},"revokeGrantForApplication":{"deprecated":"octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)","method":"DELETE","params":{"access_token":{"required":true,"type":"string"},"client_id":{"required":true,"type":"string"}},"url":"/applications/:client_id/grants/:access_token"},"updateAuthorization":{"deprecated":"octokit.oauthAuthorizations.updateAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization","method":"PATCH","params":{"add_scopes":{"type":"string[]"},"authorization_id":{"required":true,"type":"integer"},"fingerprint":{"type":"string"},"note":{"type":"string"},"note_url":{"type":"string"},"remove_scopes":{"type":"string[]"},"scopes":{"type":"string[]"}},"url":"/authorizations/:authorization_id"}},"orgs":{"addOrUpdateMembership":{"method":"PUT","params":{"org":{"required":true,"type":"string"},"role":{"enum":["admin","member"],"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/memberships/:username"},"blockUser":{"method":"PUT","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/blocks/:username"},"checkBlockedUser":{"method":"GET","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/blocks/:username"},"checkMembership":{"method":"GET","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/members/:username"},"checkPublicMembership":{"method":"GET","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/public_members/:username"},"concealMembership":{"method":"DELETE","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/public_members/:username"},"convertMemberToOutsideCollaborator":{"method":"PUT","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/outside_collaborators/:username"},"createHook":{"method":"POST","params":{"active":{"type":"boolean"},"config":{"required":true,"type":"object"},"config.content_type":{"type":"string"},"config.insecure_ssl":{"type":"string"},"config.secret":{"type":"string"},"config.url":{"required":true,"type":"string"},"events":{"type":"string[]"},"name":{"required":true,"type":"string"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/hooks"},"createInvitation":{"method":"POST","params":{"email":{"type":"string"},"invitee_id":{"type":"integer"},"org":{"required":true,"type":"string"},"role":{"enum":["admin","direct_member","billing_manager"],"type":"string"},"team_ids":{"type":"integer[]"}},"url":"/orgs/:org/invitations"},"deleteHook":{"method":"DELETE","params":{"hook_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/hooks/:hook_id"},"get":{"method":"GET","params":{"org":{"required":true,"type":"string"}},"url":"/orgs/:org"},"getHook":{"method":"GET","params":{"hook_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/hooks/:hook_id"},"getMembership":{"method":"GET","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/memberships/:username"},"getMembershipForAuthenticatedUser":{"method":"GET","params":{"org":{"required":true,"type":"string"}},"url":"/user/memberships/orgs/:org"},"list":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"}},"url":"/organizations"},"listBlockedUsers":{"method":"GET","params":{"org":{"required":true,"type":"string"}},"url":"/orgs/:org/blocks"},"listForAuthenticatedUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/orgs"},"listForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/orgs"},"listHooks":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/hooks"},"listInstallations":{"headers":{"accept":"application/vnd.github.machine-man-preview+json"},"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/installations"},"listInvitationTeams":{"method":"GET","params":{"invitation_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/invitations/:invitation_id/teams"},"listMembers":{"method":"GET","params":{"filter":{"enum":["2fa_disabled","all"],"type":"string"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"role":{"enum":["all","admin","member"],"type":"string"}},"url":"/orgs/:org/members"},"listMemberships":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"state":{"enum":["active","pending"],"type":"string"}},"url":"/user/memberships/orgs"},"listOutsideCollaborators":{"method":"GET","params":{"filter":{"enum":["2fa_disabled","all"],"type":"string"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/outside_collaborators"},"listPendingInvitations":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/invitations"},"listPublicMembers":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/public_members"},"pingHook":{"method":"POST","params":{"hook_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/hooks/:hook_id/pings"},"publicizeMembership":{"method":"PUT","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/public_members/:username"},"removeMember":{"method":"DELETE","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/members/:username"},"removeMembership":{"method":"DELETE","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/memberships/:username"},"removeOutsideCollaborator":{"method":"DELETE","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/outside_collaborators/:username"},"unblockUser":{"method":"DELETE","params":{"org":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/blocks/:username"},"update":{"method":"PATCH","params":{"billing_email":{"type":"string"},"company":{"type":"string"},"default_repository_permission":{"enum":["read","write","admin","none"],"type":"string"},"description":{"type":"string"},"email":{"type":"string"},"has_organization_projects":{"type":"boolean"},"has_repository_projects":{"type":"boolean"},"location":{"type":"string"},"members_allowed_repository_creation_type":{"enum":["all","private","none"],"type":"string"},"members_can_create_internal_repositories":{"type":"boolean"},"members_can_create_private_repositories":{"type":"boolean"},"members_can_create_public_repositories":{"type":"boolean"},"members_can_create_repositories":{"type":"boolean"},"name":{"type":"string"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org"},"updateHook":{"method":"PATCH","params":{"active":{"type":"boolean"},"config":{"type":"object"},"config.content_type":{"type":"string"},"config.insecure_ssl":{"type":"string"},"config.secret":{"type":"string"},"config.url":{"required":true,"type":"string"},"events":{"type":"string[]"},"hook_id":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/hooks/:hook_id"},"updateMembership":{"method":"PATCH","params":{"org":{"required":true,"type":"string"},"state":{"enum":["active"],"required":true,"type":"string"}},"url":"/user/memberships/orgs/:org"}},"projects":{"addCollaborator":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"PUT","params":{"permission":{"enum":["read","write","admin"],"type":"string"},"project_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/projects/:project_id/collaborators/:username"},"createCard":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"POST","params":{"column_id":{"required":true,"type":"integer"},"content_id":{"type":"integer"},"content_type":{"type":"string"},"note":{"type":"string"}},"url":"/projects/columns/:column_id/cards"},"createColumn":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"POST","params":{"name":{"required":true,"type":"string"},"project_id":{"required":true,"type":"integer"}},"url":"/projects/:project_id/columns"},"createForAuthenticatedUser":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"POST","params":{"body":{"type":"string"},"name":{"required":true,"type":"string"}},"url":"/user/projects"},"createForOrg":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"POST","params":{"body":{"type":"string"},"name":{"required":true,"type":"string"},"org":{"required":true,"type":"string"}},"url":"/orgs/:org/projects"},"createForRepo":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"POST","params":{"body":{"type":"string"},"name":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/projects"},"delete":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"DELETE","params":{"project_id":{"required":true,"type":"integer"}},"url":"/projects/:project_id"},"deleteCard":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"DELETE","params":{"card_id":{"required":true,"type":"integer"}},"url":"/projects/columns/cards/:card_id"},"deleteColumn":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"DELETE","params":{"column_id":{"required":true,"type":"integer"}},"url":"/projects/columns/:column_id"},"get":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"project_id":{"required":true,"type":"integer"}},"url":"/projects/:project_id"},"getCard":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"card_id":{"required":true,"type":"integer"}},"url":"/projects/columns/cards/:card_id"},"getColumn":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"column_id":{"required":true,"type":"integer"}},"url":"/projects/columns/:column_id"},"listCards":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"archived_state":{"enum":["all","archived","not_archived"],"type":"string"},"column_id":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/projects/columns/:column_id/cards"},"listCollaborators":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"affiliation":{"enum":["outside","direct","all"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"project_id":{"required":true,"type":"integer"}},"url":"/projects/:project_id/collaborators"},"listColumns":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"project_id":{"required":true,"type":"integer"}},"url":"/projects/:project_id/columns"},"listForOrg":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"state":{"enum":["open","closed","all"],"type":"string"}},"url":"/orgs/:org/projects"},"listForRepo":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"state":{"enum":["open","closed","all"],"type":"string"}},"url":"/repos/:owner/:repo/projects"},"listForUser":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"state":{"enum":["open","closed","all"],"type":"string"},"username":{"required":true,"type":"string"}},"url":"/users/:username/projects"},"moveCard":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"POST","params":{"card_id":{"required":true,"type":"integer"},"column_id":{"type":"integer"},"position":{"required":true,"type":"string","validation":"^(top|bottom|after:\\d+)$"}},"url":"/projects/columns/cards/:card_id/moves"},"moveColumn":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"POST","params":{"column_id":{"required":true,"type":"integer"},"position":{"required":true,"type":"string","validation":"^(first|last|after:\\d+)$"}},"url":"/projects/columns/:column_id/moves"},"removeCollaborator":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"DELETE","params":{"project_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/projects/:project_id/collaborators/:username"},"reviewUserPermissionLevel":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"project_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/projects/:project_id/collaborators/:username/permission"},"update":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"PATCH","params":{"body":{"type":"string"},"name":{"type":"string"},"organization_permission":{"type":"string"},"private":{"type":"boolean"},"project_id":{"required":true,"type":"integer"},"state":{"enum":["open","closed"],"type":"string"}},"url":"/projects/:project_id"},"updateCard":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"PATCH","params":{"archived":{"type":"boolean"},"card_id":{"required":true,"type":"integer"},"note":{"type":"string"}},"url":"/projects/columns/cards/:card_id"},"updateColumn":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"PATCH","params":{"column_id":{"required":true,"type":"integer"},"name":{"required":true,"type":"string"}},"url":"/projects/columns/:column_id"}},"pulls":{"checkIfMerged":{"method":"GET","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/merge"},"create":{"method":"POST","params":{"base":{"required":true,"type":"string"},"body":{"type":"string"},"draft":{"type":"boolean"},"head":{"required":true,"type":"string"},"maintainer_can_modify":{"type":"boolean"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"title":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls"},"createComment":{"method":"POST","params":{"body":{"required":true,"type":"string"},"commit_id":{"required":true,"type":"string"},"in_reply_to":{"deprecated":true,"description":"The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.","type":"integer"},"line":{"type":"integer"},"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"path":{"required":true,"type":"string"},"position":{"type":"integer"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"side":{"enum":["LEFT","RIGHT"],"type":"string"},"start_line":{"type":"integer"},"start_side":{"enum":["LEFT","RIGHT","side"],"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/comments"},"createCommentReply":{"deprecated":"octokit.pulls.createCommentReply() has been renamed to octokit.pulls.createComment() (2019-09-09)","method":"POST","params":{"body":{"required":true,"type":"string"},"commit_id":{"required":true,"type":"string"},"in_reply_to":{"deprecated":true,"description":"The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.","type":"integer"},"line":{"type":"integer"},"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"path":{"required":true,"type":"string"},"position":{"type":"integer"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"side":{"enum":["LEFT","RIGHT"],"type":"string"},"start_line":{"type":"integer"},"start_side":{"enum":["LEFT","RIGHT","side"],"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/comments"},"createFromIssue":{"deprecated":"octokit.pulls.createFromIssue() is deprecated, see https://developer.github.com/v3/pulls/#create-a-pull-request","method":"POST","params":{"base":{"required":true,"type":"string"},"draft":{"type":"boolean"},"head":{"required":true,"type":"string"},"issue":{"required":true,"type":"integer"},"maintainer_can_modify":{"type":"boolean"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls"},"createReview":{"method":"POST","params":{"body":{"type":"string"},"comments":{"type":"object[]"},"comments[].body":{"required":true,"type":"string"},"comments[].path":{"required":true,"type":"string"},"comments[].position":{"required":true,"type":"integer"},"commit_id":{"type":"string"},"event":{"enum":["APPROVE","REQUEST_CHANGES","COMMENT"],"type":"string"},"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/reviews"},"createReviewCommentReply":{"method":"POST","params":{"body":{"required":true,"type":"string"},"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies"},"createReviewRequest":{"method":"POST","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"reviewers":{"type":"string[]"},"team_reviewers":{"type":"string[]"}},"url":"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},"deleteComment":{"method":"DELETE","params":{"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/comments/:comment_id"},"deletePendingReview":{"method":"DELETE","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"review_id":{"required":true,"type":"integer"}},"url":"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},"deleteReviewRequest":{"method":"DELETE","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"reviewers":{"type":"string[]"},"team_reviewers":{"type":"string[]"}},"url":"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},"dismissReview":{"method":"PUT","params":{"message":{"required":true,"type":"string"},"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"review_id":{"required":true,"type":"integer"}},"url":"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"},"get":{"method":"GET","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number"},"getComment":{"method":"GET","params":{"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/comments/:comment_id"},"getCommentsForReview":{"method":"GET","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"review_id":{"required":true,"type":"integer"}},"url":"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"},"getReview":{"method":"GET","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"review_id":{"required":true,"type":"integer"}},"url":"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},"list":{"method":"GET","params":{"base":{"type":"string"},"direction":{"enum":["asc","desc"],"type":"string"},"head":{"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"sort":{"enum":["created","updated","popularity","long-running"],"type":"string"},"state":{"enum":["open","closed","all"],"type":"string"}},"url":"/repos/:owner/:repo/pulls"},"listComments":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"since":{"type":"string"},"sort":{"enum":["created","updated"],"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/comments"},"listCommentsForRepo":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"since":{"type":"string"},"sort":{"enum":["created","updated"],"type":"string"}},"url":"/repos/:owner/:repo/pulls/comments"},"listCommits":{"method":"GET","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/commits"},"listFiles":{"method":"GET","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/files"},"listReviewRequests":{"method":"GET","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},"listReviews":{"method":"GET","params":{"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/reviews"},"merge":{"method":"PUT","params":{"commit_message":{"type":"string"},"commit_title":{"type":"string"},"merge_method":{"enum":["merge","squash","rebase"],"type":"string"},"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"sha":{"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/merge"},"submitReview":{"method":"POST","params":{"body":{"type":"string"},"event":{"enum":["APPROVE","REQUEST_CHANGES","COMMENT"],"required":true,"type":"string"},"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"review_id":{"required":true,"type":"integer"}},"url":"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"},"update":{"method":"PATCH","params":{"base":{"type":"string"},"body":{"type":"string"},"maintainer_can_modify":{"type":"boolean"},"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"state":{"enum":["open","closed"],"type":"string"},"title":{"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number"},"updateBranch":{"headers":{"accept":"application/vnd.github.lydian-preview+json"},"method":"PUT","params":{"expected_head_sha":{"type":"string"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/:pull_number/update-branch"},"updateComment":{"method":"PATCH","params":{"body":{"required":true,"type":"string"},"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/comments/:comment_id"},"updateReview":{"method":"PUT","params":{"body":{"required":true,"type":"string"},"number":{"alias":"pull_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"pull_number":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"review_id":{"required":true,"type":"integer"}},"url":"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"}},"rateLimit":{"get":{"method":"GET","params":{},"url":"/rate_limit"}},"reactions":{"createForCommitComment":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"comment_id":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/comments/:comment_id/reactions"},"createForIssue":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/reactions"},"createForIssueComment":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"comment_id":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},"createForPullRequestReviewComment":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"comment_id":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},"createForTeamDiscussion":{"deprecated":"octokit.reactions.createForTeamDiscussion() has been renamed to octokit.reactions.createForTeamDiscussionLegacy() (2020-01-16)","headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/reactions"},"createForTeamDiscussionComment":{"deprecated":"octokit.reactions.createForTeamDiscussionComment() has been renamed to octokit.reactions.createForTeamDiscussionCommentLegacy() (2020-01-16)","headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"comment_number":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},"createForTeamDiscussionCommentInOrg":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"comment_number":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"},"createForTeamDiscussionCommentLegacy":{"deprecated":"octokit.reactions.createForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy","headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"comment_number":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},"createForTeamDiscussionInOrg":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"},"createForTeamDiscussionLegacy":{"deprecated":"octokit.reactions.createForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy","headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"POST","params":{"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"required":true,"type":"string"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/reactions"},"delete":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"DELETE","params":{"reaction_id":{"required":true,"type":"integer"}},"url":"/reactions/:reaction_id"},"listForCommitComment":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"comment_id":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/comments/:comment_id/reactions"},"listForIssue":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"issue_number":{"required":true,"type":"integer"},"number":{"alias":"issue_number","deprecated":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/:issue_number/reactions"},"listForIssueComment":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"comment_id":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},"listForPullRequestReviewComment":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"comment_id":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},"listForTeamDiscussion":{"deprecated":"octokit.reactions.listForTeamDiscussion() has been renamed to octokit.reactions.listForTeamDiscussionLegacy() (2020-01-16)","headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"discussion_number":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/reactions"},"listForTeamDiscussionComment":{"deprecated":"octokit.reactions.listForTeamDiscussionComment() has been renamed to octokit.reactions.listForTeamDiscussionCommentLegacy() (2020-01-16)","headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"comment_number":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"discussion_number":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},"listForTeamDiscussionCommentInOrg":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"comment_number":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"},"listForTeamDiscussionCommentLegacy":{"deprecated":"octokit.reactions.listForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy","headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"comment_number":{"required":true,"type":"integer"},"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"discussion_number":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},"listForTeamDiscussionInOrg":{"headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"},"listForTeamDiscussionLegacy":{"deprecated":"octokit.reactions.listForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy","headers":{"accept":"application/vnd.github.squirrel-girl-preview+json"},"method":"GET","params":{"content":{"enum":["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],"type":"string"},"discussion_number":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/reactions"}},"repos":{"acceptInvitation":{"method":"PATCH","params":{"invitation_id":{"required":true,"type":"integer"}},"url":"/user/repository_invitations/:invitation_id"},"addCollaborator":{"method":"PUT","params":{"owner":{"required":true,"type":"string"},"permission":{"enum":["pull","push","admin"],"type":"string"},"repo":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/collaborators/:username"},"addDeployKey":{"method":"POST","params":{"key":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"read_only":{"type":"boolean"},"repo":{"required":true,"type":"string"},"title":{"type":"string"}},"url":"/repos/:owner/:repo/keys"},"addProtectedBranchAdminEnforcement":{"method":"POST","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},"addProtectedBranchAppRestrictions":{"method":"POST","params":{"apps":{"mapTo":"data","required":true,"type":"string[]"},"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},"addProtectedBranchRequiredSignatures":{"headers":{"accept":"application/vnd.github.zzzax-preview+json"},"method":"POST","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},"addProtectedBranchRequiredStatusChecksContexts":{"method":"POST","params":{"branch":{"required":true,"type":"string"},"contexts":{"mapTo":"data","required":true,"type":"string[]"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},"addProtectedBranchTeamRestrictions":{"method":"POST","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"teams":{"mapTo":"data","required":true,"type":"string[]"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},"addProtectedBranchUserRestrictions":{"method":"POST","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"users":{"mapTo":"data","required":true,"type":"string[]"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},"checkCollaborator":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/collaborators/:username"},"checkVulnerabilityAlerts":{"headers":{"accept":"application/vnd.github.dorian-preview+json"},"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/vulnerability-alerts"},"compareCommits":{"method":"GET","params":{"base":{"required":true,"type":"string"},"head":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/compare/:base...:head"},"createCommitComment":{"method":"POST","params":{"body":{"required":true,"type":"string"},"commit_sha":{"required":true,"type":"string"},"line":{"type":"integer"},"owner":{"required":true,"type":"string"},"path":{"type":"string"},"position":{"type":"integer"},"repo":{"required":true,"type":"string"},"sha":{"alias":"commit_sha","deprecated":true,"type":"string"}},"url":"/repos/:owner/:repo/commits/:commit_sha/comments"},"createDeployment":{"method":"POST","params":{"auto_merge":{"type":"boolean"},"description":{"type":"string"},"environment":{"type":"string"},"owner":{"required":true,"type":"string"},"payload":{"type":"string"},"production_environment":{"type":"boolean"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"required_contexts":{"type":"string[]"},"task":{"type":"string"},"transient_environment":{"type":"boolean"}},"url":"/repos/:owner/:repo/deployments"},"createDeploymentStatus":{"method":"POST","params":{"auto_inactive":{"type":"boolean"},"deployment_id":{"required":true,"type":"integer"},"description":{"type":"string"},"environment":{"enum":["production","staging","qa"],"type":"string"},"environment_url":{"type":"string"},"log_url":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"state":{"enum":["error","failure","inactive","in_progress","queued","pending","success"],"required":true,"type":"string"},"target_url":{"type":"string"}},"url":"/repos/:owner/:repo/deployments/:deployment_id/statuses"},"createDispatchEvent":{"headers":{"accept":"application/vnd.github.everest-preview+json"},"method":"POST","params":{"client_payload":{"type":"object"},"event_type":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/dispatches"},"createFile":{"deprecated":"octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)","method":"PUT","params":{"author":{"type":"object"},"author.email":{"required":true,"type":"string"},"author.name":{"required":true,"type":"string"},"branch":{"type":"string"},"committer":{"type":"object"},"committer.email":{"required":true,"type":"string"},"committer.name":{"required":true,"type":"string"},"content":{"required":true,"type":"string"},"message":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"path":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"type":"string"}},"url":"/repos/:owner/:repo/contents/:path"},"createForAuthenticatedUser":{"method":"POST","params":{"allow_merge_commit":{"type":"boolean"},"allow_rebase_merge":{"type":"boolean"},"allow_squash_merge":{"type":"boolean"},"auto_init":{"type":"boolean"},"delete_branch_on_merge":{"type":"boolean"},"description":{"type":"string"},"gitignore_template":{"type":"string"},"has_issues":{"type":"boolean"},"has_projects":{"type":"boolean"},"has_wiki":{"type":"boolean"},"homepage":{"type":"string"},"is_template":{"type":"boolean"},"license_template":{"type":"string"},"name":{"required":true,"type":"string"},"private":{"type":"boolean"},"team_id":{"type":"integer"},"visibility":{"enum":["public","private","visibility","internal"],"type":"string"}},"url":"/user/repos"},"createFork":{"method":"POST","params":{"organization":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/forks"},"createHook":{"method":"POST","params":{"active":{"type":"boolean"},"config":{"required":true,"type":"object"},"config.content_type":{"type":"string"},"config.insecure_ssl":{"type":"string"},"config.secret":{"type":"string"},"config.url":{"required":true,"type":"string"},"events":{"type":"string[]"},"name":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/hooks"},"createInOrg":{"method":"POST","params":{"allow_merge_commit":{"type":"boolean"},"allow_rebase_merge":{"type":"boolean"},"allow_squash_merge":{"type":"boolean"},"auto_init":{"type":"boolean"},"delete_branch_on_merge":{"type":"boolean"},"description":{"type":"string"},"gitignore_template":{"type":"string"},"has_issues":{"type":"boolean"},"has_projects":{"type":"boolean"},"has_wiki":{"type":"boolean"},"homepage":{"type":"string"},"is_template":{"type":"boolean"},"license_template":{"type":"string"},"name":{"required":true,"type":"string"},"org":{"required":true,"type":"string"},"private":{"type":"boolean"},"team_id":{"type":"integer"},"visibility":{"enum":["public","private","visibility","internal"],"type":"string"}},"url":"/orgs/:org/repos"},"createOrUpdateFile":{"method":"PUT","params":{"author":{"type":"object"},"author.email":{"required":true,"type":"string"},"author.name":{"required":true,"type":"string"},"branch":{"type":"string"},"committer":{"type":"object"},"committer.email":{"required":true,"type":"string"},"committer.name":{"required":true,"type":"string"},"content":{"required":true,"type":"string"},"message":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"path":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"type":"string"}},"url":"/repos/:owner/:repo/contents/:path"},"createRelease":{"method":"POST","params":{"body":{"type":"string"},"draft":{"type":"boolean"},"name":{"type":"string"},"owner":{"required":true,"type":"string"},"prerelease":{"type":"boolean"},"repo":{"required":true,"type":"string"},"tag_name":{"required":true,"type":"string"},"target_commitish":{"type":"string"}},"url":"/repos/:owner/:repo/releases"},"createStatus":{"method":"POST","params":{"context":{"type":"string"},"description":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"required":true,"type":"string"},"state":{"enum":["error","failure","pending","success"],"required":true,"type":"string"},"target_url":{"type":"string"}},"url":"/repos/:owner/:repo/statuses/:sha"},"createUsingTemplate":{"headers":{"accept":"application/vnd.github.baptiste-preview+json"},"method":"POST","params":{"description":{"type":"string"},"name":{"required":true,"type":"string"},"owner":{"type":"string"},"private":{"type":"boolean"},"template_owner":{"required":true,"type":"string"},"template_repo":{"required":true,"type":"string"}},"url":"/repos/:template_owner/:template_repo/generate"},"declineInvitation":{"method":"DELETE","params":{"invitation_id":{"required":true,"type":"integer"}},"url":"/user/repository_invitations/:invitation_id"},"delete":{"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo"},"deleteCommitComment":{"method":"DELETE","params":{"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/comments/:comment_id"},"deleteDownload":{"method":"DELETE","params":{"download_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/downloads/:download_id"},"deleteFile":{"method":"DELETE","params":{"author":{"type":"object"},"author.email":{"type":"string"},"author.name":{"type":"string"},"branch":{"type":"string"},"committer":{"type":"object"},"committer.email":{"type":"string"},"committer.name":{"type":"string"},"message":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"path":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/contents/:path"},"deleteHook":{"method":"DELETE","params":{"hook_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/hooks/:hook_id"},"deleteInvitation":{"method":"DELETE","params":{"invitation_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/invitations/:invitation_id"},"deleteRelease":{"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"release_id":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/releases/:release_id"},"deleteReleaseAsset":{"method":"DELETE","params":{"asset_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/releases/assets/:asset_id"},"disableAutomatedSecurityFixes":{"headers":{"accept":"application/vnd.github.london-preview+json"},"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/automated-security-fixes"},"disablePagesSite":{"headers":{"accept":"application/vnd.github.switcheroo-preview+json"},"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pages"},"disableVulnerabilityAlerts":{"headers":{"accept":"application/vnd.github.dorian-preview+json"},"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/vulnerability-alerts"},"enableAutomatedSecurityFixes":{"headers":{"accept":"application/vnd.github.london-preview+json"},"method":"PUT","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/automated-security-fixes"},"enablePagesSite":{"headers":{"accept":"application/vnd.github.switcheroo-preview+json"},"method":"POST","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"source":{"type":"object"},"source.branch":{"enum":["master","gh-pages"],"type":"string"},"source.path":{"type":"string"}},"url":"/repos/:owner/:repo/pages"},"enableVulnerabilityAlerts":{"headers":{"accept":"application/vnd.github.dorian-preview+json"},"method":"PUT","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/vulnerability-alerts"},"get":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo"},"getAppsWithAccessToProtectedBranch":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},"getArchiveLink":{"method":"GET","params":{"archive_format":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/:archive_format/:ref"},"getBranch":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch"},"getBranchProtection":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection"},"getClones":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"per":{"enum":["day","week"],"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/traffic/clones"},"getCodeFrequencyStats":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/stats/code_frequency"},"getCollaboratorPermissionLevel":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/collaborators/:username/permission"},"getCombinedStatusForRef":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/commits/:ref/status"},"getCommit":{"method":"GET","params":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}},"url":"/repos/:owner/:repo/commits/:ref"},"getCommitActivityStats":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/stats/commit_activity"},"getCommitComment":{"method":"GET","params":{"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/comments/:comment_id"},"getCommitRefSha":{"deprecated":"octokit.repos.getCommitRefSha() is deprecated, see https://developer.github.com/v3/repos/commits/#get-a-single-commit","headers":{"accept":"application/vnd.github.v3.sha"},"method":"GET","params":{"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/commits/:ref"},"getContents":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"path":{"required":true,"type":"string"},"ref":{"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/contents/:path"},"getContributorsStats":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/stats/contributors"},"getDeployKey":{"method":"GET","params":{"key_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/keys/:key_id"},"getDeployment":{"method":"GET","params":{"deployment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/deployments/:deployment_id"},"getDeploymentStatus":{"method":"GET","params":{"deployment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"status_id":{"required":true,"type":"integer"}},"url":"/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"},"getDownload":{"method":"GET","params":{"download_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/downloads/:download_id"},"getHook":{"method":"GET","params":{"hook_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/hooks/:hook_id"},"getLatestPagesBuild":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pages/builds/latest"},"getLatestRelease":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/releases/latest"},"getPages":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pages"},"getPagesBuild":{"method":"GET","params":{"build_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pages/builds/:build_id"},"getParticipationStats":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/stats/participation"},"getProtectedBranchAdminEnforcement":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},"getProtectedBranchPullRequestReviewEnforcement":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},"getProtectedBranchRequiredSignatures":{"headers":{"accept":"application/vnd.github.zzzax-preview+json"},"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},"getProtectedBranchRequiredStatusChecks":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},"getProtectedBranchRestrictions":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions"},"getPunchCardStats":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/stats/punch_card"},"getReadme":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"ref":{"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/readme"},"getRelease":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"release_id":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/releases/:release_id"},"getReleaseAsset":{"method":"GET","params":{"asset_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/releases/assets/:asset_id"},"getReleaseByTag":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"tag":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/releases/tags/:tag"},"getTeamsWithAccessToProtectedBranch":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},"getTopPaths":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/traffic/popular/paths"},"getTopReferrers":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/traffic/popular/referrers"},"getUsersWithAccessToProtectedBranch":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},"getViews":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"per":{"enum":["day","week"],"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/traffic/views"},"list":{"method":"GET","params":{"affiliation":{"type":"string"},"direction":{"enum":["asc","desc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"sort":{"enum":["created","updated","pushed","full_name"],"type":"string"},"type":{"enum":["all","owner","public","private","member"],"type":"string"},"visibility":{"enum":["all","public","private"],"type":"string"}},"url":"/user/repos"},"listAppsWithAccessToProtectedBranch":{"deprecated":"octokit.repos.listAppsWithAccessToProtectedBranch() has been renamed to octokit.repos.getAppsWithAccessToProtectedBranch() (2019-09-13)","method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},"listAssetsForRelease":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"release_id":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/releases/:release_id/assets"},"listBranches":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"protected":{"type":"boolean"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches"},"listBranchesForHeadCommit":{"headers":{"accept":"application/vnd.github.groot-preview+json"},"method":"GET","params":{"commit_sha":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/commits/:commit_sha/branches-where-head"},"listCollaborators":{"method":"GET","params":{"affiliation":{"enum":["outside","direct","all"],"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/collaborators"},"listCommentsForCommit":{"method":"GET","params":{"commit_sha":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"ref":{"alias":"commit_sha","deprecated":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/commits/:commit_sha/comments"},"listCommitComments":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/comments"},"listCommits":{"method":"GET","params":{"author":{"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"path":{"type":"string"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"sha":{"type":"string"},"since":{"type":"string"},"until":{"type":"string"}},"url":"/repos/:owner/:repo/commits"},"listContributors":{"method":"GET","params":{"anon":{"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/contributors"},"listDeployKeys":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/keys"},"listDeploymentStatuses":{"method":"GET","params":{"deployment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/deployments/:deployment_id/statuses"},"listDeployments":{"method":"GET","params":{"environment":{"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"ref":{"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"type":"string"},"task":{"type":"string"}},"url":"/repos/:owner/:repo/deployments"},"listDownloads":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/downloads"},"listForOrg":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"sort":{"enum":["created","updated","pushed","full_name"],"type":"string"},"type":{"enum":["all","public","private","forks","sources","member","internal"],"type":"string"}},"url":"/orgs/:org/repos"},"listForUser":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"sort":{"enum":["created","updated","pushed","full_name"],"type":"string"},"type":{"enum":["all","owner","member"],"type":"string"},"username":{"required":true,"type":"string"}},"url":"/users/:username/repos"},"listForks":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"},"sort":{"enum":["newest","oldest","stargazers"],"type":"string"}},"url":"/repos/:owner/:repo/forks"},"listHooks":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/hooks"},"listInvitations":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/invitations"},"listInvitationsForAuthenticatedUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/repository_invitations"},"listLanguages":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/languages"},"listPagesBuilds":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pages/builds"},"listProtectedBranchRequiredStatusChecksContexts":{"method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},"listProtectedBranchTeamRestrictions":{"deprecated":"octokit.repos.listProtectedBranchTeamRestrictions() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-09)","method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},"listProtectedBranchUserRestrictions":{"deprecated":"octokit.repos.listProtectedBranchUserRestrictions() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-09)","method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},"listPublic":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"}},"url":"/repositories"},"listPullRequestsAssociatedWithCommit":{"headers":{"accept":"application/vnd.github.groot-preview+json"},"method":"GET","params":{"commit_sha":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/commits/:commit_sha/pulls"},"listReleases":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/releases"},"listStatusesForRef":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/commits/:ref/statuses"},"listTags":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/tags"},"listTeams":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/teams"},"listTeamsWithAccessToProtectedBranch":{"deprecated":"octokit.repos.listTeamsWithAccessToProtectedBranch() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-13)","method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},"listTopics":{"headers":{"accept":"application/vnd.github.mercy-preview+json"},"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/topics"},"listUsersWithAccessToProtectedBranch":{"deprecated":"octokit.repos.listUsersWithAccessToProtectedBranch() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-13)","method":"GET","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},"merge":{"method":"POST","params":{"base":{"required":true,"type":"string"},"commit_message":{"type":"string"},"head":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/merges"},"pingHook":{"method":"POST","params":{"hook_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/hooks/:hook_id/pings"},"removeBranchProtection":{"method":"DELETE","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection"},"removeCollaborator":{"method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/collaborators/:username"},"removeDeployKey":{"method":"DELETE","params":{"key_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/keys/:key_id"},"removeProtectedBranchAdminEnforcement":{"method":"DELETE","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},"removeProtectedBranchAppRestrictions":{"method":"DELETE","params":{"apps":{"mapTo":"data","required":true,"type":"string[]"},"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},"removeProtectedBranchPullRequestReviewEnforcement":{"method":"DELETE","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},"removeProtectedBranchRequiredSignatures":{"headers":{"accept":"application/vnd.github.zzzax-preview+json"},"method":"DELETE","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},"removeProtectedBranchRequiredStatusChecks":{"method":"DELETE","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},"removeProtectedBranchRequiredStatusChecksContexts":{"method":"DELETE","params":{"branch":{"required":true,"type":"string"},"contexts":{"mapTo":"data","required":true,"type":"string[]"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},"removeProtectedBranchRestrictions":{"method":"DELETE","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions"},"removeProtectedBranchTeamRestrictions":{"method":"DELETE","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"teams":{"mapTo":"data","required":true,"type":"string[]"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},"removeProtectedBranchUserRestrictions":{"method":"DELETE","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"users":{"mapTo":"data","required":true,"type":"string[]"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},"replaceProtectedBranchAppRestrictions":{"method":"PUT","params":{"apps":{"mapTo":"data","required":true,"type":"string[]"},"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},"replaceProtectedBranchRequiredStatusChecksContexts":{"method":"PUT","params":{"branch":{"required":true,"type":"string"},"contexts":{"mapTo":"data","required":true,"type":"string[]"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},"replaceProtectedBranchTeamRestrictions":{"method":"PUT","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"teams":{"mapTo":"data","required":true,"type":"string[]"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},"replaceProtectedBranchUserRestrictions":{"method":"PUT","params":{"branch":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"users":{"mapTo":"data","required":true,"type":"string[]"}},"url":"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},"replaceTopics":{"headers":{"accept":"application/vnd.github.mercy-preview+json"},"method":"PUT","params":{"names":{"required":true,"type":"string[]"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/topics"},"requestPageBuild":{"method":"POST","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/pages/builds"},"retrieveCommunityProfileMetrics":{"method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/community/profile"},"testPushHook":{"method":"POST","params":{"hook_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/hooks/:hook_id/tests"},"transfer":{"method":"POST","params":{"new_owner":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"team_ids":{"type":"integer[]"}},"url":"/repos/:owner/:repo/transfer"},"update":{"method":"PATCH","params":{"allow_merge_commit":{"type":"boolean"},"allow_rebase_merge":{"type":"boolean"},"allow_squash_merge":{"type":"boolean"},"archived":{"type":"boolean"},"default_branch":{"type":"string"},"delete_branch_on_merge":{"type":"boolean"},"description":{"type":"string"},"has_issues":{"type":"boolean"},"has_projects":{"type":"boolean"},"has_wiki":{"type":"boolean"},"homepage":{"type":"string"},"is_template":{"type":"boolean"},"name":{"type":"string"},"owner":{"required":true,"type":"string"},"private":{"type":"boolean"},"repo":{"required":true,"type":"string"},"visibility":{"enum":["public","private","visibility","internal"],"type":"string"}},"url":"/repos/:owner/:repo"},"updateBranchProtection":{"method":"PUT","params":{"allow_deletions":{"type":"boolean"},"allow_force_pushes":{"allowNull":true,"type":"boolean"},"branch":{"required":true,"type":"string"},"enforce_admins":{"allowNull":true,"required":true,"type":"boolean"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"required_linear_history":{"type":"boolean"},"required_pull_request_reviews":{"allowNull":true,"required":true,"type":"object"},"required_pull_request_reviews.dismiss_stale_reviews":{"type":"boolean"},"required_pull_request_reviews.dismissal_restrictions":{"type":"object"},"required_pull_request_reviews.dismissal_restrictions.teams":{"type":"string[]"},"required_pull_request_reviews.dismissal_restrictions.users":{"type":"string[]"},"required_pull_request_reviews.require_code_owner_reviews":{"type":"boolean"},"required_pull_request_reviews.required_approving_review_count":{"type":"integer"},"required_status_checks":{"allowNull":true,"required":true,"type":"object"},"required_status_checks.contexts":{"required":true,"type":"string[]"},"required_status_checks.strict":{"required":true,"type":"boolean"},"restrictions":{"allowNull":true,"required":true,"type":"object"},"restrictions.apps":{"type":"string[]"},"restrictions.teams":{"required":true,"type":"string[]"},"restrictions.users":{"required":true,"type":"string[]"}},"url":"/repos/:owner/:repo/branches/:branch/protection"},"updateCommitComment":{"method":"PATCH","params":{"body":{"required":true,"type":"string"},"comment_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/comments/:comment_id"},"updateFile":{"deprecated":"octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)","method":"PUT","params":{"author":{"type":"object"},"author.email":{"required":true,"type":"string"},"author.name":{"required":true,"type":"string"},"branch":{"type":"string"},"committer":{"type":"object"},"committer.email":{"required":true,"type":"string"},"committer.name":{"required":true,"type":"string"},"content":{"required":true,"type":"string"},"message":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"path":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"type":"string"}},"url":"/repos/:owner/:repo/contents/:path"},"updateHook":{"method":"PATCH","params":{"active":{"type":"boolean"},"add_events":{"type":"string[]"},"config":{"type":"object"},"config.content_type":{"type":"string"},"config.insecure_ssl":{"type":"string"},"config.secret":{"type":"string"},"config.url":{"required":true,"type":"string"},"events":{"type":"string[]"},"hook_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"remove_events":{"type":"string[]"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/hooks/:hook_id"},"updateInformationAboutPagesSite":{"method":"PUT","params":{"cname":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"source":{"enum":["\"gh-pages\"","\"master\"","\"master /docs\""],"type":"string"}},"url":"/repos/:owner/:repo/pages"},"updateInvitation":{"method":"PATCH","params":{"invitation_id":{"required":true,"type":"integer"},"owner":{"required":true,"type":"string"},"permissions":{"enum":["read","write","admin"],"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/invitations/:invitation_id"},"updateProtectedBranchPullRequestReviewEnforcement":{"method":"PATCH","params":{"branch":{"required":true,"type":"string"},"dismiss_stale_reviews":{"type":"boolean"},"dismissal_restrictions":{"type":"object"},"dismissal_restrictions.teams":{"type":"string[]"},"dismissal_restrictions.users":{"type":"string[]"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"require_code_owner_reviews":{"type":"boolean"},"required_approving_review_count":{"type":"integer"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},"updateProtectedBranchRequiredStatusChecks":{"method":"PATCH","params":{"branch":{"required":true,"type":"string"},"contexts":{"type":"string[]"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"strict":{"type":"boolean"}},"url":"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},"updateRelease":{"method":"PATCH","params":{"body":{"type":"string"},"draft":{"type":"boolean"},"name":{"type":"string"},"owner":{"required":true,"type":"string"},"prerelease":{"type":"boolean"},"release_id":{"required":true,"type":"integer"},"repo":{"required":true,"type":"string"},"tag_name":{"type":"string"},"target_commitish":{"type":"string"}},"url":"/repos/:owner/:repo/releases/:release_id"},"updateReleaseAsset":{"method":"PATCH","params":{"asset_id":{"required":true,"type":"integer"},"label":{"type":"string"},"name":{"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}},"url":"/repos/:owner/:repo/releases/assets/:asset_id"},"uploadReleaseAsset":{"method":"POST","params":{"file":{"mapTo":"data","required":true,"type":"string | object"},"headers":{"required":true,"type":"object"},"headers.content-length":{"required":true,"type":"integer"},"headers.content-type":{"required":true,"type":"string"},"label":{"type":"string"},"name":{"required":true,"type":"string"},"url":{"required":true,"type":"string"}},"url":":url"}},"search":{"code":{"method":"GET","params":{"order":{"enum":["desc","asc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"q":{"required":true,"type":"string"},"sort":{"enum":["indexed"],"type":"string"}},"url":"/search/code"},"commits":{"headers":{"accept":"application/vnd.github.cloak-preview+json"},"method":"GET","params":{"order":{"enum":["desc","asc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"q":{"required":true,"type":"string"},"sort":{"enum":["author-date","committer-date"],"type":"string"}},"url":"/search/commits"},"issues":{"deprecated":"octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)","method":"GET","params":{"order":{"enum":["desc","asc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"q":{"required":true,"type":"string"},"sort":{"enum":["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],"type":"string"}},"url":"/search/issues"},"issuesAndPullRequests":{"method":"GET","params":{"order":{"enum":["desc","asc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"q":{"required":true,"type":"string"},"sort":{"enum":["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],"type":"string"}},"url":"/search/issues"},"labels":{"method":"GET","params":{"order":{"enum":["desc","asc"],"type":"string"},"q":{"required":true,"type":"string"},"repository_id":{"required":true,"type":"integer"},"sort":{"enum":["created","updated"],"type":"string"}},"url":"/search/labels"},"repos":{"method":"GET","params":{"order":{"enum":["desc","asc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"q":{"required":true,"type":"string"},"sort":{"enum":["stars","forks","help-wanted-issues","updated"],"type":"string"}},"url":"/search/repositories"},"topics":{"method":"GET","params":{"q":{"required":true,"type":"string"}},"url":"/search/topics"},"users":{"method":"GET","params":{"order":{"enum":["desc","asc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"q":{"required":true,"type":"string"},"sort":{"enum":["followers","repositories","joined"],"type":"string"}},"url":"/search/users"}},"teams":{"addMember":{"deprecated":"octokit.teams.addMember() has been renamed to octokit.teams.addMemberLegacy() (2020-01-16)","method":"PUT","params":{"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/members/:username"},"addMemberLegacy":{"deprecated":"octokit.teams.addMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-team-member-legacy","method":"PUT","params":{"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/members/:username"},"addOrUpdateMembership":{"deprecated":"octokit.teams.addOrUpdateMembership() has been renamed to octokit.teams.addOrUpdateMembershipLegacy() (2020-01-16)","method":"PUT","params":{"role":{"enum":["member","maintainer"],"type":"string"},"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/memberships/:username"},"addOrUpdateMembershipInOrg":{"method":"PUT","params":{"org":{"required":true,"type":"string"},"role":{"enum":["member","maintainer"],"type":"string"},"team_slug":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/memberships/:username"},"addOrUpdateMembershipLegacy":{"deprecated":"octokit.teams.addOrUpdateMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy","method":"PUT","params":{"role":{"enum":["member","maintainer"],"type":"string"},"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/memberships/:username"},"addOrUpdateProject":{"deprecated":"octokit.teams.addOrUpdateProject() has been renamed to octokit.teams.addOrUpdateProjectLegacy() (2020-01-16)","headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"PUT","params":{"permission":{"enum":["read","write","admin"],"type":"string"},"project_id":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/projects/:project_id"},"addOrUpdateProjectInOrg":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"PUT","params":{"org":{"required":true,"type":"string"},"permission":{"enum":["read","write","admin"],"type":"string"},"project_id":{"required":true,"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/projects/:project_id"},"addOrUpdateProjectLegacy":{"deprecated":"octokit.teams.addOrUpdateProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-project-legacy","headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"PUT","params":{"permission":{"enum":["read","write","admin"],"type":"string"},"project_id":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/projects/:project_id"},"addOrUpdateRepo":{"deprecated":"octokit.teams.addOrUpdateRepo() has been renamed to octokit.teams.addOrUpdateRepoLegacy() (2020-01-16)","method":"PUT","params":{"owner":{"required":true,"type":"string"},"permission":{"enum":["pull","push","admin"],"type":"string"},"repo":{"required":true,"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/repos/:owner/:repo"},"addOrUpdateRepoInOrg":{"method":"PUT","params":{"org":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"permission":{"enum":["pull","push","admin"],"type":"string"},"repo":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},"addOrUpdateRepoLegacy":{"deprecated":"octokit.teams.addOrUpdateRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-repository-legacy","method":"PUT","params":{"owner":{"required":true,"type":"string"},"permission":{"enum":["pull","push","admin"],"type":"string"},"repo":{"required":true,"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/repos/:owner/:repo"},"checkManagesRepo":{"deprecated":"octokit.teams.checkManagesRepo() has been renamed to octokit.teams.checkManagesRepoLegacy() (2020-01-16)","method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/repos/:owner/:repo"},"checkManagesRepoInOrg":{"method":"GET","params":{"org":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},"checkManagesRepoLegacy":{"deprecated":"octokit.teams.checkManagesRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy","method":"GET","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/repos/:owner/:repo"},"create":{"method":"POST","params":{"description":{"type":"string"},"maintainers":{"type":"string[]"},"name":{"required":true,"type":"string"},"org":{"required":true,"type":"string"},"parent_team_id":{"type":"integer"},"permission":{"enum":["pull","push","admin"],"type":"string"},"privacy":{"enum":["secret","closed"],"type":"string"},"repo_names":{"type":"string[]"}},"url":"/orgs/:org/teams"},"createDiscussion":{"deprecated":"octokit.teams.createDiscussion() has been renamed to octokit.teams.createDiscussionLegacy() (2020-01-16)","method":"POST","params":{"body":{"required":true,"type":"string"},"private":{"type":"boolean"},"team_id":{"required":true,"type":"integer"},"title":{"required":true,"type":"string"}},"url":"/teams/:team_id/discussions"},"createDiscussionComment":{"deprecated":"octokit.teams.createDiscussionComment() has been renamed to octokit.teams.createDiscussionCommentLegacy() (2020-01-16)","method":"POST","params":{"body":{"required":true,"type":"string"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments"},"createDiscussionCommentInOrg":{"method":"POST","params":{"body":{"required":true,"type":"string"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"},"createDiscussionCommentLegacy":{"deprecated":"octokit.teams.createDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy","method":"POST","params":{"body":{"required":true,"type":"string"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments"},"createDiscussionInOrg":{"method":"POST","params":{"body":{"required":true,"type":"string"},"org":{"required":true,"type":"string"},"private":{"type":"boolean"},"team_slug":{"required":true,"type":"string"},"title":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions"},"createDiscussionLegacy":{"deprecated":"octokit.teams.createDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy","method":"POST","params":{"body":{"required":true,"type":"string"},"private":{"type":"boolean"},"team_id":{"required":true,"type":"integer"},"title":{"required":true,"type":"string"}},"url":"/teams/:team_id/discussions"},"delete":{"deprecated":"octokit.teams.delete() has been renamed to octokit.teams.deleteLegacy() (2020-01-16)","method":"DELETE","params":{"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id"},"deleteDiscussion":{"deprecated":"octokit.teams.deleteDiscussion() has been renamed to octokit.teams.deleteDiscussionLegacy() (2020-01-16)","method":"DELETE","params":{"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number"},"deleteDiscussionComment":{"deprecated":"octokit.teams.deleteDiscussionComment() has been renamed to octokit.teams.deleteDiscussionCommentLegacy() (2020-01-16)","method":"DELETE","params":{"comment_number":{"required":true,"type":"integer"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},"deleteDiscussionCommentInOrg":{"method":"DELETE","params":{"comment_number":{"required":true,"type":"integer"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},"deleteDiscussionCommentLegacy":{"deprecated":"octokit.teams.deleteDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy","method":"DELETE","params":{"comment_number":{"required":true,"type":"integer"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},"deleteDiscussionInOrg":{"method":"DELETE","params":{"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},"deleteDiscussionLegacy":{"deprecated":"octokit.teams.deleteDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy","method":"DELETE","params":{"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number"},"deleteInOrg":{"method":"DELETE","params":{"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug"},"deleteLegacy":{"deprecated":"octokit.teams.deleteLegacy() is deprecated, see https://developer.github.com/v3/teams/#delete-team-legacy","method":"DELETE","params":{"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id"},"get":{"deprecated":"octokit.teams.get() has been renamed to octokit.teams.getLegacy() (2020-01-16)","method":"GET","params":{"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id"},"getByName":{"method":"GET","params":{"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug"},"getDiscussion":{"deprecated":"octokit.teams.getDiscussion() has been renamed to octokit.teams.getDiscussionLegacy() (2020-01-16)","method":"GET","params":{"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number"},"getDiscussionComment":{"deprecated":"octokit.teams.getDiscussionComment() has been renamed to octokit.teams.getDiscussionCommentLegacy() (2020-01-16)","method":"GET","params":{"comment_number":{"required":true,"type":"integer"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},"getDiscussionCommentInOrg":{"method":"GET","params":{"comment_number":{"required":true,"type":"integer"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},"getDiscussionCommentLegacy":{"deprecated":"octokit.teams.getDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy","method":"GET","params":{"comment_number":{"required":true,"type":"integer"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},"getDiscussionInOrg":{"method":"GET","params":{"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},"getDiscussionLegacy":{"deprecated":"octokit.teams.getDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy","method":"GET","params":{"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number"},"getLegacy":{"deprecated":"octokit.teams.getLegacy() is deprecated, see https://developer.github.com/v3/teams/#get-team-legacy","method":"GET","params":{"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id"},"getMember":{"deprecated":"octokit.teams.getMember() has been renamed to octokit.teams.getMemberLegacy() (2020-01-16)","method":"GET","params":{"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/members/:username"},"getMemberLegacy":{"deprecated":"octokit.teams.getMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-member-legacy","method":"GET","params":{"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/members/:username"},"getMembership":{"deprecated":"octokit.teams.getMembership() has been renamed to octokit.teams.getMembershipLegacy() (2020-01-16)","method":"GET","params":{"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/memberships/:username"},"getMembershipInOrg":{"method":"GET","params":{"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/memberships/:username"},"getMembershipLegacy":{"deprecated":"octokit.teams.getMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-membership-legacy","method":"GET","params":{"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/memberships/:username"},"list":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/orgs/:org/teams"},"listChild":{"deprecated":"octokit.teams.listChild() has been renamed to octokit.teams.listChildLegacy() (2020-01-16)","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/teams"},"listChildInOrg":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/teams"},"listChildLegacy":{"deprecated":"octokit.teams.listChildLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-child-teams-legacy","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/teams"},"listDiscussionComments":{"deprecated":"octokit.teams.listDiscussionComments() has been renamed to octokit.teams.listDiscussionCommentsLegacy() (2020-01-16)","method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"discussion_number":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments"},"listDiscussionCommentsInOrg":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"},"listDiscussionCommentsLegacy":{"deprecated":"octokit.teams.listDiscussionCommentsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy","method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"discussion_number":{"required":true,"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments"},"listDiscussions":{"deprecated":"octokit.teams.listDiscussions() has been renamed to octokit.teams.listDiscussionsLegacy() (2020-01-16)","method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions"},"listDiscussionsInOrg":{"method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions"},"listDiscussionsLegacy":{"deprecated":"octokit.teams.listDiscussionsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy","method":"GET","params":{"direction":{"enum":["asc","desc"],"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions"},"listForAuthenticatedUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/teams"},"listMembers":{"deprecated":"octokit.teams.listMembers() has been renamed to octokit.teams.listMembersLegacy() (2020-01-16)","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"role":{"enum":["member","maintainer","all"],"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/members"},"listMembersInOrg":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"role":{"enum":["member","maintainer","all"],"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/members"},"listMembersLegacy":{"deprecated":"octokit.teams.listMembersLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-team-members-legacy","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"role":{"enum":["member","maintainer","all"],"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/members"},"listPendingInvitations":{"deprecated":"octokit.teams.listPendingInvitations() has been renamed to octokit.teams.listPendingInvitationsLegacy() (2020-01-16)","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/invitations"},"listPendingInvitationsInOrg":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/invitations"},"listPendingInvitationsLegacy":{"deprecated":"octokit.teams.listPendingInvitationsLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/invitations"},"listProjects":{"deprecated":"octokit.teams.listProjects() has been renamed to octokit.teams.listProjectsLegacy() (2020-01-16)","headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/projects"},"listProjectsInOrg":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/projects"},"listProjectsLegacy":{"deprecated":"octokit.teams.listProjectsLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-projects-legacy","headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/projects"},"listRepos":{"deprecated":"octokit.teams.listRepos() has been renamed to octokit.teams.listReposLegacy() (2020-01-16)","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/repos"},"listReposInOrg":{"method":"GET","params":{"org":{"required":true,"type":"string"},"page":{"type":"integer"},"per_page":{"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/repos"},"listReposLegacy":{"deprecated":"octokit.teams.listReposLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-repos-legacy","method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/repos"},"removeMemberLegacy":{"deprecated":"octokit.teams.removeMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-member-legacy","method":"DELETE","params":{"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/members/:username"},"removeMembershipInOrg":{"method":"DELETE","params":{"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/memberships/:username"},"removeMembershipLegacy":{"deprecated":"octokit.teams.removeMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-membership-legacy","method":"DELETE","params":{"team_id":{"required":true,"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/teams/:team_id/memberships/:username"},"removeProject":{"deprecated":"octokit.teams.removeProject() has been renamed to octokit.teams.removeProjectLegacy() (2020-01-16)","method":"DELETE","params":{"project_id":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/projects/:project_id"},"removeProjectInOrg":{"method":"DELETE","params":{"org":{"required":true,"type":"string"},"project_id":{"required":true,"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/projects/:project_id"},"removeProjectLegacy":{"deprecated":"octokit.teams.removeProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-project-legacy","method":"DELETE","params":{"project_id":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/projects/:project_id"},"removeRepo":{"deprecated":"octokit.teams.removeRepo() has been renamed to octokit.teams.removeRepoLegacy() (2020-01-16)","method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/repos/:owner/:repo"},"removeRepoInOrg":{"method":"DELETE","params":{"org":{"required":true,"type":"string"},"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},"removeRepoLegacy":{"deprecated":"octokit.teams.removeRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-repository-legacy","method":"DELETE","params":{"owner":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/repos/:owner/:repo"},"reviewProject":{"deprecated":"octokit.teams.reviewProject() has been renamed to octokit.teams.reviewProjectLegacy() (2020-01-16)","headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"project_id":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/projects/:project_id"},"reviewProjectInOrg":{"headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"org":{"required":true,"type":"string"},"project_id":{"required":true,"type":"integer"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/projects/:project_id"},"reviewProjectLegacy":{"deprecated":"octokit.teams.reviewProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#review-a-team-project-legacy","headers":{"accept":"application/vnd.github.inertia-preview+json"},"method":"GET","params":{"project_id":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/projects/:project_id"},"update":{"deprecated":"octokit.teams.update() has been renamed to octokit.teams.updateLegacy() (2020-01-16)","method":"PATCH","params":{"description":{"type":"string"},"name":{"required":true,"type":"string"},"parent_team_id":{"type":"integer"},"permission":{"enum":["pull","push","admin"],"type":"string"},"privacy":{"enum":["secret","closed"],"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id"},"updateDiscussion":{"deprecated":"octokit.teams.updateDiscussion() has been renamed to octokit.teams.updateDiscussionLegacy() (2020-01-16)","method":"PATCH","params":{"body":{"type":"string"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"},"title":{"type":"string"}},"url":"/teams/:team_id/discussions/:discussion_number"},"updateDiscussionComment":{"deprecated":"octokit.teams.updateDiscussionComment() has been renamed to octokit.teams.updateDiscussionCommentLegacy() (2020-01-16)","method":"PATCH","params":{"body":{"required":true,"type":"string"},"comment_number":{"required":true,"type":"integer"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},"updateDiscussionCommentInOrg":{"method":"PATCH","params":{"body":{"required":true,"type":"string"},"comment_number":{"required":true,"type":"integer"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},"updateDiscussionCommentLegacy":{"deprecated":"octokit.teams.updateDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy","method":"PATCH","params":{"body":{"required":true,"type":"string"},"comment_number":{"required":true,"type":"integer"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},"updateDiscussionInOrg":{"method":"PATCH","params":{"body":{"type":"string"},"discussion_number":{"required":true,"type":"integer"},"org":{"required":true,"type":"string"},"team_slug":{"required":true,"type":"string"},"title":{"type":"string"}},"url":"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},"updateDiscussionLegacy":{"deprecated":"octokit.teams.updateDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy","method":"PATCH","params":{"body":{"type":"string"},"discussion_number":{"required":true,"type":"integer"},"team_id":{"required":true,"type":"integer"},"title":{"type":"string"}},"url":"/teams/:team_id/discussions/:discussion_number"},"updateInOrg":{"method":"PATCH","params":{"description":{"type":"string"},"name":{"required":true,"type":"string"},"org":{"required":true,"type":"string"},"parent_team_id":{"type":"integer"},"permission":{"enum":["pull","push","admin"],"type":"string"},"privacy":{"enum":["secret","closed"],"type":"string"},"team_slug":{"required":true,"type":"string"}},"url":"/orgs/:org/teams/:team_slug"},"updateLegacy":{"deprecated":"octokit.teams.updateLegacy() is deprecated, see https://developer.github.com/v3/teams/#edit-team-legacy","method":"PATCH","params":{"description":{"type":"string"},"name":{"required":true,"type":"string"},"parent_team_id":{"type":"integer"},"permission":{"enum":["pull","push","admin"],"type":"string"},"privacy":{"enum":["secret","closed"],"type":"string"},"team_id":{"required":true,"type":"integer"}},"url":"/teams/:team_id"}},"users":{"addEmails":{"method":"POST","params":{"emails":{"required":true,"type":"string[]"}},"url":"/user/emails"},"block":{"method":"PUT","params":{"username":{"required":true,"type":"string"}},"url":"/user/blocks/:username"},"checkBlocked":{"method":"GET","params":{"username":{"required":true,"type":"string"}},"url":"/user/blocks/:username"},"checkFollowing":{"method":"GET","params":{"username":{"required":true,"type":"string"}},"url":"/user/following/:username"},"checkFollowingForUser":{"method":"GET","params":{"target_user":{"required":true,"type":"string"},"username":{"required":true,"type":"string"}},"url":"/users/:username/following/:target_user"},"createGpgKey":{"method":"POST","params":{"armored_public_key":{"type":"string"}},"url":"/user/gpg_keys"},"createPublicKey":{"method":"POST","params":{"key":{"type":"string"},"title":{"type":"string"}},"url":"/user/keys"},"deleteEmails":{"method":"DELETE","params":{"emails":{"required":true,"type":"string[]"}},"url":"/user/emails"},"deleteGpgKey":{"method":"DELETE","params":{"gpg_key_id":{"required":true,"type":"integer"}},"url":"/user/gpg_keys/:gpg_key_id"},"deletePublicKey":{"method":"DELETE","params":{"key_id":{"required":true,"type":"integer"}},"url":"/user/keys/:key_id"},"follow":{"method":"PUT","params":{"username":{"required":true,"type":"string"}},"url":"/user/following/:username"},"getAuthenticated":{"method":"GET","params":{},"url":"/user"},"getByUsername":{"method":"GET","params":{"username":{"required":true,"type":"string"}},"url":"/users/:username"},"getContextForUser":{"method":"GET","params":{"subject_id":{"type":"string"},"subject_type":{"enum":["organization","repository","issue","pull_request"],"type":"string"},"username":{"required":true,"type":"string"}},"url":"/users/:username/hovercard"},"getGpgKey":{"method":"GET","params":{"gpg_key_id":{"required":true,"type":"integer"}},"url":"/user/gpg_keys/:gpg_key_id"},"getPublicKey":{"method":"GET","params":{"key_id":{"required":true,"type":"integer"}},"url":"/user/keys/:key_id"},"list":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"since":{"type":"string"}},"url":"/users"},"listBlocked":{"method":"GET","params":{},"url":"/user/blocks"},"listEmails":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/emails"},"listFollowersForAuthenticatedUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/followers"},"listFollowersForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/followers"},"listFollowingForAuthenticatedUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/following"},"listFollowingForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/following"},"listGpgKeys":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/gpg_keys"},"listGpgKeysForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/gpg_keys"},"listPublicEmails":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/public_emails"},"listPublicKeys":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"}},"url":"/user/keys"},"listPublicKeysForUser":{"method":"GET","params":{"page":{"type":"integer"},"per_page":{"type":"integer"},"username":{"required":true,"type":"string"}},"url":"/users/:username/keys"},"togglePrimaryEmailVisibility":{"method":"PATCH","params":{"email":{"required":true,"type":"string"},"visibility":{"required":true,"type":"string"}},"url":"/user/email/visibility"},"unblock":{"method":"DELETE","params":{"username":{"required":true,"type":"string"}},"url":"/user/blocks/:username"},"unfollow":{"method":"DELETE","params":{"username":{"required":true,"type":"string"}},"url":"/user/following/:username"},"updateAuthenticated":{"method":"PATCH","params":{"bio":{"type":"string"},"blog":{"type":"string"},"company":{"type":"string"},"email":{"type":"string"},"hireable":{"type":"boolean"},"location":{"type":"string"},"name":{"type":"string"}},"url":"/user"}}};
+
+/***/ }),
+
+/***/ 722:
+/***/ (function(module) {
+
+/**
+ * Convert array of 16 byte values to UUID string format of the form:
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
+ */
+var byteToHex = [];
+for (var i = 0; i < 256; ++i) {
+ byteToHex[i] = (i + 0x100).toString(16).substr(1);
+}
+
+function bytesToUuid(buf, offset) {
+ var i = offset || 0;
+ var bth = byteToHex;
+ // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
+ return ([bth[buf[i++]], bth[buf[i++]],
+ bth[buf[i++]], bth[buf[i++]], '-',
+ bth[buf[i++]], bth[buf[i++]], '-',
+ bth[buf[i++]], bth[buf[i++]], '-',
+ bth[buf[i++]], bth[buf[i++]], '-',
+ bth[buf[i++]], bth[buf[i++]],
+ bth[buf[i++]], bth[buf[i++]],
+ bth[buf[i++]], bth[buf[i++]]]).join('');
+}
+
+module.exports = bytesToUuid;
+
+
+/***/ }),
+
+/***/ 742:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+var fs = __webpack_require__(747)
+var core
+if (process.platform === 'win32' || global.TESTING_WINDOWS) {
+ core = __webpack_require__(818)
+} else {
+ core = __webpack_require__(197)
+}
+
+module.exports = isexe
+isexe.sync = sync
+
+function isexe (path, options, cb) {
+ if (typeof options === 'function') {
+ cb = options
+ options = {}
+ }
+
+ if (!cb) {
+ if (typeof Promise !== 'function') {
+ throw new TypeError('callback not provided')
+ }
+
+ return new Promise(function (resolve, reject) {
+ isexe(path, options || {}, function (er, is) {
+ if (er) {
+ reject(er)
+ } else {
+ resolve(is)
+ }
+ })
+ })
+ }
+
+ core(path, options || {}, function (er, is) {
+ // ignore EACCES because that just means we aren't allowed to run it
+ if (er) {
+ if (er.code === 'EACCES' || options && options.ignoreErrors) {
+ er = null
+ is = false
+ }
+ }
+ cb(er, is)
+ })
+}
+
+function sync (path, options) {
+ // my kingdom for a filtered catch
+ try {
+ return core.sync(path, options || {})
+ } catch (er) {
+ if (options && options.ignoreErrors || er.code === 'EACCES') {
+ return false
+ } else {
+ throw er
+ }
+ }
+}
+
+
+/***/ }),
+
+/***/ 747:
+/***/ (function(module) {
+
+module.exports = require("fs");
+
+/***/ }),
+
+/***/ 749:
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const os = __webpack_require__(87);
+const assert = __importStar(__webpack_require__(357));
+const core = __importStar(__webpack_require__(470));
+const hc = __importStar(__webpack_require__(539));
+const io = __importStar(__webpack_require__(1));
+const tc = __importStar(__webpack_require__(533));
+const path = __importStar(__webpack_require__(622));
+const semver = __importStar(__webpack_require__(280));
+const fs = __webpack_require__(747);
+function getNode(versionSpec, stable, checkLatest, auth) {
+ return __awaiter(this, void 0, void 0, function* () {
+ let osPlat = os.platform();
+ let osArch = translateArchToDistUrl(os.arch());
+ if (checkLatest) {
+ core.info('Attempt to resolve the latest version from manifest...');
+ const resolvedVersion = yield resolveVersionFromManifest(versionSpec, stable, auth);
+ if (resolvedVersion) {
+ versionSpec = resolvedVersion;
+ core.info(`Resolved as '${versionSpec}'`);
+ }
+ else {
+ core.info(`Failed to resolve version ${versionSpec} from manifest`);
+ }
+ }
+ // check cache
+ let toolPath;
+ toolPath = tc.find('node', versionSpec);
+ // If not found in cache, download
+ if (toolPath) {
+ core.info(`Found in cache @ ${toolPath}`);
+ }
+ else {
+ core.info(`Attempting to download ${versionSpec}...`);
+ let downloadPath = '';
+ let info = null;
+ //
+ // Try download from internal distribution (popular versions only)
+ //
+ try {
+ info = yield getInfoFromManifest(versionSpec, stable, auth);
+ if (info) {
+ core.info(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`);
+ downloadPath = yield tc.downloadTool(info.downloadUrl, undefined, auth);
+ }
+ else {
+ core.info('Not found in manifest. Falling back to download directly from Node');
+ }
+ }
+ catch (err) {
+ // Rate limit?
+ if (err instanceof tc.HTTPError &&
+ (err.httpStatusCode === 403 || err.httpStatusCode === 429)) {
+ core.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);
+ }
+ else {
+ core.info(err.message);
+ }
+ core.debug(err.stack);
+ core.info('Falling back to download directly from Node');
+ }
+ //
+ // Download from nodejs.org
+ //
+ if (!downloadPath) {
+ info = yield getInfoFromDist(versionSpec);
+ if (!info) {
+ throw new Error(`Unable to find Node version '${versionSpec}' for platform ${osPlat} and architecture ${osArch}.`);
+ }
+ core.info(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`);
+ try {
+ downloadPath = yield tc.downloadTool(info.downloadUrl);
+ }
+ catch (err) {
+ if (err instanceof tc.HTTPError && err.httpStatusCode == 404) {
+ return yield acquireNodeFromFallbackLocation(info.resolvedVersion);
+ }
+ throw err;
+ }
+ }
+ //
+ // Extract
+ //
+ core.info('Extracting ...');
+ let extPath;
+ info = info || {}; // satisfy compiler, never null when reaches here
+ if (osPlat == 'win32') {
+ let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe');
+ extPath = yield tc.extract7z(downloadPath, undefined, _7zPath);
+ // 7z extracts to folder matching file name
+ let nestedPath = path.join(extPath, path.basename(info.fileName, '.7z'));
+ if (fs.existsSync(nestedPath)) {
+ extPath = nestedPath;
+ }
+ }
+ else {
+ extPath = yield tc.extractTar(downloadPath, undefined, [
+ 'xz',
+ '--strip',
+ '1'
+ ]);
+ }
+ //
+ // Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded
+ //
+ core.info('Adding to the cache ...');
+ toolPath = yield tc.cacheDir(extPath, 'node', info.resolvedVersion);
+ core.info('Done');
+ }
+ //
+ // a tool installer initimately knows details about the layout of that tool
+ // for example, node binary is in the bin folder after the extract on Mac/Linux.
+ // layouts could change by version, by platform etc... but that's the tool installers job
+ //
+ if (osPlat != 'win32') {
+ toolPath = path.join(toolPath, 'bin');
+ }
+ //
+ // prepend the tools path. instructs the agent to prepend for future tasks
+ core.addPath(toolPath);
+ });
+}
+exports.getNode = getNode;
+function getInfoFromManifest(versionSpec, stable, auth) {
+ return __awaiter(this, void 0, void 0, function* () {
+ let info = null;
+ const releases = yield tc.getManifestFromRepo('actions', 'node-versions', auth, 'main');
+ const rel = yield tc.findFromManifest(versionSpec, stable, releases);
+ if (rel && rel.files.length > 0) {
+ info = {};
+ info.resolvedVersion = rel.version;
+ info.downloadUrl = rel.files[0].download_url;
+ info.fileName = rel.files[0].filename;
+ }
+ return info;
+ });
+}
+function getInfoFromDist(versionSpec) {
+ return __awaiter(this, void 0, void 0, function* () {
+ let osPlat = os.platform();
+ let osArch = translateArchToDistUrl(os.arch());
+ let version;
+ version = yield queryDistForMatch(versionSpec);
+ if (!version) {
+ return null;
+ }
+ //
+ // Download - a tool installer intimately knows how to get the tool (and construct urls)
+ //
+ version = semver.clean(version) || '';
+ let fileName = osPlat == 'win32'
+ ? `node-v${version}-win-${osArch}`
+ : `node-v${version}-${osPlat}-${osArch}`;
+ let urlFileName = osPlat == 'win32' ? `${fileName}.7z` : `${fileName}.tar.gz`;
+ let url = `https://nodejs.org/dist/v${version}/${urlFileName}`;
+ return {
+ downloadUrl: url,
+ resolvedVersion: version,
+ fileName: fileName
+ };
+ });
+}
+function resolveVersionFromManifest(versionSpec, stable, auth) {
+ return __awaiter(this, void 0, void 0, function* () {
+ try {
+ const info = yield getInfoFromManifest(versionSpec, stable, auth);
+ return info === null || info === void 0 ? void 0 : info.resolvedVersion;
+ }
+ catch (err) {
+ core.info('Unable to resolve version from manifest...');
+ core.debug(err.message);
+ }
+ });
+}
+// TODO - should we just export this from @actions/tool-cache? Lifted directly from there
+function evaluateVersions(versions, versionSpec) {
+ let version = '';
+ core.debug(`evaluating ${versions.length} versions`);
+ versions = versions.sort((a, b) => {
+ if (semver.gt(a, b)) {
+ return 1;
+ }
+ return -1;
+ });
+ for (let i = versions.length - 1; i >= 0; i--) {
+ const potential = versions[i];
+ const satisfied = semver.satisfies(potential, versionSpec);
+ if (satisfied) {
+ version = potential;
+ break;
+ }
+ }
+ if (version) {
+ core.debug(`matched: ${version}`);
+ }
+ else {
+ core.debug('match not found');
+ }
+ return version;
+}
+function queryDistForMatch(versionSpec) {
+ return __awaiter(this, void 0, void 0, function* () {
+ let osPlat = os.platform();
+ let osArch = translateArchToDistUrl(os.arch());
+ // node offers a json list of versions
+ let dataFileName;
+ switch (osPlat) {
+ case 'linux':
+ dataFileName = `linux-${osArch}`;
+ break;
+ case 'darwin':
+ dataFileName = `osx-${osArch}-tar`;
+ break;
+ case 'win32':
+ dataFileName = `win-${osArch}-exe`;
+ break;
+ default:
+ throw new Error(`Unexpected OS '${osPlat}'`);
+ }
+ let versions = [];
+ let nodeVersions = yield module.exports.getVersionsFromDist();
+ nodeVersions.forEach((nodeVersion) => {
+ // ensure this version supports your os and platform
+ if (nodeVersion.files.indexOf(dataFileName) >= 0) {
+ versions.push(nodeVersion.version);
+ }
+ });
+ // get the latest version that matches the version spec
+ let version = evaluateVersions(versions, versionSpec);
+ return version;
+ });
+}
+function getVersionsFromDist() {
+ return __awaiter(this, void 0, void 0, function* () {
+ let dataUrl = 'https://nodejs.org/dist/index.json';
+ let httpClient = new hc.HttpClient('setup-node', [], {
+ allowRetries: true,
+ maxRetries: 3
+ });
+ let response = yield httpClient.getJson(dataUrl);
+ return response.result || [];
+ });
+}
+exports.getVersionsFromDist = getVersionsFromDist;
+// For non LTS versions of Node, the files we need (for Windows) are sometimes located
+// in a different folder than they normally are for other versions.
+// Normally the format is similar to: https://nodejs.org/dist/v5.10.1/node-v5.10.1-win-x64.7z
+// In this case, there will be two files located at:
+// /dist/v5.10.1/win-x64/node.exe
+// /dist/v5.10.1/win-x64/node.lib
+// If this is not the structure, there may also be two files located at:
+// /dist/v0.12.18/node.exe
+// /dist/v0.12.18/node.lib
+// This method attempts to download and cache the resources from these alternative locations.
+// Note also that the files are normally zipped but in this case they are just an exe
+// and lib file in a folder, not zipped.
+function acquireNodeFromFallbackLocation(version) {
+ return __awaiter(this, void 0, void 0, function* () {
+ let osPlat = os.platform();
+ let osArch = translateArchToDistUrl(os.arch());
+ // Create temporary folder to download in to
+ const tempDownloadFolder = 'temp_' + Math.floor(Math.random() * 2000000000);
+ const tempDirectory = process.env['RUNNER_TEMP'] || '';
+ assert.ok(tempDirectory, 'Expected RUNNER_TEMP to be defined');
+ const tempDir = path.join(tempDirectory, tempDownloadFolder);
+ yield io.mkdirP(tempDir);
+ let exeUrl;
+ let libUrl;
+ try {
+ exeUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.exe`;
+ libUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.lib`;
+ core.info(`Downloading only node binary from ${exeUrl}`);
+ const exePath = yield tc.downloadTool(exeUrl);
+ yield io.cp(exePath, path.join(tempDir, 'node.exe'));
+ const libPath = yield tc.downloadTool(libUrl);
+ yield io.cp(libPath, path.join(tempDir, 'node.lib'));
+ }
+ catch (err) {
+ if (err instanceof tc.HTTPError && err.httpStatusCode == 404) {
+ exeUrl = `https://nodejs.org/dist/v${version}/node.exe`;
+ libUrl = `https://nodejs.org/dist/v${version}/node.lib`;
+ const exePath = yield tc.downloadTool(exeUrl);
+ yield io.cp(exePath, path.join(tempDir, 'node.exe'));
+ const libPath = yield tc.downloadTool(libUrl);
+ yield io.cp(libPath, path.join(tempDir, 'node.lib'));
+ }
+ else {
+ throw err;
+ }
+ }
+ let toolPath = yield tc.cacheDir(tempDir, 'node', version);
+ core.addPath(toolPath);
+ return toolPath;
+ });
+}
+// os.arch does not always match the relative download url, e.g.
+// os.arch == 'arm' != node-v12.13.1-linux-armv7l.tar.gz
+// All other currently supported architectures match, e.g.:
+// os.arch = arm64 => https://nodejs.org/dist/v{VERSION}/node-v{VERSION}-{OS}-arm64.tar.gz
+// os.arch = x64 => https://nodejs.org/dist/v{VERSION}/node-v{VERSION}-{OS}-x64.tar.gz
+function translateArchToDistUrl(arch) {
+ switch (arch) {
+ case 'arm':
+ return 'armv7l';
+ default:
+ return arch;
+ }
+}
+//# sourceMappingURL=installer.js.map
+
+/***/ }),
+
+/***/ 753:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
+
+var endpoint = __webpack_require__(385);
+var universalUserAgent = __webpack_require__(392);
+var isPlainObject = _interopDefault(__webpack_require__(548));
+var nodeFetch = _interopDefault(__webpack_require__(454));
+var requestError = __webpack_require__(463);
+
+const VERSION = "5.3.1";
+
+function getBufferResponse(response) {
+ return response.arrayBuffer();
+}
+
+function fetchWrapper(requestOptions) {
+ if (isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {
+ requestOptions.body = JSON.stringify(requestOptions.body);
+ }
+
+ let headers = {};
+ let status;
+ let url;
+ const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch;
+ return fetch(requestOptions.url, Object.assign({
+ method: requestOptions.method,
+ body: requestOptions.body,
+ headers: requestOptions.headers,
+ redirect: requestOptions.redirect
+ }, requestOptions.request)).then(response => {
+ url = response.url;
+ status = response.status;
+
+ for (const keyAndValue of response.headers) {
+ headers[keyAndValue[0]] = keyAndValue[1];
+ }
+
+ if (status === 204 || status === 205) {
+ return;
+ } // GitHub API returns 200 for HEAD requsets
+
+
+ if (requestOptions.method === "HEAD") {
+ if (status < 400) {
+ return;
+ }
+
+ throw new requestError.RequestError(response.statusText, status, {
+ headers,
+ request: requestOptions
+ });
+ }
+
+ if (status === 304) {
+ throw new requestError.RequestError("Not modified", status, {
+ headers,
+ request: requestOptions
+ });
+ }
+
+ if (status >= 400) {
+ return response.text().then(message => {
+ const error = new requestError.RequestError(message, status, {
+ headers,
+ request: requestOptions
+ });
+
+ try {
+ let responseBody = JSON.parse(error.message);
+ Object.assign(error, responseBody);
+ let errors = responseBody.errors; // Assumption `errors` would always be in Array Fotmat
+
+ error.message = error.message + ": " + errors.map(JSON.stringify).join(", ");
+ } catch (e) {// ignore, see octokit/rest.js#684
+ }
+
+ throw error;
+ });
+ }
+
+ const contentType = response.headers.get("content-type");
+
+ if (/application\/json/.test(contentType)) {
+ return response.json();
+ }
+
+ if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
+ return response.text();
+ }
+
+ return getBufferResponse(response);
+ }).then(data => {
+ return {
+ status,
+ url,
+ headers,
+ data
+ };
+ }).catch(error => {
+ if (error instanceof requestError.RequestError) {
+ throw error;
+ }
+
+ throw new requestError.RequestError(error.message, 500, {
+ headers,
+ request: requestOptions
+ });
+ });
+}
+
+function withDefaults(oldEndpoint, newDefaults) {
+ const endpoint = oldEndpoint.defaults(newDefaults);
+
+ const newApi = function (route, parameters) {
+ const endpointOptions = endpoint.merge(route, parameters);
+
+ if (!endpointOptions.request || !endpointOptions.request.hook) {
+ return fetchWrapper(endpoint.parse(endpointOptions));
+ }
+
+ const request = (route, parameters) => {
+ return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));
+ };
+
+ Object.assign(request, {
+ endpoint,
+ defaults: withDefaults.bind(null, endpoint)
+ });
+ return endpointOptions.request.hook(request, endpointOptions);
+ };
+
+ return Object.assign(newApi, {
+ endpoint,
+ defaults: withDefaults.bind(null, endpoint)
+ });
+}
+
+const request = withDefaults(endpoint.endpoint, {
+ headers: {
+ "user-agent": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}`
+ }
+});
+
+exports.request = request;
+//# sourceMappingURL=index.js.map
+
+
+/***/ }),
+
+/***/ 761:
+/***/ (function(module) {
+
+module.exports = require("zlib");
+
+/***/ }),
+
+/***/ 763:
+/***/ (function(module) {
+
+module.exports = removeHook
+
+function removeHook (state, name, method) {
+ if (!state.registry[name]) {
+ return
+ }
+
+ var index = state.registry[name]
+ .map(function (registered) { return registered.orig })
+ .indexOf(method)
+
+ if (index === -1) {
+ return
+ }
+
+ state.registry[name].splice(index, 1)
+}
+
+
+/***/ }),
+
+/***/ 768:
+/***/ (function(module) {
+
+"use strict";
+
+module.exports = function (x) {
+ var lf = typeof x === 'string' ? '\n' : '\n'.charCodeAt();
+ var cr = typeof x === 'string' ? '\r' : '\r'.charCodeAt();
+
+ if (x[x.length - 1] === lf) {
+ x = x.slice(0, x.length - 1);
+ }
+
+ if (x[x.length - 1] === cr) {
+ x = x.slice(0, x.length - 1);
+ }
+
+ return x;
+};
+
+
+/***/ }),
+
+/***/ 777:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = getFirstPage
+
+const getPage = __webpack_require__(265)
+
+function getFirstPage (octokit, link, headers) {
+ return getPage(octokit, link, 'first', headers)
+}
+
+
+/***/ }),
+
+/***/ 794:
+/***/ (function(module) {
+
+module.exports = require("stream");
+
+/***/ }),
+
+/***/ 807:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = paginate;
+
+const iterator = __webpack_require__(8);
+
+function paginate(octokit, route, options, mapFn) {
+ if (typeof options === "function") {
+ mapFn = options;
+ options = undefined;
+ }
+ options = octokit.request.endpoint.merge(route, options);
+ return gather(
+ octokit,
+ [],
+ iterator(octokit, options)[Symbol.asyncIterator](),
+ mapFn
+ );
+}
+
+function gather(octokit, results, iterator, mapFn) {
+ return iterator.next().then(result => {
+ if (result.done) {
+ return results;
+ }
+
+ let earlyExit = false;
+ function done() {
+ earlyExit = true;
+ }
+
+ results = results.concat(
+ mapFn ? mapFn(result.value, done) : result.value.data
+ );
+
+ if (earlyExit) {
+ return results;
+ }
+
+ return gather(octokit, results, iterator, mapFn);
+ });
+}
+
+
+/***/ }),
+
+/***/ 813:
+/***/ (function(__unusedmodule, exports) {
+
+"use strict";
+
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+async function auth(token) {
+ const tokenType = token.split(/\./).length === 3 ? "app" : /^v\d+\./.test(token) ? "installation" : "oauth";
+ return {
+ type: "token",
+ token: token,
+ tokenType
+ };
+}
+
+/**
+ * Prefix token for usage in the Authorization header
+ *
+ * @param token OAuth token or JSON Web Token
+ */
+function withAuthorizationPrefix(token) {
+ if (token.split(/\./).length === 3) {
+ return `bearer ${token}`;
+ }
+
+ return `token ${token}`;
+}
+
+async function hook(token, request, route, parameters) {
+ const endpoint = request.endpoint.merge(route, parameters);
+ endpoint.headers.authorization = withAuthorizationPrefix(token);
+ return request(endpoint);
+}
+
+const createTokenAuth = function createTokenAuth(token) {
+ if (!token) {
+ throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");
+ }
+
+ if (typeof token !== "string") {
+ throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");
+ }
+
+ token = token.replace(/^(token|bearer) +/i, "");
+ return Object.assign(auth.bind(null, token), {
+ hook: hook.bind(null, token)
+ });
+};
+
+exports.createTokenAuth = createTokenAuth;
+//# sourceMappingURL=index.js.map
+
+
+/***/ }),
+
+/***/ 814:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = which
+which.sync = whichSync
+
+var isWindows = process.platform === 'win32' ||
+ process.env.OSTYPE === 'cygwin' ||
+ process.env.OSTYPE === 'msys'
+
+var path = __webpack_require__(622)
+var COLON = isWindows ? ';' : ':'
+var isexe = __webpack_require__(742)
+
+function getNotFoundError (cmd) {
+ var er = new Error('not found: ' + cmd)
+ er.code = 'ENOENT'
+
+ return er
+}
+
+function getPathInfo (cmd, opt) {
+ var colon = opt.colon || COLON
+ var pathEnv = opt.path || process.env.PATH || ''
+ var pathExt = ['']
+
+ pathEnv = pathEnv.split(colon)
+
+ var pathExtExe = ''
+ if (isWindows) {
+ pathEnv.unshift(process.cwd())
+ pathExtExe = (opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM')
+ pathExt = pathExtExe.split(colon)
+
+
+ // Always test the cmd itself first. isexe will check to make sure
+ // it's found in the pathExt set.
+ if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')
+ pathExt.unshift('')
+ }
+
+ // If it has a slash, then we don't bother searching the pathenv.
+ // just check the file itself, and that's it.
+ if (cmd.match(/\//) || isWindows && cmd.match(/\\/))
+ pathEnv = ['']
+
+ return {
+ env: pathEnv,
+ ext: pathExt,
+ extExe: pathExtExe
+ }
+}
+
+function which (cmd, opt, cb) {
+ if (typeof opt === 'function') {
+ cb = opt
+ opt = {}
+ }
+
+ var info = getPathInfo(cmd, opt)
+ var pathEnv = info.env
+ var pathExt = info.ext
+ var pathExtExe = info.extExe
+ var found = []
+
+ ;(function F (i, l) {
+ if (i === l) {
+ if (opt.all && found.length)
+ return cb(null, found)
+ else
+ return cb(getNotFoundError(cmd))
+ }
+
+ var pathPart = pathEnv[i]
+ if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"')
+ pathPart = pathPart.slice(1, -1)
+
+ var p = path.join(pathPart, cmd)
+ if (!pathPart && (/^\.[\\\/]/).test(cmd)) {
+ p = cmd.slice(0, 2) + p
+ }
+ ;(function E (ii, ll) {
+ if (ii === ll) return F(i + 1, l)
+ var ext = pathExt[ii]
+ isexe(p + ext, { pathExt: pathExtExe }, function (er, is) {
+ if (!er && is) {
+ if (opt.all)
+ found.push(p + ext)
+ else
+ return cb(null, p + ext)
+ }
+ return E(ii + 1, ll)
+ })
+ })(0, pathExt.length)
+ })(0, pathEnv.length)
+}
+
+function whichSync (cmd, opt) {
+ opt = opt || {}
+
+ var info = getPathInfo(cmd, opt)
+ var pathEnv = info.env
+ var pathExt = info.ext
+ var pathExtExe = info.extExe
+ var found = []
+
+ for (var i = 0, l = pathEnv.length; i < l; i ++) {
+ var pathPart = pathEnv[i]
+ if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"')
+ pathPart = pathPart.slice(1, -1)
+
+ var p = path.join(pathPart, cmd)
+ if (!pathPart && /^\.[\\\/]/.test(cmd)) {
+ p = cmd.slice(0, 2) + p
+ }
+ for (var j = 0, ll = pathExt.length; j < ll; j ++) {
+ var cur = p + pathExt[j]
+ var is
+ try {
+ is = isexe.sync(cur, { pathExt: pathExtExe })
+ if (is) {
+ if (opt.all)
+ found.push(cur)
+ else
+ return cur
+ }
+ } catch (ex) {}
+ }
+ }
+
+ if (opt.all && found.length)
+ return found
+
+ if (opt.nothrow)
+ return null
+
+ throw getNotFoundError(cmd)
+}
+
+
+/***/ }),
+
+/***/ 816:
+/***/ (function(module) {
+
+"use strict";
+
+module.exports = /^#!.*/;
+
+
+/***/ }),
+
+/***/ 818:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = isexe
+isexe.sync = sync
+
+var fs = __webpack_require__(747)
+
+function checkPathExt (path, options) {
+ var pathext = options.pathExt !== undefined ?
+ options.pathExt : process.env.PATHEXT
+
+ if (!pathext) {
+ return true
+ }
+
+ pathext = pathext.split(';')
+ if (pathext.indexOf('') !== -1) {
+ return true
+ }
+ for (var i = 0; i < pathext.length; i++) {
+ var p = pathext[i].toLowerCase()
+ if (p && path.substr(-p.length).toLowerCase() === p) {
+ return true
+ }
+ }
+ return false
+}
+
+function checkStat (stat, path, options) {
+ if (!stat.isSymbolicLink() && !stat.isFile()) {
+ return false
+ }
+ return checkPathExt(path, options)
+}
+
+function isexe (path, options, cb) {
+ fs.stat(path, function (er, stat) {
+ cb(er, er ? false : checkStat(stat, path, options))
+ })
+}
+
+function sync (path, options) {
+ return checkStat(fs.statSync(path), path, options)
+}
+
+
+/***/ }),
+
+/***/ 826:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+var rng = __webpack_require__(139);
+var bytesToUuid = __webpack_require__(722);
+
+function v4(options, buf, offset) {
+ var i = buf && offset || 0;
+
+ if (typeof(options) == 'string') {
+ buf = options === 'binary' ? new Array(16) : null;
+ options = null;
+ }
+ options = options || {};
+
+ var rnds = options.random || (options.rng || rng)();
+
+ // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
+ rnds[6] = (rnds[6] & 0x0f) | 0x40;
+ rnds[8] = (rnds[8] & 0x3f) | 0x80;
+
+ // Copy bytes to buffer, if provided
+ if (buf) {
+ for (var ii = 0; ii < 16; ++ii) {
+ buf[i + ii] = rnds[ii];
+ }
+ }
+
+ return buf || bytesToUuid(rnds);
+}
+
+module.exports = v4;
+
+
+/***/ }),
+
+/***/ 835:
+/***/ (function(module) {
+
+module.exports = require("url");
+
+/***/ }),
+
+/***/ 850:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = paginationMethodsPlugin
+
+function paginationMethodsPlugin (octokit) {
+ octokit.getFirstPage = __webpack_require__(777).bind(null, octokit)
+ octokit.getLastPage = __webpack_require__(649).bind(null, octokit)
+ octokit.getNextPage = __webpack_require__(550).bind(null, octokit)
+ octokit.getPreviousPage = __webpack_require__(563).bind(null, octokit)
+ octokit.hasFirstPage = __webpack_require__(536)
+ octokit.hasLastPage = __webpack_require__(336)
+ octokit.hasNextPage = __webpack_require__(929)
+ octokit.hasPreviousPage = __webpack_require__(558)
+}
+
+
+/***/ }),
+
+/***/ 854:
+/***/ (function(module) {
+
+/**
+ * lodash (Custom Build)
+ * Build: `lodash modularize exports="npm" -o ./`
+ * Copyright jQuery Foundation and other contributors
+ * Released under MIT license
+ * Based on Underscore.js 1.8.3
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ */
+
+/** Used as the `TypeError` message for "Functions" methods. */
+var FUNC_ERROR_TEXT = 'Expected a function';
+
+/** Used to stand-in for `undefined` hash values. */
+var HASH_UNDEFINED = '__lodash_hash_undefined__';
+
+/** Used as references for various `Number` constants. */
+var INFINITY = 1 / 0;
+
+/** `Object#toString` result references. */
+var funcTag = '[object Function]',
+ genTag = '[object GeneratorFunction]',
+ symbolTag = '[object Symbol]';
+
+/** Used to match property names within property paths. */
+var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
+ reIsPlainProp = /^\w*$/,
+ reLeadingDot = /^\./,
+ rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
+
+/**
+ * Used to match `RegExp`
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
+ */
+var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
+
+/** Used to match backslashes in property paths. */
+var reEscapeChar = /\\(\\)?/g;
+
+/** Used to detect host constructors (Safari). */
+var reIsHostCtor = /^\[object .+?Constructor\]$/;
+
+/** Detect free variable `global` from Node.js. */
+var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
+
+/** Detect free variable `self`. */
+var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
+
+/** Used as a reference to the global object. */
+var root = freeGlobal || freeSelf || Function('return this')();
+
+/**
+ * Gets the value at `key` of `object`.
+ *
+ * @private
+ * @param {Object} [object] The object to query.
+ * @param {string} key The key of the property to get.
+ * @returns {*} Returns the property value.
+ */
+function getValue(object, key) {
+ return object == null ? undefined : object[key];
+}
+
+/**
+ * Checks if `value` is a host object in IE < 9.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
+ */
+function isHostObject(value) {
+ // Many host objects are `Object` objects that can coerce to strings
+ // despite having improperly defined `toString` methods.
+ var result = false;
+ if (value != null && typeof value.toString != 'function') {
+ try {
+ result = !!(value + '');
+ } catch (e) {}
+ }
+ return result;
+}
+
+/** Used for built-in method references. */
+var arrayProto = Array.prototype,
+ funcProto = Function.prototype,
+ objectProto = Object.prototype;
+
+/** Used to detect overreaching core-js shims. */
+var coreJsData = root['__core-js_shared__'];
+
+/** Used to detect methods masquerading as native. */
+var maskSrcKey = (function() {
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
+ return uid ? ('Symbol(src)_1.' + uid) : '';
+}());
+
+/** Used to resolve the decompiled source of functions. */
+var funcToString = funcProto.toString;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+/**
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
+ * of values.
+ */
+var objectToString = objectProto.toString;
+
+/** Used to detect if a method is native. */
+var reIsNative = RegExp('^' +
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
+);
+
+/** Built-in value references. */
+var Symbol = root.Symbol,
+ splice = arrayProto.splice;
+
+/* Built-in method references that are verified to be native. */
+var Map = getNative(root, 'Map'),
+ nativeCreate = getNative(Object, 'create');
+
+/** Used to convert symbols to primitives and strings. */
+var symbolProto = Symbol ? Symbol.prototype : undefined,
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
+
+/**
+ * Creates a hash object.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+function Hash(entries) {
+ var index = -1,
+ length = entries ? entries.length : 0;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+}
+
+/**
+ * Removes all key-value entries from the hash.
+ *
+ * @private
+ * @name clear
+ * @memberOf Hash
+ */
+function hashClear() {
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
+}
+
+/**
+ * Removes `key` and its value from the hash.
+ *
+ * @private
+ * @name delete
+ * @memberOf Hash
+ * @param {Object} hash The hash to modify.
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function hashDelete(key) {
+ return this.has(key) && delete this.__data__[key];
+}
+
+/**
+ * Gets the hash value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf Hash
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function hashGet(key) {
+ var data = this.__data__;
+ if (nativeCreate) {
+ var result = data[key];
+ return result === HASH_UNDEFINED ? undefined : result;
+ }
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
+}
+
+/**
+ * Checks if a hash value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf Hash
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function hashHas(key) {
+ var data = this.__data__;
+ return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
+}
+
+/**
+ * Sets the hash `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf Hash
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the hash instance.
+ */
+function hashSet(key, value) {
+ var data = this.__data__;
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
+ return this;
+}
+
+// Add methods to `Hash`.
+Hash.prototype.clear = hashClear;
+Hash.prototype['delete'] = hashDelete;
+Hash.prototype.get = hashGet;
+Hash.prototype.has = hashHas;
+Hash.prototype.set = hashSet;
+
+/**
+ * Creates an list cache object.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+function ListCache(entries) {
+ var index = -1,
+ length = entries ? entries.length : 0;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+}
+
+/**
+ * Removes all key-value entries from the list cache.
+ *
+ * @private
+ * @name clear
+ * @memberOf ListCache
+ */
+function listCacheClear() {
+ this.__data__ = [];
+}
+
+/**
+ * Removes `key` and its value from the list cache.
+ *
+ * @private
+ * @name delete
+ * @memberOf ListCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function listCacheDelete(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ if (index < 0) {
+ return false;
+ }
+ var lastIndex = data.length - 1;
+ if (index == lastIndex) {
+ data.pop();
+ } else {
+ splice.call(data, index, 1);
+ }
+ return true;
+}
+
+/**
+ * Gets the list cache value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf ListCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function listCacheGet(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ return index < 0 ? undefined : data[index][1];
+}
+
+/**
+ * Checks if a list cache value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf ListCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function listCacheHas(key) {
+ return assocIndexOf(this.__data__, key) > -1;
+}
+
+/**
+ * Sets the list cache `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf ListCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the list cache instance.
+ */
+function listCacheSet(key, value) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ if (index < 0) {
+ data.push([key, value]);
+ } else {
+ data[index][1] = value;
+ }
+ return this;
+}
+
+// Add methods to `ListCache`.
+ListCache.prototype.clear = listCacheClear;
+ListCache.prototype['delete'] = listCacheDelete;
+ListCache.prototype.get = listCacheGet;
+ListCache.prototype.has = listCacheHas;
+ListCache.prototype.set = listCacheSet;
+
+/**
+ * Creates a map cache object to store key-value pairs.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+function MapCache(entries) {
+ var index = -1,
+ length = entries ? entries.length : 0;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+}
+
+/**
+ * Removes all key-value entries from the map.
+ *
+ * @private
+ * @name clear
+ * @memberOf MapCache
+ */
+function mapCacheClear() {
+ this.__data__ = {
+ 'hash': new Hash,
+ 'map': new (Map || ListCache),
+ 'string': new Hash
+ };
+}
+
+/**
+ * Removes `key` and its value from the map.
+ *
+ * @private
+ * @name delete
+ * @memberOf MapCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function mapCacheDelete(key) {
+ return getMapData(this, key)['delete'](key);
+}
+
+/**
+ * Gets the map value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf MapCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function mapCacheGet(key) {
+ return getMapData(this, key).get(key);
+}
+
+/**
+ * Checks if a map value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf MapCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function mapCacheHas(key) {
+ return getMapData(this, key).has(key);
+}
+
+/**
+ * Sets the map `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf MapCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the map cache instance.
+ */
+function mapCacheSet(key, value) {
+ getMapData(this, key).set(key, value);
+ return this;
+}
+
+// Add methods to `MapCache`.
+MapCache.prototype.clear = mapCacheClear;
+MapCache.prototype['delete'] = mapCacheDelete;
+MapCache.prototype.get = mapCacheGet;
+MapCache.prototype.has = mapCacheHas;
+MapCache.prototype.set = mapCacheSet;
+
+/**
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} key The key to search for.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+function assocIndexOf(array, key) {
+ var length = array.length;
+ while (length--) {
+ if (eq(array[length][0], key)) {
+ return length;
+ }
+ }
+ return -1;
+}
+
+/**
+ * The base implementation of `_.get` without support for default values.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @param {Array|string} path The path of the property to get.
+ * @returns {*} Returns the resolved value.
+ */
+function baseGet(object, path) {
+ path = isKey(path, object) ? [path] : castPath(path);
+
+ var index = 0,
+ length = path.length;
+
+ while (object != null && index < length) {
+ object = object[toKey(path[index++])];
+ }
+ return (index && index == length) ? object : undefined;
+}
+
+/**
+ * The base implementation of `_.isNative` without bad shim checks.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a native function,
+ * else `false`.
+ */
+function baseIsNative(value) {
+ if (!isObject(value) || isMasked(value)) {
+ return false;
+ }
+ var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
+ return pattern.test(toSource(value));
+}
+
+/**
+ * The base implementation of `_.toString` which doesn't convert nullish
+ * values to empty strings.
+ *
+ * @private
+ * @param {*} value The value to process.
+ * @returns {string} Returns the string.
+ */
+function baseToString(value) {
+ // Exit early for strings to avoid a performance hit in some environments.
+ if (typeof value == 'string') {
+ return value;
+ }
+ if (isSymbol(value)) {
+ return symbolToString ? symbolToString.call(value) : '';
+ }
+ var result = (value + '');
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
+}
+
+/**
+ * Casts `value` to a path array if it's not one.
+ *
+ * @private
+ * @param {*} value The value to inspect.
+ * @returns {Array} Returns the cast property path array.
+ */
+function castPath(value) {
+ return isArray(value) ? value : stringToPath(value);
+}
+
+/**
+ * Gets the data for `map`.
+ *
+ * @private
+ * @param {Object} map The map to query.
+ * @param {string} key The reference key.
+ * @returns {*} Returns the map data.
+ */
+function getMapData(map, key) {
+ var data = map.__data__;
+ return isKeyable(key)
+ ? data[typeof key == 'string' ? 'string' : 'hash']
+ : data.map;
+}
+
+/**
+ * Gets the native function at `key` of `object`.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @param {string} key The key of the method to get.
+ * @returns {*} Returns the function if it's native, else `undefined`.
+ */
+function getNative(object, key) {
+ var value = getValue(object, key);
+ return baseIsNative(value) ? value : undefined;
+}
+
+/**
+ * Checks if `value` is a property name and not a property path.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @param {Object} [object] The object to query keys on.
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
+ */
+function isKey(value, object) {
+ if (isArray(value)) {
+ return false;
+ }
+ var type = typeof value;
+ if (type == 'number' || type == 'symbol' || type == 'boolean' ||
+ value == null || isSymbol(value)) {
+ return true;
+ }
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
+ (object != null && value in Object(object));
+}
+
+/**
+ * Checks if `value` is suitable for use as unique object key.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
+ */
+function isKeyable(value) {
+ var type = typeof value;
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
+ ? (value !== '__proto__')
+ : (value === null);
+}
+
+/**
+ * Checks if `func` has its source masked.
+ *
+ * @private
+ * @param {Function} func The function to check.
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
+ */
+function isMasked(func) {
+ return !!maskSrcKey && (maskSrcKey in func);
+}
+
+/**
+ * Converts `string` to a property path array.
+ *
+ * @private
+ * @param {string} string The string to convert.
+ * @returns {Array} Returns the property path array.
+ */
+var stringToPath = memoize(function(string) {
+ string = toString(string);
+
+ var result = [];
+ if (reLeadingDot.test(string)) {
+ result.push('');
+ }
+ string.replace(rePropName, function(match, number, quote, string) {
+ result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
+ });
+ return result;
+});
+
+/**
+ * Converts `value` to a string key if it's not a string or symbol.
+ *
+ * @private
+ * @param {*} value The value to inspect.
+ * @returns {string|symbol} Returns the key.
+ */
+function toKey(value) {
+ if (typeof value == 'string' || isSymbol(value)) {
+ return value;
+ }
+ var result = (value + '');
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
+}
+
+/**
+ * Converts `func` to its source code.
+ *
+ * @private
+ * @param {Function} func The function to process.
+ * @returns {string} Returns the source code.
+ */
+function toSource(func) {
+ if (func != null) {
+ try {
+ return funcToString.call(func);
+ } catch (e) {}
+ try {
+ return (func + '');
+ } catch (e) {}
+ }
+ return '';
+}
+
+/**
+ * Creates a function that memoizes the result of `func`. If `resolver` is
+ * provided, it determines the cache key for storing the result based on the
+ * arguments provided to the memoized function. By default, the first argument
+ * provided to the memoized function is used as the map cache key. The `func`
+ * is invoked with the `this` binding of the memoized function.
+ *
+ * **Note:** The cache is exposed as the `cache` property on the memoized
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
+ * constructor with one whose instances implement the
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
+ * method interface of `delete`, `get`, `has`, and `set`.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Function
+ * @param {Function} func The function to have its output memoized.
+ * @param {Function} [resolver] The function to resolve the cache key.
+ * @returns {Function} Returns the new memoized function.
+ * @example
+ *
+ * var object = { 'a': 1, 'b': 2 };
+ * var other = { 'c': 3, 'd': 4 };
+ *
+ * var values = _.memoize(_.values);
+ * values(object);
+ * // => [1, 2]
+ *
+ * values(other);
+ * // => [3, 4]
+ *
+ * object.a = 2;
+ * values(object);
+ * // => [1, 2]
+ *
+ * // Modify the result cache.
+ * values.cache.set(object, ['a', 'b']);
+ * values(object);
+ * // => ['a', 'b']
+ *
+ * // Replace `_.memoize.Cache`.
+ * _.memoize.Cache = WeakMap;
+ */
+function memoize(func, resolver) {
+ if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {
+ throw new TypeError(FUNC_ERROR_TEXT);
+ }
+ var memoized = function() {
+ var args = arguments,
+ key = resolver ? resolver.apply(this, args) : args[0],
+ cache = memoized.cache;
+
+ if (cache.has(key)) {
+ return cache.get(key);
+ }
+ var result = func.apply(this, args);
+ memoized.cache = cache.set(key, result);
+ return result;
+ };
+ memoized.cache = new (memoize.Cache || MapCache);
+ return memoized;
+}
+
+// Assign cache to `_.memoize`.
+memoize.Cache = MapCache;
+
+/**
+ * Performs a
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
+ * comparison between two values to determine if they are equivalent.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to compare.
+ * @param {*} other The other value to compare.
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
+ * @example
+ *
+ * var object = { 'a': 1 };
+ * var other = { 'a': 1 };
+ *
+ * _.eq(object, object);
+ * // => true
+ *
+ * _.eq(object, other);
+ * // => false
+ *
+ * _.eq('a', 'a');
+ * // => true
+ *
+ * _.eq('a', Object('a'));
+ * // => false
+ *
+ * _.eq(NaN, NaN);
+ * // => true
+ */
+function eq(value, other) {
+ return value === other || (value !== value && other !== other);
+}
+
+/**
+ * Checks if `value` is classified as an `Array` object.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
+ * @example
+ *
+ * _.isArray([1, 2, 3]);
+ * // => true
+ *
+ * _.isArray(document.body.children);
+ * // => false
+ *
+ * _.isArray('abc');
+ * // => false
+ *
+ * _.isArray(_.noop);
+ * // => false
+ */
+var isArray = Array.isArray;
+
+/**
+ * Checks if `value` is classified as a `Function` object.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
+ * @example
+ *
+ * _.isFunction(_);
+ * // => true
+ *
+ * _.isFunction(/abc/);
+ * // => false
+ */
+function isFunction(value) {
+ // The use of `Object#toString` avoids issues with the `typeof` operator
+ // in Safari 8-9 which returns 'object' for typed array and other constructors.
+ var tag = isObject(value) ? objectToString.call(value) : '';
+ return tag == funcTag || tag == genTag;
+}
+
+/**
+ * Checks if `value` is the
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
+ * @example
+ *
+ * _.isObject({});
+ * // => true
+ *
+ * _.isObject([1, 2, 3]);
+ * // => true
+ *
+ * _.isObject(_.noop);
+ * // => true
+ *
+ * _.isObject(null);
+ * // => false
+ */
+function isObject(value) {
+ var type = typeof value;
+ return !!value && (type == 'object' || type == 'function');
+}
+
+/**
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
+ * and has a `typeof` result of "object".
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
+ * @example
+ *
+ * _.isObjectLike({});
+ * // => true
+ *
+ * _.isObjectLike([1, 2, 3]);
+ * // => true
+ *
+ * _.isObjectLike(_.noop);
+ * // => false
+ *
+ * _.isObjectLike(null);
+ * // => false
+ */
+function isObjectLike(value) {
+ return !!value && typeof value == 'object';
+}
+
+/**
+ * Checks if `value` is classified as a `Symbol` primitive or object.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
+ * @example
+ *
+ * _.isSymbol(Symbol.iterator);
+ * // => true
+ *
+ * _.isSymbol('abc');
+ * // => false
+ */
+function isSymbol(value) {
+ return typeof value == 'symbol' ||
+ (isObjectLike(value) && objectToString.call(value) == symbolTag);
+}
+
+/**
+ * Converts `value` to a string. An empty string is returned for `null`
+ * and `undefined` values. The sign of `-0` is preserved.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to process.
+ * @returns {string} Returns the string.
+ * @example
+ *
+ * _.toString(null);
+ * // => ''
+ *
+ * _.toString(-0);
+ * // => '-0'
+ *
+ * _.toString([1, 2, 3]);
+ * // => '1,2,3'
+ */
+function toString(value) {
+ return value == null ? '' : baseToString(value);
+}
+
+/**
+ * Gets the value at `path` of `object`. If the resolved value is
+ * `undefined`, the `defaultValue` is returned in its place.
+ *
+ * @static
+ * @memberOf _
+ * @since 3.7.0
+ * @category Object
+ * @param {Object} object The object to query.
+ * @param {Array|string} path The path of the property to get.
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
+ * @returns {*} Returns the resolved value.
+ * @example
+ *
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
+ *
+ * _.get(object, 'a[0].b.c');
+ * // => 3
+ *
+ * _.get(object, ['a', '0', 'b', 'c']);
+ * // => 3
+ *
+ * _.get(object, 'a.b.c', 'default');
+ * // => 'default'
+ */
+function get(object, path, defaultValue) {
+ var result = object == null ? undefined : baseGet(object, path);
+ return result === undefined ? defaultValue : result;
+}
+
+module.exports = get;
+
+
+/***/ }),
+
+/***/ 855:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = registerPlugin;
+
+const factory = __webpack_require__(47);
+
+function registerPlugin(plugins, pluginFunction) {
+ return factory(
+ plugins.includes(pluginFunction) ? plugins : plugins.concat(pluginFunction)
+ );
+}
+
+
+/***/ }),
+
+/***/ 862:
+/***/ (function(module) {
+
+module.exports = class GraphqlError extends Error {
+ constructor (request, response) {
+ const message = response.data.errors[0].message
+ super(message)
+
+ Object.assign(this, response.data)
+ this.name = 'GraphqlError'
+ this.request = request
+
+ // Maintains proper stack trace (only available on V8)
+ /* istanbul ignore next */
+ if (Error.captureStackTrace) {
+ Error.captureStackTrace(this, this.constructor)
+ }
+ }
+}
+
+
+/***/ }),
+
+/***/ 863:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = authenticationBeforeRequest;
+
+const btoa = __webpack_require__(675);
+
+const withAuthorizationPrefix = __webpack_require__(143);
+
+function authenticationBeforeRequest(state, options) {
+ if (typeof state.auth === "string") {
+ options.headers.authorization = withAuthorizationPrefix(state.auth);
+ return;
+ }
+
+ if (state.auth.username) {
+ const hash = btoa(`${state.auth.username}:${state.auth.password}`);
+ options.headers.authorization = `Basic ${hash}`;
+ if (state.otp) {
+ options.headers["x-github-otp"] = state.otp;
+ }
+ return;
+ }
+
+ if (state.auth.clientId) {
+ // There is a special case for OAuth applications, when `clientId` and `clientSecret` is passed as
+ // Basic Authorization instead of query parameters. The only routes where that applies share the same
+ // URL though: `/applications/:client_id/tokens/:access_token`.
+ //
+ // 1. [Check an authorization](https://developer.github.com/v3/oauth_authorizations/#check-an-authorization)
+ // 2. [Reset an authorization](https://developer.github.com/v3/oauth_authorizations/#reset-an-authorization)
+ // 3. [Revoke an authorization for an application](https://developer.github.com/v3/oauth_authorizations/#revoke-an-authorization-for-an-application)
+ //
+ // We identify by checking the URL. It must merge both "/applications/:client_id/tokens/:access_token"
+ // as well as "/applications/123/tokens/token456"
+ if (/\/applications\/:?[\w_]+\/tokens\/:?[\w_]+($|\?)/.test(options.url)) {
+ const hash = btoa(`${state.auth.clientId}:${state.auth.clientSecret}`);
+ options.headers.authorization = `Basic ${hash}`;
+ return;
+ }
+
+ options.url += options.url.indexOf("?") === -1 ? "?" : "&";
+ options.url += `client_id=${state.auth.clientId}&client_secret=${state.auth.clientSecret}`;
+ return;
+ }
+
+ return Promise.resolve()
+
+ .then(() => {
+ return state.auth();
+ })
+
+ .then(authorization => {
+ options.headers.authorization = withAuthorizationPrefix(authorization);
+ });
+}
+
+
+/***/ }),
+
+/***/ 866:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+var shebangRegex = __webpack_require__(816);
+
+module.exports = function (str) {
+ var match = str.match(shebangRegex);
+
+ if (!match) {
+ return null;
+ }
+
+ var arr = match[0].replace(/#! ?/, '').split(' ');
+ var bin = arr[0].split('/').pop();
+ var arg = arr[1];
+
+ return (bin === 'env' ?
+ arg :
+ bin + (arg ? ' ' + arg : '')
+ );
+};
+
+
+/***/ }),
+
+/***/ 881:
+/***/ (function(module) {
+
+"use strict";
+
+
+const isWin = process.platform === 'win32';
+
+function notFoundError(original, syscall) {
+ return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
+ code: 'ENOENT',
+ errno: 'ENOENT',
+ syscall: `${syscall} ${original.command}`,
+ path: original.command,
+ spawnargs: original.args,
+ });
+}
+
+function hookChildProcess(cp, parsed) {
+ if (!isWin) {
+ return;
+ }
+
+ const originalEmit = cp.emit;
+
+ cp.emit = function (name, arg1) {
+ // If emitting "exit" event and exit code is 1, we need to check if
+ // the command exists and emit an "error" instead
+ // See https://github.com/IndigoUnited/node-cross-spawn/issues/16
+ if (name === 'exit') {
+ const err = verifyENOENT(arg1, parsed, 'spawn');
+
+ if (err) {
+ return originalEmit.call(cp, 'error', err);
+ }
+ }
+
+ return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params
+ };
+}
+
+function verifyENOENT(status, parsed) {
+ if (isWin && status === 1 && !parsed.file) {
+ return notFoundError(parsed.original, 'spawn');
+ }
+
+ return null;
+}
+
+function verifyENOENTSync(status, parsed) {
+ if (isWin && status === 1 && !parsed.file) {
+ return notFoundError(parsed.original, 'spawnSync');
+ }
+
+ return null;
+}
+
+module.exports = {
+ hookChildProcess,
+ verifyENOENT,
+ verifyENOENTSync,
+ notFoundError,
+};
+
+
+/***/ }),
+
+/***/ 883:
+/***/ (function(module) {
+
+/**
+ * lodash (Custom Build)
+ * Build: `lodash modularize exports="npm" -o ./`
+ * Copyright jQuery Foundation and other contributors
+ * Released under MIT license
+ * Based on Underscore.js 1.8.3
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ */
+
+/** Used as the `TypeError` message for "Functions" methods. */
+var FUNC_ERROR_TEXT = 'Expected a function';
+
+/** Used to stand-in for `undefined` hash values. */
+var HASH_UNDEFINED = '__lodash_hash_undefined__';
+
+/** Used as references for various `Number` constants. */
+var INFINITY = 1 / 0,
+ MAX_SAFE_INTEGER = 9007199254740991;
+
+/** `Object#toString` result references. */
+var funcTag = '[object Function]',
+ genTag = '[object GeneratorFunction]',
+ symbolTag = '[object Symbol]';
+
+/** Used to match property names within property paths. */
+var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
+ reIsPlainProp = /^\w*$/,
+ reLeadingDot = /^\./,
+ rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
+
+/**
+ * Used to match `RegExp`
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
+ */
+var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
+
+/** Used to match backslashes in property paths. */
+var reEscapeChar = /\\(\\)?/g;
+
+/** Used to detect host constructors (Safari). */
+var reIsHostCtor = /^\[object .+?Constructor\]$/;
+
+/** Used to detect unsigned integer values. */
+var reIsUint = /^(?:0|[1-9]\d*)$/;
+
+/** Detect free variable `global` from Node.js. */
+var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
+
+/** Detect free variable `self`. */
+var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
+
+/** Used as a reference to the global object. */
+var root = freeGlobal || freeSelf || Function('return this')();
+
+/**
+ * Gets the value at `key` of `object`.
+ *
+ * @private
+ * @param {Object} [object] The object to query.
+ * @param {string} key The key of the property to get.
+ * @returns {*} Returns the property value.
+ */
+function getValue(object, key) {
+ return object == null ? undefined : object[key];
+}
+
+/**
+ * Checks if `value` is a host object in IE < 9.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
+ */
+function isHostObject(value) {
+ // Many host objects are `Object` objects that can coerce to strings
+ // despite having improperly defined `toString` methods.
+ var result = false;
+ if (value != null && typeof value.toString != 'function') {
+ try {
+ result = !!(value + '');
+ } catch (e) {}
+ }
+ return result;
+}
+
+/** Used for built-in method references. */
+var arrayProto = Array.prototype,
+ funcProto = Function.prototype,
+ objectProto = Object.prototype;
+
+/** Used to detect overreaching core-js shims. */
+var coreJsData = root['__core-js_shared__'];
+
+/** Used to detect methods masquerading as native. */
+var maskSrcKey = (function() {
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
+ return uid ? ('Symbol(src)_1.' + uid) : '';
+}());
+
+/** Used to resolve the decompiled source of functions. */
+var funcToString = funcProto.toString;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+/**
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
+ * of values.
+ */
+var objectToString = objectProto.toString;
+
+/** Used to detect if a method is native. */
+var reIsNative = RegExp('^' +
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
+);
+
+/** Built-in value references. */
+var Symbol = root.Symbol,
+ splice = arrayProto.splice;
+
+/* Built-in method references that are verified to be native. */
+var Map = getNative(root, 'Map'),
+ nativeCreate = getNative(Object, 'create');
+
+/** Used to convert symbols to primitives and strings. */
+var symbolProto = Symbol ? Symbol.prototype : undefined,
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
+
+/**
+ * Creates a hash object.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+function Hash(entries) {
+ var index = -1,
+ length = entries ? entries.length : 0;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+}
+
+/**
+ * Removes all key-value entries from the hash.
+ *
+ * @private
+ * @name clear
+ * @memberOf Hash
+ */
+function hashClear() {
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
+}
+
+/**
+ * Removes `key` and its value from the hash.
+ *
+ * @private
+ * @name delete
+ * @memberOf Hash
+ * @param {Object} hash The hash to modify.
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function hashDelete(key) {
+ return this.has(key) && delete this.__data__[key];
+}
+
+/**
+ * Gets the hash value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf Hash
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function hashGet(key) {
+ var data = this.__data__;
+ if (nativeCreate) {
+ var result = data[key];
+ return result === HASH_UNDEFINED ? undefined : result;
+ }
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
+}
+
+/**
+ * Checks if a hash value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf Hash
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function hashHas(key) {
+ var data = this.__data__;
+ return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
+}
+
+/**
+ * Sets the hash `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf Hash
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the hash instance.
+ */
+function hashSet(key, value) {
+ var data = this.__data__;
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
+ return this;
+}
+
+// Add methods to `Hash`.
+Hash.prototype.clear = hashClear;
+Hash.prototype['delete'] = hashDelete;
+Hash.prototype.get = hashGet;
+Hash.prototype.has = hashHas;
+Hash.prototype.set = hashSet;
+
+/**
+ * Creates an list cache object.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+function ListCache(entries) {
+ var index = -1,
+ length = entries ? entries.length : 0;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+}
+
+/**
+ * Removes all key-value entries from the list cache.
+ *
+ * @private
+ * @name clear
+ * @memberOf ListCache
+ */
+function listCacheClear() {
+ this.__data__ = [];
+}
+
+/**
+ * Removes `key` and its value from the list cache.
+ *
+ * @private
+ * @name delete
+ * @memberOf ListCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function listCacheDelete(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ if (index < 0) {
+ return false;
+ }
+ var lastIndex = data.length - 1;
+ if (index == lastIndex) {
+ data.pop();
+ } else {
+ splice.call(data, index, 1);
+ }
+ return true;
+}
+
+/**
+ * Gets the list cache value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf ListCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function listCacheGet(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ return index < 0 ? undefined : data[index][1];
+}
+
+/**
+ * Checks if a list cache value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf ListCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function listCacheHas(key) {
+ return assocIndexOf(this.__data__, key) > -1;
+}
+
+/**
+ * Sets the list cache `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf ListCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the list cache instance.
+ */
+function listCacheSet(key, value) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ if (index < 0) {
+ data.push([key, value]);
+ } else {
+ data[index][1] = value;
+ }
+ return this;
+}
+
+// Add methods to `ListCache`.
+ListCache.prototype.clear = listCacheClear;
+ListCache.prototype['delete'] = listCacheDelete;
+ListCache.prototype.get = listCacheGet;
+ListCache.prototype.has = listCacheHas;
+ListCache.prototype.set = listCacheSet;
+
+/**
+ * Creates a map cache object to store key-value pairs.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+function MapCache(entries) {
+ var index = -1,
+ length = entries ? entries.length : 0;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+}
+
+/**
+ * Removes all key-value entries from the map.
+ *
+ * @private
+ * @name clear
+ * @memberOf MapCache
+ */
+function mapCacheClear() {
+ this.__data__ = {
+ 'hash': new Hash,
+ 'map': new (Map || ListCache),
+ 'string': new Hash
+ };
+}
+
+/**
+ * Removes `key` and its value from the map.
+ *
+ * @private
+ * @name delete
+ * @memberOf MapCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function mapCacheDelete(key) {
+ return getMapData(this, key)['delete'](key);
+}
+
+/**
+ * Gets the map value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf MapCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function mapCacheGet(key) {
+ return getMapData(this, key).get(key);
+}
+
+/**
+ * Checks if a map value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf MapCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function mapCacheHas(key) {
+ return getMapData(this, key).has(key);
+}
+
+/**
+ * Sets the map `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf MapCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the map cache instance.
+ */
+function mapCacheSet(key, value) {
+ getMapData(this, key).set(key, value);
+ return this;
+}
+
+// Add methods to `MapCache`.
+MapCache.prototype.clear = mapCacheClear;
+MapCache.prototype['delete'] = mapCacheDelete;
+MapCache.prototype.get = mapCacheGet;
+MapCache.prototype.has = mapCacheHas;
+MapCache.prototype.set = mapCacheSet;
+
+/**
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
+ * for equality comparisons.
+ *
+ * @private
+ * @param {Object} object The object to modify.
+ * @param {string} key The key of the property to assign.
+ * @param {*} value The value to assign.
+ */
+function assignValue(object, key, value) {
+ var objValue = object[key];
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
+ (value === undefined && !(key in object))) {
+ object[key] = value;
+ }
+}
+
+/**
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} key The key to search for.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+function assocIndexOf(array, key) {
+ var length = array.length;
+ while (length--) {
+ if (eq(array[length][0], key)) {
+ return length;
+ }
+ }
+ return -1;
+}
+
+/**
+ * The base implementation of `_.isNative` without bad shim checks.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a native function,
+ * else `false`.
+ */
+function baseIsNative(value) {
+ if (!isObject(value) || isMasked(value)) {
+ return false;
+ }
+ var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
+ return pattern.test(toSource(value));
+}
+
+/**
+ * The base implementation of `_.set`.
+ *
+ * @private
+ * @param {Object} object The object to modify.
+ * @param {Array|string} path The path of the property to set.
+ * @param {*} value The value to set.
+ * @param {Function} [customizer] The function to customize path creation.
+ * @returns {Object} Returns `object`.
+ */
+function baseSet(object, path, value, customizer) {
+ if (!isObject(object)) {
+ return object;
+ }
+ path = isKey(path, object) ? [path] : castPath(path);
+
+ var index = -1,
+ length = path.length,
+ lastIndex = length - 1,
+ nested = object;
+
+ while (nested != null && ++index < length) {
+ var key = toKey(path[index]),
+ newValue = value;
+
+ if (index != lastIndex) {
+ var objValue = nested[key];
+ newValue = customizer ? customizer(objValue, key, nested) : undefined;
+ if (newValue === undefined) {
+ newValue = isObject(objValue)
+ ? objValue
+ : (isIndex(path[index + 1]) ? [] : {});
+ }
+ }
+ assignValue(nested, key, newValue);
+ nested = nested[key];
+ }
+ return object;
+}
+
+/**
+ * The base implementation of `_.toString` which doesn't convert nullish
+ * values to empty strings.
+ *
+ * @private
+ * @param {*} value The value to process.
+ * @returns {string} Returns the string.
+ */
+function baseToString(value) {
+ // Exit early for strings to avoid a performance hit in some environments.
+ if (typeof value == 'string') {
+ return value;
+ }
+ if (isSymbol(value)) {
+ return symbolToString ? symbolToString.call(value) : '';
+ }
+ var result = (value + '');
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
+}
+
+/**
+ * Casts `value` to a path array if it's not one.
+ *
+ * @private
+ * @param {*} value The value to inspect.
+ * @returns {Array} Returns the cast property path array.
+ */
+function castPath(value) {
+ return isArray(value) ? value : stringToPath(value);
+}
+
+/**
+ * Gets the data for `map`.
+ *
+ * @private
+ * @param {Object} map The map to query.
+ * @param {string} key The reference key.
+ * @returns {*} Returns the map data.
+ */
+function getMapData(map, key) {
+ var data = map.__data__;
+ return isKeyable(key)
+ ? data[typeof key == 'string' ? 'string' : 'hash']
+ : data.map;
+}
+
+/**
+ * Gets the native function at `key` of `object`.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @param {string} key The key of the method to get.
+ * @returns {*} Returns the function if it's native, else `undefined`.
+ */
+function getNative(object, key) {
+ var value = getValue(object, key);
+ return baseIsNative(value) ? value : undefined;
+}
+
+/**
+ * Checks if `value` is a valid array-like index.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
+ */
+function isIndex(value, length) {
+ length = length == null ? MAX_SAFE_INTEGER : length;
+ return !!length &&
+ (typeof value == 'number' || reIsUint.test(value)) &&
+ (value > -1 && value % 1 == 0 && value < length);
+}
+
+/**
+ * Checks if `value` is a property name and not a property path.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @param {Object} [object] The object to query keys on.
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
+ */
+function isKey(value, object) {
+ if (isArray(value)) {
+ return false;
+ }
+ var type = typeof value;
+ if (type == 'number' || type == 'symbol' || type == 'boolean' ||
+ value == null || isSymbol(value)) {
+ return true;
+ }
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
+ (object != null && value in Object(object));
+}
+
+/**
+ * Checks if `value` is suitable for use as unique object key.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
+ */
+function isKeyable(value) {
+ var type = typeof value;
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
+ ? (value !== '__proto__')
+ : (value === null);
+}
+
+/**
+ * Checks if `func` has its source masked.
+ *
+ * @private
+ * @param {Function} func The function to check.
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
+ */
+function isMasked(func) {
+ return !!maskSrcKey && (maskSrcKey in func);
+}
+
+/**
+ * Converts `string` to a property path array.
+ *
+ * @private
+ * @param {string} string The string to convert.
+ * @returns {Array} Returns the property path array.
+ */
+var stringToPath = memoize(function(string) {
+ string = toString(string);
+
+ var result = [];
+ if (reLeadingDot.test(string)) {
+ result.push('');
+ }
+ string.replace(rePropName, function(match, number, quote, string) {
+ result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
+ });
+ return result;
+});
+
+/**
+ * Converts `value` to a string key if it's not a string or symbol.
+ *
+ * @private
+ * @param {*} value The value to inspect.
+ * @returns {string|symbol} Returns the key.
+ */
+function toKey(value) {
+ if (typeof value == 'string' || isSymbol(value)) {
+ return value;
+ }
+ var result = (value + '');
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
+}
+
+/**
+ * Converts `func` to its source code.
+ *
+ * @private
+ * @param {Function} func The function to process.
+ * @returns {string} Returns the source code.
+ */
+function toSource(func) {
+ if (func != null) {
+ try {
+ return funcToString.call(func);
+ } catch (e) {}
+ try {
+ return (func + '');
+ } catch (e) {}
+ }
+ return '';
+}
+
+/**
+ * Creates a function that memoizes the result of `func`. If `resolver` is
+ * provided, it determines the cache key for storing the result based on the
+ * arguments provided to the memoized function. By default, the first argument
+ * provided to the memoized function is used as the map cache key. The `func`
+ * is invoked with the `this` binding of the memoized function.
+ *
+ * **Note:** The cache is exposed as the `cache` property on the memoized
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
+ * constructor with one whose instances implement the
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
+ * method interface of `delete`, `get`, `has`, and `set`.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Function
+ * @param {Function} func The function to have its output memoized.
+ * @param {Function} [resolver] The function to resolve the cache key.
+ * @returns {Function} Returns the new memoized function.
+ * @example
+ *
+ * var object = { 'a': 1, 'b': 2 };
+ * var other = { 'c': 3, 'd': 4 };
+ *
+ * var values = _.memoize(_.values);
+ * values(object);
+ * // => [1, 2]
+ *
+ * values(other);
+ * // => [3, 4]
+ *
+ * object.a = 2;
+ * values(object);
+ * // => [1, 2]
+ *
+ * // Modify the result cache.
+ * values.cache.set(object, ['a', 'b']);
+ * values(object);
+ * // => ['a', 'b']
+ *
+ * // Replace `_.memoize.Cache`.
+ * _.memoize.Cache = WeakMap;
+ */
+function memoize(func, resolver) {
+ if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {
+ throw new TypeError(FUNC_ERROR_TEXT);
+ }
+ var memoized = function() {
+ var args = arguments,
+ key = resolver ? resolver.apply(this, args) : args[0],
+ cache = memoized.cache;
+
+ if (cache.has(key)) {
+ return cache.get(key);
+ }
+ var result = func.apply(this, args);
+ memoized.cache = cache.set(key, result);
+ return result;
+ };
+ memoized.cache = new (memoize.Cache || MapCache);
+ return memoized;
+}
+
+// Assign cache to `_.memoize`.
+memoize.Cache = MapCache;
+
+/**
+ * Performs a
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
+ * comparison between two values to determine if they are equivalent.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to compare.
+ * @param {*} other The other value to compare.
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
+ * @example
+ *
+ * var object = { 'a': 1 };
+ * var other = { 'a': 1 };
+ *
+ * _.eq(object, object);
+ * // => true
+ *
+ * _.eq(object, other);
+ * // => false
+ *
+ * _.eq('a', 'a');
+ * // => true
+ *
+ * _.eq('a', Object('a'));
+ * // => false
+ *
+ * _.eq(NaN, NaN);
+ * // => true
+ */
+function eq(value, other) {
+ return value === other || (value !== value && other !== other);
+}
+
+/**
+ * Checks if `value` is classified as an `Array` object.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
+ * @example
+ *
+ * _.isArray([1, 2, 3]);
+ * // => true
+ *
+ * _.isArray(document.body.children);
+ * // => false
+ *
+ * _.isArray('abc');
+ * // => false
+ *
+ * _.isArray(_.noop);
+ * // => false
+ */
+var isArray = Array.isArray;
+
+/**
+ * Checks if `value` is classified as a `Function` object.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
+ * @example
+ *
+ * _.isFunction(_);
+ * // => true
+ *
+ * _.isFunction(/abc/);
+ * // => false
+ */
+function isFunction(value) {
+ // The use of `Object#toString` avoids issues with the `typeof` operator
+ // in Safari 8-9 which returns 'object' for typed array and other constructors.
+ var tag = isObject(value) ? objectToString.call(value) : '';
+ return tag == funcTag || tag == genTag;
+}
+
+/**
+ * Checks if `value` is the
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
+ * @example
+ *
+ * _.isObject({});
+ * // => true
+ *
+ * _.isObject([1, 2, 3]);
+ * // => true
+ *
+ * _.isObject(_.noop);
+ * // => true
+ *
+ * _.isObject(null);
+ * // => false
+ */
+function isObject(value) {
+ var type = typeof value;
+ return !!value && (type == 'object' || type == 'function');
+}
+
+/**
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
+ * and has a `typeof` result of "object".
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
+ * @example
+ *
+ * _.isObjectLike({});
+ * // => true
+ *
+ * _.isObjectLike([1, 2, 3]);
+ * // => true
+ *
+ * _.isObjectLike(_.noop);
+ * // => false
+ *
+ * _.isObjectLike(null);
+ * // => false
+ */
+function isObjectLike(value) {
+ return !!value && typeof value == 'object';
+}
+
+/**
+ * Checks if `value` is classified as a `Symbol` primitive or object.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
+ * @example
+ *
+ * _.isSymbol(Symbol.iterator);
+ * // => true
+ *
+ * _.isSymbol('abc');
+ * // => false
+ */
+function isSymbol(value) {
+ return typeof value == 'symbol' ||
+ (isObjectLike(value) && objectToString.call(value) == symbolTag);
+}
+
+/**
+ * Converts `value` to a string. An empty string is returned for `null`
+ * and `undefined` values. The sign of `-0` is preserved.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to process.
+ * @returns {string} Returns the string.
+ * @example
+ *
+ * _.toString(null);
+ * // => ''
+ *
+ * _.toString(-0);
+ * // => '-0'
+ *
+ * _.toString([1, 2, 3]);
+ * // => '1,2,3'
+ */
+function toString(value) {
+ return value == null ? '' : baseToString(value);
+}
+
+/**
+ * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
+ * it's created. Arrays are created for missing index properties while objects
+ * are created for all other missing properties. Use `_.setWith` to customize
+ * `path` creation.
+ *
+ * **Note:** This method mutates `object`.
+ *
+ * @static
+ * @memberOf _
+ * @since 3.7.0
+ * @category Object
+ * @param {Object} object The object to modify.
+ * @param {Array|string} path The path of the property to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns `object`.
+ * @example
+ *
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
+ *
+ * _.set(object, 'a[0].b.c', 4);
+ * console.log(object.a[0].b.c);
+ * // => 4
+ *
+ * _.set(object, ['x', '0', 'y', 'z'], 5);
+ * console.log(object.x[0].y.z);
+ * // => 5
+ */
+function set(object, path, value) {
+ return object == null ? object : baseSet(object, path, value);
+}
+
+module.exports = set;
+
+
+/***/ }),
+
+/***/ 888:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const os = __importStar(__webpack_require__(87));
+/**
+ * Commands
+ *
+ * Command Format:
+ * ::name key=value,key=value::message
+ *
+ * Examples:
+ * ::warning::This is the message
+ * ::set-env name=MY_VAR::some value
+ */
+function issueCommand(command, properties, message) {
+ const cmd = new Command(command, properties, message);
+ process.stdout.write(cmd.toString() + os.EOL);
+}
+exports.issueCommand = issueCommand;
+function issue(name, message = '') {
+ issueCommand(name, {}, message);
+}
+exports.issue = issue;
+const CMD_STRING = '::';
+class Command {
+ constructor(command, properties, message) {
+ if (!command) {
+ command = 'missing.command';
+ }
+ this.command = command;
+ this.properties = properties;
+ this.message = message;
+ }
+ toString() {
+ let cmdStr = CMD_STRING + this.command;
+ if (this.properties && Object.keys(this.properties).length > 0) {
+ cmdStr += ' ';
+ let first = true;
+ for (const key in this.properties) {
+ if (this.properties.hasOwnProperty(key)) {
+ const val = this.properties[key];
+ if (val) {
+ if (first) {
+ first = false;
+ }
+ else {
+ cmdStr += ',';
+ }
+ cmdStr += `${key}=${escapeProperty(val)}`;
+ }
+ }
+ }
+ }
+ cmdStr += `${CMD_STRING}${escapeData(this.message)}`;
+ return cmdStr;
+ }
+}
+/**
+ * Sanitizes an input into a string so it can be passed into issueCommand safely
+ * @param input input to sanitize into a string
+ */
+function toCommandValue(input) {
+ if (input === null || input === undefined) {
+ return '';
+ }
+ else if (typeof input === 'string' || input instanceof String) {
+ return input;
+ }
+ return JSON.stringify(input);
+}
+exports.toCommandValue = toCommandValue;
+function escapeData(s) {
+ return toCommandValue(s)
+ .replace(/%/g, '%25')
+ .replace(/\r/g, '%0D')
+ .replace(/\n/g, '%0A');
+}
+function escapeProperty(s) {
+ return toCommandValue(s)
+ .replace(/%/g, '%25')
+ .replace(/\r/g, '%0D')
+ .replace(/\n/g, '%0A')
+ .replace(/:/g, '%3A')
+ .replace(/,/g, '%2C');
+}
+//# sourceMappingURL=command.js.map
+
+/***/ }),
+
+/***/ 899:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = registerEndpoints;
+
+const { Deprecation } = __webpack_require__(692);
+
+function registerEndpoints(octokit, routes) {
+ Object.keys(routes).forEach(namespaceName => {
+ if (!octokit[namespaceName]) {
+ octokit[namespaceName] = {};
+ }
+
+ Object.keys(routes[namespaceName]).forEach(apiName => {
+ const apiOptions = routes[namespaceName][apiName];
+
+ const endpointDefaults = ["method", "url", "headers"].reduce(
+ (map, key) => {
+ if (typeof apiOptions[key] !== "undefined") {
+ map[key] = apiOptions[key];
+ }
+
+ return map;
+ },
+ {}
+ );
+
+ endpointDefaults.request = {
+ validate: apiOptions.params
+ };
+
+ let request = octokit.request.defaults(endpointDefaults);
+
+ // patch request & endpoint methods to support deprecated parameters.
+ // Not the most elegant solution, but we don’t want to move deprecation
+ // logic into octokit/endpoint.js as it’s out of scope
+ const hasDeprecatedParam = Object.keys(apiOptions.params || {}).find(
+ key => apiOptions.params[key].deprecated
+ );
+ if (hasDeprecatedParam) {
+ const patch = patchForDeprecation.bind(null, octokit, apiOptions);
+ request = patch(
+ octokit.request.defaults(endpointDefaults),
+ `.${namespaceName}.${apiName}()`
+ );
+ request.endpoint = patch(
+ request.endpoint,
+ `.${namespaceName}.${apiName}.endpoint()`
+ );
+ request.endpoint.merge = patch(
+ request.endpoint.merge,
+ `.${namespaceName}.${apiName}.endpoint.merge()`
+ );
+ }
+
+ if (apiOptions.deprecated) {
+ octokit[namespaceName][apiName] = function deprecatedEndpointMethod() {
+ octokit.log.warn(
+ new Deprecation(`[@octokit/rest] ${apiOptions.deprecated}`)
+ );
+ octokit[namespaceName][apiName] = request;
+ return request.apply(null, arguments);
+ };
+
+ return;
+ }
+
+ octokit[namespaceName][apiName] = request;
+ });
+ });
+}
+
+function patchForDeprecation(octokit, apiOptions, method, methodName) {
+ const patchedMethod = options => {
+ options = Object.assign({}, options);
+
+ Object.keys(options).forEach(key => {
+ if (apiOptions.params[key] && apiOptions.params[key].deprecated) {
+ const aliasKey = apiOptions.params[key].alias;
+
+ octokit.log.warn(
+ new Deprecation(
+ `[@octokit/rest] "${key}" parameter is deprecated for "${methodName}". Use "${aliasKey}" instead`
+ )
+ );
+
+ if (!(aliasKey in options)) {
+ options[aliasKey] = options[key];
+ }
+ delete options[key];
+ }
+ });
+
+ return method(options);
+ };
+ Object.keys(method).forEach(key => {
+ patchedMethod[key] = method[key];
+ });
+
+ return patchedMethod;
+}
+
+
+/***/ }),
+
+/***/ 902:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const command_1 = __webpack_require__(888);
+const os = __importStar(__webpack_require__(87));
+const path = __importStar(__webpack_require__(622));
+/**
+ * The code to exit an action
+ */
+var ExitCode;
+(function (ExitCode) {
+ /**
+ * A code indicating that the action was successful
+ */
+ ExitCode[ExitCode["Success"] = 0] = "Success";
+ /**
+ * A code indicating that the action was a failure
+ */
+ ExitCode[ExitCode["Failure"] = 1] = "Failure";
+})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));
+//-----------------------------------------------------------------------
+// Variables
+//-----------------------------------------------------------------------
+/**
+ * Sets env variable for this action and future actions in the job
+ * @param name the name of the variable to set
+ * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify
+ */
+// eslint-disable-next-line @typescript-eslint/no-explicit-any
+function exportVariable(name, val) {
+ const convertedVal = command_1.toCommandValue(val);
+ process.env[name] = convertedVal;
+ command_1.issueCommand('set-env', { name }, convertedVal);
+}
+exports.exportVariable = exportVariable;
+/**
+ * Registers a secret which will get masked from logs
+ * @param secret value of the secret
+ */
+function setSecret(secret) {
+ command_1.issueCommand('add-mask', {}, secret);
+}
+exports.setSecret = setSecret;
+/**
+ * Prepends inputPath to the PATH (for this action and future actions)
+ * @param inputPath
+ */
+function addPath(inputPath) {
+ command_1.issueCommand('add-path', {}, inputPath);
+ process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
+}
+exports.addPath = addPath;
+/**
+ * Gets the value of an input. The value is also trimmed.
+ *
+ * @param name name of the input to get
+ * @param options optional. See InputOptions.
+ * @returns string
+ */
+function getInput(name, options) {
+ const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';
+ if (options && options.required && !val) {
+ throw new Error(`Input required and not supplied: ${name}`);
+ }
+ return val.trim();
+}
+exports.getInput = getInput;
+/**
+ * Sets the value of an output.
+ *
+ * @param name name of the output to set
+ * @param value value to store. Non-string values will be converted to a string via JSON.stringify
+ */
+// eslint-disable-next-line @typescript-eslint/no-explicit-any
+function setOutput(name, value) {
+ command_1.issueCommand('set-output', { name }, value);
+}
+exports.setOutput = setOutput;
+/**
+ * Enables or disables the echoing of commands into stdout for the rest of the step.
+ * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.
+ *
+ */
+function setCommandEcho(enabled) {
+ command_1.issue('echo', enabled ? 'on' : 'off');
+}
+exports.setCommandEcho = setCommandEcho;
+//-----------------------------------------------------------------------
+// Results
+//-----------------------------------------------------------------------
+/**
+ * Sets the action status to failed.
+ * When the action exits it will be with an exit code of 1
+ * @param message add error issue message
+ */
+function setFailed(message) {
+ process.exitCode = ExitCode.Failure;
+ error(message);
+}
+exports.setFailed = setFailed;
+//-----------------------------------------------------------------------
+// Logging Commands
+//-----------------------------------------------------------------------
+/**
+ * Gets whether Actions Step Debug is on or not
+ */
+function isDebug() {
+ return process.env['RUNNER_DEBUG'] === '1';
+}
+exports.isDebug = isDebug;
+/**
+ * Writes debug message to user log
+ * @param message debug message
+ */
+function debug(message) {
+ command_1.issueCommand('debug', {}, message);
+}
+exports.debug = debug;
+/**
+ * Adds an error issue
+ * @param message error issue message. Errors will be converted to string via toString()
+ */
+function error(message) {
+ command_1.issue('error', message instanceof Error ? message.toString() : message);
+}
+exports.error = error;
+/**
+ * Adds an warning issue
+ * @param message warning issue message. Errors will be converted to string via toString()
+ */
+function warning(message) {
+ command_1.issue('warning', message instanceof Error ? message.toString() : message);
+}
+exports.warning = warning;
+/**
+ * Writes info to log with console.log.
+ * @param message info message
+ */
+function info(message) {
+ process.stdout.write(message + os.EOL);
+}
+exports.info = info;
+/**
+ * Begin an output group.
+ *
+ * Output until the next `groupEnd` will be foldable in this group
+ *
+ * @param name The name of the output group
+ */
+function startGroup(name) {
+ command_1.issue('group', name);
+}
+exports.startGroup = startGroup;
+/**
+ * End an output group.
+ */
+function endGroup() {
+ command_1.issue('endgroup');
+}
+exports.endGroup = endGroup;
+/**
+ * Wrap an asynchronous function call in a group.
+ *
+ * Returns the same type as the function itself.
+ *
+ * @param name The name of the group
+ * @param fn The function to wrap in the group
+ */
+function group(name, fn) {
+ return __awaiter(this, void 0, void 0, function* () {
+ startGroup(name);
+ let result;
+ try {
+ result = yield fn();
+ }
+ finally {
+ endGroup();
+ }
+ return result;
+ });
+}
+exports.group = group;
+//-----------------------------------------------------------------------
+// Wrapper action state
+//-----------------------------------------------------------------------
+/**
+ * Saves state for current action, the state can only be retrieved by this action's post job execution.
+ *
+ * @param name name of the state to store
+ * @param value value to store. Non-string values will be converted to a string via JSON.stringify
+ */
+// eslint-disable-next-line @typescript-eslint/no-explicit-any
+function saveState(name, value) {
+ command_1.issueCommand('save-state', { name }, value);
+}
+exports.saveState = saveState;
+/**
+ * Gets the value of an state set by this action's main execution.
+ *
+ * @param name name of the state to get
+ * @returns string
+ */
+function getState(name) {
+ return process.env[`STATE_${name}`] || '';
+}
+exports.getState = getState;
+//# sourceMappingURL=core.js.map
+
+/***/ }),
+
+/***/ 929:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+module.exports = hasNextPage
+
+const deprecate = __webpack_require__(370)
+const getPageLinks = __webpack_require__(577)
+
+function hasNextPage (link) {
+ deprecate(`octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
+ return getPageLinks(link).next
+}
+
+
+/***/ }),
+
+/***/ 934:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", { value: true });
+const main_1 = __webpack_require__(198);
+main_1.run();
+//# sourceMappingURL=setup-node.js.map
+
+/***/ }),
+
+/***/ 948:
+/***/ (function(module) {
+
+"use strict";
+
+
+/**
+ * Tries to execute a function and discards any error that occurs.
+ * @param {Function} fn - Function that might or might not throw an error.
+ * @returns {?*} Return-value of the function when no error occurred.
+ */
+module.exports = function(fn) {
+
+ try { return fn() } catch (e) {}
+
+}
+
+/***/ }),
+
+/***/ 950:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", { value: true });
+const url = __webpack_require__(835);
+function getProxyUrl(reqUrl) {
+ let usingSsl = reqUrl.protocol === 'https:';
+ let proxyUrl;
+ if (checkBypass(reqUrl)) {
+ return proxyUrl;
+ }
+ let proxyVar;
+ if (usingSsl) {
+ proxyVar = process.env["https_proxy"] ||
+ process.env["HTTPS_PROXY"];
+ }
+ else {
+ proxyVar = process.env["http_proxy"] ||
+ process.env["HTTP_PROXY"];
+ }
+ if (proxyVar) {
+ proxyUrl = url.parse(proxyVar);
+ }
+ return proxyUrl;
+}
+exports.getProxyUrl = getProxyUrl;
+function checkBypass(reqUrl) {
+ if (!reqUrl.hostname) {
+ return false;
+ }
+ let noProxy = process.env["no_proxy"] || process.env["NO_PROXY"] || '';
+ if (!noProxy) {
+ return false;
+ }
+ // Determine the request port
+ let reqPort;
+ if (reqUrl.port) {
+ reqPort = Number(reqUrl.port);
+ }
+ else if (reqUrl.protocol === 'http:') {
+ reqPort = 80;
+ }
+ else if (reqUrl.protocol === 'https:') {
+ reqPort = 443;
+ }
+ // Format the request hostname and hostname with port
+ let upperReqHosts = [reqUrl.hostname.toUpperCase()];
+ if (typeof reqPort === 'number') {
+ upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);
+ }
+ // Compare request host against noproxy
+ for (let upperNoProxyItem of noProxy.split(',').map(x => x.trim().toUpperCase()).filter(x => x)) {
+ if (upperReqHosts.some(x => x === upperNoProxyItem)) {
+ return true;
+ }
+ }
+ return false;
+}
+exports.checkBypass = checkBypass;
+
+
+/***/ }),
+
+/***/ 954:
+/***/ (function(module) {
+
+module.exports = validateAuth;
+
+function validateAuth(auth) {
+ if (typeof auth === "string") {
+ return;
+ }
+
+ if (typeof auth === "function") {
+ return;
+ }
+
+ if (auth.username && auth.password) {
+ return;
+ }
+
+ if (auth.clientId && auth.clientSecret) {
+ return;
+ }
+
+ throw new Error(`Invalid "auth" option: ${JSON.stringify(auth)}`);
+}
+
+
+/***/ }),
+
+/***/ 955:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+const path = __webpack_require__(622);
+const childProcess = __webpack_require__(129);
+const crossSpawn = __webpack_require__(108);
+const stripEof = __webpack_require__(768);
+const npmRunPath = __webpack_require__(621);
+const isStream = __webpack_require__(323);
+const _getStream = __webpack_require__(145);
+const pFinally = __webpack_require__(697);
+const onExit = __webpack_require__(260);
+const errname = __webpack_require__(427);
+const stdio = __webpack_require__(168);
+
+const TEN_MEGABYTES = 1000 * 1000 * 10;
+
+function handleArgs(cmd, args, opts) {
+ let parsed;
+
+ opts = Object.assign({
+ extendEnv: true,
+ env: {}
+ }, opts);
+
+ if (opts.extendEnv) {
+ opts.env = Object.assign({}, process.env, opts.env);
+ }
+
+ if (opts.__winShell === true) {
+ delete opts.__winShell;
+ parsed = {
+ command: cmd,
+ args,
+ options: opts,
+ file: cmd,
+ original: {
+ cmd,
+ args
+ }
+ };
+ } else {
+ parsed = crossSpawn._parse(cmd, args, opts);
+ }
+
+ opts = Object.assign({
+ maxBuffer: TEN_MEGABYTES,
+ buffer: true,
+ stripEof: true,
+ preferLocal: true,
+ localDir: parsed.options.cwd || process.cwd(),
+ encoding: 'utf8',
+ reject: true,
+ cleanup: true
+ }, parsed.options);
+
+ opts.stdio = stdio(opts);
+
+ if (opts.preferLocal) {
+ opts.env = npmRunPath.env(Object.assign({}, opts, {cwd: opts.localDir}));
+ }
+
+ if (opts.detached) {
+ // #115
+ opts.cleanup = false;
+ }
+
+ if (process.platform === 'win32' && path.basename(parsed.command) === 'cmd.exe') {
+ // #116
+ parsed.args.unshift('/q');
+ }
+
+ return {
+ cmd: parsed.command,
+ args: parsed.args,
+ opts,
+ parsed
+ };
+}
+
+function handleInput(spawned, input) {
+ if (input === null || input === undefined) {
+ return;
+ }
+
+ if (isStream(input)) {
+ input.pipe(spawned.stdin);
+ } else {
+ spawned.stdin.end(input);
+ }
+}
+
+function handleOutput(opts, val) {
+ if (val && opts.stripEof) {
+ val = stripEof(val);
+ }
+
+ return val;
+}
+
+function handleShell(fn, cmd, opts) {
+ let file = '/bin/sh';
+ let args = ['-c', cmd];
+
+ opts = Object.assign({}, opts);
+
+ if (process.platform === 'win32') {
+ opts.__winShell = true;
+ file = process.env.comspec || 'cmd.exe';
+ args = ['/s', '/c', `"${cmd}"`];
+ opts.windowsVerbatimArguments = true;
+ }
+
+ if (opts.shell) {
+ file = opts.shell;
+ delete opts.shell;
+ }
+
+ return fn(file, args, opts);
+}
+
+function getStream(process, stream, {encoding, buffer, maxBuffer}) {
+ if (!process[stream]) {
+ return null;
+ }
+
+ let ret;
+
+ if (!buffer) {
+ // TODO: Use `ret = util.promisify(stream.finished)(process[stream]);` when targeting Node.js 10
+ ret = new Promise((resolve, reject) => {
+ process[stream]
+ .once('end', resolve)
+ .once('error', reject);
+ });
+ } else if (encoding) {
+ ret = _getStream(process[stream], {
+ encoding,
+ maxBuffer
+ });
+ } else {
+ ret = _getStream.buffer(process[stream], {maxBuffer});
+ }
+
+ return ret.catch(err => {
+ err.stream = stream;
+ err.message = `${stream} ${err.message}`;
+ throw err;
+ });
+}
+
+function makeError(result, options) {
+ const {stdout, stderr} = result;
+
+ let err = result.error;
+ const {code, signal} = result;
+
+ const {parsed, joinedCmd} = options;
+ const timedOut = options.timedOut || false;
+
+ if (!err) {
+ let output = '';
+
+ if (Array.isArray(parsed.opts.stdio)) {
+ if (parsed.opts.stdio[2] !== 'inherit') {
+ output += output.length > 0 ? stderr : `\n${stderr}`;
+ }
+
+ if (parsed.opts.stdio[1] !== 'inherit') {
+ output += `\n${stdout}`;
+ }
+ } else if (parsed.opts.stdio !== 'inherit') {
+ output = `\n${stderr}${stdout}`;
+ }
+
+ err = new Error(`Command failed: ${joinedCmd}${output}`);
+ err.code = code < 0 ? errname(code) : code;
+ }
+
+ err.stdout = stdout;
+ err.stderr = stderr;
+ err.failed = true;
+ err.signal = signal || null;
+ err.cmd = joinedCmd;
+ err.timedOut = timedOut;
+
+ return err;
+}
+
+function joinCmd(cmd, args) {
+ let joinedCmd = cmd;
+
+ if (Array.isArray(args) && args.length > 0) {
+ joinedCmd += ' ' + args.join(' ');
+ }
+
+ return joinedCmd;
+}
+
+module.exports = (cmd, args, opts) => {
+ const parsed = handleArgs(cmd, args, opts);
+ const {encoding, buffer, maxBuffer} = parsed.opts;
+ const joinedCmd = joinCmd(cmd, args);
+
+ let spawned;
+ try {
+ spawned = childProcess.spawn(parsed.cmd, parsed.args, parsed.opts);
+ } catch (err) {
+ return Promise.reject(err);
+ }
+
+ let removeExitHandler;
+ if (parsed.opts.cleanup) {
+ removeExitHandler = onExit(() => {
+ spawned.kill();
+ });
+ }
+
+ let timeoutId = null;
+ let timedOut = false;
+
+ const cleanup = () => {
+ if (timeoutId) {
+ clearTimeout(timeoutId);
+ timeoutId = null;
+ }
+
+ if (removeExitHandler) {
+ removeExitHandler();
+ }
+ };
+
+ if (parsed.opts.timeout > 0) {
+ timeoutId = setTimeout(() => {
+ timeoutId = null;
+ timedOut = true;
+ spawned.kill(parsed.opts.killSignal);
+ }, parsed.opts.timeout);
+ }
+
+ const processDone = new Promise(resolve => {
+ spawned.on('exit', (code, signal) => {
+ cleanup();
+ resolve({code, signal});
+ });
+
+ spawned.on('error', err => {
+ cleanup();
+ resolve({error: err});
+ });
+
+ if (spawned.stdin) {
+ spawned.stdin.on('error', err => {
+ cleanup();
+ resolve({error: err});
+ });
+ }
+ });
+
+ function destroy() {
+ if (spawned.stdout) {
+ spawned.stdout.destroy();
+ }
+
+ if (spawned.stderr) {
+ spawned.stderr.destroy();
+ }
+ }
+
+ const handlePromise = () => pFinally(Promise.all([
+ processDone,
+ getStream(spawned, 'stdout', {encoding, buffer, maxBuffer}),
+ getStream(spawned, 'stderr', {encoding, buffer, maxBuffer})
+ ]).then(arr => {
+ const result = arr[0];
+ result.stdout = arr[1];
+ result.stderr = arr[2];
+
+ if (result.error || result.code !== 0 || result.signal !== null) {
+ const err = makeError(result, {
+ joinedCmd,
+ parsed,
+ timedOut
+ });
+
+ // TODO: missing some timeout logic for killed
+ // https://github.com/nodejs/node/blob/master/lib/child_process.js#L203
+ // err.killed = spawned.killed || killed;
+ err.killed = err.killed || spawned.killed;
+
+ if (!parsed.opts.reject) {
+ return err;
+ }
+
+ throw err;
+ }
+
+ return {
+ stdout: handleOutput(parsed.opts, result.stdout),
+ stderr: handleOutput(parsed.opts, result.stderr),
+ code: 0,
+ failed: false,
+ killed: false,
+ signal: null,
+ cmd: joinedCmd,
+ timedOut: false
+ };
+ }), destroy);
+
+ crossSpawn._enoent.hookChildProcess(spawned, parsed.parsed);
+
+ handleInput(spawned, parsed.opts.input);
+
+ spawned.then = (onfulfilled, onrejected) => handlePromise().then(onfulfilled, onrejected);
+ spawned.catch = onrejected => handlePromise().catch(onrejected);
+
+ return spawned;
+};
+
+// TODO: set `stderr: 'ignore'` when that option is implemented
+module.exports.stdout = (...args) => module.exports(...args).then(x => x.stdout);
+
+// TODO: set `stdout: 'ignore'` when that option is implemented
+module.exports.stderr = (...args) => module.exports(...args).then(x => x.stderr);
+
+module.exports.shell = (cmd, opts) => handleShell(module.exports, cmd, opts);
+
+module.exports.sync = (cmd, args, opts) => {
+ const parsed = handleArgs(cmd, args, opts);
+ const joinedCmd = joinCmd(cmd, args);
+
+ if (isStream(parsed.opts.input)) {
+ throw new TypeError('The `input` option cannot be a stream in sync mode');
+ }
+
+ const result = childProcess.spawnSync(parsed.cmd, parsed.args, parsed.opts);
+ result.code = result.status;
+
+ if (result.error || result.status !== 0 || result.signal !== null) {
+ const err = makeError(result, {
+ joinedCmd,
+ parsed
+ });
+
+ if (!parsed.opts.reject) {
+ return err;
+ }
+
+ throw err;
+ }
+
+ return {
+ stdout: handleOutput(parsed.opts, result.stdout),
+ stderr: handleOutput(parsed.opts, result.stderr),
+ code: 0,
+ failed: false,
+ signal: null,
+ cmd: joinedCmd,
+ timedOut: false
+ };
+};
+
+module.exports.shellSync = (cmd, opts) => handleShell(module.exports.sync, cmd, opts);
+
+
+/***/ }),
+
+/***/ 966:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+"use strict";
+
+const {PassThrough} = __webpack_require__(794);
+
+module.exports = options => {
+ options = Object.assign({}, options);
+
+ const {array} = options;
+ let {encoding} = options;
+ const buffer = encoding === 'buffer';
+ let objectMode = false;
+
+ if (array) {
+ objectMode = !(encoding || buffer);
+ } else {
+ encoding = encoding || 'utf8';
+ }
+
+ if (buffer) {
+ encoding = null;
+ }
+
+ let len = 0;
+ const ret = [];
+ const stream = new PassThrough({objectMode});
+
+ if (encoding) {
+ stream.setEncoding(encoding);
+ }
+
+ stream.on('data', chunk => {
+ ret.push(chunk);
+
+ if (objectMode) {
+ len = ret.length;
+ } else {
+ len += chunk.length;
+ }
+ });
+
+ stream.getBufferedValue = () => {
+ if (array) {
+ return ret;
+ }
+
+ return buffer ? Buffer.concat(ret, len) : ret.join('');
+ };
+
+ stream.getBufferedLength = () => len;
+
+ return stream;
+};
+
+
+/***/ }),
+
+/***/ 969:
+/***/ (function(module, __unusedexports, __webpack_require__) {
+
+var wrappy = __webpack_require__(11)
+module.exports = wrappy(once)
+module.exports.strict = wrappy(onceStrict)
+
+once.proto = once(function () {
+ Object.defineProperty(Function.prototype, 'once', {
+ value: function () {
+ return once(this)
+ },
+ configurable: true
+ })
+
+ Object.defineProperty(Function.prototype, 'onceStrict', {
+ value: function () {
+ return onceStrict(this)
+ },
+ configurable: true
+ })
+})
+
+function once (fn) {
+ var f = function () {
+ if (f.called) return f.value
+ f.called = true
+ return f.value = fn.apply(this, arguments)
+ }
+ f.called = false
+ return f
+}
+
+function onceStrict (fn) {
+ var f = function () {
+ if (f.called)
+ throw new Error(f.onceError)
+ f.called = true
+ return f.value = fn.apply(this, arguments)
+ }
+ var name = fn.name || 'Function wrapped with `once`'
+ f.onceError = name + " shouldn't be called more than once"
+ f.called = false
+ return f
+}
+
+
+/***/ }),
+
+/***/ 979:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const core = __importStar(__webpack_require__(902));
+/**
+ * Internal class for retries
+ */
+class RetryHelper {
+ constructor(maxAttempts, minSeconds, maxSeconds) {
+ if (maxAttempts < 1) {
+ throw new Error('max attempts should be greater than or equal to 1');
+ }
+ this.maxAttempts = maxAttempts;
+ this.minSeconds = Math.floor(minSeconds);
+ this.maxSeconds = Math.floor(maxSeconds);
+ if (this.minSeconds > this.maxSeconds) {
+ throw new Error('min seconds should be less than or equal to max seconds');
+ }
+ }
+ execute(action, isRetryable) {
+ return __awaiter(this, void 0, void 0, function* () {
+ let attempt = 1;
+ while (attempt < this.maxAttempts) {
+ // Try
+ try {
+ return yield action();
+ }
+ catch (err) {
+ if (isRetryable && !isRetryable(err)) {
+ throw err;
+ }
+ core.info(err.message);
+ }
+ // Sleep
+ const seconds = this.getSleepAmount();
+ core.info(`Waiting ${seconds} seconds before trying again`);
+ yield this.sleep(seconds);
+ attempt++;
+ }
+ // Last attempt
+ return yield action();
+ });
+ }
+ getSleepAmount() {
+ return (Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) +
+ this.minSeconds);
+ }
+ sleep(seconds) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return new Promise(resolve => setTimeout(resolve, seconds * 1000));
+ });
+ }
+}
+exports.RetryHelper = RetryHelper;
+//# sourceMappingURL=retry-helper.js.map
+
+/***/ }),
+
+/***/ 986:
+/***/ (function(__unusedmodule, exports, __webpack_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result["default"] = mod;
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const tr = __importStar(__webpack_require__(9));
+/**
+ * Exec a command.
+ * Output will be streamed to the live console.
+ * Returns promise with return code
+ *
+ * @param commandLine command to execute (can include additional args). Must be correctly escaped.
+ * @param args optional arguments for tool. Escaping is handled by the lib.
+ * @param options optional exec options. See ExecOptions
+ * @returns Promise exit code
+ */
+function exec(commandLine, args, options) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const commandArgs = tr.argStringToArray(commandLine);
+ if (commandArgs.length === 0) {
+ throw new Error(`Parameter 'commandLine' cannot be null or empty.`);
+ }
+ // Path to tool to execute should be first arg
+ const toolPath = commandArgs[0];
+ args = commandArgs.slice(1).concat(args || []);
+ const runner = new tr.ToolRunner(toolPath, args, options);
+ return runner.exec();
+ });
+}
+exports.exec = exec;
+//# sourceMappingURL=exec.js.map
+
+/***/ })
+
+/******/ });
\ No newline at end of file
diff --git a/lib/authutil.js b/lib/authutil.js
deleted file mode 100644
index 6da4630..0000000
--- a/lib/authutil.js
+++ /dev/null
@@ -1,56 +0,0 @@
-"use strict";
-var __importStar = (this && this.__importStar) || function (mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
- result["default"] = mod;
- return result;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-const fs = __importStar(require("fs"));
-const os = __importStar(require("os"));
-const path = __importStar(require("path"));
-const core = __importStar(require("@actions/core"));
-const github = __importStar(require("@actions/github"));
-function configAuthentication(registryUrl, alwaysAuth) {
- const npmrc = path.resolve(process.env['RUNNER_TEMP'] || process.cwd(), '.npmrc');
- if (!registryUrl.endsWith('/')) {
- registryUrl += '/';
- }
- writeRegistryToFile(registryUrl, npmrc, alwaysAuth);
-}
-exports.configAuthentication = configAuthentication;
-function writeRegistryToFile(registryUrl, fileLocation, alwaysAuth) {
- let scope = core.getInput('scope');
- if (!scope && registryUrl.indexOf('npm.pkg.github.com') > -1) {
- scope = github.context.repo.owner;
- }
- if (scope && scope[0] != '@') {
- scope = '@' + scope;
- }
- if (scope) {
- scope = scope.toLowerCase();
- }
- core.debug(`Setting auth in ${fileLocation}`);
- let newContents = '';
- if (fs.existsSync(fileLocation)) {
- const curContents = fs.readFileSync(fileLocation, 'utf8');
- curContents.split(os.EOL).forEach((line) => {
- // Add current contents unless they are setting the registry
- if (!line.toLowerCase().startsWith('registry')) {
- newContents += line + os.EOL;
- }
- });
- }
- // Remove http: or https: from front of registry.
- const authString = registryUrl.replace(/(^\w+:|^)/, '') + ':_authToken=${NODE_AUTH_TOKEN}';
- const registryString = scope
- ? `${scope}:registry=${registryUrl}`
- : `registry=${registryUrl}`;
- const alwaysAuthString = `always-auth=${alwaysAuth}`;
- newContents += `${authString}${os.EOL}${registryString}${os.EOL}${alwaysAuthString}`;
- fs.writeFileSync(fileLocation, newContents);
- core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
- // Export empty node_auth_token so npm doesn't complain about not being able to find it
- core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX');
-}
diff --git a/lib/installer.js b/lib/installer.js
deleted file mode 100644
index c86924c..0000000
--- a/lib/installer.js
+++ /dev/null
@@ -1,227 +0,0 @@
-"use strict";
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-var __importStar = (this && this.__importStar) || function (mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
- result["default"] = mod;
- return result;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-// Load tempDirectory before it gets wiped by tool-cache
-let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
-const core = __importStar(require("@actions/core"));
-const io = __importStar(require("@actions/io"));
-const tc = __importStar(require("@actions/tool-cache"));
-const restm = __importStar(require("typed-rest-client/RestClient"));
-const os = __importStar(require("os"));
-const path = __importStar(require("path"));
-const semver = __importStar(require("semver"));
-let osPlat = os.platform();
-let osArch = os.arch();
-if (!tempDirectory) {
- let baseLocation;
- if (process.platform === 'win32') {
- // On windows use the USERPROFILE env variable
- baseLocation = process.env['USERPROFILE'] || 'C:\\';
- }
- else {
- if (process.platform === 'darwin') {
- baseLocation = '/Users';
- }
- else {
- baseLocation = '/home';
- }
- }
- tempDirectory = path.join(baseLocation, 'actions', 'temp');
-}
-function getNode(versionSpec) {
- return __awaiter(this, void 0, void 0, function* () {
- // check cache
- let toolPath;
- toolPath = tc.find('node', versionSpec);
- // If not found in cache, download
- if (!toolPath) {
- let version;
- const c = semver.clean(versionSpec) || '';
- // If explicit version
- if (semver.valid(c) != null) {
- // version to download
- version = versionSpec;
- }
- else {
- // query nodejs.org for a matching version
- version = yield queryLatestMatch(versionSpec);
- if (!version) {
- throw new Error(`Unable to find Node version '${versionSpec}' for platform ${osPlat} and architecture ${osArch}.`);
- }
- // check cache
- toolPath = tc.find('node', version);
- }
- if (!toolPath) {
- // download, extract, cache
- toolPath = yield acquireNode(version);
- }
- }
- //
- // a tool installer initimately knows details about the layout of that tool
- // for example, node binary is in the bin folder after the extract on Mac/Linux.
- // layouts could change by version, by platform etc... but that's the tool installers job
- //
- if (osPlat != 'win32') {
- toolPath = path.join(toolPath, 'bin');
- }
- //
- // prepend the tools path. instructs the agent to prepend for future tasks
- core.addPath(toolPath);
- });
-}
-exports.getNode = getNode;
-function queryLatestMatch(versionSpec) {
- return __awaiter(this, void 0, void 0, function* () {
- // node offers a json list of versions
- let dataFileName;
- switch (osPlat) {
- case 'linux':
- dataFileName = 'linux-' + osArch;
- break;
- case 'darwin':
- dataFileName = 'osx-' + osArch + '-tar';
- break;
- case 'win32':
- dataFileName = 'win-' + osArch + '-exe';
- break;
- default:
- throw new Error(`Unexpected OS '${osPlat}'`);
- }
- let versions = [];
- let dataUrl = 'https://nodejs.org/dist/index.json';
- let rest = new restm.RestClient('setup-node');
- let nodeVersions = (yield rest.get(dataUrl)).result || [];
- nodeVersions.forEach((nodeVersion) => {
- // ensure this version supports your os and platform
- if (nodeVersion.files.indexOf(dataFileName) >= 0) {
- versions.push(nodeVersion.version);
- }
- });
- // get the latest version that matches the version spec
- let version = evaluateVersions(versions, versionSpec);
- return version;
- });
-}
-// TODO - should we just export this from @actions/tool-cache? Lifted directly from there
-function evaluateVersions(versions, versionSpec) {
- let version = '';
- core.debug(`evaluating ${versions.length} versions`);
- versions = versions.sort((a, b) => {
- if (semver.gt(a, b)) {
- return 1;
- }
- return -1;
- });
- for (let i = versions.length - 1; i >= 0; i--) {
- const potential = versions[i];
- const satisfied = semver.satisfies(potential, versionSpec);
- if (satisfied) {
- version = potential;
- break;
- }
- }
- if (version) {
- core.debug(`matched: ${version}`);
- }
- else {
- core.debug('match not found');
- }
- return version;
-}
-function acquireNode(version) {
- return __awaiter(this, void 0, void 0, function* () {
- //
- // Download - a tool installer intimately knows how to get the tool (and construct urls)
- //
- version = semver.clean(version) || '';
- let fileName = osPlat == 'win32'
- ? 'node-v' + version + '-win-' + os.arch()
- : 'node-v' + version + '-' + osPlat + '-' + os.arch();
- let urlFileName = osPlat == 'win32' ? fileName + '.7z' : fileName + '.tar.gz';
- let downloadUrl = 'https://nodejs.org/dist/v' + version + '/' + urlFileName;
- let downloadPath;
- try {
- downloadPath = yield tc.downloadTool(downloadUrl);
- }
- catch (err) {
- if (err instanceof tc.HTTPError && err.httpStatusCode == 404) {
- return yield acquireNodeFromFallbackLocation(version);
- }
- throw err;
- }
- //
- // Extract
- //
- let extPath;
- if (osPlat == 'win32') {
- let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe');
- extPath = yield tc.extract7z(downloadPath, undefined, _7zPath);
- }
- else {
- extPath = yield tc.extractTar(downloadPath);
- }
- //
- // Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded
- //
- let toolRoot = path.join(extPath, fileName);
- return yield tc.cacheDir(toolRoot, 'node', version);
- });
-}
-// For non LTS versions of Node, the files we need (for Windows) are sometimes located
-// in a different folder than they normally are for other versions.
-// Normally the format is similar to: https://nodejs.org/dist/v5.10.1/node-v5.10.1-win-x64.7z
-// In this case, there will be two files located at:
-// /dist/v5.10.1/win-x64/node.exe
-// /dist/v5.10.1/win-x64/node.lib
-// If this is not the structure, there may also be two files located at:
-// /dist/v0.12.18/node.exe
-// /dist/v0.12.18/node.lib
-// This method attempts to download and cache the resources from these alternative locations.
-// Note also that the files are normally zipped but in this case they are just an exe
-// and lib file in a folder, not zipped.
-function acquireNodeFromFallbackLocation(version) {
- return __awaiter(this, void 0, void 0, function* () {
- // Create temporary folder to download in to
- let tempDownloadFolder = 'temp_' + Math.floor(Math.random() * 2000000000);
- let tempDir = path.join(tempDirectory, tempDownloadFolder);
- yield io.mkdirP(tempDir);
- let exeUrl;
- let libUrl;
- try {
- exeUrl = `https://nodejs.org/dist/v${version}/win-${os.arch()}/node.exe`;
- libUrl = `https://nodejs.org/dist/v${version}/win-${os.arch()}/node.lib`;
- const exePath = yield tc.downloadTool(exeUrl);
- yield io.cp(exePath, path.join(tempDir, 'node.exe'));
- const libPath = yield tc.downloadTool(libUrl);
- yield io.cp(libPath, path.join(tempDir, 'node.lib'));
- }
- catch (err) {
- if (err instanceof tc.HTTPError && err.httpStatusCode == 404) {
- exeUrl = `https://nodejs.org/dist/v${version}/node.exe`;
- libUrl = `https://nodejs.org/dist/v${version}/node.lib`;
- const exePath = yield tc.downloadTool(exeUrl);
- yield io.cp(exePath, path.join(tempDir, 'node.exe'));
- const libPath = yield tc.downloadTool(libUrl);
- yield io.cp(libPath, path.join(tempDir, 'node.lib'));
- }
- else {
- throw err;
- }
- }
- return yield tc.cacheDir(tempDir, 'node', version);
- });
-}
diff --git a/lib/setup-node.js b/lib/setup-node.js
deleted file mode 100644
index d7b3518..0000000
--- a/lib/setup-node.js
+++ /dev/null
@@ -1,53 +0,0 @@
-"use strict";
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-var __importStar = (this && this.__importStar) || function (mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
- result["default"] = mod;
- return result;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-const core = __importStar(require("@actions/core"));
-const installer = __importStar(require("./installer"));
-const auth = __importStar(require("./authutil"));
-const path = __importStar(require("path"));
-function run() {
- return __awaiter(this, void 0, void 0, function* () {
- try {
- //
- // Version is optional. If supplied, install / use from the tool cache
- // If not supplied then task is still used to setup proxy, auth, etc...
- //
- let version = core.getInput('version');
- if (!version) {
- version = core.getInput('node-version');
- }
- if (version) {
- // TODO: installer doesn't support proxy
- yield installer.getNode(version);
- }
- const registryUrl = core.getInput('registry-url');
- const alwaysAuth = core.getInput('always-auth');
- if (registryUrl) {
- auth.configAuthentication(registryUrl, alwaysAuth);
- }
- // TODO: setup proxy from runner proxy config
- const matchersPath = path.join(__dirname, '..', '.github');
- console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`);
- console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}`);
- console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}`);
- }
- catch (error) {
- core.setFailed(error.message);
- }
- });
-}
-run();
diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver
deleted file mode 100644
index d592e69..0000000
--- a/node_modules/.bin/semver
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- "$basedir/node" "$basedir/../semver/bin/semver" "$@"
- ret=$?
-else
- node "$basedir/../semver/bin/semver" "$@"
- ret=$?
-fi
-exit $ret
diff --git a/node_modules/.bin/semver.cmd b/node_modules/.bin/semver.cmd
deleted file mode 100644
index 37c00a4..0000000
--- a/node_modules/.bin/semver.cmd
+++ /dev/null
@@ -1,7 +0,0 @@
-@IF EXIST "%~dp0\node.exe" (
- "%~dp0\node.exe" "%~dp0\..\semver\bin\semver" %*
-) ELSE (
- @SETLOCAL
- @SET PATHEXT=%PATHEXT:;.JS;=;%
- node "%~dp0\..\semver\bin\semver" %*
-)
\ No newline at end of file
diff --git a/node_modules/.bin/uuid b/node_modules/.bin/uuid
deleted file mode 100644
index f3bfcf4..0000000
--- a/node_modules/.bin/uuid
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- "$basedir/node" "$basedir/../uuid/bin/uuid" "$@"
- ret=$?
-else
- node "$basedir/../uuid/bin/uuid" "$@"
- ret=$?
-fi
-exit $ret
diff --git a/node_modules/.bin/uuid.cmd b/node_modules/.bin/uuid.cmd
deleted file mode 100644
index da52d68..0000000
--- a/node_modules/.bin/uuid.cmd
+++ /dev/null
@@ -1,7 +0,0 @@
-@IF EXIST "%~dp0\node.exe" (
- "%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %*
-) ELSE (
- @SETLOCAL
- @SET PATHEXT=%PATHEXT:;.JS;=;%
- node "%~dp0\..\uuid\bin\uuid" %*
-)
\ No newline at end of file
diff --git a/node_modules/.bin/which b/node_modules/.bin/which
deleted file mode 100644
index cbe872c..0000000
--- a/node_modules/.bin/which
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- "$basedir/node" "$basedir/../which/bin/which" "$@"
- ret=$?
-else
- node "$basedir/../which/bin/which" "$@"
- ret=$?
-fi
-exit $ret
diff --git a/node_modules/.bin/which.cmd b/node_modules/.bin/which.cmd
deleted file mode 100644
index 588f44d..0000000
--- a/node_modules/.bin/which.cmd
+++ /dev/null
@@ -1,7 +0,0 @@
-@IF EXIST "%~dp0\node.exe" (
- "%~dp0\node.exe" "%~dp0\..\which\bin\which" %*
-) ELSE (
- @SETLOCAL
- @SET PATHEXT=%PATHEXT:;.JS;=;%
- node "%~dp0\..\which\bin\which" %*
-)
\ No newline at end of file
diff --git a/node_modules/@actions/core/LICENSE.md b/node_modules/@actions/core/LICENSE.md
deleted file mode 100644
index e5a73f4..0000000
--- a/node_modules/@actions/core/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2019 GitHub
-
-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.
\ No newline at end of file
diff --git a/node_modules/@actions/core/README.md b/node_modules/@actions/core/README.md
deleted file mode 100644
index 8d8c00f..0000000
--- a/node_modules/@actions/core/README.md
+++ /dev/null
@@ -1,81 +0,0 @@
-# `@actions/core`
-
-> Core functions for setting results, logging, registering secrets and exporting variables across actions
-
-## Usage
-
-#### Inputs/Outputs
-
-You can use this library to get inputs or set outputs:
-
-```
-const core = require('@actions/core');
-
-const myInput = core.getInput('inputName', { required: true });
-
-// Do stuff
-
-core.setOutput('outputKey', 'outputVal');
-```
-
-#### Exporting variables/secrets
-
-You can also export variables and secrets for future steps. Variables get set in the environment automatically, while secrets must be scoped into the environment from a workflow using `{{ secret.FOO }}`. Secrets will also be masked from the logs:
-
-```
-const core = require('@actions/core');
-
-// Do stuff
-
-core.exportVariable('envVar', 'Val');
-core.exportSecret('secretVar', variableWithSecretValue);
-```
-
-#### PATH Manipulation
-
-You can explicitly add items to the path for all remaining steps in a workflow:
-
-```
-const core = require('@actions/core');
-
-core.addPath('pathToTool');
-```
-
-#### Exit codes
-
-You should use this library to set the failing exit code for your action:
-
-```
-const core = require('@actions/core');
-
-try {
- // Do stuff
-}
-catch (err) {
- // setFailed logs the message and sets a failing exit code
- core.setFailed(`Action failed with error ${err}`);
-}
-
-```
-
-#### Logging
-
-Finally, this library provides some utilities for logging:
-
-```
-const core = require('@actions/core');
-
-const myInput = core.getInput('input');
-try {
- core.debug('Inside try block');
-
- if (!myInput) {
- core.warning('myInput wasnt set');
- }
-
- // Do stuff
-}
-catch (err) {
- core.error('Error ${err}, action may still succeed though');
-}
-```
diff --git a/node_modules/@actions/core/lib/command.d.ts b/node_modules/@actions/core/lib/command.d.ts
deleted file mode 100644
index 9ad8647..0000000
--- a/node_modules/@actions/core/lib/command.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-interface CommandProperties {
- [key: string]: string;
-}
-/**
- * Commands
- *
- * Command Format:
- * ##[name key=value;key=value]message
- *
- * Examples:
- * ##[warning]This is the user warning message
- * ##[set-secret name=mypassword]definatelyNotAPassword!
- */
-export declare function issueCommand(command: string, properties: CommandProperties, message: string): void;
-export declare function issue(name: string, message: string): void;
-export {};
diff --git a/node_modules/@actions/core/lib/command.js b/node_modules/@actions/core/lib/command.js
deleted file mode 100644
index 911698e..0000000
--- a/node_modules/@actions/core/lib/command.js
+++ /dev/null
@@ -1,66 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const os = require("os");
-/**
- * Commands
- *
- * Command Format:
- * ##[name key=value;key=value]message
- *
- * Examples:
- * ##[warning]This is the user warning message
- * ##[set-secret name=mypassword]definatelyNotAPassword!
- */
-function issueCommand(command, properties, message) {
- const cmd = new Command(command, properties, message);
- process.stdout.write(cmd.toString() + os.EOL);
-}
-exports.issueCommand = issueCommand;
-function issue(name, message) {
- issueCommand(name, {}, message);
-}
-exports.issue = issue;
-const CMD_PREFIX = '##[';
-class Command {
- constructor(command, properties, message) {
- if (!command) {
- command = 'missing.command';
- }
- this.command = command;
- this.properties = properties;
- this.message = message;
- }
- toString() {
- let cmdStr = CMD_PREFIX + this.command;
- if (this.properties && Object.keys(this.properties).length > 0) {
- cmdStr += ' ';
- for (const key in this.properties) {
- if (this.properties.hasOwnProperty(key)) {
- const val = this.properties[key];
- if (val) {
- // safely append the val - avoid blowing up when attempting to
- // call .replace() if message is not a string for some reason
- cmdStr += `${key}=${escape(`${val || ''}`)};`;
- }
- }
- }
- }
- cmdStr += ']';
- // safely append the message - avoid blowing up when attempting to
- // call .replace() if message is not a string for some reason
- const message = `${this.message || ''}`;
- cmdStr += escapeData(message);
- return cmdStr;
- }
-}
-function escapeData(s) {
- return s.replace(/\r/g, '%0D').replace(/\n/g, '%0A');
-}
-function escape(s) {
- return s
- .replace(/\r/g, '%0D')
- .replace(/\n/g, '%0A')
- .replace(/]/g, '%5D')
- .replace(/;/g, '%3B');
-}
-//# sourceMappingURL=command.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/core/lib/command.js.map b/node_modules/@actions/core/lib/command.js.map
deleted file mode 100644
index 28ea330..0000000
--- a/node_modules/@actions/core/lib/command.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;AAAA,yBAAwB;AAQxB;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAe;IAEf,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;IACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AAC/C,CAAC;AAPD,oCAOC;AAED,SAAgB,KAAK,CAAC,IAAY,EAAE,OAAe;IACjD,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACjC,CAAC;AAFD,sBAEC;AAED,MAAM,UAAU,GAAG,KAAK,CAAA;AAExB,MAAM,OAAO;IAKX,YAAY,OAAe,EAAE,UAA6B,EAAE,OAAe;QACzE,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,iBAAiB,CAAA;SAC5B;QAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,QAAQ;QACN,IAAI,MAAM,GAAG,UAAU,GAAG,IAAI,CAAC,OAAO,CAAA;QAEtC,IAAI,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YAC9D,MAAM,IAAI,GAAG,CAAA;YACb,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE;gBACjC,IAAI,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;oBACvC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;oBAChC,IAAI,GAAG,EAAE;wBACP,8DAA8D;wBAC9D,6DAA6D;wBAC7D,MAAM,IAAI,GAAG,GAAG,IAAI,MAAM,CAAC,GAAG,GAAG,IAAI,EAAE,EAAE,CAAC,GAAG,CAAA;qBAC9C;iBACF;aACF;SACF;QAED,MAAM,IAAI,GAAG,CAAA;QAEb,kEAAkE;QAClE,6DAA6D;QAC7D,MAAM,OAAO,GAAG,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,EAAE,CAAA;QACvC,MAAM,IAAI,UAAU,CAAC,OAAO,CAAC,CAAA;QAE7B,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAS;IAC3B,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AACtD,CAAC;AAED,SAAS,MAAM,CAAC,CAAS;IACvB,OAAO,CAAC;SACL,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@actions/core/lib/core.d.ts b/node_modules/@actions/core/lib/core.d.ts
deleted file mode 100644
index f8afe99..0000000
--- a/node_modules/@actions/core/lib/core.d.ts
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * Interface for getInput options
- */
-export interface InputOptions {
- /** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */
- required?: boolean;
-}
-/**
- * The code to exit an action
- */
-export declare enum ExitCode {
- /**
- * A code indicating that the action was successful
- */
- Success = 0,
- /**
- * A code indicating that the action was a failure
- */
- Failure = 1
-}
-/**
- * sets env variable for this action and future actions in the job
- * @param name the name of the variable to set
- * @param val the value of the variable
- */
-export declare function exportVariable(name: string, val: string): void;
-/**
- * exports the variable and registers a secret which will get masked from logs
- * @param name the name of the variable to set
- * @param val value of the secret
- */
-export declare function exportSecret(name: string, val: string): void;
-/**
- * Prepends inputPath to the PATH (for this action and future actions)
- * @param inputPath
- */
-export declare function addPath(inputPath: string): void;
-/**
- * Gets the value of an input. The value is also trimmed.
- *
- * @param name name of the input to get
- * @param options optional. See InputOptions.
- * @returns string
- */
-export declare function getInput(name: string, options?: InputOptions): string;
-/**
- * Sets the value of an output.
- *
- * @param name name of the output to set
- * @param value value to store
- */
-export declare function setOutput(name: string, value: string): void;
-/**
- * Sets the action status to failed.
- * When the action exits it will be with an exit code of 1
- * @param message add error issue message
- */
-export declare function setFailed(message: string): void;
-/**
- * Writes debug message to user log
- * @param message debug message
- */
-export declare function debug(message: string): void;
-/**
- * Adds an error issue
- * @param message error issue message
- */
-export declare function error(message: string): void;
-/**
- * Adds an warning issue
- * @param message warning issue message
- */
-export declare function warning(message: string): void;
diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js
deleted file mode 100644
index c6397ba..0000000
--- a/node_modules/@actions/core/lib/core.js
+++ /dev/null
@@ -1,116 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const command_1 = require("./command");
-const path = require("path");
-/**
- * The code to exit an action
- */
-var ExitCode;
-(function (ExitCode) {
- /**
- * A code indicating that the action was successful
- */
- ExitCode[ExitCode["Success"] = 0] = "Success";
- /**
- * A code indicating that the action was a failure
- */
- ExitCode[ExitCode["Failure"] = 1] = "Failure";
-})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));
-//-----------------------------------------------------------------------
-// Variables
-//-----------------------------------------------------------------------
-/**
- * sets env variable for this action and future actions in the job
- * @param name the name of the variable to set
- * @param val the value of the variable
- */
-function exportVariable(name, val) {
- process.env[name] = val;
- command_1.issueCommand('set-env', { name }, val);
-}
-exports.exportVariable = exportVariable;
-/**
- * exports the variable and registers a secret which will get masked from logs
- * @param name the name of the variable to set
- * @param val value of the secret
- */
-function exportSecret(name, val) {
- exportVariable(name, val);
- command_1.issueCommand('set-secret', {}, val);
-}
-exports.exportSecret = exportSecret;
-/**
- * Prepends inputPath to the PATH (for this action and future actions)
- * @param inputPath
- */
-function addPath(inputPath) {
- command_1.issueCommand('add-path', {}, inputPath);
- process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
-}
-exports.addPath = addPath;
-/**
- * Gets the value of an input. The value is also trimmed.
- *
- * @param name name of the input to get
- * @param options optional. See InputOptions.
- * @returns string
- */
-function getInput(name, options) {
- const val = process.env[`INPUT_${name.replace(' ', '_').toUpperCase()}`] || '';
- if (options && options.required && !val) {
- throw new Error(`Input required and not supplied: ${name}`);
- }
- return val.trim();
-}
-exports.getInput = getInput;
-/**
- * Sets the value of an output.
- *
- * @param name name of the output to set
- * @param value value to store
- */
-function setOutput(name, value) {
- command_1.issueCommand('set-output', { name }, value);
-}
-exports.setOutput = setOutput;
-//-----------------------------------------------------------------------
-// Results
-//-----------------------------------------------------------------------
-/**
- * Sets the action status to failed.
- * When the action exits it will be with an exit code of 1
- * @param message add error issue message
- */
-function setFailed(message) {
- process.exitCode = ExitCode.Failure;
- error(message);
-}
-exports.setFailed = setFailed;
-//-----------------------------------------------------------------------
-// Logging Commands
-//-----------------------------------------------------------------------
-/**
- * Writes debug message to user log
- * @param message debug message
- */
-function debug(message) {
- command_1.issueCommand('debug', {}, message);
-}
-exports.debug = debug;
-/**
- * Adds an error issue
- * @param message error issue message
- */
-function error(message) {
- command_1.issue('error', message);
-}
-exports.error = error;
-/**
- * Adds an warning issue
- * @param message warning issue message
- */
-function warning(message) {
- command_1.issue('warning', message);
-}
-exports.warning = warning;
-//# sourceMappingURL=core.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/core/lib/core.js.map b/node_modules/@actions/core/lib/core.js.map
deleted file mode 100644
index 7e3c84f..0000000
--- a/node_modules/@actions/core/lib/core.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;AAAA,uCAA6C;AAE7C,6BAA4B;AAU5B;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAW;IACtD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAA;IACvB,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,GAAG,CAAC,CAAA;AACtC,CAAC;AAHD,wCAGC;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAY,EAAE,GAAW;IACpD,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IACzB,sBAAY,CAAC,YAAY,EAAE,EAAE,EAAE,GAAG,CAAC,CAAA;AACrC,CAAC;AAHD,oCAGC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;IACvC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AAHD,0BAGC;AAED;;;;;;GAMG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACpE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AARD,4BAQC;AAED;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAa;IACnD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAe;IACvC,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IACnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAHD,8BAGC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,eAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;AACzB,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,OAAe;IACrC,eAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;AAC3B,CAAC;AAFD,0BAEC"}
\ No newline at end of file
diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json
deleted file mode 100644
index be1c1f7..0000000
--- a/node_modules/@actions/core/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "_from": "@actions/core@^1.0.0",
- "_id": "@actions/core@1.0.0",
- "_inBundle": false,
- "_integrity": "sha512-aMIlkx96XH4E/2YZtEOeyrYQfhlas9jIRkfGPqMwXD095Rdkzo4lB6ZmbxPQSzD+e1M+Xsm98ZhuSMYGv/AlqA==",
- "_location": "/@actions/core",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "@actions/core@^1.0.0",
- "name": "@actions/core",
- "escapedName": "@actions%2fcore",
- "scope": "@actions",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/",
- "/@actions/tool-cache"
- ],
- "_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.0.0.tgz",
- "_shasum": "4a090a2e958cc300b9ea802331034d5faf42d239",
- "_spec": "@actions/core@^1.0.0",
- "_where": "C:\\Users\\damccorm\\Documents\\setup-node",
- "bugs": {
- "url": "https://github.com/actions/toolkit/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Actions core lib",
- "devDependencies": {
- "@types/node": "^12.0.2"
- },
- "directories": {
- "lib": "lib",
- "test": "__tests__"
- },
- "files": [
- "lib"
- ],
- "gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
- "homepage": "https://github.com/actions/toolkit/tree/master/packages/core",
- "keywords": [
- "core",
- "actions"
- ],
- "license": "MIT",
- "main": "lib/core.js",
- "name": "@actions/core",
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/actions/toolkit.git"
- },
- "scripts": {
- "test": "echo \"Error: run tests from root\" && exit 1",
- "tsc": "tsc"
- },
- "version": "1.0.0"
-}
diff --git a/node_modules/@actions/exec/LICENSE.md b/node_modules/@actions/exec/LICENSE.md
deleted file mode 100644
index e5a73f4..0000000
--- a/node_modules/@actions/exec/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2019 GitHub
-
-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.
\ No newline at end of file
diff --git a/node_modules/@actions/exec/README.md b/node_modules/@actions/exec/README.md
deleted file mode 100644
index e76ce0b..0000000
--- a/node_modules/@actions/exec/README.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# `@actions/exec`
-
-## Usage
-
-#### Basic
-
-You can use this package to execute your tools on the command line in a cross platform way:
-
-```
-const exec = require('@actions/exec');
-
-await exec.exec('node index.js');
-```
-
-#### Args
-
-You can also pass in arg arrays:
-
-```
-const exec = require('@actions/exec');
-
-await exec.exec('node', ['index.js', 'foo=bar']);
-```
-
-#### Output/options
-
-Capture output or specify [other options](https://github.com/actions/toolkit/blob/d9347d4ab99fd507c0b9104b2cf79fb44fcc827d/packages/exec/src/interfaces.ts#L5):
-
-```
-const exec = require('@actions/exec');
-
-const myOutput = '';
-const myError = '';
-
-const options = {};
-options.listeners = {
- stdout: (data: Buffer) => {
- myOutput += data.toString();
- },
- stderr: (data: Buffer) => {
- myError += data.toString();
- }
-};
-options.cwd = './lib';
-
-await exec.exec('node', ['index.js', 'foo=bar'], options);
-```
-
-#### Exec tools not in the PATH
-
-You can use it in conjunction with the `which` function from `@actions/io` to execute tools that are not in the PATH:
-
-```
-const exec = require('@actions/exec');
-const io = require('@actions/io');
-
-const pythonPath: string = await io.which('python', true)
-
-await exec.exec(`"${pythonPath}"`, ['main.py']);
-```
diff --git a/node_modules/@actions/exec/lib/exec.d.ts b/node_modules/@actions/exec/lib/exec.d.ts
deleted file mode 100644
index 8c64aae..0000000
--- a/node_modules/@actions/exec/lib/exec.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import * as im from './interfaces';
-/**
- * Exec a command.
- * Output will be streamed to the live console.
- * Returns promise with return code
- *
- * @param commandLine command to execute (can include additional args). Must be correctly escaped.
- * @param args optional arguments for tool. Escaping is handled by the lib.
- * @param options optional exec options. See ExecOptions
- * @returns Promise exit code
- */
-export declare function exec(commandLine: string, args?: string[], options?: im.ExecOptions): Promise;
diff --git a/node_modules/@actions/exec/lib/exec.js b/node_modules/@actions/exec/lib/exec.js
deleted file mode 100644
index fadab33..0000000
--- a/node_modules/@actions/exec/lib/exec.js
+++ /dev/null
@@ -1,36 +0,0 @@
-"use strict";
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-const tr = require("./toolrunner");
-/**
- * Exec a command.
- * Output will be streamed to the live console.
- * Returns promise with return code
- *
- * @param commandLine command to execute (can include additional args). Must be correctly escaped.
- * @param args optional arguments for tool. Escaping is handled by the lib.
- * @param options optional exec options. See ExecOptions
- * @returns Promise exit code
- */
-function exec(commandLine, args, options) {
- return __awaiter(this, void 0, void 0, function* () {
- const commandArgs = tr.argStringToArray(commandLine);
- if (commandArgs.length === 0) {
- throw new Error(`Parameter 'commandLine' cannot be null or empty.`);
- }
- // Path to tool to execute should be first arg
- const toolPath = commandArgs[0];
- args = commandArgs.slice(1).concat(args || []);
- const runner = new tr.ToolRunner(toolPath, args, options);
- return runner.exec();
- });
-}
-exports.exec = exec;
-//# sourceMappingURL=exec.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/exec/lib/exec.js.map b/node_modules/@actions/exec/lib/exec.js.map
deleted file mode 100644
index 155287e..0000000
--- a/node_modules/@actions/exec/lib/exec.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"exec.js","sourceRoot":"","sources":["../src/exec.ts"],"names":[],"mappings":";;;;;;;;;;AACA,mCAAkC;AAElC;;;;;;;;;GASG;AACH,SAAsB,IAAI,CACxB,WAAmB,EACnB,IAAe,EACf,OAAwB;;QAExB,MAAM,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAA;QACpD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAA;SACpE;QACD,8CAA8C;QAC9C,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,CAAA;QAC/B,IAAI,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAA;QAC9C,MAAM,MAAM,GAAkB,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;QACxE,OAAO,MAAM,CAAC,IAAI,EAAE,CAAA;IACtB,CAAC;CAAA;AAdD,oBAcC"}
\ No newline at end of file
diff --git a/node_modules/@actions/exec/lib/interfaces.d.ts b/node_modules/@actions/exec/lib/interfaces.d.ts
deleted file mode 100644
index 1861823..0000000
--- a/node_modules/@actions/exec/lib/interfaces.d.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-///
-import * as stream from 'stream';
-/**
- * Interface for exec options
- */
-export interface ExecOptions {
- /** optional working directory. defaults to current */
- cwd?: string;
- /** optional envvar dictionary. defaults to current process's env */
- env?: {
- [key: string]: string;
- };
- /** optional. defaults to false */
- silent?: boolean;
- /** optional out stream to use. Defaults to process.stdout */
- outStream?: stream.Writable;
- /** optional err stream to use. Defaults to process.stderr */
- errStream?: stream.Writable;
- /** optional. whether to skip quoting/escaping arguments if needed. defaults to false. */
- windowsVerbatimArguments?: boolean;
- /** optional. whether to fail if output to stderr. defaults to false */
- failOnStdErr?: boolean;
- /** optional. defaults to failing on non zero. ignore will not fail leaving it up to the caller */
- ignoreReturnCode?: boolean;
- /** optional. How long in ms to wait for STDIO streams to close after the exit event of the process before terminating. defaults to 10000 */
- delay?: number;
- /** optional. Listeners for output. Callback functions that will be called on these events */
- listeners?: {
- stdout?: (data: Buffer) => void;
- stderr?: (data: Buffer) => void;
- stdline?: (data: string) => void;
- errline?: (data: string) => void;
- debug?: (data: string) => void;
- };
-}
diff --git a/node_modules/@actions/exec/lib/interfaces.js b/node_modules/@actions/exec/lib/interfaces.js
deleted file mode 100644
index db91911..0000000
--- a/node_modules/@actions/exec/lib/interfaces.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=interfaces.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/exec/lib/interfaces.js.map b/node_modules/@actions/exec/lib/interfaces.js.map
deleted file mode 100644
index 8fb5f7d..0000000
--- a/node_modules/@actions/exec/lib/interfaces.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/node_modules/@actions/exec/lib/toolrunner.d.ts b/node_modules/@actions/exec/lib/toolrunner.d.ts
deleted file mode 100644
index 9bbbb1e..0000000
--- a/node_modules/@actions/exec/lib/toolrunner.d.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-///
-import * as events from 'events';
-import * as im from './interfaces';
-export declare class ToolRunner extends events.EventEmitter {
- constructor(toolPath: string, args?: string[], options?: im.ExecOptions);
- private toolPath;
- private args;
- private options;
- private _debug;
- private _getCommandString;
- private _processLineBuffer;
- private _getSpawnFileName;
- private _getSpawnArgs;
- private _endsWith;
- private _isCmdFile;
- private _windowsQuoteCmdArg;
- private _uvQuoteCmdArg;
- private _cloneExecOptions;
- private _getSpawnOptions;
- /**
- * Exec a tool.
- * Output will be streamed to the live console.
- * Returns promise with return code
- *
- * @param tool path to tool to exec
- * @param options optional exec options. See ExecOptions
- * @returns number
- */
- exec(): Promise;
-}
-/**
- * Convert an arg string to an array of args. Handles escaping
- *
- * @param argString string of arguments
- * @returns string[] array of arguments
- */
-export declare function argStringToArray(argString: string): string[];
diff --git a/node_modules/@actions/exec/lib/toolrunner.js b/node_modules/@actions/exec/lib/toolrunner.js
deleted file mode 100644
index 901cbb5..0000000
--- a/node_modules/@actions/exec/lib/toolrunner.js
+++ /dev/null
@@ -1,573 +0,0 @@
-"use strict";
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-const os = require("os");
-const events = require("events");
-const child = require("child_process");
-/* eslint-disable @typescript-eslint/unbound-method */
-const IS_WINDOWS = process.platform === 'win32';
-/*
- * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.
- */
-class ToolRunner extends events.EventEmitter {
- constructor(toolPath, args, options) {
- super();
- if (!toolPath) {
- throw new Error("Parameter 'toolPath' cannot be null or empty.");
- }
- this.toolPath = toolPath;
- this.args = args || [];
- this.options = options || {};
- }
- _debug(message) {
- if (this.options.listeners && this.options.listeners.debug) {
- this.options.listeners.debug(message);
- }
- }
- _getCommandString(options, noPrefix) {
- const toolPath = this._getSpawnFileName();
- const args = this._getSpawnArgs(options);
- let cmd = noPrefix ? '' : '[command]'; // omit prefix when piped to a second tool
- if (IS_WINDOWS) {
- // Windows + cmd file
- if (this._isCmdFile()) {
- cmd += toolPath;
- for (const a of args) {
- cmd += ` ${a}`;
- }
- }
- // Windows + verbatim
- else if (options.windowsVerbatimArguments) {
- cmd += `"${toolPath}"`;
- for (const a of args) {
- cmd += ` ${a}`;
- }
- }
- // Windows (regular)
- else {
- cmd += this._windowsQuoteCmdArg(toolPath);
- for (const a of args) {
- cmd += ` ${this._windowsQuoteCmdArg(a)}`;
- }
- }
- }
- else {
- // OSX/Linux - this can likely be improved with some form of quoting.
- // creating processes on Unix is fundamentally different than Windows.
- // on Unix, execvp() takes an arg array.
- cmd += toolPath;
- for (const a of args) {
- cmd += ` ${a}`;
- }
- }
- return cmd;
- }
- _processLineBuffer(data, strBuffer, onLine) {
- try {
- let s = strBuffer + data.toString();
- let n = s.indexOf(os.EOL);
- while (n > -1) {
- const line = s.substring(0, n);
- onLine(line);
- // the rest of the string ...
- s = s.substring(n + os.EOL.length);
- n = s.indexOf(os.EOL);
- }
- strBuffer = s;
- }
- catch (err) {
- // streaming lines to console is best effort. Don't fail a build.
- this._debug(`error processing line. Failed with error ${err}`);
- }
- }
- _getSpawnFileName() {
- if (IS_WINDOWS) {
- if (this._isCmdFile()) {
- return process.env['COMSPEC'] || 'cmd.exe';
- }
- }
- return this.toolPath;
- }
- _getSpawnArgs(options) {
- if (IS_WINDOWS) {
- if (this._isCmdFile()) {
- let argline = `/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;
- for (const a of this.args) {
- argline += ' ';
- argline += options.windowsVerbatimArguments
- ? a
- : this._windowsQuoteCmdArg(a);
- }
- argline += '"';
- return [argline];
- }
- }
- return this.args;
- }
- _endsWith(str, end) {
- return str.endsWith(end);
- }
- _isCmdFile() {
- const upperToolPath = this.toolPath.toUpperCase();
- return (this._endsWith(upperToolPath, '.CMD') ||
- this._endsWith(upperToolPath, '.BAT'));
- }
- _windowsQuoteCmdArg(arg) {
- // for .exe, apply the normal quoting rules that libuv applies
- if (!this._isCmdFile()) {
- return this._uvQuoteCmdArg(arg);
- }
- // otherwise apply quoting rules specific to the cmd.exe command line parser.
- // the libuv rules are generic and are not designed specifically for cmd.exe
- // command line parser.
- //
- // for a detailed description of the cmd.exe command line parser, refer to
- // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912
- // need quotes for empty arg
- if (!arg) {
- return '""';
- }
- // determine whether the arg needs to be quoted
- const cmdSpecialChars = [
- ' ',
- '\t',
- '&',
- '(',
- ')',
- '[',
- ']',
- '{',
- '}',
- '^',
- '=',
- ';',
- '!',
- "'",
- '+',
- ',',
- '`',
- '~',
- '|',
- '<',
- '>',
- '"'
- ];
- let needsQuotes = false;
- for (const char of arg) {
- if (cmdSpecialChars.some(x => x === char)) {
- needsQuotes = true;
- break;
- }
- }
- // short-circuit if quotes not needed
- if (!needsQuotes) {
- return arg;
- }
- // the following quoting rules are very similar to the rules that by libuv applies.
- //
- // 1) wrap the string in quotes
- //
- // 2) double-up quotes - i.e. " => ""
- //
- // this is different from the libuv quoting rules. libuv replaces " with \", which unfortunately
- // doesn't work well with a cmd.exe command line.
- //
- // note, replacing " with "" also works well if the arg is passed to a downstream .NET console app.
- // for example, the command line:
- // foo.exe "myarg:""my val"""
- // is parsed by a .NET console app into an arg array:
- // [ "myarg:\"my val\"" ]
- // which is the same end result when applying libuv quoting rules. although the actual
- // command line from libuv quoting rules would look like:
- // foo.exe "myarg:\"my val\""
- //
- // 3) double-up slashes that preceed a quote,
- // e.g. hello \world => "hello \world"
- // hello\"world => "hello\\""world"
- // hello\\"world => "hello\\\\""world"
- // hello world\ => "hello world\\"
- //
- // technically this is not required for a cmd.exe command line, or the batch argument parser.
- // the reasons for including this as a .cmd quoting rule are:
- //
- // a) this is optimized for the scenario where the argument is passed from the .cmd file to an
- // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.
- //
- // b) it's what we've been doing previously (by deferring to node default behavior) and we
- // haven't heard any complaints about that aspect.
- //
- // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be
- // escaped when used on the command line directly - even though within a .cmd file % can be escaped
- // by using %%.
- //
- // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts
- // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.
- //
- // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would
- // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the
- // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args
- // to an external program.
- //
- // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.
- // % can be escaped within a .cmd file.
- let reverse = '"';
- let quoteHit = true;
- for (let i = arg.length; i > 0; i--) {
- // walk the string in reverse
- reverse += arg[i - 1];
- if (quoteHit && arg[i - 1] === '\\') {
- reverse += '\\'; // double the slash
- }
- else if (arg[i - 1] === '"') {
- quoteHit = true;
- reverse += '"'; // double the quote
- }
- else {
- quoteHit = false;
- }
- }
- reverse += '"';
- return reverse
- .split('')
- .reverse()
- .join('');
- }
- _uvQuoteCmdArg(arg) {
- // Tool runner wraps child_process.spawn() and needs to apply the same quoting as
- // Node in certain cases where the undocumented spawn option windowsVerbatimArguments
- // is used.
- //
- // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,
- // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),
- // pasting copyright notice from Node within this function:
- //
- // Copyright Joyent, Inc. and other Node contributors. All rights reserved.
- //
- // 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.
- if (!arg) {
- // Need double quotation for empty argument
- return '""';
- }
- if (!arg.includes(' ') && !arg.includes('\t') && !arg.includes('"')) {
- // No quotation needed
- return arg;
- }
- if (!arg.includes('"') && !arg.includes('\\')) {
- // No embedded double quotes or backslashes, so I can just wrap
- // quote marks around the whole thing.
- return `"${arg}"`;
- }
- // Expected input/output:
- // input : hello"world
- // output: "hello\"world"
- // input : hello""world
- // output: "hello\"\"world"
- // input : hello\world
- // output: hello\world
- // input : hello\\world
- // output: hello\\world
- // input : hello\"world
- // output: "hello\\\"world"
- // input : hello\\"world
- // output: "hello\\\\\"world"
- // input : hello world\
- // output: "hello world\\" - note the comment in libuv actually reads "hello world\"
- // but it appears the comment is wrong, it should be "hello world\\"
- let reverse = '"';
- let quoteHit = true;
- for (let i = arg.length; i > 0; i--) {
- // walk the string in reverse
- reverse += arg[i - 1];
- if (quoteHit && arg[i - 1] === '\\') {
- reverse += '\\';
- }
- else if (arg[i - 1] === '"') {
- quoteHit = true;
- reverse += '\\';
- }
- else {
- quoteHit = false;
- }
- }
- reverse += '"';
- return reverse
- .split('')
- .reverse()
- .join('');
- }
- _cloneExecOptions(options) {
- options = options || {};
- const result = {
- cwd: options.cwd || process.cwd(),
- env: options.env || process.env,
- silent: options.silent || false,
- windowsVerbatimArguments: options.windowsVerbatimArguments || false,
- failOnStdErr: options.failOnStdErr || false,
- ignoreReturnCode: options.ignoreReturnCode || false,
- delay: options.delay || 10000
- };
- result.outStream = options.outStream || process.stdout;
- result.errStream = options.errStream || process.stderr;
- return result;
- }
- _getSpawnOptions(options, toolPath) {
- options = options || {};
- const result = {};
- result.cwd = options.cwd;
- result.env = options.env;
- result['windowsVerbatimArguments'] =
- options.windowsVerbatimArguments || this._isCmdFile();
- if (options.windowsVerbatimArguments) {
- result.argv0 = `"${toolPath}"`;
- }
- return result;
- }
- /**
- * Exec a tool.
- * Output will be streamed to the live console.
- * Returns promise with return code
- *
- * @param tool path to tool to exec
- * @param options optional exec options. See ExecOptions
- * @returns number
- */
- exec() {
- return __awaiter(this, void 0, void 0, function* () {
- return new Promise((resolve, reject) => {
- this._debug(`exec tool: ${this.toolPath}`);
- this._debug('arguments:');
- for (const arg of this.args) {
- this._debug(` ${arg}`);
- }
- const optionsNonNull = this._cloneExecOptions(this.options);
- if (!optionsNonNull.silent && optionsNonNull.outStream) {
- optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + os.EOL);
- }
- const state = new ExecState(optionsNonNull, this.toolPath);
- state.on('debug', (message) => {
- this._debug(message);
- });
- const fileName = this._getSpawnFileName();
- const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));
- const stdbuffer = '';
- if (cp.stdout) {
- cp.stdout.on('data', (data) => {
- if (this.options.listeners && this.options.listeners.stdout) {
- this.options.listeners.stdout(data);
- }
- if (!optionsNonNull.silent && optionsNonNull.outStream) {
- optionsNonNull.outStream.write(data);
- }
- this._processLineBuffer(data, stdbuffer, (line) => {
- if (this.options.listeners && this.options.listeners.stdline) {
- this.options.listeners.stdline(line);
- }
- });
- });
- }
- const errbuffer = '';
- if (cp.stderr) {
- cp.stderr.on('data', (data) => {
- state.processStderr = true;
- if (this.options.listeners && this.options.listeners.stderr) {
- this.options.listeners.stderr(data);
- }
- if (!optionsNonNull.silent &&
- optionsNonNull.errStream &&
- optionsNonNull.outStream) {
- const s = optionsNonNull.failOnStdErr
- ? optionsNonNull.errStream
- : optionsNonNull.outStream;
- s.write(data);
- }
- this._processLineBuffer(data, errbuffer, (line) => {
- if (this.options.listeners && this.options.listeners.errline) {
- this.options.listeners.errline(line);
- }
- });
- });
- }
- cp.on('error', (err) => {
- state.processError = err.message;
- state.processExited = true;
- state.processClosed = true;
- state.CheckComplete();
- });
- cp.on('exit', (code) => {
- state.processExitCode = code;
- state.processExited = true;
- this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);
- state.CheckComplete();
- });
- cp.on('close', (code) => {
- state.processExitCode = code;
- state.processExited = true;
- state.processClosed = true;
- this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);
- state.CheckComplete();
- });
- state.on('done', (error, exitCode) => {
- if (stdbuffer.length > 0) {
- this.emit('stdline', stdbuffer);
- }
- if (errbuffer.length > 0) {
- this.emit('errline', errbuffer);
- }
- cp.removeAllListeners();
- if (error) {
- reject(error);
- }
- else {
- resolve(exitCode);
- }
- });
- });
- });
- }
-}
-exports.ToolRunner = ToolRunner;
-/**
- * Convert an arg string to an array of args. Handles escaping
- *
- * @param argString string of arguments
- * @returns string[] array of arguments
- */
-function argStringToArray(argString) {
- const args = [];
- let inQuotes = false;
- let escaped = false;
- let arg = '';
- function append(c) {
- // we only escape double quotes.
- if (escaped && c !== '"') {
- arg += '\\';
- }
- arg += c;
- escaped = false;
- }
- for (let i = 0; i < argString.length; i++) {
- const c = argString.charAt(i);
- if (c === '"') {
- if (!escaped) {
- inQuotes = !inQuotes;
- }
- else {
- append(c);
- }
- continue;
- }
- if (c === '\\' && escaped) {
- append(c);
- continue;
- }
- if (c === '\\' && inQuotes) {
- escaped = true;
- continue;
- }
- if (c === ' ' && !inQuotes) {
- if (arg.length > 0) {
- args.push(arg);
- arg = '';
- }
- continue;
- }
- append(c);
- }
- if (arg.length > 0) {
- args.push(arg.trim());
- }
- return args;
-}
-exports.argStringToArray = argStringToArray;
-class ExecState extends events.EventEmitter {
- constructor(options, toolPath) {
- super();
- this.processClosed = false; // tracks whether the process has exited and stdio is closed
- this.processError = '';
- this.processExitCode = 0;
- this.processExited = false; // tracks whether the process has exited
- this.processStderr = false; // tracks whether stderr was written to
- this.delay = 10000; // 10 seconds
- this.done = false;
- this.timeout = null;
- if (!toolPath) {
- throw new Error('toolPath must not be empty');
- }
- this.options = options;
- this.toolPath = toolPath;
- if (options.delay) {
- this.delay = options.delay;
- }
- }
- CheckComplete() {
- if (this.done) {
- return;
- }
- if (this.processClosed) {
- this._setResult();
- }
- else if (this.processExited) {
- this.timeout = setTimeout(ExecState.HandleTimeout, this.delay, this);
- }
- }
- _debug(message) {
- this.emit('debug', message);
- }
- _setResult() {
- // determine whether there is an error
- let error;
- if (this.processExited) {
- if (this.processError) {
- error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);
- }
- else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) {
- error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);
- }
- else if (this.processStderr && this.options.failOnStdErr) {
- error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);
- }
- }
- // clear the timeout
- if (this.timeout) {
- clearTimeout(this.timeout);
- this.timeout = null;
- }
- this.done = true;
- this.emit('done', error, this.processExitCode);
- }
- static HandleTimeout(state) {
- if (state.done) {
- return;
- }
- if (!state.processClosed && state.processExited) {
- const message = `The STDIO streams did not close within ${state.delay /
- 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;
- state._debug(message);
- }
- state._setResult();
- }
-}
-//# sourceMappingURL=toolrunner.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/exec/lib/toolrunner.js.map b/node_modules/@actions/exec/lib/toolrunner.js.map
deleted file mode 100644
index 724b15a..0000000
--- a/node_modules/@actions/exec/lib/toolrunner.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"toolrunner.js","sourceRoot":"","sources":["../src/toolrunner.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,yBAAwB;AACxB,iCAAgC;AAChC,uCAAsC;AAItC,sDAAsD;AAEtD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAE/C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,YAAY;IACjD,YAAY,QAAgB,EAAE,IAAe,EAAE,OAAwB;QACrE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAA;SACjE;QAED,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,EAAE,CAAA;IAC9B,CAAC;IAMO,MAAM,CAAC,OAAe;QAC5B,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE;YAC1D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;SACtC;IACH,CAAC;IAEO,iBAAiB,CACvB,OAAuB,EACvB,QAAkB;QAElB,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAA;QACzC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;QACxC,IAAI,GAAG,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAA,CAAC,0CAA0C;QAChF,IAAI,UAAU,EAAE;YACd,qBAAqB;YACrB,IAAI,IAAI,CAAC,UAAU,EAAE,EAAE;gBACrB,GAAG,IAAI,QAAQ,CAAA;gBACf,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;oBACpB,GAAG,IAAI,IAAI,CAAC,EAAE,CAAA;iBACf;aACF;YACD,qBAAqB;iBAChB,IAAI,OAAO,CAAC,wBAAwB,EAAE;gBACzC,GAAG,IAAI,IAAI,QAAQ,GAAG,CAAA;gBACtB,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;oBACpB,GAAG,IAAI,IAAI,CAAC,EAAE,CAAA;iBACf;aACF;YACD,oBAAoB;iBACf;gBACH,GAAG,IAAI,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAA;gBACzC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;oBACpB,GAAG,IAAI,IAAI,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,CAAA;iBACzC;aACF;SACF;aAAM;YACL,qEAAqE;YACrE,sEAAsE;YACtE,wCAAwC;YACxC,GAAG,IAAI,QAAQ,CAAA;YACf,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;gBACpB,GAAG,IAAI,IAAI,CAAC,EAAE,CAAA;aACf;SACF;QAED,OAAO,GAAG,CAAA;IACZ,CAAC;IAEO,kBAAkB,CACxB,IAAY,EACZ,SAAiB,EACjB,MAA8B;QAE9B,IAAI;YACF,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAA;YACnC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;YAEzB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE;gBACb,MAAM,IAAI,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;gBAC9B,MAAM,CAAC,IAAI,CAAC,CAAA;gBAEZ,6BAA6B;gBAC7B,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;gBAClC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;aACtB;YAED,SAAS,GAAG,CAAC,CAAA;SACd;QAAC,OAAO,GAAG,EAAE;YACZ,kEAAkE;YAClE,IAAI,CAAC,MAAM,CAAC,4CAA4C,GAAG,EAAE,CAAC,CAAA;SAC/D;IACH,CAAC;IAEO,iBAAiB;QACvB,IAAI,UAAU,EAAE;YACd,IAAI,IAAI,CAAC,UAAU,EAAE,EAAE;gBACrB,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,SAAS,CAAA;aAC3C;SACF;QAED,OAAO,IAAI,CAAC,QAAQ,CAAA;IACtB,CAAC;IAEO,aAAa,CAAC,OAAuB;QAC3C,IAAI,UAAU,EAAE;YACd,IAAI,IAAI,CAAC,UAAU,EAAE,EAAE;gBACrB,IAAI,OAAO,GAAG,aAAa,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAA;gBACpE,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,EAAE;oBACzB,OAAO,IAAI,GAAG,CAAA;oBACd,OAAO,IAAI,OAAO,CAAC,wBAAwB;wBACzC,CAAC,CAAC,CAAC;wBACH,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAA;iBAChC;gBAED,OAAO,IAAI,GAAG,CAAA;gBACd,OAAO,CAAC,OAAO,CAAC,CAAA;aACjB;SACF;QAED,OAAO,IAAI,CAAC,IAAI,CAAA;IAClB,CAAC;IAEO,SAAS,CAAC,GAAW,EAAE,GAAW;QACxC,OAAO,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;IAC1B,CAAC;IAEO,UAAU;QAChB,MAAM,aAAa,GAAW,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAA;QACzD,OAAO,CACL,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC;YACrC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC,CACtC,CAAA;IACH,CAAC;IAEO,mBAAmB,CAAC,GAAW;QACrC,8DAA8D;QAC9D,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE;YACtB,OAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;SAChC;QAED,6EAA6E;QAC7E,4EAA4E;QAC5E,uBAAuB;QACvB,EAAE;QACF,0EAA0E;QAC1E,4HAA4H;QAE5H,4BAA4B;QAC5B,IAAI,CAAC,GAAG,EAAE;YACR,OAAO,IAAI,CAAA;SACZ;QAED,+CAA+C;QAC/C,MAAM,eAAe,GAAG;YACtB,GAAG;YACH,IAAI;YACJ,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;SACJ,CAAA;QACD,IAAI,WAAW,GAAG,KAAK,CAAA;QACvB,KAAK,MAAM,IAAI,IAAI,GAAG,EAAE;YACtB,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,EAAE;gBACzC,WAAW,GAAG,IAAI,CAAA;gBAClB,MAAK;aACN;SACF;QAED,qCAAqC;QACrC,IAAI,CAAC,WAAW,EAAE;YAChB,OAAO,GAAG,CAAA;SACX;QAED,mFAAmF;QACnF,EAAE;QACF,+BAA+B;QAC/B,EAAE;QACF,qCAAqC;QACrC,EAAE;QACF,mGAAmG;QACnG,oDAAoD;QACpD,EAAE;QACF,sGAAsG;QACtG,oCAAoC;QACpC,sCAAsC;QACtC,wDAAwD;QACxD,kCAAkC;QAClC,yFAAyF;QACzF,4DAA4D;QAC5D,sCAAsC;QACtC,EAAE;QACF,6CAA6C;QAC7C,6CAA6C;QAC7C,+CAA+C;QAC/C,iDAAiD;QACjD,8CAA8C;QAC9C,EAAE;QACF,gGAAgG;QAChG,gEAAgE;QAChE,EAAE;QACF,iGAAiG;QACjG,kGAAkG;QAClG,EAAE;QACF,6FAA6F;QAC7F,wDAAwD;QACxD,EAAE;QACF,oGAAoG;QACpG,mGAAmG;QACnG,eAAe;QACf,EAAE;QACF,sGAAsG;QACtG,sGAAsG;QACtG,EAAE;QACF,gGAAgG;QAChG,kGAAkG;QAClG,oGAAoG;QACpG,0BAA0B;QAC1B,EAAE;QACF,iGAAiG;QACjG,uCAAuC;QACvC,IAAI,OAAO,GAAG,GAAG,CAAA;QACjB,IAAI,QAAQ,GAAG,IAAI,CAAA;QACnB,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;YACnC,6BAA6B;YAC7B,OAAO,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;YACrB,IAAI,QAAQ,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE;gBACnC,OAAO,IAAI,IAAI,CAAA,CAAC,mBAAmB;aACpC;iBAAM,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG,EAAE;gBAC7B,QAAQ,GAAG,IAAI,CAAA;gBACf,OAAO,IAAI,GAAG,CAAA,CAAC,mBAAmB;aACnC;iBAAM;gBACL,QAAQ,GAAG,KAAK,CAAA;aACjB;SACF;QAED,OAAO,IAAI,GAAG,CAAA;QACd,OAAO,OAAO;aACX,KAAK,CAAC,EAAE,CAAC;aACT,OAAO,EAAE;aACT,IAAI,CAAC,EAAE,CAAC,CAAA;IACb,CAAC;IAEO,cAAc,CAAC,GAAW;QAChC,iFAAiF;QACjF,qFAAqF;QACrF,WAAW;QACX,EAAE;QACF,qFAAqF;QACrF,uFAAuF;QACvF,2DAA2D;QAC3D,EAAE;QACF,gFAAgF;QAChF,EAAE;QACF,oFAAoF;QACpF,gFAAgF;QAChF,kFAAkF;QAClF,mFAAmF;QACnF,kFAAkF;QAClF,gEAAgE;QAChE,EAAE;QACF,kFAAkF;QAClF,2DAA2D;QAC3D,EAAE;QACF,kFAAkF;QAClF,gFAAgF;QAChF,mFAAmF;QACnF,8EAA8E;QAC9E,+EAA+E;QAC/E,oFAAoF;QACpF,wBAAwB;QAExB,IAAI,CAAC,GAAG,EAAE;YACR,2CAA2C;YAC3C,OAAO,IAAI,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACnE,sBAAsB;YACtB,OAAO,GAAG,CAAA;SACX;QAED,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;YAC7C,+DAA+D;YAC/D,sCAAsC;YACtC,OAAO,IAAI,GAAG,GAAG,CAAA;SAClB;QAED,yBAAyB;QACzB,wBAAwB;QACxB,2BAA2B;QAC3B,yBAAyB;QACzB,6BAA6B;QAC7B,wBAAwB;QACxB,wBAAwB;QACxB,yBAAyB;QACzB,yBAAyB;QACzB,yBAAyB;QACzB,6BAA6B;QAC7B,0BAA0B;QAC1B,+BAA+B;QAC/B,yBAAyB;QACzB,sFAAsF;QACtF,gGAAgG;QAChG,IAAI,OAAO,GAAG,GAAG,CAAA;QACjB,IAAI,QAAQ,GAAG,IAAI,CAAA;QACnB,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;YACnC,6BAA6B;YAC7B,OAAO,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;YACrB,IAAI,QAAQ,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE;gBACnC,OAAO,IAAI,IAAI,CAAA;aAChB;iBAAM,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG,EAAE;gBAC7B,QAAQ,GAAG,IAAI,CAAA;gBACf,OAAO,IAAI,IAAI,CAAA;aAChB;iBAAM;gBACL,QAAQ,GAAG,KAAK,CAAA;aACjB;SACF;QAED,OAAO,IAAI,GAAG,CAAA;QACd,OAAO,OAAO;aACX,KAAK,CAAC,EAAE,CAAC;aACT,OAAO,EAAE;aACT,IAAI,CAAC,EAAE,CAAC,CAAA;IACb,CAAC;IAEO,iBAAiB,CAAC,OAAwB;QAChD,OAAO,GAAG,OAAO,IAAoB,EAAE,CAAA;QACvC,MAAM,MAAM,GAAmC;YAC7C,GAAG,EAAE,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE;YACjC,GAAG,EAAE,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG;YAC/B,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,KAAK;YAC/B,wBAAwB,EAAE,OAAO,CAAC,wBAAwB,IAAI,KAAK;YACnE,YAAY,EAAE,OAAO,CAAC,YAAY,IAAI,KAAK;YAC3C,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,IAAI,KAAK;YACnD,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,KAAK;SAC9B,CAAA;QACD,MAAM,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,IAAqB,OAAO,CAAC,MAAM,CAAA;QACvE,MAAM,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,IAAqB,OAAO,CAAC,MAAM,CAAA;QACvE,OAAO,MAAM,CAAA;IACf,CAAC;IAEO,gBAAgB,CACtB,OAAuB,EACvB,QAAgB;QAEhB,OAAO,GAAG,OAAO,IAAoB,EAAE,CAAA;QACvC,MAAM,MAAM,GAAuB,EAAE,CAAA;QACrC,MAAM,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACxB,MAAM,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACxB,MAAM,CAAC,0BAA0B,CAAC;YAChC,OAAO,CAAC,wBAAwB,IAAI,IAAI,CAAC,UAAU,EAAE,CAAA;QACvD,IAAI,OAAO,CAAC,wBAAwB,EAAE;YACpC,MAAM,CAAC,KAAK,GAAG,IAAI,QAAQ,GAAG,CAAA;SAC/B;QACD,OAAO,MAAM,CAAA;IACf,CAAC;IAED;;;;;;;;OAQG;IACG,IAAI;;YACR,OAAO,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBAC7C,IAAI,CAAC,MAAM,CAAC,cAAc,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;gBAC1C,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;gBACzB,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE;oBAC3B,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;iBACzB;gBAED,MAAM,cAAc,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;gBAC3D,IAAI,CAAC,cAAc,CAAC,MAAM,IAAI,cAAc,CAAC,SAAS,EAAE;oBACtD,cAAc,CAAC,SAAS,CAAC,KAAK,CAC5B,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,CAChD,CAAA;iBACF;gBAED,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;gBAC1D,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,OAAe,EAAE,EAAE;oBACpC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;gBACtB,CAAC,CAAC,CAAA;gBAEF,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAA;gBACzC,MAAM,EAAE,GAAG,KAAK,CAAC,KAAK,CACpB,QAAQ,EACR,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,EAClC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAC9C,CAAA;gBAED,MAAM,SAAS,GAAG,EAAE,CAAA;gBACpB,IAAI,EAAE,CAAC,MAAM,EAAE;oBACb,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;wBACpC,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,EAAE;4BAC3D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;yBACpC;wBAED,IAAI,CAAC,cAAc,CAAC,MAAM,IAAI,cAAc,CAAC,SAAS,EAAE;4BACtD,cAAc,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;yBACrC;wBAED,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,IAAY,EAAE,EAAE;4BACxD,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE;gCAC5D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;6BACrC;wBACH,CAAC,CAAC,CAAA;oBACJ,CAAC,CAAC,CAAA;iBACH;gBAED,MAAM,SAAS,GAAG,EAAE,CAAA;gBACpB,IAAI,EAAE,CAAC,MAAM,EAAE;oBACb,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;wBACpC,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;wBAC1B,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,EAAE;4BAC3D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;yBACpC;wBAED,IACE,CAAC,cAAc,CAAC,MAAM;4BACtB,cAAc,CAAC,SAAS;4BACxB,cAAc,CAAC,SAAS,EACxB;4BACA,MAAM,CAAC,GAAG,cAAc,CAAC,YAAY;gCACnC,CAAC,CAAC,cAAc,CAAC,SAAS;gCAC1B,CAAC,CAAC,cAAc,CAAC,SAAS,CAAA;4BAC5B,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;yBACd;wBAED,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,IAAY,EAAE,EAAE;4BACxD,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE;gCAC5D,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;6BACrC;wBACH,CAAC,CAAC,CAAA;oBACJ,CAAC,CAAC,CAAA;iBACH;gBAED,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAU,EAAE,EAAE;oBAC5B,KAAK,CAAC,YAAY,GAAG,GAAG,CAAC,OAAO,CAAA;oBAChC,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,KAAK,CAAC,aAAa,EAAE,CAAA;gBACvB,CAAC,CAAC,CAAA;gBAEF,EAAE,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBAC7B,KAAK,CAAC,eAAe,GAAG,IAAI,CAAA;oBAC5B,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,IAAI,CAAC,MAAM,CAAC,aAAa,IAAI,wBAAwB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAA;oBACtE,KAAK,CAAC,aAAa,EAAE,CAAA;gBACvB,CAAC,CAAC,CAAA;gBAEF,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAY,EAAE,EAAE;oBAC9B,KAAK,CAAC,eAAe,GAAG,IAAI,CAAA;oBAC5B,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,KAAK,CAAC,aAAa,GAAG,IAAI,CAAA;oBAC1B,IAAI,CAAC,MAAM,CAAC,uCAAuC,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAA;oBACpE,KAAK,CAAC,aAAa,EAAE,CAAA;gBACvB,CAAC,CAAC,CAAA;gBAEF,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAY,EAAE,QAAgB,EAAE,EAAE;oBAClD,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE;wBACxB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;qBAChC;oBAED,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE;wBACxB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;qBAChC;oBAED,EAAE,CAAC,kBAAkB,EAAE,CAAA;oBAEvB,IAAI,KAAK,EAAE;wBACT,MAAM,CAAC,KAAK,CAAC,CAAA;qBACd;yBAAM;wBACL,OAAO,CAAC,QAAQ,CAAC,CAAA;qBAClB;gBACH,CAAC,CAAC,CAAA;YACJ,CAAC,CAAC,CAAA;QACJ,CAAC;KAAA;CACF;AA9eD,gCA8eC;AAED;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,SAAiB;IAChD,MAAM,IAAI,GAAa,EAAE,CAAA;IAEzB,IAAI,QAAQ,GAAG,KAAK,CAAA;IACpB,IAAI,OAAO,GAAG,KAAK,CAAA;IACnB,IAAI,GAAG,GAAG,EAAE,CAAA;IAEZ,SAAS,MAAM,CAAC,CAAS;QACvB,gCAAgC;QAChC,IAAI,OAAO,IAAI,CAAC,KAAK,GAAG,EAAE;YACxB,GAAG,IAAI,IAAI,CAAA;SACZ;QAED,GAAG,IAAI,CAAC,CAAA;QACR,OAAO,GAAG,KAAK,CAAA;IACjB,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACzC,MAAM,CAAC,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;QAE7B,IAAI,CAAC,KAAK,GAAG,EAAE;YACb,IAAI,CAAC,OAAO,EAAE;gBACZ,QAAQ,GAAG,CAAC,QAAQ,CAAA;aACrB;iBAAM;gBACL,MAAM,CAAC,CAAC,CAAC,CAAA;aACV;YACD,SAAQ;SACT;QAED,IAAI,CAAC,KAAK,IAAI,IAAI,OAAO,EAAE;YACzB,MAAM,CAAC,CAAC,CAAC,CAAA;YACT,SAAQ;SACT;QAED,IAAI,CAAC,KAAK,IAAI,IAAI,QAAQ,EAAE;YAC1B,OAAO,GAAG,IAAI,CAAA;YACd,SAAQ;SACT;QAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE;YAC1B,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE;gBAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;gBACd,GAAG,GAAG,EAAE,CAAA;aACT;YACD,SAAQ;SACT;QAED,MAAM,CAAC,CAAC,CAAC,CAAA;KACV;IAED,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE;QAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;KACtB;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAvDD,4CAuDC;AAED,MAAM,SAAU,SAAQ,MAAM,CAAC,YAAY;IACzC,YAAY,OAAuB,EAAE,QAAgB;QACnD,KAAK,EAAE,CAAA;QAaT,kBAAa,GAAY,KAAK,CAAA,CAAC,4DAA4D;QAC3F,iBAAY,GAAW,EAAE,CAAA;QACzB,oBAAe,GAAW,CAAC,CAAA;QAC3B,kBAAa,GAAY,KAAK,CAAA,CAAC,wCAAwC;QACvE,kBAAa,GAAY,KAAK,CAAA,CAAC,uCAAuC;QAC9D,UAAK,GAAG,KAAK,CAAA,CAAC,aAAa;QAC3B,SAAI,GAAY,KAAK,CAAA;QAErB,YAAO,GAAwB,IAAI,CAAA;QAnBzC,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAA;SAC9C;QAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,OAAO,CAAC,KAAK,EAAE;YACjB,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;SAC3B;IACH,CAAC;IAaD,aAAa;QACX,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAM;SACP;QAED,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,UAAU,EAAE,CAAA;SAClB;aAAM,IAAI,IAAI,CAAC,aAAa,EAAE;YAC7B,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,SAAS,CAAC,aAAa,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;SACrE;IACH,CAAC;IAEO,MAAM,CAAC,OAAe;QAC5B,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;IAC7B,CAAC;IAEO,UAAU;QAChB,sCAAsC;QACtC,IAAI,KAAwB,CAAA;QAC5B,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,IAAI,CAAC,YAAY,EAAE;gBACrB,KAAK,GAAG,IAAI,KAAK,CACf,8DACE,IAAI,CAAC,QACP,4DACE,IAAI,CAAC,YACP,EAAE,CACH,CAAA;aACF;iBAAM,IAAI,IAAI,CAAC,eAAe,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;gBACvE,KAAK,GAAG,IAAI,KAAK,CACf,gBAAgB,IAAI,CAAC,QAAQ,2BAC3B,IAAI,CAAC,eACP,EAAE,CACH,CAAA;aACF;iBAAM,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;gBAC1D,KAAK,GAAG,IAAI,KAAK,CACf,gBACE,IAAI,CAAC,QACP,sEAAsE,CACvE,CAAA;aACF;SACF;QAED,oBAAoB;QACpB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YAC1B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;SACpB;QAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,eAAe,CAAC,CAAA;IAChD,CAAC;IAEO,MAAM,CAAC,aAAa,CAAC,KAAgB;QAC3C,IAAI,KAAK,CAAC,IAAI,EAAE;YACd,OAAM;SACP;QAED,IAAI,CAAC,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,aAAa,EAAE;YAC/C,MAAM,OAAO,GAAG,0CAA0C,KAAK,CAAC,KAAK;gBACnE,IAAI,4CACJ,KAAK,CAAC,QACR,0FAA0F,CAAA;YAC1F,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;SACtB;QAED,KAAK,CAAC,UAAU,EAAE,CAAA;IACpB,CAAC;CACF"}
\ No newline at end of file
diff --git a/node_modules/@actions/exec/package.json b/node_modules/@actions/exec/package.json
deleted file mode 100644
index e339362..0000000
--- a/node_modules/@actions/exec/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "_from": "@actions/exec@^1.0.0",
- "_id": "@actions/exec@1.0.0",
- "_inBundle": false,
- "_integrity": "sha512-nquH0+XKng+Ll7rZfCojN7NWSbnGh+ltwUJhzfbLkmOJgxocGX2/yXcZLMyT9fa7+tByEow/NSTrBExNlEj9fw==",
- "_location": "/@actions/exec",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "@actions/exec@^1.0.0",
- "name": "@actions/exec",
- "escapedName": "@actions%2fexec",
- "scope": "@actions",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/@actions/tool-cache"
- ],
- "_resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.0.tgz",
- "_shasum": "70c8b698c9baa02965c07da5f0b185ca56f0a955",
- "_spec": "@actions/exec@^1.0.0",
- "_where": "C:\\Users\\damccorm\\Documents\\setup-node\\node_modules\\@actions\\tool-cache",
- "bugs": {
- "url": "https://github.com/actions/toolkit/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Actions exec lib",
- "devDependencies": {
- "@actions/io": "^1.0.0"
- },
- "directories": {
- "lib": "lib",
- "test": "__tests__"
- },
- "files": [
- "lib"
- ],
- "gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
- "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
- "keywords": [
- "exec",
- "actions"
- ],
- "license": "MIT",
- "main": "lib/exec.js",
- "name": "@actions/exec",
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/actions/toolkit.git"
- },
- "scripts": {
- "test": "echo \"Error: run tests from root\" && exit 1",
- "tsc": "tsc"
- },
- "version": "1.0.0"
-}
diff --git a/node_modules/@actions/github/LICENSE.md b/node_modules/@actions/github/LICENSE.md
deleted file mode 100644
index e5a73f4..0000000
--- a/node_modules/@actions/github/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2019 GitHub
-
-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.
\ No newline at end of file
diff --git a/node_modules/@actions/github/README.md b/node_modules/@actions/github/README.md
deleted file mode 100644
index 60b5307..0000000
--- a/node_modules/@actions/github/README.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# `@actions/github`
-
-> A hydrated Octokit client.
-
-## Usage
-
-Returns an [Octokit SDK] client. See https://octokit.github.io/rest.js for the API.
-
-```
-const github = require('@actions/github');
-const core = require('@actions/core');
-
-// This should be a token with access to your repository scoped in as a secret.
-const myToken = core.getInput('myToken');
-
-const octokit = new github.GitHub(myToken);
-
-const pulls = await octokit.pulls.get({
- owner: 'octokit',
- repo: 'rest.js',
- pull_number: 123,
- mediaType: {
- format: 'diff'
- }
-});
-
-console.log(pulls);
-```
-
-You can also make GraphQL requests:
-
-```
-const result = await octokit.graphql(query, variables);
-```
-
-Finally, you can get the context of the current action:
-
-```
-const github = require('@actions/github');
-
-const context = github.context;
-
-const newIssue = await octokit.issues.create({
- ...context.repo,
- title: 'New issue!',
- body: 'Hello Universe!'
-});
-```
diff --git a/node_modules/@actions/github/lib/context.d.ts b/node_modules/@actions/github/lib/context.d.ts
deleted file mode 100644
index 3ee7583..0000000
--- a/node_modules/@actions/github/lib/context.d.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { WebhookPayload } from './interfaces';
-export declare class Context {
- /**
- * Webhook payload object that triggered the workflow
- */
- payload: WebhookPayload;
- eventName: string;
- sha: string;
- ref: string;
- workflow: string;
- action: string;
- actor: string;
- /**
- * Hydrate the context from the environment
- */
- constructor();
- readonly issue: {
- owner: string;
- repo: string;
- number: number;
- };
- readonly repo: {
- owner: string;
- repo: string;
- };
-}
diff --git a/node_modules/@actions/github/lib/context.js b/node_modules/@actions/github/lib/context.js
deleted file mode 100644
index e9bdbca..0000000
--- a/node_modules/@actions/github/lib/context.js
+++ /dev/null
@@ -1,38 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-/* eslint-disable @typescript-eslint/no-require-imports */
-class Context {
- /**
- * Hydrate the context from the environment
- */
- constructor() {
- this.payload = process.env.GITHUB_EVENT_PATH
- ? require(process.env.GITHUB_EVENT_PATH)
- : {};
- this.eventName = process.env.GITHUB_EVENT_NAME;
- this.sha = process.env.GITHUB_SHA;
- this.ref = process.env.GITHUB_REF;
- this.workflow = process.env.GITHUB_WORKFLOW;
- this.action = process.env.GITHUB_ACTION;
- this.actor = process.env.GITHUB_ACTOR;
- }
- get issue() {
- const payload = this.payload;
- return Object.assign({}, this.repo, { number: (payload.issue || payload.pullRequest || payload).number });
- }
- get repo() {
- if (process.env.GITHUB_REPOSITORY) {
- const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
- return { owner, repo };
- }
- if (this.payload.repository) {
- return {
- owner: this.payload.repository.owner.login,
- repo: this.payload.repository.name
- };
- }
- throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'");
- }
-}
-exports.Context = Context;
-//# sourceMappingURL=context.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/github/lib/context.js.map b/node_modules/@actions/github/lib/context.js.map
deleted file mode 100644
index c63ca9e..0000000
--- a/node_modules/@actions/github/lib/context.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":";;AAGA,0DAA0D;AAE1D,MAAa,OAAO;IAalB;;OAEG;IACH;QACE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB;YAC1C,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC;YACxC,CAAC,CAAC,EAAE,CAAA;QACN,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,iBAA2B,CAAA;QACxD,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,eAAyB,CAAA;QACrD,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,aAAuB,CAAA;QACjD,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,YAAsB,CAAA;IACjD,CAAC;IAED,IAAI,KAAK;QACP,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;QAE5B,yBACK,IAAI,CAAC,IAAI,IACZ,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,CAAC,MAAM,IACjE;IACH,CAAC;IAED,IAAI,IAAI;QACN,IAAI,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE;YACjC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAC9D,OAAO,EAAC,KAAK,EAAE,IAAI,EAAC,CAAA;SACrB;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE;YAC3B,OAAO;gBACL,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK;gBAC1C,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI;aACnC,CAAA;SACF;QAED,MAAM,IAAI,KAAK,CACb,kFAAkF,CACnF,CAAA;IACH,CAAC;CACF;AAtDD,0BAsDC"}
\ No newline at end of file
diff --git a/node_modules/@actions/github/lib/github.d.ts b/node_modules/@actions/github/lib/github.d.ts
deleted file mode 100644
index 7626ec6..0000000
--- a/node_modules/@actions/github/lib/github.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { GraphQlQueryResponse, Variables } from '@octokit/graphql';
-import Octokit from '@octokit/rest';
-import * as Context from './context';
-export declare const context: Context.Context;
-export declare class GitHub extends Octokit {
- graphql: (query: string, variables?: Variables) => Promise;
- constructor(token: string);
-}
diff --git a/node_modules/@actions/github/lib/github.js b/node_modules/@actions/github/lib/github.js
deleted file mode 100644
index e377955..0000000
--- a/node_modules/@actions/github/lib/github.js
+++ /dev/null
@@ -1,29 +0,0 @@
-"use strict";
-var __importDefault = (this && this.__importDefault) || function (mod) {
- return (mod && mod.__esModule) ? mod : { "default": mod };
-};
-var __importStar = (this && this.__importStar) || function (mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
- result["default"] = mod;
- return result;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-// Originally pulled from https://github.com/JasonEtco/actions-toolkit/blob/master/src/github.ts
-const graphql_1 = require("@octokit/graphql");
-const rest_1 = __importDefault(require("@octokit/rest"));
-const Context = __importStar(require("./context"));
-// We need this in order to extend Octokit
-rest_1.default.prototype = new rest_1.default();
-exports.context = new Context.Context();
-class GitHub extends rest_1.default {
- constructor(token) {
- super({ auth: `token ${token}` });
- this.graphql = graphql_1.defaults({
- headers: { authorization: `token ${token}` }
- });
- }
-}
-exports.GitHub = GitHub;
-//# sourceMappingURL=github.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/github/lib/github.js.map b/node_modules/@actions/github/lib/github.js.map
deleted file mode 100644
index 2b887d1..0000000
--- a/node_modules/@actions/github/lib/github.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"github.js","sourceRoot":"","sources":["../src/github.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gGAAgG;AAChG,8CAA0E;AAC1E,yDAAmC;AACnC,mDAAoC;AAEpC,0CAA0C;AAC1C,cAAO,CAAC,SAAS,GAAG,IAAI,cAAO,EAAE,CAAA;AAEpB,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C,MAAa,MAAO,SAAQ,cAAO;IAMjC,YAAY,KAAa;QACvB,KAAK,CAAC,EAAC,IAAI,EAAE,SAAS,KAAK,EAAE,EAAC,CAAC,CAAA;QAC/B,IAAI,CAAC,OAAO,GAAG,kBAAQ,CAAC;YACtB,OAAO,EAAE,EAAC,aAAa,EAAE,SAAS,KAAK,EAAE,EAAC;SAC3C,CAAC,CAAA;IACJ,CAAC;CACF;AAZD,wBAYC"}
\ No newline at end of file
diff --git a/node_modules/@actions/github/lib/interfaces.d.ts b/node_modules/@actions/github/lib/interfaces.d.ts
deleted file mode 100644
index 23788cc..0000000
--- a/node_modules/@actions/github/lib/interfaces.d.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-export interface PayloadRepository {
- [key: string]: any;
- full_name?: string;
- name: string;
- owner: {
- [key: string]: any;
- login: string;
- name?: string;
- };
- html_url?: string;
-}
-export interface WebhookPayload {
- [key: string]: any;
- repository?: PayloadRepository;
- issue?: {
- [key: string]: any;
- number: number;
- html_url?: string;
- body?: string;
- };
- pull_request?: {
- [key: string]: any;
- number: number;
- html_url?: string;
- body?: string;
- };
- sender?: {
- [key: string]: any;
- type: string;
- };
- action?: string;
- installation?: {
- id: number;
- [key: string]: any;
- };
-}
diff --git a/node_modules/@actions/github/lib/interfaces.js b/node_modules/@actions/github/lib/interfaces.js
deleted file mode 100644
index a660b5e..0000000
--- a/node_modules/@actions/github/lib/interfaces.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-/* eslint-disable @typescript-eslint/no-explicit-any */
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=interfaces.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/github/lib/interfaces.js.map b/node_modules/@actions/github/lib/interfaces.js.map
deleted file mode 100644
index dc2c960..0000000
--- a/node_modules/@actions/github/lib/interfaces.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"}
\ No newline at end of file
diff --git a/node_modules/@actions/github/package.json b/node_modules/@actions/github/package.json
deleted file mode 100644
index bc3075b..0000000
--- a/node_modules/@actions/github/package.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "_from": "@actions/github@^1.0.0",
- "_id": "@actions/github@1.0.0",
- "_inBundle": false,
- "_integrity": "sha512-PPbWZ5wFAD/Vr+RCECfR3KNHjTwYln4liJBihs9tQUL0/PCFqB2lSkIh9V94AcZFHxgKk8snImjuLaBE8bKR7A==",
- "_location": "/@actions/github",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "@actions/github@^1.0.0",
- "name": "@actions/github",
- "escapedName": "@actions%2fgithub",
- "scope": "@actions",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/@actions/github/-/github-1.0.0.tgz",
- "_shasum": "5154cadd93c4b17217f56304ee27056730b8ae88",
- "_spec": "@actions/github@^1.0.0",
- "_where": "C:\\Users\\damccorm\\Documents\\setup-node",
- "bugs": {
- "url": "https://github.com/actions/toolkit/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "@octokit/graphql": "^2.0.1",
- "@octokit/rest": "^16.15.0"
- },
- "deprecated": false,
- "description": "Actions github lib",
- "devDependencies": {
- "jest": "^24.7.1"
- },
- "directories": {
- "lib": "lib",
- "test": "__tests__"
- },
- "files": [
- "lib"
- ],
- "gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
- "homepage": "https://github.com/actions/toolkit/tree/master/packages/github",
- "keywords": [
- "github",
- "actions"
- ],
- "license": "MIT",
- "main": "lib/github.js",
- "name": "@actions/github",
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/actions/toolkit.git"
- },
- "scripts": {
- "build": "tsc",
- "test": "jest",
- "tsc": "tsc"
- },
- "version": "1.0.0"
-}
diff --git a/node_modules/@actions/io/LICENSE.md b/node_modules/@actions/io/LICENSE.md
deleted file mode 100644
index e5a73f4..0000000
--- a/node_modules/@actions/io/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2019 GitHub
-
-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.
\ No newline at end of file
diff --git a/node_modules/@actions/io/README.md b/node_modules/@actions/io/README.md
deleted file mode 100644
index 22f0901..0000000
--- a/node_modules/@actions/io/README.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# `@actions/io`
-
-> Core functions for cli filesystem scenarios
-
-## Usage
-
-#### mkdir -p
-
-Recursively make a directory. Follows rules specified in [man mkdir](https://linux.die.net/man/1/mkdir) with the `-p` option specified:
-
-```
-const io = require('@actions/io');
-
-await io.mkdirP('path/to/make');
-```
-
-#### cp/mv
-
-Copy or move files or folders. Follows rules specified in [man cp](https://linux.die.net/man/1/cp) and [man mv](https://linux.die.net/man/1/mv):
-
-```
-const io = require('@actions/io');
-
-// Recursive must be true for directories
-const options = { recursive: true, force: false }
-
-await io.cp('path/to/directory', 'path/to/dest', options);
-await io.mv('path/to/file', 'path/to/dest');
-```
-
-#### rm -rf
-
-Remove a file or folder recursively. Follows rules specified in [man rm](https://linux.die.net/man/1/rm) with the `-r` and `-f` rules specified.
-
-```
-const io = require('@actions/io');
-
-await io.rmRF('path/to/directory');
-await io.rmRF('path/to/file');
-```
-
-#### which
-
-Get the path to a tool and resolves via paths. Follows the rules specified in [man which](https://linux.die.net/man/1/which).
-
-```
-const exec = require('@actions/exec');
-const io = require('@actions/io');
-
-const pythonPath: string = await io.which('python', true)
-
-await exec.exec(`"${pythonPath}"`, ['main.py']);
-```
diff --git a/node_modules/@actions/io/lib/io-util.d.ts b/node_modules/@actions/io/lib/io-util.d.ts
deleted file mode 100644
index f0214fe..0000000
--- a/node_modules/@actions/io/lib/io-util.d.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-///
-import * as fs from 'fs';
-export declare const chmod: typeof fs.promises.chmod, copyFile: typeof fs.promises.copyFile, lstat: typeof fs.promises.lstat, mkdir: typeof fs.promises.mkdir, readdir: typeof fs.promises.readdir, readlink: typeof fs.promises.readlink, rename: typeof fs.promises.rename, rmdir: typeof fs.promises.rmdir, stat: typeof fs.promises.stat, symlink: typeof fs.promises.symlink, unlink: typeof fs.promises.unlink;
-export declare const IS_WINDOWS: boolean;
-export declare function exists(fsPath: string): Promise;
-export declare function isDirectory(fsPath: string, useStat?: boolean): Promise;
-/**
- * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:
- * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases).
- */
-export declare function isRooted(p: string): boolean;
-/**
- * Recursively create a directory at `fsPath`.
- *
- * This implementation is optimistic, meaning it attempts to create the full
- * path first, and backs up the path stack from there.
- *
- * @param fsPath The path to create
- * @param maxDepth The maximum recursion depth
- * @param depth The current recursion depth
- */
-export declare function mkdirP(fsPath: string, maxDepth?: number, depth?: number): Promise;
-/**
- * Best effort attempt to determine whether a file exists and is executable.
- * @param filePath file path to check
- * @param extensions additional file extensions to try
- * @return if file exists and is executable, returns the file path. otherwise empty string.
- */
-export declare function tryGetExecutablePath(filePath: string, extensions: string[]): Promise;
diff --git a/node_modules/@actions/io/lib/io-util.js b/node_modules/@actions/io/lib/io-util.js
deleted file mode 100644
index d0d1f6b..0000000
--- a/node_modules/@actions/io/lib/io-util.js
+++ /dev/null
@@ -1,194 +0,0 @@
-"use strict";
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-var _a;
-Object.defineProperty(exports, "__esModule", { value: true });
-const assert_1 = require("assert");
-const fs = require("fs");
-const path = require("path");
-_a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink;
-exports.IS_WINDOWS = process.platform === 'win32';
-function exists(fsPath) {
- return __awaiter(this, void 0, void 0, function* () {
- try {
- yield exports.stat(fsPath);
- }
- catch (err) {
- if (err.code === 'ENOENT') {
- return false;
- }
- throw err;
- }
- return true;
- });
-}
-exports.exists = exists;
-function isDirectory(fsPath, useStat = false) {
- return __awaiter(this, void 0, void 0, function* () {
- const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath);
- return stats.isDirectory();
- });
-}
-exports.isDirectory = isDirectory;
-/**
- * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:
- * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases).
- */
-function isRooted(p) {
- p = normalizeSeparators(p);
- if (!p) {
- throw new Error('isRooted() parameter "p" cannot be empty');
- }
- if (exports.IS_WINDOWS) {
- return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello
- ); // e.g. C: or C:\hello
- }
- return p.startsWith('/');
-}
-exports.isRooted = isRooted;
-/**
- * Recursively create a directory at `fsPath`.
- *
- * This implementation is optimistic, meaning it attempts to create the full
- * path first, and backs up the path stack from there.
- *
- * @param fsPath The path to create
- * @param maxDepth The maximum recursion depth
- * @param depth The current recursion depth
- */
-function mkdirP(fsPath, maxDepth = 1000, depth = 1) {
- return __awaiter(this, void 0, void 0, function* () {
- assert_1.ok(fsPath, 'a path argument must be provided');
- fsPath = path.resolve(fsPath);
- if (depth >= maxDepth)
- return exports.mkdir(fsPath);
- try {
- yield exports.mkdir(fsPath);
- return;
- }
- catch (err) {
- switch (err.code) {
- case 'ENOENT': {
- yield mkdirP(path.dirname(fsPath), maxDepth, depth + 1);
- yield exports.mkdir(fsPath);
- return;
- }
- default: {
- let stats;
- try {
- stats = yield exports.stat(fsPath);
- }
- catch (err2) {
- throw err;
- }
- if (!stats.isDirectory())
- throw err;
- }
- }
- }
- });
-}
-exports.mkdirP = mkdirP;
-/**
- * Best effort attempt to determine whether a file exists and is executable.
- * @param filePath file path to check
- * @param extensions additional file extensions to try
- * @return if file exists and is executable, returns the file path. otherwise empty string.
- */
-function tryGetExecutablePath(filePath, extensions) {
- return __awaiter(this, void 0, void 0, function* () {
- let stats = undefined;
- try {
- // test file exists
- stats = yield exports.stat(filePath);
- }
- catch (err) {
- if (err.code !== 'ENOENT') {
- // eslint-disable-next-line no-console
- console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);
- }
- }
- if (stats && stats.isFile()) {
- if (exports.IS_WINDOWS) {
- // on Windows, test for valid extension
- const upperExt = path.extname(filePath).toUpperCase();
- if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) {
- return filePath;
- }
- }
- else {
- if (isUnixExecutable(stats)) {
- return filePath;
- }
- }
- }
- // try each extension
- const originalFilePath = filePath;
- for (const extension of extensions) {
- filePath = originalFilePath + extension;
- stats = undefined;
- try {
- stats = yield exports.stat(filePath);
- }
- catch (err) {
- if (err.code !== 'ENOENT') {
- // eslint-disable-next-line no-console
- console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);
- }
- }
- if (stats && stats.isFile()) {
- if (exports.IS_WINDOWS) {
- // preserve the case of the actual file (since an extension was appended)
- try {
- const directory = path.dirname(filePath);
- const upperName = path.basename(filePath).toUpperCase();
- for (const actualName of yield exports.readdir(directory)) {
- if (upperName === actualName.toUpperCase()) {
- filePath = path.join(directory, actualName);
- break;
- }
- }
- }
- catch (err) {
- // eslint-disable-next-line no-console
- console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);
- }
- return filePath;
- }
- else {
- if (isUnixExecutable(stats)) {
- return filePath;
- }
- }
- }
- }
- return '';
- });
-}
-exports.tryGetExecutablePath = tryGetExecutablePath;
-function normalizeSeparators(p) {
- p = p || '';
- if (exports.IS_WINDOWS) {
- // convert slashes on Windows
- p = p.replace(/\//g, '\\');
- // remove redundant slashes
- return p.replace(/\\\\+/g, '\\');
- }
- // remove redundant slashes
- return p.replace(/\/\/+/g, '/');
-}
-// on Mac/Linux, test the execute bit
-// R W X R W X R W X
-// 256 128 64 32 16 8 4 2 1
-function isUnixExecutable(stats) {
- return ((stats.mode & 1) > 0 ||
- ((stats.mode & 8) > 0 && stats.gid === process.getgid()) ||
- ((stats.mode & 64) > 0 && stats.uid === process.getuid()));
-}
-//# sourceMappingURL=io-util.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/io/lib/io-util.js.map b/node_modules/@actions/io/lib/io-util.js.map
deleted file mode 100644
index 95283d2..0000000
--- a/node_modules/@actions/io/lib/io-util.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"io-util.js","sourceRoot":"","sources":["../src/io-util.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,mCAAyB;AACzB,yBAAwB;AACxB,6BAA4B;AAEf,gBAYE,qTAAA;AAEF,QAAA,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAEtD,SAAsB,MAAM,CAAC,MAAc;;QACzC,IAAI;YACF,MAAM,YAAI,CAAC,MAAM,CAAC,CAAA;SACnB;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;gBACzB,OAAO,KAAK,CAAA;aACb;YAED,MAAM,GAAG,CAAA;SACV;QAED,OAAO,IAAI,CAAA;IACb,CAAC;CAAA;AAZD,wBAYC;AAED,SAAsB,WAAW,CAC/B,MAAc,EACd,UAAmB,KAAK;;QAExB,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC,MAAM,YAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,aAAK,CAAC,MAAM,CAAC,CAAA;QAChE,OAAO,KAAK,CAAC,WAAW,EAAE,CAAA;IAC5B,CAAC;CAAA;AAND,kCAMC;AAED;;;GAGG;AACH,SAAgB,QAAQ,CAAC,CAAS;IAChC,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAA;IAC1B,IAAI,CAAC,CAAC,EAAE;QACN,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;KAC5D;IAED,IAAI,kBAAU,EAAE;QACd,OAAO,CACL,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,8BAA8B;SACxE,CAAA,CAAC,sBAAsB;KACzB;IAED,OAAO,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;AAC1B,CAAC;AAbD,4BAaC;AAED;;;;;;;;;GASG;AACH,SAAsB,MAAM,CAC1B,MAAc,EACd,WAAmB,IAAI,EACvB,QAAgB,CAAC;;QAEjB,WAAE,CAAC,MAAM,EAAE,kCAAkC,CAAC,CAAA;QAE9C,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;QAE7B,IAAI,KAAK,IAAI,QAAQ;YAAE,OAAO,aAAK,CAAC,MAAM,CAAC,CAAA;QAE3C,IAAI;YACF,MAAM,aAAK,CAAC,MAAM,CAAC,CAAA;YACnB,OAAM;SACP;QAAC,OAAO,GAAG,EAAE;YACZ,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,QAAQ,CAAC,CAAC;oBACb,MAAM,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,GAAG,CAAC,CAAC,CAAA;oBACvD,MAAM,aAAK,CAAC,MAAM,CAAC,CAAA;oBACnB,OAAM;iBACP;gBACD,OAAO,CAAC,CAAC;oBACP,IAAI,KAAe,CAAA;oBAEnB,IAAI;wBACF,KAAK,GAAG,MAAM,YAAI,CAAC,MAAM,CAAC,CAAA;qBAC3B;oBAAC,OAAO,IAAI,EAAE;wBACb,MAAM,GAAG,CAAA;qBACV;oBAED,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;wBAAE,MAAM,GAAG,CAAA;iBACpC;aACF;SACF;IACH,CAAC;CAAA;AAlCD,wBAkCC;AAED;;;;;GAKG;AACH,SAAsB,oBAAoB,CACxC,QAAgB,EAChB,UAAoB;;QAEpB,IAAI,KAAK,GAAyB,SAAS,CAAA;QAC3C,IAAI;YACF,mBAAmB;YACnB,KAAK,GAAG,MAAM,YAAI,CAAC,QAAQ,CAAC,CAAA;SAC7B;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;gBACzB,sCAAsC;gBACtC,OAAO,CAAC,GAAG,CACT,uEAAuE,QAAQ,MAAM,GAAG,EAAE,CAC3F,CAAA;aACF;SACF;QACD,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE;YAC3B,IAAI,kBAAU,EAAE;gBACd,uCAAuC;gBACvC,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAA;gBACrD,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,QAAQ,CAAC,EAAE;oBACpE,OAAO,QAAQ,CAAA;iBAChB;aACF;iBAAM;gBACL,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;oBAC3B,OAAO,QAAQ,CAAA;iBAChB;aACF;SACF;QAED,qBAAqB;QACrB,MAAM,gBAAgB,GAAG,QAAQ,CAAA;QACjC,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE;YAClC,QAAQ,GAAG,gBAAgB,GAAG,SAAS,CAAA;YAEvC,KAAK,GAAG,SAAS,CAAA;YACjB,IAAI;gBACF,KAAK,GAAG,MAAM,YAAI,CAAC,QAAQ,CAAC,CAAA;aAC7B;YAAC,OAAO,GAAG,EAAE;gBACZ,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;oBACzB,sCAAsC;oBACtC,OAAO,CAAC,GAAG,CACT,uEAAuE,QAAQ,MAAM,GAAG,EAAE,CAC3F,CAAA;iBACF;aACF;YAED,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE;gBAC3B,IAAI,kBAAU,EAAE;oBACd,yEAAyE;oBACzE,IAAI;wBACF,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;wBACxC,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAA;wBACvD,KAAK,MAAM,UAAU,IAAI,MAAM,eAAO,CAAC,SAAS,CAAC,EAAE;4BACjD,IAAI,SAAS,KAAK,UAAU,CAAC,WAAW,EAAE,EAAE;gCAC1C,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAA;gCAC3C,MAAK;6BACN;yBACF;qBACF;oBAAC,OAAO,GAAG,EAAE;wBACZ,sCAAsC;wBACtC,OAAO,CAAC,GAAG,CACT,yEAAyE,QAAQ,MAAM,GAAG,EAAE,CAC7F,CAAA;qBACF;oBAED,OAAO,QAAQ,CAAA;iBAChB;qBAAM;oBACL,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;wBAC3B,OAAO,QAAQ,CAAA;qBAChB;iBACF;aACF;SACF;QAED,OAAO,EAAE,CAAA;IACX,CAAC;CAAA;AA5ED,oDA4EC;AAED,SAAS,mBAAmB,CAAC,CAAS;IACpC,CAAC,GAAG,CAAC,IAAI,EAAE,CAAA;IACX,IAAI,kBAAU,EAAE;QACd,6BAA6B;QAC7B,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;QAE1B,2BAA2B;QAC3B,OAAO,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;KACjC;IAED,2BAA2B;IAC3B,OAAO,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjC,CAAC;AAED,qCAAqC;AACrC,6BAA6B;AAC7B,6BAA6B;AAC7B,SAAS,gBAAgB,CAAC,KAAe;IACvC,OAAO,CACL,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC;QACpB,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC;QACxD,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC,CAC1D,CAAA;AACH,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@actions/io/lib/io.d.ts b/node_modules/@actions/io/lib/io.d.ts
deleted file mode 100644
index a4ea5a7..0000000
--- a/node_modules/@actions/io/lib/io.d.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Interface for cp/mv options
- */
-export interface CopyOptions {
- /** Optional. Whether to recursively copy all subdirectories. Defaults to false */
- recursive?: boolean;
- /** Optional. Whether to overwrite existing files in the destination. Defaults to true */
- force?: boolean;
-}
-/**
- * Interface for cp/mv options
- */
-export interface MoveOptions {
- /** Optional. Whether to overwrite existing files in the destination. Defaults to true */
- force?: boolean;
-}
-/**
- * Copies a file or folder.
- * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js
- *
- * @param source source path
- * @param dest destination path
- * @param options optional. See CopyOptions.
- */
-export declare function cp(source: string, dest: string, options?: CopyOptions): Promise;
-/**
- * Moves a path.
- *
- * @param source source path
- * @param dest destination path
- * @param options optional. See MoveOptions.
- */
-export declare function mv(source: string, dest: string, options?: MoveOptions): Promise;
-/**
- * Remove a path recursively with force
- *
- * @param inputPath path to remove
- */
-export declare function rmRF(inputPath: string): Promise;
-/**
- * Make a directory. Creates the full path with folders in between
- * Will throw if it fails
- *
- * @param fsPath path to create
- * @returns Promise
- */
-export declare function mkdirP(fsPath: string): Promise;
-/**
- * Returns path of a tool had the tool actually been invoked. Resolves via paths.
- * If you check and the tool does not exist, it will throw.
- *
- * @param tool name of the tool
- * @param check whether to check if tool exists
- * @returns Promise path to tool
- */
-export declare function which(tool: string, check?: boolean): Promise;
diff --git a/node_modules/@actions/io/lib/io.js b/node_modules/@actions/io/lib/io.js
deleted file mode 100644
index 8ac31f2..0000000
--- a/node_modules/@actions/io/lib/io.js
+++ /dev/null
@@ -1,289 +0,0 @@
-"use strict";
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-const childProcess = require("child_process");
-const path = require("path");
-const util_1 = require("util");
-const ioUtil = require("./io-util");
-const exec = util_1.promisify(childProcess.exec);
-/**
- * Copies a file or folder.
- * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js
- *
- * @param source source path
- * @param dest destination path
- * @param options optional. See CopyOptions.
- */
-function cp(source, dest, options = {}) {
- return __awaiter(this, void 0, void 0, function* () {
- const { force, recursive } = readCopyOptions(options);
- const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null;
- // Dest is an existing file, but not forcing
- if (destStat && destStat.isFile() && !force) {
- return;
- }
- // If dest is an existing directory, should copy inside.
- const newDest = destStat && destStat.isDirectory()
- ? path.join(dest, path.basename(source))
- : dest;
- if (!(yield ioUtil.exists(source))) {
- throw new Error(`no such file or directory: ${source}`);
- }
- const sourceStat = yield ioUtil.stat(source);
- if (sourceStat.isDirectory()) {
- if (!recursive) {
- throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);
- }
- else {
- yield cpDirRecursive(source, newDest, 0, force);
- }
- }
- else {
- if (path.relative(source, newDest) === '') {
- // a file cannot be copied to itself
- throw new Error(`'${newDest}' and '${source}' are the same file`);
- }
- yield copyFile(source, newDest, force);
- }
- });
-}
-exports.cp = cp;
-/**
- * Moves a path.
- *
- * @param source source path
- * @param dest destination path
- * @param options optional. See MoveOptions.
- */
-function mv(source, dest, options = {}) {
- return __awaiter(this, void 0, void 0, function* () {
- if (yield ioUtil.exists(dest)) {
- let destExists = true;
- if (yield ioUtil.isDirectory(dest)) {
- // If dest is directory copy src into dest
- dest = path.join(dest, path.basename(source));
- destExists = yield ioUtil.exists(dest);
- }
- if (destExists) {
- if (options.force == null || options.force) {
- yield rmRF(dest);
- }
- else {
- throw new Error('Destination already exists');
- }
- }
- }
- yield mkdirP(path.dirname(dest));
- yield ioUtil.rename(source, dest);
- });
-}
-exports.mv = mv;
-/**
- * Remove a path recursively with force
- *
- * @param inputPath path to remove
- */
-function rmRF(inputPath) {
- return __awaiter(this, void 0, void 0, function* () {
- if (ioUtil.IS_WINDOWS) {
- // Node doesn't provide a delete operation, only an unlink function. This means that if the file is being used by another
- // program (e.g. antivirus), it won't be deleted. To address this, we shell out the work to rd/del.
- try {
- if (yield ioUtil.isDirectory(inputPath, true)) {
- yield exec(`rd /s /q "${inputPath}"`);
- }
- else {
- yield exec(`del /f /a "${inputPath}"`);
- }
- }
- catch (err) {
- // if you try to delete a file that doesn't exist, desired result is achieved
- // other errors are valid
- if (err.code !== 'ENOENT')
- throw err;
- }
- // Shelling out fails to remove a symlink folder with missing source, this unlink catches that
- try {
- yield ioUtil.unlink(inputPath);
- }
- catch (err) {
- // if you try to delete a file that doesn't exist, desired result is achieved
- // other errors are valid
- if (err.code !== 'ENOENT')
- throw err;
- }
- }
- else {
- let isDir = false;
- try {
- isDir = yield ioUtil.isDirectory(inputPath);
- }
- catch (err) {
- // if you try to delete a file that doesn't exist, desired result is achieved
- // other errors are valid
- if (err.code !== 'ENOENT')
- throw err;
- return;
- }
- if (isDir) {
- yield exec(`rm -rf "${inputPath}"`);
- }
- else {
- yield ioUtil.unlink(inputPath);
- }
- }
- });
-}
-exports.rmRF = rmRF;
-/**
- * Make a directory. Creates the full path with folders in between
- * Will throw if it fails
- *
- * @param fsPath path to create
- * @returns Promise
- */
-function mkdirP(fsPath) {
- return __awaiter(this, void 0, void 0, function* () {
- yield ioUtil.mkdirP(fsPath);
- });
-}
-exports.mkdirP = mkdirP;
-/**
- * Returns path of a tool had the tool actually been invoked. Resolves via paths.
- * If you check and the tool does not exist, it will throw.
- *
- * @param tool name of the tool
- * @param check whether to check if tool exists
- * @returns Promise path to tool
- */
-function which(tool, check) {
- return __awaiter(this, void 0, void 0, function* () {
- if (!tool) {
- throw new Error("parameter 'tool' is required");
- }
- // recursive when check=true
- if (check) {
- const result = yield which(tool, false);
- if (!result) {
- if (ioUtil.IS_WINDOWS) {
- throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`);
- }
- else {
- throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);
- }
- }
- }
- try {
- // build the list of extensions to try
- const extensions = [];
- if (ioUtil.IS_WINDOWS && process.env.PATHEXT) {
- for (const extension of process.env.PATHEXT.split(path.delimiter)) {
- if (extension) {
- extensions.push(extension);
- }
- }
- }
- // if it's rooted, return it if exists. otherwise return empty.
- if (ioUtil.isRooted(tool)) {
- const filePath = yield ioUtil.tryGetExecutablePath(tool, extensions);
- if (filePath) {
- return filePath;
- }
- return '';
- }
- // if any path separators, return empty
- if (tool.includes('/') || (ioUtil.IS_WINDOWS && tool.includes('\\'))) {
- return '';
- }
- // build the list of directories
- //
- // Note, technically "where" checks the current directory on Windows. From a task lib perspective,
- // it feels like we should not do this. Checking the current directory seems like more of a use
- // case of a shell, and the which() function exposed by the task lib should strive for consistency
- // across platforms.
- const directories = [];
- if (process.env.PATH) {
- for (const p of process.env.PATH.split(path.delimiter)) {
- if (p) {
- directories.push(p);
- }
- }
- }
- // return the first match
- for (const directory of directories) {
- const filePath = yield ioUtil.tryGetExecutablePath(directory + path.sep + tool, extensions);
- if (filePath) {
- return filePath;
- }
- }
- return '';
- }
- catch (err) {
- throw new Error(`which failed with message ${err.message}`);
- }
- });
-}
-exports.which = which;
-function readCopyOptions(options) {
- const force = options.force == null ? true : options.force;
- const recursive = Boolean(options.recursive);
- return { force, recursive };
-}
-function cpDirRecursive(sourceDir, destDir, currentDepth, force) {
- return __awaiter(this, void 0, void 0, function* () {
- // Ensure there is not a run away recursive copy
- if (currentDepth >= 255)
- return;
- currentDepth++;
- yield mkdirP(destDir);
- const files = yield ioUtil.readdir(sourceDir);
- for (const fileName of files) {
- const srcFile = `${sourceDir}/${fileName}`;
- const destFile = `${destDir}/${fileName}`;
- const srcFileStat = yield ioUtil.lstat(srcFile);
- if (srcFileStat.isDirectory()) {
- // Recurse
- yield cpDirRecursive(srcFile, destFile, currentDepth, force);
- }
- else {
- yield copyFile(srcFile, destFile, force);
- }
- }
- // Change the mode for the newly created directory
- yield ioUtil.chmod(destDir, (yield ioUtil.stat(sourceDir)).mode);
- });
-}
-// Buffered file copy
-function copyFile(srcFile, destFile, force) {
- return __awaiter(this, void 0, void 0, function* () {
- if ((yield ioUtil.lstat(srcFile)).isSymbolicLink()) {
- // unlink/re-link it
- try {
- yield ioUtil.lstat(destFile);
- yield ioUtil.unlink(destFile);
- }
- catch (e) {
- // Try to override file permission
- if (e.code === 'EPERM') {
- yield ioUtil.chmod(destFile, '0666');
- yield ioUtil.unlink(destFile);
- }
- // other errors = it doesn't exist, no work to do
- }
- // Copy over symlink
- const symlinkFull = yield ioUtil.readlink(srcFile);
- yield ioUtil.symlink(symlinkFull, destFile, ioUtil.IS_WINDOWS ? 'junction' : null);
- }
- else if (!(yield ioUtil.exists(destFile)) || force) {
- yield ioUtil.copyFile(srcFile, destFile);
- }
- });
-}
-//# sourceMappingURL=io.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/io/lib/io.js.map b/node_modules/@actions/io/lib/io.js.map
deleted file mode 100644
index e52fe05..0000000
--- a/node_modules/@actions/io/lib/io.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"io.js","sourceRoot":"","sources":["../src/io.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,8CAA6C;AAC7C,6BAA4B;AAC5B,+BAA8B;AAC9B,oCAAmC;AAEnC,MAAM,IAAI,GAAG,gBAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;AAoBzC;;;;;;;GAOG;AACH,SAAsB,EAAE,CACtB,MAAc,EACd,IAAY,EACZ,UAAuB,EAAE;;QAEzB,MAAM,EAAC,KAAK,EAAE,SAAS,EAAC,GAAG,eAAe,CAAC,OAAO,CAAC,CAAA;QAEnD,MAAM,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;QAC7E,4CAA4C;QAC5C,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE;YAC3C,OAAM;SACP;QAED,wDAAwD;QACxD,MAAM,OAAO,GACX,QAAQ,IAAI,QAAQ,CAAC,WAAW,EAAE;YAChC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YACxC,CAAC,CAAC,IAAI,CAAA;QAEV,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE;YAClC,MAAM,IAAI,KAAK,CAAC,8BAA8B,MAAM,EAAE,CAAC,CAAA;SACxD;QACD,MAAM,UAAU,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAE5C,IAAI,UAAU,CAAC,WAAW,EAAE,EAAE;YAC5B,IAAI,CAAC,SAAS,EAAE;gBACd,MAAM,IAAI,KAAK,CACb,mBAAmB,MAAM,4DAA4D,CACtF,CAAA;aACF;iBAAM;gBACL,MAAM,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;aAChD;SACF;aAAM;YACL,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,EAAE,EAAE;gBACzC,oCAAoC;gBACpC,MAAM,IAAI,KAAK,CAAC,IAAI,OAAO,UAAU,MAAM,qBAAqB,CAAC,CAAA;aAClE;YAED,MAAM,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA;SACvC;IACH,CAAC;CAAA;AAxCD,gBAwCC;AAED;;;;;;GAMG;AACH,SAAsB,EAAE,CACtB,MAAc,EACd,IAAY,EACZ,UAAuB,EAAE;;QAEzB,IAAI,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;YAC7B,IAAI,UAAU,GAAG,IAAI,CAAA;YACrB,IAAI,MAAM,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE;gBAClC,0CAA0C;gBAC1C,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAA;gBAC7C,UAAU,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;aACvC;YAED,IAAI,UAAU,EAAE;gBACd,IAAI,OAAO,CAAC,KAAK,IAAI,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE;oBAC1C,MAAM,IAAI,CAAC,IAAI,CAAC,CAAA;iBACjB;qBAAM;oBACL,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAA;iBAC9C;aACF;SACF;QACD,MAAM,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;QAChC,MAAM,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;IACnC,CAAC;CAAA;AAvBD,gBAuBC;AAED;;;;GAIG;AACH,SAAsB,IAAI,CAAC,SAAiB;;QAC1C,IAAI,MAAM,CAAC,UAAU,EAAE;YACrB,yHAAyH;YACzH,mGAAmG;YACnG,IAAI;gBACF,IAAI,MAAM,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE;oBAC7C,MAAM,IAAI,CAAC,aAAa,SAAS,GAAG,CAAC,CAAA;iBACtC;qBAAM;oBACL,MAAM,IAAI,CAAC,cAAc,SAAS,GAAG,CAAC,CAAA;iBACvC;aACF;YAAC,OAAO,GAAG,EAAE;gBACZ,6EAA6E;gBAC7E,yBAAyB;gBACzB,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ;oBAAE,MAAM,GAAG,CAAA;aACrC;YAED,8FAA8F;YAC9F,IAAI;gBACF,MAAM,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;aAC/B;YAAC,OAAO,GAAG,EAAE;gBACZ,6EAA6E;gBAC7E,yBAAyB;gBACzB,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ;oBAAE,MAAM,GAAG,CAAA;aACrC;SACF;aAAM;YACL,IAAI,KAAK,GAAG,KAAK,CAAA;YACjB,IAAI;gBACF,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;aAC5C;YAAC,OAAO,GAAG,EAAE;gBACZ,6EAA6E;gBAC7E,yBAAyB;gBACzB,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ;oBAAE,MAAM,GAAG,CAAA;gBACpC,OAAM;aACP;YAED,IAAI,KAAK,EAAE;gBACT,MAAM,IAAI,CAAC,WAAW,SAAS,GAAG,CAAC,CAAA;aACpC;iBAAM;gBACL,MAAM,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;aAC/B;SACF;IACH,CAAC;CAAA;AAzCD,oBAyCC;AAED;;;;;;GAMG;AACH,SAAsB,MAAM,CAAC,MAAc;;QACzC,MAAM,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IAC7B,CAAC;CAAA;AAFD,wBAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAC,IAAY,EAAE,KAAe;;QACvD,IAAI,CAAC,IAAI,EAAE;YACT,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;SAChD;QAED,4BAA4B;QAC5B,IAAI,KAAK,EAAE;YACT,MAAM,MAAM,GAAW,MAAM,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;YAE/C,IAAI,CAAC,MAAM,EAAE;gBACX,IAAI,MAAM,CAAC,UAAU,EAAE;oBACrB,MAAM,IAAI,KAAK,CACb,qCAAqC,IAAI,wMAAwM,CAClP,CAAA;iBACF;qBAAM;oBACL,MAAM,IAAI,KAAK,CACb,qCAAqC,IAAI,gMAAgM,CAC1O,CAAA;iBACF;aACF;SACF;QAED,IAAI;YACF,sCAAsC;YACtC,MAAM,UAAU,GAAa,EAAE,CAAA;YAC/B,IAAI,MAAM,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE;gBAC5C,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;oBACjE,IAAI,SAAS,EAAE;wBACb,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;qBAC3B;iBACF;aACF;YAED,+DAA+D;YAC/D,IAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;gBACzB,MAAM,QAAQ,GAAW,MAAM,MAAM,CAAC,oBAAoB,CACxD,IAAI,EACJ,UAAU,CACX,CAAA;gBAED,IAAI,QAAQ,EAAE;oBACZ,OAAO,QAAQ,CAAA;iBAChB;gBAED,OAAO,EAAE,CAAA;aACV;YAED,uCAAuC;YACvC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE;gBACpE,OAAO,EAAE,CAAA;aACV;YAED,gCAAgC;YAChC,EAAE;YACF,kGAAkG;YAClG,+FAA+F;YAC/F,kGAAkG;YAClG,oBAAoB;YACpB,MAAM,WAAW,GAAa,EAAE,CAAA;YAEhC,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE;gBACpB,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;oBACtD,IAAI,CAAC,EAAE;wBACL,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;qBACpB;iBACF;aACF;YAED,yBAAyB;YACzB,KAAK,MAAM,SAAS,IAAI,WAAW,EAAE;gBACnC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAChD,SAAS,GAAG,IAAI,CAAC,GAAG,GAAG,IAAI,EAC3B,UAAU,CACX,CAAA;gBACD,IAAI,QAAQ,EAAE;oBACZ,OAAO,QAAQ,CAAA;iBAChB;aACF;YAED,OAAO,EAAE,CAAA;SACV;QAAC,OAAO,GAAG,EAAE;YACZ,MAAM,IAAI,KAAK,CAAC,6BAA6B,GAAG,CAAC,OAAO,EAAE,CAAC,CAAA;SAC5D;IACH,CAAC;CAAA;AAnFD,sBAmFC;AAED,SAAS,eAAe,CAAC,OAAoB;IAC3C,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAA;IAC1D,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;IAC5C,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,CAAA;AAC3B,CAAC;AAED,SAAe,cAAc,CAC3B,SAAiB,EACjB,OAAe,EACf,YAAoB,EACpB,KAAc;;QAEd,gDAAgD;QAChD,IAAI,YAAY,IAAI,GAAG;YAAE,OAAM;QAC/B,YAAY,EAAE,CAAA;QAEd,MAAM,MAAM,CAAC,OAAO,CAAC,CAAA;QAErB,MAAM,KAAK,GAAa,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;QAEvD,KAAK,MAAM,QAAQ,IAAI,KAAK,EAAE;YAC5B,MAAM,OAAO,GAAG,GAAG,SAAS,IAAI,QAAQ,EAAE,CAAA;YAC1C,MAAM,QAAQ,GAAG,GAAG,OAAO,IAAI,QAAQ,EAAE,CAAA;YACzC,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;YAE/C,IAAI,WAAW,CAAC,WAAW,EAAE,EAAE;gBAC7B,UAAU;gBACV,MAAM,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,CAAC,CAAA;aAC7D;iBAAM;gBACL,MAAM,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAA;aACzC;SACF;QAED,kDAAkD;QAClD,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAClE,CAAC;CAAA;AAED,qBAAqB;AACrB,SAAe,QAAQ,CACrB,OAAe,EACf,QAAgB,EAChB,KAAc;;QAEd,IAAI,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,cAAc,EAAE,EAAE;YAClD,oBAAoB;YACpB,IAAI;gBACF,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;gBAC5B,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;aAC9B;YAAC,OAAO,CAAC,EAAE;gBACV,kCAAkC;gBAClC,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,EAAE;oBACtB,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;oBACpC,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;iBAC9B;gBACD,iDAAiD;aAClD;YAED,oBAAoB;YACpB,MAAM,WAAW,GAAW,MAAM,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;YAC1D,MAAM,MAAM,CAAC,OAAO,CAClB,WAAW,EACX,QAAQ,EACR,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CACtC,CAAA;SACF;aAAM,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,KAAK,EAAE;YACpD,MAAM,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;SACzC;IACH,CAAC;CAAA"}
\ No newline at end of file
diff --git a/node_modules/@actions/io/package.json b/node_modules/@actions/io/package.json
deleted file mode 100644
index eba99ca..0000000
--- a/node_modules/@actions/io/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "_from": "@actions/io@^1.0.0",
- "_id": "@actions/io@1.0.0",
- "_inBundle": false,
- "_integrity": "sha512-ezrJSRdqtXtdx1WXlfYL85+40F7gB39jCK9P0jZVODW3W6xUYmu6ZOEc/UmmElUwhRyDRm1R4yNZu1Joq2kuQg==",
- "_location": "/@actions/io",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "@actions/io@^1.0.0",
- "name": "@actions/io",
- "escapedName": "@actions%2fio",
- "scope": "@actions",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/",
- "/@actions/tool-cache"
- ],
- "_resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.0.tgz",
- "_shasum": "379454174660623bb5b3bce0be8b9e2285a62bcb",
- "_spec": "@actions/io@^1.0.0",
- "_where": "C:\\Users\\damccorm\\Documents\\setup-node",
- "bugs": {
- "url": "https://github.com/actions/toolkit/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Actions io lib",
- "directories": {
- "lib": "lib",
- "test": "__tests__"
- },
- "files": [
- "lib"
- ],
- "gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
- "homepage": "https://github.com/actions/toolkit/tree/master/packages/io",
- "keywords": [
- "io",
- "actions"
- ],
- "license": "MIT",
- "main": "lib/io.js",
- "name": "@actions/io",
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/actions/toolkit.git"
- },
- "scripts": {
- "test": "echo \"Error: run tests from root\" && exit 1",
- "tsc": "tsc"
- },
- "version": "1.0.0"
-}
diff --git a/node_modules/@actions/tool-cache/LICENSE.md b/node_modules/@actions/tool-cache/LICENSE.md
deleted file mode 100644
index e5a73f4..0000000
--- a/node_modules/@actions/tool-cache/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2019 GitHub
-
-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.
\ No newline at end of file
diff --git a/node_modules/@actions/tool-cache/README.md b/node_modules/@actions/tool-cache/README.md
deleted file mode 100644
index 56c5353..0000000
--- a/node_modules/@actions/tool-cache/README.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# `@actions/tool-cache`
-
-> Functions necessary for downloading and caching tools.
-
-## Usage
-
-#### Download
-
-You can use this to download tools (or other files) from a download URL:
-
-```
-const tc = require('@actions/tool-cache');
-
-const node12Path = await tc.downloadTool('http://nodejs.org/dist/v12.7.0/node-v12.7.0-linux-x64.tar.gz');
-```
-
-#### Extract
-
-These can then be extracted in platform specific ways:
-
-```
-const tc = require('@actions/tool-cache');
-
-if (process.platform === 'win32') {
- tc.downloadTool('http://nodejs.org/dist/v12.7.0/node-v12.7.0-win-x64.zip');
- const node12ExtractedFolder = await tc.extractZip(node12Path, 'path/to/extract/to');
-
- // Or alternately
- tc.downloadTool('http://nodejs.org/dist/v12.7.0/node-v12.7.0-win-x64.7z');
- const node12ExtractedFolder = await tc.extract7z(node12Path, 'path/to/extract/to');
-}
-else {
- const node12Path = await tc.downloadTool('http://nodejs.org/dist/v12.7.0/node-v12.7.0-linux-x64.tar.gz');
- const node12ExtractedFolder = await tc.extractTar(node12Path, 'path/to/extract/to');
-}
-```
-
-#### Cache
-
-Finally, you can cache these directories in our tool-cache. This is useful if you want to switch back and forth between versions of a tool, or save a tool between runs for private runners (private runners are still in development but are on the roadmap).
-
-You'll often want to add it to the path as part of this step:
-
-```
-const tc = require('@actions/tool-cache');
-const core = require('@actions/core');
-
-const node12Path = await tc.downloadTool('http://nodejs.org/dist/v12.7.0/node-v12.7.0-linux-x64.tar.gz');
-const node12ExtractedFolder = await tc.extractTar(node12Path, 'path/to/extract/to');
-
-const cachedPath = await tc.cacheDir(node12ExtractedFolder, 'node', '12.7.0');
-core.addPath(cachedPath);
-```
-
-You can also cache files for reuse.
-
-```
-const tc = require('@actions/tool-cache');
-
-tc.cacheFile('path/to/exe', 'destFileName.exe', 'myExeName', '1.1.0');
-```
-
-#### Find
-
-Finally, you can find directories and files you've previously cached:
-
-```
-const tc = require('@actions/tool-cache');
-const core = require('@actions/core');
-
-const nodeDirectory = tc.find('node', '12.x', 'x64');
-core.addPath(nodeDirectory);
-```
-
-You can even find all cached versions of a tool:
-
-```
-const tc = require('@actions/tool-cache');
-
-const allNodeVersions = tc.findAllVersions('node');
-console.log(`Versions of node available: ${allNodeVersions}`);
-```
diff --git a/node_modules/@actions/tool-cache/lib/tool-cache.d.ts b/node_modules/@actions/tool-cache/lib/tool-cache.d.ts
deleted file mode 100644
index 877eb33..0000000
--- a/node_modules/@actions/tool-cache/lib/tool-cache.d.ts
+++ /dev/null
@@ -1,78 +0,0 @@
-export declare class HTTPError extends Error {
- readonly httpStatusCode: number | undefined;
- constructor(httpStatusCode: number | undefined);
-}
-/**
- * Download a tool from an url and stream it into a file
- *
- * @param url url of tool to download
- * @returns path to downloaded tool
- */
-export declare function downloadTool(url: string): Promise;
-/**
- * Extract a .7z file
- *
- * @param file path to the .7z file
- * @param dest destination directory. Optional.
- * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this
- * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will
- * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is
- * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line
- * interface, it is smaller than the full command line interface, and it does support long paths. At the
- * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.
- * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path
- * to 7zr.exe can be pass to this function.
- * @returns path to the destination directory
- */
-export declare function extract7z(file: string, dest?: string, _7zPath?: string): Promise;
-/**
- * Extract a tar
- *
- * @param file path to the tar
- * @param dest destination directory. Optional.
- * @returns path to the destination directory
- */
-export declare function extractTar(file: string, dest?: string): Promise;
-/**
- * Extract a zip
- *
- * @param file path to the zip
- * @param dest destination directory. Optional.
- * @returns path to the destination directory
- */
-export declare function extractZip(file: string, dest?: string): Promise;
-/**
- * Caches a directory and installs it into the tool cacheDir
- *
- * @param sourceDir the directory to cache into tools
- * @param tool tool name
- * @param version version of the tool. semver format
- * @param arch architecture of the tool. Optional. Defaults to machine architecture
- */
-export declare function cacheDir(sourceDir: string, tool: string, version: string, arch?: string): Promise;
-/**
- * Caches a downloaded file (GUID) and installs it
- * into the tool cache with a given targetName
- *
- * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.
- * @param targetFile the name of the file name in the tools directory
- * @param tool tool name
- * @param version version of the tool. semver format
- * @param arch architecture of the tool. Optional. Defaults to machine architecture
- */
-export declare function cacheFile(sourceFile: string, targetFile: string, tool: string, version: string, arch?: string): Promise;
-/**
- * Finds the path to a tool version in the local installed tool cache
- *
- * @param toolName name of the tool
- * @param versionSpec version of the tool
- * @param arch optional arch. defaults to arch of computer
- */
-export declare function find(toolName: string, versionSpec: string, arch?: string): string;
-/**
- * Finds the paths to all versions of a tool that are installed in the local tool cache
- *
- * @param toolName name of the tool
- * @param arch optional arch. defaults to arch of computer
- */
-export declare function findAllVersions(toolName: string, arch?: string): string[];
diff --git a/node_modules/@actions/tool-cache/lib/tool-cache.js b/node_modules/@actions/tool-cache/lib/tool-cache.js
deleted file mode 100644
index 3c12165..0000000
--- a/node_modules/@actions/tool-cache/lib/tool-cache.js
+++ /dev/null
@@ -1,436 +0,0 @@
-"use strict";
-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-const core = require("@actions/core");
-const io = require("@actions/io");
-const fs = require("fs");
-const os = require("os");
-const path = require("path");
-const httpm = require("typed-rest-client/HttpClient");
-const semver = require("semver");
-const uuidV4 = require("uuid/v4");
-const exec_1 = require("@actions/exec/lib/exec");
-const assert_1 = require("assert");
-class HTTPError extends Error {
- constructor(httpStatusCode) {
- super(`Unexpected HTTP response: ${httpStatusCode}`);
- this.httpStatusCode = httpStatusCode;
- Object.setPrototypeOf(this, new.target.prototype);
- }
-}
-exports.HTTPError = HTTPError;
-const IS_WINDOWS = process.platform === 'win32';
-const userAgent = 'actions/tool-cache';
-// On load grab temp directory and cache directory and remove them from env (currently don't want to expose this)
-let tempDirectory = process.env['RUNNER_TEMP'] || '';
-let cacheRoot = process.env['RUNNER_TOOL_CACHE'] || '';
-// If directories not found, place them in common temp locations
-if (!tempDirectory || !cacheRoot) {
- let baseLocation;
- if (IS_WINDOWS) {
- // On windows use the USERPROFILE env variable
- baseLocation = process.env['USERPROFILE'] || 'C:\\';
- }
- else {
- if (process.platform === 'darwin') {
- baseLocation = '/Users';
- }
- else {
- baseLocation = '/home';
- }
- }
- if (!tempDirectory) {
- tempDirectory = path.join(baseLocation, 'actions', 'temp');
- }
- if (!cacheRoot) {
- cacheRoot = path.join(baseLocation, 'actions', 'cache');
- }
-}
-/**
- * Download a tool from an url and stream it into a file
- *
- * @param url url of tool to download
- * @returns path to downloaded tool
- */
-function downloadTool(url) {
- return __awaiter(this, void 0, void 0, function* () {
- // Wrap in a promise so that we can resolve from within stream callbacks
- return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
- try {
- const http = new httpm.HttpClient(userAgent, [], {
- allowRetries: true,
- maxRetries: 3
- });
- const destPath = path.join(tempDirectory, uuidV4());
- yield io.mkdirP(tempDirectory);
- core.debug(`Downloading ${url}`);
- core.debug(`Downloading ${destPath}`);
- if (fs.existsSync(destPath)) {
- throw new Error(`Destination file path ${destPath} already exists`);
- }
- const response = yield http.get(url);
- if (response.message.statusCode !== 200) {
- const err = new HTTPError(response.message.statusCode);
- core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);
- throw err;
- }
- const file = fs.createWriteStream(destPath);
- file.on('open', () => __awaiter(this, void 0, void 0, function* () {
- try {
- const stream = response.message.pipe(file);
- stream.on('close', () => {
- core.debug('download complete');
- resolve(destPath);
- });
- }
- catch (err) {
- core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);
- reject(err);
- }
- }));
- file.on('error', err => {
- file.end();
- reject(err);
- });
- }
- catch (err) {
- reject(err);
- }
- }));
- });
-}
-exports.downloadTool = downloadTool;
-/**
- * Extract a .7z file
- *
- * @param file path to the .7z file
- * @param dest destination directory. Optional.
- * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this
- * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will
- * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is
- * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line
- * interface, it is smaller than the full command line interface, and it does support long paths. At the
- * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.
- * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path
- * to 7zr.exe can be pass to this function.
- * @returns path to the destination directory
- */
-function extract7z(file, dest, _7zPath) {
- return __awaiter(this, void 0, void 0, function* () {
- assert_1.ok(IS_WINDOWS, 'extract7z() not supported on current OS');
- assert_1.ok(file, 'parameter "file" is required');
- dest = dest || (yield _createExtractFolder(dest));
- const originalCwd = process.cwd();
- process.chdir(dest);
- if (_7zPath) {
- try {
- const args = [
- 'x',
- '-bb1',
- '-bd',
- '-sccUTF-8',
- file
- ];
- const options = {
- silent: true
- };
- yield exec_1.exec(`"${_7zPath}"`, args, options);
- }
- finally {
- process.chdir(originalCwd);
- }
- }
- else {
- const escapedScript = path
- .join(__dirname, '..', 'scripts', 'Invoke-7zdec.ps1')
- .replace(/'/g, "''")
- .replace(/"|\n|\r/g, ''); // double-up single quotes, remove double quotes and newlines
- const escapedFile = file.replace(/'/g, "''").replace(/"|\n|\r/g, '');
- const escapedTarget = dest.replace(/'/g, "''").replace(/"|\n|\r/g, '');
- const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;
- const args = [
- '-NoLogo',
- '-Sta',
- '-NoProfile',
- '-NonInteractive',
- '-ExecutionPolicy',
- 'Unrestricted',
- '-Command',
- command
- ];
- const options = {
- silent: true
- };
- try {
- const powershellPath = yield io.which('powershell', true);
- yield exec_1.exec(`"${powershellPath}"`, args, options);
- }
- finally {
- process.chdir(originalCwd);
- }
- }
- return dest;
- });
-}
-exports.extract7z = extract7z;
-/**
- * Extract a tar
- *
- * @param file path to the tar
- * @param dest destination directory. Optional.
- * @returns path to the destination directory
- */
-function extractTar(file, dest) {
- return __awaiter(this, void 0, void 0, function* () {
- if (!file) {
- throw new Error("parameter 'file' is required");
- }
- dest = dest || (yield _createExtractFolder(dest));
- const tarPath = yield io.which('tar', true);
- yield exec_1.exec(`"${tarPath}"`, ['xzC', dest, '-f', file]);
- return dest;
- });
-}
-exports.extractTar = extractTar;
-/**
- * Extract a zip
- *
- * @param file path to the zip
- * @param dest destination directory. Optional.
- * @returns path to the destination directory
- */
-function extractZip(file, dest) {
- return __awaiter(this, void 0, void 0, function* () {
- if (!file) {
- throw new Error("parameter 'file' is required");
- }
- dest = dest || (yield _createExtractFolder(dest));
- if (IS_WINDOWS) {
- yield extractZipWin(file, dest);
- }
- else {
- yield extractZipNix(file, dest);
- }
- return dest;
- });
-}
-exports.extractZip = extractZip;
-function extractZipWin(file, dest) {
- return __awaiter(this, void 0, void 0, function* () {
- // build the powershell command
- const escapedFile = file.replace(/'/g, "''").replace(/"|\n|\r/g, ''); // double-up single quotes, remove double quotes and newlines
- const escapedDest = dest.replace(/'/g, "''").replace(/"|\n|\r/g, '');
- const command = `$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}')`;
- // run powershell
- const powershellPath = yield io.which('powershell');
- const args = [
- '-NoLogo',
- '-Sta',
- '-NoProfile',
- '-NonInteractive',
- '-ExecutionPolicy',
- 'Unrestricted',
- '-Command',
- command
- ];
- yield exec_1.exec(`"${powershellPath}"`, args);
- });
-}
-function extractZipNix(file, dest) {
- return __awaiter(this, void 0, void 0, function* () {
- const unzipPath = path.join(__dirname, '..', 'scripts', 'externals', 'unzip');
- yield exec_1.exec(`"${unzipPath}"`, [file], { cwd: dest });
- });
-}
-/**
- * Caches a directory and installs it into the tool cacheDir
- *
- * @param sourceDir the directory to cache into tools
- * @param tool tool name
- * @param version version of the tool. semver format
- * @param arch architecture of the tool. Optional. Defaults to machine architecture
- */
-function cacheDir(sourceDir, tool, version, arch) {
- return __awaiter(this, void 0, void 0, function* () {
- version = semver.clean(version) || version;
- arch = arch || os.arch();
- core.debug(`Caching tool ${tool} ${version} ${arch}`);
- core.debug(`source dir: ${sourceDir}`);
- if (!fs.statSync(sourceDir).isDirectory()) {
- throw new Error('sourceDir is not a directory');
- }
- // Create the tool dir
- const destPath = yield _createToolPath(tool, version, arch);
- // copy each child item. do not move. move can fail on Windows
- // due to anti-virus software having an open handle on a file.
- for (const itemName of fs.readdirSync(sourceDir)) {
- const s = path.join(sourceDir, itemName);
- yield io.cp(s, destPath, { recursive: true });
- }
- // write .complete
- _completeToolPath(tool, version, arch);
- return destPath;
- });
-}
-exports.cacheDir = cacheDir;
-/**
- * Caches a downloaded file (GUID) and installs it
- * into the tool cache with a given targetName
- *
- * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.
- * @param targetFile the name of the file name in the tools directory
- * @param tool tool name
- * @param version version of the tool. semver format
- * @param arch architecture of the tool. Optional. Defaults to machine architecture
- */
-function cacheFile(sourceFile, targetFile, tool, version, arch) {
- return __awaiter(this, void 0, void 0, function* () {
- version = semver.clean(version) || version;
- arch = arch || os.arch();
- core.debug(`Caching tool ${tool} ${version} ${arch}`);
- core.debug(`source file: ${sourceFile}`);
- if (!fs.statSync(sourceFile).isFile()) {
- throw new Error('sourceFile is not a file');
- }
- // create the tool dir
- const destFolder = yield _createToolPath(tool, version, arch);
- // copy instead of move. move can fail on Windows due to
- // anti-virus software having an open handle on a file.
- const destPath = path.join(destFolder, targetFile);
- core.debug(`destination file ${destPath}`);
- yield io.cp(sourceFile, destPath);
- // write .complete
- _completeToolPath(tool, version, arch);
- return destFolder;
- });
-}
-exports.cacheFile = cacheFile;
-/**
- * Finds the path to a tool version in the local installed tool cache
- *
- * @param toolName name of the tool
- * @param versionSpec version of the tool
- * @param arch optional arch. defaults to arch of computer
- */
-function find(toolName, versionSpec, arch) {
- if (!toolName) {
- throw new Error('toolName parameter is required');
- }
- if (!versionSpec) {
- throw new Error('versionSpec parameter is required');
- }
- arch = arch || os.arch();
- // attempt to resolve an explicit version
- if (!_isExplicitVersion(versionSpec)) {
- const localVersions = findAllVersions(toolName, arch);
- const match = _evaluateVersions(localVersions, versionSpec);
- versionSpec = match;
- }
- // check for the explicit version in the cache
- let toolPath = '';
- if (versionSpec) {
- versionSpec = semver.clean(versionSpec) || '';
- const cachePath = path.join(cacheRoot, toolName, versionSpec, arch);
- core.debug(`checking cache: ${cachePath}`);
- if (fs.existsSync(cachePath) && fs.existsSync(`${cachePath}.complete`)) {
- core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);
- toolPath = cachePath;
- }
- else {
- core.debug('not found');
- }
- }
- return toolPath;
-}
-exports.find = find;
-/**
- * Finds the paths to all versions of a tool that are installed in the local tool cache
- *
- * @param toolName name of the tool
- * @param arch optional arch. defaults to arch of computer
- */
-function findAllVersions(toolName, arch) {
- const versions = [];
- arch = arch || os.arch();
- const toolPath = path.join(cacheRoot, toolName);
- if (fs.existsSync(toolPath)) {
- const children = fs.readdirSync(toolPath);
- for (const child of children) {
- if (_isExplicitVersion(child)) {
- const fullPath = path.join(toolPath, child, arch || '');
- if (fs.existsSync(fullPath) && fs.existsSync(`${fullPath}.complete`)) {
- versions.push(child);
- }
- }
- }
- }
- return versions;
-}
-exports.findAllVersions = findAllVersions;
-function _createExtractFolder(dest) {
- return __awaiter(this, void 0, void 0, function* () {
- if (!dest) {
- // create a temp dir
- dest = path.join(tempDirectory, uuidV4());
- }
- yield io.mkdirP(dest);
- return dest;
- });
-}
-function _createToolPath(tool, version, arch) {
- return __awaiter(this, void 0, void 0, function* () {
- const folderPath = path.join(cacheRoot, tool, semver.clean(version) || version, arch || '');
- core.debug(`destination ${folderPath}`);
- const markerPath = `${folderPath}.complete`;
- yield io.rmRF(folderPath);
- yield io.rmRF(markerPath);
- yield io.mkdirP(folderPath);
- return folderPath;
- });
-}
-function _completeToolPath(tool, version, arch) {
- const folderPath = path.join(cacheRoot, tool, semver.clean(version) || version, arch || '');
- const markerPath = `${folderPath}.complete`;
- fs.writeFileSync(markerPath, '');
- core.debug('finished caching tool');
-}
-function _isExplicitVersion(versionSpec) {
- const c = semver.clean(versionSpec) || '';
- core.debug(`isExplicit: ${c}`);
- const valid = semver.valid(c) != null;
- core.debug(`explicit? ${valid}`);
- return valid;
-}
-function _evaluateVersions(versions, versionSpec) {
- let version = '';
- core.debug(`evaluating ${versions.length} versions`);
- versions = versions.sort((a, b) => {
- if (semver.gt(a, b)) {
- return 1;
- }
- return -1;
- });
- for (let i = versions.length - 1; i >= 0; i--) {
- const potential = versions[i];
- const satisfied = semver.satisfies(potential, versionSpec);
- if (satisfied) {
- version = potential;
- break;
- }
- }
- if (version) {
- core.debug(`matched: ${version}`);
- }
- else {
- core.debug('match not found');
- }
- return version;
-}
-//# sourceMappingURL=tool-cache.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/tool-cache/lib/tool-cache.js.map b/node_modules/@actions/tool-cache/lib/tool-cache.js.map
deleted file mode 100644
index 0c4f30b..0000000
--- a/node_modules/@actions/tool-cache/lib/tool-cache.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"tool-cache.js","sourceRoot":"","sources":["../src/tool-cache.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,sCAAqC;AACrC,kCAAiC;AACjC,yBAAwB;AACxB,yBAAwB;AACxB,6BAA4B;AAC5B,sDAAqD;AACrD,iCAAgC;AAChC,kCAAiC;AACjC,iDAA2C;AAE3C,mCAAyB;AAEzB,MAAa,SAAU,SAAQ,KAAK;IAClC,YAAqB,cAAkC;QACrD,KAAK,CAAC,6BAA6B,cAAc,EAAE,CAAC,CAAA;QADjC,mBAAc,GAAd,cAAc,CAAoB;QAErD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;IACnD,CAAC;CACF;AALD,8BAKC;AAED,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAC/C,MAAM,SAAS,GAAG,oBAAoB,CAAA;AAEtC,iHAAiH;AACjH,IAAI,aAAa,GAAW,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAA;AAC5D,IAAI,SAAS,GAAW,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAA;AAC9D,gEAAgE;AAChE,IAAI,CAAC,aAAa,IAAI,CAAC,SAAS,EAAE;IAChC,IAAI,YAAoB,CAAA;IACxB,IAAI,UAAU,EAAE;QACd,8CAA8C;QAC9C,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,MAAM,CAAA;KACpD;SAAM;QACL,IAAI,OAAO,CAAC,QAAQ,KAAK,QAAQ,EAAE;YACjC,YAAY,GAAG,QAAQ,CAAA;SACxB;aAAM;YACL,YAAY,GAAG,OAAO,CAAA;SACvB;KACF;IACD,IAAI,CAAC,aAAa,EAAE;QAClB,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,MAAM,CAAC,CAAA;KAC3D;IACD,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;KACxD;CACF;AAED;;;;;GAKG;AACH,SAAsB,YAAY,CAAC,GAAW;;QAC5C,wEAAwE;QACxE,OAAO,IAAI,OAAO,CAAS,CAAO,OAAO,EAAE,MAAM,EAAE,EAAE;YACnD,IAAI;gBACF,MAAM,IAAI,GAAG,IAAI,KAAK,CAAC,UAAU,CAAC,SAAS,EAAE,EAAE,EAAE;oBAC/C,YAAY,EAAE,IAAI;oBAClB,UAAU,EAAE,CAAC;iBACd,CAAC,CAAA;gBACF,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC,CAAA;gBAEnD,MAAM,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,CAAA;gBAC9B,IAAI,CAAC,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC,CAAA;gBAChC,IAAI,CAAC,KAAK,CAAC,eAAe,QAAQ,EAAE,CAAC,CAAA;gBAErC,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;oBAC3B,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,iBAAiB,CAAC,CAAA;iBACpE;gBAED,MAAM,QAAQ,GAA6B,MAAM,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;gBAE9D,IAAI,QAAQ,CAAC,OAAO,CAAC,UAAU,KAAK,GAAG,EAAE;oBACvC,MAAM,GAAG,GAAG,IAAI,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;oBACtD,IAAI,CAAC,KAAK,CACR,4BAA4B,GAAG,WAC7B,QAAQ,CAAC,OAAO,CAAC,UACnB,aAAa,QAAQ,CAAC,OAAO,CAAC,aAAa,GAAG,CAC/C,CAAA;oBACD,MAAM,GAAG,CAAA;iBACV;gBAED,MAAM,IAAI,GAA0B,EAAE,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAA;gBAClE,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,GAAS,EAAE;oBACzB,IAAI;wBACF,MAAM,MAAM,GAAG,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;wBAC1C,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE;4BACtB,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAA;4BAC/B,OAAO,CAAC,QAAQ,CAAC,CAAA;wBACnB,CAAC,CAAC,CAAA;qBACH;oBAAC,OAAO,GAAG,EAAE;wBACZ,IAAI,CAAC,KAAK,CACR,4BAA4B,GAAG,WAC7B,QAAQ,CAAC,OAAO,CAAC,UACnB,aAAa,QAAQ,CAAC,OAAO,CAAC,aAAa,GAAG,CAC/C,CAAA;wBACD,MAAM,CAAC,GAAG,CAAC,CAAA;qBACZ;gBACH,CAAC,CAAA,CAAC,CAAA;gBACF,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE;oBACrB,IAAI,CAAC,GAAG,EAAE,CAAA;oBACV,MAAM,CAAC,GAAG,CAAC,CAAA;gBACb,CAAC,CAAC,CAAA;aACH;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,GAAG,CAAC,CAAA;aACZ;QACH,CAAC,CAAA,CAAC,CAAA;IACJ,CAAC;CAAA;AAvDD,oCAuDC;AAED;;;;;;;;;;;;;;GAcG;AACH,SAAsB,SAAS,CAC7B,IAAY,EACZ,IAAa,EACb,OAAgB;;QAEhB,WAAE,CAAC,UAAU,EAAE,yCAAyC,CAAC,CAAA;QACzD,WAAE,CAAC,IAAI,EAAE,8BAA8B,CAAC,CAAA;QAExC,IAAI,GAAG,IAAI,IAAI,CAAC,MAAM,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAA;QAEjD,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAA;QACjC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QACnB,IAAI,OAAO,EAAE;YACX,IAAI;gBACF,MAAM,IAAI,GAAa;oBACrB,GAAG;oBACH,MAAM;oBACN,KAAK;oBACL,WAAW;oBACX,IAAI;iBACL,CAAA;gBACD,MAAM,OAAO,GAAgB;oBAC3B,MAAM,EAAE,IAAI;iBACb,CAAA;gBACD,MAAM,WAAI,CAAC,IAAI,OAAO,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;aAC1C;oBAAS;gBACR,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;aAC3B;SACF;aAAM;YACL,MAAM,aAAa,GAAG,IAAI;iBACvB,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,CAAC;iBACpD,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;iBACnB,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAA,CAAC,6DAA6D;YACxF,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAA;YACpE,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAA;YACtE,MAAM,OAAO,GAAG,MAAM,aAAa,cAAc,WAAW,cAAc,aAAa,GAAG,CAAA;YAC1F,MAAM,IAAI,GAAa;gBACrB,SAAS;gBACT,MAAM;gBACN,YAAY;gBACZ,iBAAiB;gBACjB,kBAAkB;gBAClB,cAAc;gBACd,UAAU;gBACV,OAAO;aACR,CAAA;YACD,MAAM,OAAO,GAAgB;gBAC3B,MAAM,EAAE,IAAI;aACb,CAAA;YACD,IAAI;gBACF,MAAM,cAAc,GAAW,MAAM,EAAE,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,CAAC,CAAA;gBACjE,MAAM,WAAI,CAAC,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;aACjD;oBAAS;gBACR,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;aAC3B;SACF;QAED,OAAO,IAAI,CAAA;IACb,CAAC;CAAA;AA1DD,8BA0DC;AAED;;;;;;GAMG;AACH,SAAsB,UAAU,CAAC,IAAY,EAAE,IAAa;;QAC1D,IAAI,CAAC,IAAI,EAAE;YACT,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;SAChD;QAED,IAAI,GAAG,IAAI,IAAI,CAAC,MAAM,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAA;QACjD,MAAM,OAAO,GAAW,MAAM,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;QACnD,MAAM,WAAI,CAAC,IAAI,OAAO,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;QAErD,OAAO,IAAI,CAAA;IACb,CAAC;CAAA;AAVD,gCAUC;AAED;;;;;;GAMG;AACH,SAAsB,UAAU,CAAC,IAAY,EAAE,IAAa;;QAC1D,IAAI,CAAC,IAAI,EAAE;YACT,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;SAChD;QAED,IAAI,GAAG,IAAI,IAAI,CAAC,MAAM,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAA;QAEjD,IAAI,UAAU,EAAE;YACd,MAAM,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;SAChC;aAAM;YACL,MAAM,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;SAChC;QAED,OAAO,IAAI,CAAA;IACb,CAAC;CAAA;AAdD,gCAcC;AAED,SAAe,aAAa,CAAC,IAAY,EAAE,IAAY;;QACrD,+BAA+B;QAC/B,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAA,CAAC,6DAA6D;QAClI,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAA;QACpE,MAAM,OAAO,GAAG,sKAAsK,WAAW,OAAO,WAAW,IAAI,CAAA;QAEvN,iBAAiB;QACjB,MAAM,cAAc,GAAG,MAAM,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAA;QACnD,MAAM,IAAI,GAAG;YACX,SAAS;YACT,MAAM;YACN,YAAY;YACZ,iBAAiB;YACjB,kBAAkB;YAClB,cAAc;YACd,UAAU;YACV,OAAO;SACR,CAAA;QACD,MAAM,WAAI,CAAC,IAAI,cAAc,GAAG,EAAE,IAAI,CAAC,CAAA;IACzC,CAAC;CAAA;AAED,SAAe,aAAa,CAAC,IAAY,EAAE,IAAY;;QACrD,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;QAC7E,MAAM,WAAI,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,EAAC,GAAG,EAAE,IAAI,EAAC,CAAC,CAAA;IACnD,CAAC;CAAA;AAED;;;;;;;GAOG;AACH,SAAsB,QAAQ,CAC5B,SAAiB,EACjB,IAAY,EACZ,OAAe,EACf,IAAa;;QAEb,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,OAAO,CAAA;QAC1C,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;QACxB,IAAI,CAAC,KAAK,CAAC,gBAAgB,IAAI,IAAI,OAAO,IAAI,IAAI,EAAE,CAAC,CAAA;QAErD,IAAI,CAAC,KAAK,CAAC,eAAe,SAAS,EAAE,CAAC,CAAA;QACtC,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,EAAE;YACzC,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;SAChD;QAED,sBAAsB;QACtB,MAAM,QAAQ,GAAW,MAAM,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAA;QACnE,8DAA8D;QAC9D,8DAA8D;QAC9D,KAAK,MAAM,QAAQ,IAAI,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE;YAChD,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAA;YACxC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAC,SAAS,EAAE,IAAI,EAAC,CAAC,CAAA;SAC5C;QAED,kBAAkB;QAClB,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAA;QAEtC,OAAO,QAAQ,CAAA;IACjB,CAAC;CAAA;AA5BD,4BA4BC;AAED;;;;;;;;;GASG;AACH,SAAsB,SAAS,CAC7B,UAAkB,EAClB,UAAkB,EAClB,IAAY,EACZ,OAAe,EACf,IAAa;;QAEb,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,OAAO,CAAA;QAC1C,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;QACxB,IAAI,CAAC,KAAK,CAAC,gBAAgB,IAAI,IAAI,OAAO,IAAI,IAAI,EAAE,CAAC,CAAA;QAErD,IAAI,CAAC,KAAK,CAAC,gBAAgB,UAAU,EAAE,CAAC,CAAA;QACxC,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,MAAM,EAAE,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;SAC5C;QAED,sBAAsB;QACtB,MAAM,UAAU,GAAW,MAAM,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAA;QAErE,wDAAwD;QACxD,uDAAuD;QACvD,MAAM,QAAQ,GAAW,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;QAC1D,IAAI,CAAC,KAAK,CAAC,oBAAoB,QAAQ,EAAE,CAAC,CAAA;QAC1C,MAAM,EAAE,CAAC,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAA;QAEjC,kBAAkB;QAClB,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAA;QAEtC,OAAO,UAAU,CAAA;IACnB,CAAC;CAAA;AA7BD,8BA6BC;AAED;;;;;;GAMG;AACH,SAAgB,IAAI,CAClB,QAAgB,EAChB,WAAmB,EACnB,IAAa;IAEb,IAAI,CAAC,QAAQ,EAAE;QACb,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAA;KAClD;IAED,IAAI,CAAC,WAAW,EAAE;QAChB,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAA;KACrD;IAED,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;IAExB,yCAAyC;IACzC,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE;QACpC,MAAM,aAAa,GAAa,eAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QAC/D,MAAM,KAAK,GAAG,iBAAiB,CAAC,aAAa,EAAE,WAAW,CAAC,CAAA;QAC3D,WAAW,GAAG,KAAK,CAAA;KACpB;IAED,8CAA8C;IAC9C,IAAI,QAAQ,GAAG,EAAE,CAAA;IACjB,IAAI,WAAW,EAAE;QACf,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,CAAA;QAC7C,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,CAAC,CAAA;QACnE,IAAI,CAAC,KAAK,CAAC,mBAAmB,SAAS,EAAE,CAAC,CAAA;QAC1C,IAAI,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,UAAU,CAAC,GAAG,SAAS,WAAW,CAAC,EAAE;YACtE,IAAI,CAAC,KAAK,CAAC,uBAAuB,QAAQ,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC,CAAA;YACpE,QAAQ,GAAG,SAAS,CAAA;SACrB;aAAM;YACL,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;SACxB;KACF;IACD,OAAO,QAAQ,CAAA;AACjB,CAAC;AApCD,oBAoCC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,QAAgB,EAAE,IAAa;IAC7D,MAAM,QAAQ,GAAa,EAAE,CAAA;IAE7B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;IACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAA;IAE/C,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;QAC3B,MAAM,QAAQ,GAAa,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;QACnD,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;YAC5B,IAAI,kBAAkB,CAAC,KAAK,CAAC,EAAE;gBAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,CAAA;gBACvD,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,UAAU,CAAC,GAAG,QAAQ,WAAW,CAAC,EAAE;oBACpE,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;iBACrB;aACF;SACF;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AAnBD,0CAmBC;AAED,SAAe,oBAAoB,CAAC,IAAa;;QAC/C,IAAI,CAAC,IAAI,EAAE;YACT,oBAAoB;YACpB,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC,CAAA;SAC1C;QACD,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;QACrB,OAAO,IAAI,CAAA;IACb,CAAC;CAAA;AAED,SAAe,eAAe,CAC5B,IAAY,EACZ,OAAe,EACf,IAAa;;QAEb,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAC1B,SAAS,EACT,IAAI,EACJ,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,OAAO,EAChC,IAAI,IAAI,EAAE,CACX,CAAA;QACD,IAAI,CAAC,KAAK,CAAC,eAAe,UAAU,EAAE,CAAC,CAAA;QACvC,MAAM,UAAU,GAAG,GAAG,UAAU,WAAW,CAAA;QAC3C,MAAM,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QACzB,MAAM,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QACzB,MAAM,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QAC3B,OAAO,UAAU,CAAA;IACnB,CAAC;CAAA;AAED,SAAS,iBAAiB,CAAC,IAAY,EAAE,OAAe,EAAE,IAAa;IACrE,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAC1B,SAAS,EACT,IAAI,EACJ,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,OAAO,EAChC,IAAI,IAAI,EAAE,CACX,CAAA;IACD,MAAM,UAAU,GAAG,GAAG,UAAU,WAAW,CAAA;IAC3C,EAAE,CAAC,aAAa,CAAC,UAAU,EAAE,EAAE,CAAC,CAAA;IAChC,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAA;AACrC,CAAC;AAED,SAAS,kBAAkB,CAAC,WAAmB;IAC7C,MAAM,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,CAAA;IACzC,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE,CAAC,CAAA;IAE9B,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAA;IACrC,IAAI,CAAC,KAAK,CAAC,aAAa,KAAK,EAAE,CAAC,CAAA;IAEhC,OAAO,KAAK,CAAA;AACd,CAAC;AAED,SAAS,iBAAiB,CAAC,QAAkB,EAAE,WAAmB;IAChE,IAAI,OAAO,GAAG,EAAE,CAAA;IAChB,IAAI,CAAC,KAAK,CAAC,cAAc,QAAQ,CAAC,MAAM,WAAW,CAAC,CAAA;IACpD,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QAChC,IAAI,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;YACnB,OAAO,CAAC,CAAA;SACT;QACD,OAAO,CAAC,CAAC,CAAA;IACX,CAAC,CAAC,CAAA;IACF,KAAK,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;QAC7C,MAAM,SAAS,GAAW,QAAQ,CAAC,CAAC,CAAC,CAAA;QACrC,MAAM,SAAS,GAAY,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE,WAAW,CAAC,CAAA;QACnE,IAAI,SAAS,EAAE;YACb,OAAO,GAAG,SAAS,CAAA;YACnB,MAAK;SACN;KACF;IAED,IAAI,OAAO,EAAE;QACX,IAAI,CAAC,KAAK,CAAC,YAAY,OAAO,EAAE,CAAC,CAAA;KAClC;SAAM;QACL,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAA;KAC9B;IAED,OAAO,OAAO,CAAA;AAChB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@actions/tool-cache/package.json b/node_modules/@actions/tool-cache/package.json
deleted file mode 100644
index eb7da50..0000000
--- a/node_modules/@actions/tool-cache/package.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "_from": "@actions/tool-cache@^1.0.0",
- "_id": "@actions/tool-cache@1.0.0",
- "_inBundle": false,
- "_integrity": "sha512-l3zT0IfDfi5Ik5aMpnXqGHGATxN8xa9ls4ue+X/CBXpPhRMRZS4vcuh5Q9T98WAGbkysRCfhpbksTPHIcKnNwQ==",
- "_location": "/@actions/tool-cache",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "@actions/tool-cache@^1.0.0",
- "name": "@actions/tool-cache",
- "escapedName": "@actions%2ftool-cache",
- "scope": "@actions",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.0.0.tgz",
- "_shasum": "a9ac414bd2e0bf1f5f0302f029193c418d344c09",
- "_spec": "@actions/tool-cache@^1.0.0",
- "_where": "C:\\Users\\damccorm\\Documents\\setup-node",
- "bugs": {
- "url": "https://github.com/actions/toolkit/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "@actions/core": "^1.0.0",
- "@actions/exec": "^1.0.0",
- "@actions/io": "^1.0.0",
- "semver": "^6.1.0",
- "typed-rest-client": "^1.4.0",
- "uuid": "^3.3.2"
- },
- "deprecated": false,
- "description": "Actions tool-cache lib",
- "devDependencies": {
- "@types/nock": "^10.0.3",
- "@types/semver": "^6.0.0",
- "@types/uuid": "^3.4.4",
- "nock": "^10.0.6"
- },
- "directories": {
- "lib": "lib",
- "test": "__tests__"
- },
- "files": [
- "lib",
- "scripts"
- ],
- "gitHead": "a40bce7c8d382aa3dbadaa327acbc696e9390e55",
- "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
- "keywords": [
- "exec",
- "actions"
- ],
- "license": "MIT",
- "main": "lib/tool-cache.js",
- "name": "@actions/tool-cache",
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/actions/toolkit.git"
- },
- "scripts": {
- "test": "echo \"Error: run tests from root\" && exit 1",
- "tsc": "tsc"
- },
- "version": "1.0.0"
-}
diff --git a/node_modules/@actions/tool-cache/scripts/Invoke-7zdec.ps1 b/node_modules/@actions/tool-cache/scripts/Invoke-7zdec.ps1
deleted file mode 100644
index 8b39bb4..0000000
--- a/node_modules/@actions/tool-cache/scripts/Invoke-7zdec.ps1
+++ /dev/null
@@ -1,60 +0,0 @@
-[CmdletBinding()]
-param(
- [Parameter(Mandatory = $true)]
- [string]$Source,
-
- [Parameter(Mandatory = $true)]
- [string]$Target)
-
-# This script translates the output from 7zdec into UTF8. Node has limited
-# built-in support for encodings.
-#
-# 7zdec uses the system default code page. The system default code page varies
-# depending on the locale configuration. On an en-US box, the system default code
-# page is Windows-1252.
-#
-# Note, on a typical en-US box, testing with the 'ç' character is a good way to
-# determine whether data is passed correctly between processes. This is because
-# the 'ç' character has a different code point across each of the common encodings
-# on a typical en-US box, i.e.
-# 1) the default console-output code page (IBM437)
-# 2) the system default code page (i.e. CP_ACP) (Windows-1252)
-# 3) UTF8
-
-$ErrorActionPreference = 'Stop'
-
-# Redefine the wrapper over STDOUT to use UTF8. Node expects UTF8 by default.
-$stdout = [System.Console]::OpenStandardOutput()
-$utf8 = New-Object System.Text.UTF8Encoding($false) # do not emit BOM
-$writer = New-Object System.IO.StreamWriter($stdout, $utf8)
-[System.Console]::SetOut($writer)
-
-# All subsequent output must be written using [System.Console]::WriteLine(). In
-# PowerShell 4, Write-Host and Out-Default do not consider the updated stream writer.
-
-Set-Location -LiteralPath $Target
-
-# Print the ##command.
-$_7zdec = Join-Path -Path "$PSScriptRoot" -ChildPath "externals/7zdec.exe"
-[System.Console]::WriteLine("##[command]$_7zdec x `"$Source`"")
-
-# The $OutputEncoding variable instructs PowerShell how to interpret the output
-# from the external command.
-$OutputEncoding = [System.Text.Encoding]::Default
-
-# Note, the output from 7zdec.exe needs to be iterated over. Otherwise PowerShell.exe
-# will launch the external command in such a way that it inherits the streams.
-& $_7zdec x $Source 2>&1 |
- ForEach-Object {
- if ($_ -is [System.Management.Automation.ErrorRecord]) {
- [System.Console]::WriteLine($_.Exception.Message)
- }
- else {
- [System.Console]::WriteLine($_)
- }
- }
-[System.Console]::WriteLine("##[debug]7zdec.exe exit code '$LASTEXITCODE'")
-[System.Console]::Out.Flush()
-if ($LASTEXITCODE -ne 0) {
- exit $LASTEXITCODE
-}
\ No newline at end of file
diff --git a/node_modules/@actions/tool-cache/scripts/externals/7zdec.exe b/node_modules/@actions/tool-cache/scripts/externals/7zdec.exe
deleted file mode 100644
index 1106aa0..0000000
Binary files a/node_modules/@actions/tool-cache/scripts/externals/7zdec.exe and /dev/null differ
diff --git a/node_modules/@actions/tool-cache/scripts/externals/unzip b/node_modules/@actions/tool-cache/scripts/externals/unzip
deleted file mode 100644
index 4082418..0000000
Binary files a/node_modules/@actions/tool-cache/scripts/externals/unzip and /dev/null differ
diff --git a/node_modules/@octokit/endpoint/LICENSE b/node_modules/@octokit/endpoint/LICENSE
deleted file mode 100644
index af5366d..0000000
--- a/node_modules/@octokit/endpoint/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License
-
-Copyright (c) 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.
diff --git a/node_modules/@octokit/endpoint/README.md b/node_modules/@octokit/endpoint/README.md
deleted file mode 100644
index ad26c37..0000000
--- a/node_modules/@octokit/endpoint/README.md
+++ /dev/null
@@ -1,421 +0,0 @@
-# endpoint.js
-
-> Turns GitHub REST API endpoints into generic request options
-
-[](https://www.npmjs.com/package/@octokit/endpoint)
-[](https://travis-ci.org/octokit/endpoint.js)
-[](https://greenkeeper.io/)
-
-`@octokit/endpoint` combines [GitHub REST API routes](https://developer.github.com/v3/) with your parameters and turns them into generic request options that can be used in any request library.
-
-
-
-
-- [Usage](#usage)
-- [API](#api)
- - [endpoint()](#endpoint)
- - [endpoint.defaults()](#endpointdefaults)
- - [endpoint.DEFAULTS](#endpointdefaults)
- - [endpoint.merge()](#endpointmerge)
- - [endpoint.parse()](#endpointparse)
-- [Special cases](#special-cases)
- - [The `data` parameter – set request body directly](#the-data-parameter-%E2%80%93-set-request-body-directly)
- - [Set parameters for both the URL/query and the request body](#set-parameters-for-both-the-urlquery-and-the-request-body)
-- [LICENSE](#license)
-
-
-
-## Usage
-
-
-
-|
-Browsers
- |
-Load @octokit/endpoint directly from cdn.pika.dev
-
-```html
-
-```
-
- |
-|
-Node
- |
-
-Install with npm install @octokit/endpoint
-
-```js
-const { endpoint } = require("@octokit/endpoint");
-// or: import { endpoint } from "@octokit/endpoint";
-```
-
- |
-
-
-
-Example for [List organization repositories](https://developer.github.com/v3/repos/#list-organization-repositories)
-
-```js
-const requestOptions = endpoint("GET /orgs/:org/repos", {
- headers: {
- authorization: "token 0000000000000000000000000000000000000001"
- },
- org: "octokit",
- type: "private"
-});
-```
-
-The resulting `requestOptions` looks as follows
-
-```json
-{
- "method": "GET",
- "url": "https://api.github.com/orgs/octokit/repos?type=private",
- "headers": {
- "accept": "application/vnd.github.v3+json",
- "authorization": "token 0000000000000000000000000000000000000001",
- "user-agent": "octokit/endpoint.js v1.2.3"
- }
-}
-```
-
-You can pass `requestOptions` to commen request libraries
-
-```js
-const { url, ...options } = requestOptions;
-// using with fetch (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
-fetch(url, options);
-// using with request (https://github.com/request/request)
-request(requestOptions);
-// using with got (https://github.com/sindresorhus/got)
-got[options.method](url, options);
-// using with axios
-axios(requestOptions);
-```
-
-## API
-
-### `endpoint(route, options)` or `endpoint(options)`
-
-
-
-
- |
- name
- |
-
- type
- |
-
- description
- |
-
-
-
-
-
- route
- |
-
- String
- |
-
- If set, it has to be a string consisting of URL and the request method, e.g., GET /orgs/:org. If it’s set to a URL, only the method defaults to GET.
- |
-
-
-
- options.method
- |
-
- String
- |
-
- Required unless route is set. Any supported http verb. Defaults to GET.
- |
-
-
-
- options.url
- |
-
- String
- |
-
- Required unless route is set. A path or full URL which may contain :variable or {variable} placeholders,
- e.g., /orgs/:org/repos. The url is parsed using url-template.
- |
-
-
-
- options.baseUrl
- |
-
- String
- |
-
- Defaults to https://api.github.com.
- |
-
-
-
- options.headers
- |
-
- Object
- |
-
- Custom headers. Passed headers are merged with defaults:
- headers['user-agent'] defaults to octokit-endpoint.js/1.2.3 (where 1.2.3 is the released version).
- headers['accept'] defaults to application/vnd.github.v3+json.
- |
-
-
-
- options.mediaType.format
- |
-
- String
- |
-
- Media type param, such as raw, diff, or text+json. See Media Types. Setting options.mediaType.format will amend the headers.accept value.
- |
-
-
-
- options.mediaType.previews
- |
-
- Array of Strings
- |
-
- Name of previews, such as mercy, symmetra, or scarlet-witch. See API Previews. If options.mediaType.previews was set as default, the new previews will be merged into the default ones. Setting options.mediaType.previews will amend the headers.accept value. options.mediaType.previews will be merged with an existing array set using .defaults().
- |
-
-
-
- options.data
- |
-
- Any
- |
-
- Set request body directly instead of setting it to JSON based on additional parameters. See "The data parameter" below.
- |
-
-
-
- options.request
- |
-
- Object
- |
-
- Pass custom meta information for the request. The request object will be returned as is.
- |
-
-
-
-
-All other options will be passed depending on the `method` and `url` options.
-
-1. If the option key has a placeholder in the `url`, it will be used as the replacement. For example, if the passed options are `{url: '/orgs/:org/repos', org: 'foo'}` the returned `options.url` is `https://api.github.com/orgs/foo/repos`.
-2. If the `method` is `GET` or `HEAD`, the option is passed as a query parameter.
-3. Otherwise, the parameter is passed in the request body as a JSON key.
-
-**Result**
-
-`endpoint()` is a synchronous method and returns an object with the following keys:
-
-
-
-
- |
- key
- |
-
- type
- |
-
- description
- |
-
-
-
-
- method |
- String |
- The http method. Always lowercase. |
-
-
- url |
- String |
- The url with placeholders replaced with passed parameters. |
-
-
- headers |
- Object |
- All header names are lowercased. |
-
-
- body |
- Any |
- The request body if one is present. Only for PATCH, POST, PUT, DELETE requests. |
-
-
- request |
- Object |
- Request meta option, it will be returned as it was passed into endpoint() |
-
-
-
-
-### `endpoint.defaults()`
-
-Override or set default options. Example:
-
-```js
-const request = require("request");
-const myEndpoint = require("@octokit/endpoint").defaults({
- baseUrl: "https://github-enterprise.acme-inc.com/api/v3",
- headers: {
- "user-agent": "myApp/1.2.3",
- authorization: `token 0000000000000000000000000000000000000001`
- },
- org: "my-project",
- per_page: 100
-});
-
-request(myEndpoint(`GET /orgs/:org/repos`));
-```
-
-You can call `.defaults()` again on the returned method, the defaults will cascade.
-
-```js
-const myProjectEndpoint = endpoint.defaults({
- baseUrl: "https://github-enterprise.acme-inc.com/api/v3",
- headers: {
- "user-agent": "myApp/1.2.3"
- },
- org: "my-project"
-});
-const myProjectEndpointWithAuth = myProjectEndpoint.defaults({
- headers: {
- authorization: `token 0000000000000000000000000000000000000001`
- }
-});
-```
-
-`myProjectEndpointWithAuth` now defaults the `baseUrl`, `headers['user-agent']`,
-`org` and `headers['authorization']` on top of `headers['accept']` that is set
-by the global default.
-
-### `endpoint.DEFAULTS`
-
-The current default options.
-
-```js
-endpoint.DEFAULTS.baseUrl; // https://api.github.com
-const myEndpoint = endpoint.defaults({
- baseUrl: "https://github-enterprise.acme-inc.com/api/v3"
-});
-myEndpoint.DEFAULTS.baseUrl; // https://github-enterprise.acme-inc.com/api/v3
-```
-
-### `endpoint.merge(route, options)` or `endpoint.merge(options)`
-
-Get the defaulted endpoint options, but without parsing them into request options:
-
-```js
-const myProjectEndpoint = endpoint.defaults({
- baseUrl: "https://github-enterprise.acme-inc.com/api/v3",
- headers: {
- "user-agent": "myApp/1.2.3"
- },
- org: "my-project"
-});
-myProjectEndpoint.merge("GET /orgs/:org/repos", {
- headers: {
- authorization: `token 0000000000000000000000000000000000000001`
- },
- org: "my-secret-project",
- type: "private"
-});
-
-// {
-// baseUrl: 'https://github-enterprise.acme-inc.com/api/v3',
-// method: 'GET',
-// url: '/orgs/:org/repos',
-// headers: {
-// accept: 'application/vnd.github.v3+json',
-// authorization: `token 0000000000000000000000000000000000000001`,
-// 'user-agent': 'myApp/1.2.3'
-// },
-// org: 'my-secret-project',
-// type: 'private'
-// }
-```
-
-### `endpoint.parse()`
-
-Stateless method to turn endpoint options into request options. Calling
-`endpoint(options)` is the same as calling `endpoint.parse(endpoint.merge(options))`.
-
-## Special cases
-
-
-
-### The `data` parameter – set request body directly
-
-Some endpoints such as [Render a Markdown document in raw mode](https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode) don’t have parameters that are sent as request body keys, instead, the request body needs to be set directly. In these cases, set the `data` parameter.
-
-```js
-const options = endpoint("POST /markdown/raw", {
- data: "Hello world github/linguist#1 **cool**, and #1!",
- headers: {
- accept: "text/html;charset=utf-8",
- "content-type": "text/plain"
- }
-});
-
-// options is
-// {
-// method: 'post',
-// url: 'https://api.github.com/markdown/raw',
-// headers: {
-// accept: 'text/html;charset=utf-8',
-// 'content-type': 'text/plain',
-// 'user-agent': userAgent
-// },
-// body: 'Hello world github/linguist#1 **cool**, and #1!'
-// }
-```
-
-### Set parameters for both the URL/query and the request body
-
-There are API endpoints that accept both query parameters as well as a body. In that case, you need to add the query parameters as templates to `options.url`, as defined in the [RFC 6570 URI Template specification](https://tools.ietf.org/html/rfc6570).
-
-Example
-
-```js
-endpoint(
- "POST https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
- {
- name: "example.zip",
- label: "short description",
- headers: {
- "content-type": "text/plain",
- "content-length": 14,
- authorization: `token 0000000000000000000000000000000000000001`
- },
- data: "Hello, world!"
- }
-);
-```
-
-## LICENSE
-
-[MIT](LICENSE)
diff --git a/node_modules/@octokit/endpoint/dist-node/index.js b/node_modules/@octokit/endpoint/dist-node/index.js
deleted file mode 100644
index 127b9ac..0000000
--- a/node_modules/@octokit/endpoint/dist-node/index.js
+++ /dev/null
@@ -1,197 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
-
-var deepmerge = _interopDefault(require('deepmerge'));
-var isPlainObject = _interopDefault(require('is-plain-object'));
-var urlTemplate = _interopDefault(require('url-template'));
-var getUserAgent = _interopDefault(require('universal-user-agent'));
-
-function lowercaseKeys(object) {
- if (!object) {
- return {};
- }
-
- return Object.keys(object).reduce((newObj, key) => {
- newObj[key.toLowerCase()] = object[key];
- return newObj;
- }, {});
-}
-
-function merge(defaults, route, options) {
- if (typeof route === "string") {
- let [method, url] = route.split(" ");
- options = Object.assign(url ? {
- method,
- url
- } : {
- url: method
- }, options);
- } else {
- options = route || {};
- } // lowercase header names before merging with defaults to avoid duplicates
-
-
- options.headers = lowercaseKeys(options.headers);
- const mergedOptions = deepmerge.all([defaults, options].filter(Boolean), {
- isMergeableObject: isPlainObject
- }); // mediaType.previews arrays are merged, instead of overwritten
-
- if (defaults && defaults.mediaType.previews.length) {
- mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews);
- }
-
- mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, ""));
- return mergedOptions;
-}
-
-function addQueryParameters(url, parameters) {
- const separator = /\?/.test(url) ? "&" : "?";
- const names = Object.keys(parameters);
-
- if (names.length === 0) {
- return url;
- }
-
- return url + separator + names.map(name => {
- if (name === "q") {
- return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+");
- }
-
- return `${name}=${encodeURIComponent(parameters[name])}`;
- }).join("&");
-}
-
-const urlVariableRegex = /\{[^}]+\}/g;
-
-function removeNonChars(variableName) {
- return variableName.replace(/^\W+|\W+$/g, "").split(/,/);
-}
-
-function extractUrlVariableNames(url) {
- const matches = url.match(urlVariableRegex);
-
- if (!matches) {
- return [];
- }
-
- return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);
-}
-
-function omit(object, keysToOmit) {
- return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => {
- obj[key] = object[key];
- return obj;
- }, {});
-}
-
-function parse(options) {
- // https://fetch.spec.whatwg.org/#methods
- let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible
-
- let url = options.url.replace(/:([a-z]\w+)/g, "{+$1}");
- let headers = Object.assign({}, options.headers);
- let body;
- let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later
-
- const urlVariableNames = extractUrlVariableNames(url);
- url = urlTemplate.parse(url).expand(parameters);
-
- if (!/^http/.test(url)) {
- url = options.baseUrl + url;
- }
-
- const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl");
- const remainingParameters = omit(parameters, omittedParameters);
- const isBinaryRequset = /application\/octet-stream/i.test(headers.accept);
-
- if (!isBinaryRequset) {
- if (options.mediaType.format) {
- // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw
- headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(",");
- }
-
- if (options.mediaType.previews.length) {
- const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || [];
- headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => {
- const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
- return `application/vnd.github.${preview}-preview${format}`;
- }).join(",");
- }
- } // for GET/HEAD requests, set URL query parameters from remaining parameters
- // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters
-
-
- if (["GET", "HEAD"].includes(method)) {
- url = addQueryParameters(url, remainingParameters);
- } else {
- if ("data" in remainingParameters) {
- body = remainingParameters.data;
- } else {
- if (Object.keys(remainingParameters).length) {
- body = remainingParameters;
- } else {
- headers["content-length"] = 0;
- }
- }
- } // default content-type for JSON if body is set
-
-
- if (!headers["content-type"] && typeof body !== "undefined") {
- headers["content-type"] = "application/json; charset=utf-8";
- } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.
- // fetch does not allow to set `content-length` header, but we can set body to an empty string
-
-
- if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") {
- body = "";
- } // Only return body/request keys if present
-
-
- return Object.assign({
- method,
- url,
- headers
- }, typeof body !== "undefined" ? {
- body
- } : null, options.request ? {
- request: options.request
- } : null);
-}
-
-function endpointWithDefaults(defaults, route, options) {
- return parse(merge(defaults, route, options));
-}
-
-function withDefaults(oldDefaults, newDefaults) {
- const DEFAULTS = merge(oldDefaults, newDefaults);
- const endpoint = endpointWithDefaults.bind(null, DEFAULTS);
- return Object.assign(endpoint, {
- DEFAULTS,
- defaults: withDefaults.bind(null, DEFAULTS),
- merge: merge.bind(null, DEFAULTS),
- parse
- });
-}
-
-const VERSION = "0.0.0-development";
-
-const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;
-const DEFAULTS = {
- method: "GET",
- baseUrl: "https://api.github.com",
- headers: {
- accept: "application/vnd.github.v3+json",
- "user-agent": userAgent
- },
- mediaType: {
- format: "",
- previews: []
- }
-};
-
-const endpoint = withDefaults(null, DEFAULTS);
-
-exports.endpoint = endpoint;
diff --git a/node_modules/@octokit/endpoint/dist-src/defaults.js b/node_modules/@octokit/endpoint/dist-src/defaults.js
deleted file mode 100644
index 0fa09cc..0000000
--- a/node_modules/@octokit/endpoint/dist-src/defaults.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import getUserAgent from "universal-user-agent";
-import { VERSION } from "./version";
-const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;
-export const DEFAULTS = {
- method: "GET",
- baseUrl: "https://api.github.com",
- headers: {
- accept: "application/vnd.github.v3+json",
- "user-agent": userAgent
- },
- mediaType: {
- format: "",
- previews: []
- }
-};
diff --git a/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js b/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js
deleted file mode 100644
index 5763758..0000000
--- a/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import { merge } from "./merge";
-import { parse } from "./parse";
-export function endpointWithDefaults(defaults, route, options) {
- return parse(merge(defaults, route, options));
-}
diff --git a/node_modules/@octokit/endpoint/dist-src/generated/routes.js b/node_modules/@octokit/endpoint/dist-src/generated/routes.js
deleted file mode 100644
index e69de29..0000000
diff --git a/node_modules/@octokit/endpoint/dist-src/index.js b/node_modules/@octokit/endpoint/dist-src/index.js
deleted file mode 100644
index 599917f..0000000
--- a/node_modules/@octokit/endpoint/dist-src/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import { withDefaults } from "./with-defaults";
-import { DEFAULTS } from "./defaults";
-export const endpoint = withDefaults(null, DEFAULTS);
diff --git a/node_modules/@octokit/endpoint/dist-src/merge.js b/node_modules/@octokit/endpoint/dist-src/merge.js
deleted file mode 100644
index 8a4cfd8..0000000
--- a/node_modules/@octokit/endpoint/dist-src/merge.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import deepmerge from "deepmerge";
-import isPlainObject from "is-plain-object";
-import { lowercaseKeys } from "./util/lowercase-keys";
-export function merge(defaults, route, options) {
- if (typeof route === "string") {
- let [method, url] = route.split(" ");
- options = Object.assign(url ? { method, url } : { url: method }, options);
- }
- else {
- options = route || {};
- }
- // lowercase header names before merging with defaults to avoid duplicates
- options.headers = lowercaseKeys(options.headers);
- const mergedOptions = deepmerge.all([defaults, options].filter(Boolean), {
- isMergeableObject: isPlainObject
- });
- // mediaType.previews arrays are merged, instead of overwritten
- if (defaults && defaults.mediaType.previews.length) {
- mergedOptions.mediaType.previews = defaults.mediaType.previews
- .filter(preview => !mergedOptions.mediaType.previews.includes(preview))
- .concat(mergedOptions.mediaType.previews);
- }
- mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, ""));
- return mergedOptions;
-}
diff --git a/node_modules/@octokit/endpoint/dist-src/parse.js b/node_modules/@octokit/endpoint/dist-src/parse.js
deleted file mode 100644
index e83b521..0000000
--- a/node_modules/@octokit/endpoint/dist-src/parse.js
+++ /dev/null
@@ -1,81 +0,0 @@
-import urlTemplate from "url-template";
-import { addQueryParameters } from "./util/add-query-parameters";
-import { extractUrlVariableNames } from "./util/extract-url-variable-names";
-import { omit } from "./util/omit";
-export function parse(options) {
- // https://fetch.spec.whatwg.org/#methods
- let method = options.method.toUpperCase();
- // replace :varname with {varname} to make it RFC 6570 compatible
- let url = options.url.replace(/:([a-z]\w+)/g, "{+$1}");
- let headers = Object.assign({}, options.headers);
- let body;
- let parameters = omit(options, [
- "method",
- "baseUrl",
- "url",
- "headers",
- "request",
- "mediaType"
- ]);
- // extract variable names from URL to calculate remaining variables later
- const urlVariableNames = extractUrlVariableNames(url);
- url = urlTemplate.parse(url).expand(parameters);
- if (!/^http/.test(url)) {
- url = options.baseUrl + url;
- }
- const omittedParameters = Object.keys(options)
- .filter(option => urlVariableNames.includes(option))
- .concat("baseUrl");
- const remainingParameters = omit(parameters, omittedParameters);
- const isBinaryRequset = /application\/octet-stream/i.test(headers.accept);
- if (!isBinaryRequset) {
- if (options.mediaType.format) {
- // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw
- headers.accept = headers.accept
- .split(/,/)
- .map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`))
- .join(",");
- }
- if (options.mediaType.previews.length) {
- const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || [];
- headers.accept = previewsFromAcceptHeader
- .concat(options.mediaType.previews)
- .map(preview => {
- const format = options.mediaType.format
- ? `.${options.mediaType.format}`
- : "+json";
- return `application/vnd.github.${preview}-preview${format}`;
- })
- .join(",");
- }
- }
- // for GET/HEAD requests, set URL query parameters from remaining parameters
- // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters
- if (["GET", "HEAD"].includes(method)) {
- url = addQueryParameters(url, remainingParameters);
- }
- else {
- if ("data" in remainingParameters) {
- body = remainingParameters.data;
- }
- else {
- if (Object.keys(remainingParameters).length) {
- body = remainingParameters;
- }
- else {
- headers["content-length"] = 0;
- }
- }
- }
- // default content-type for JSON if body is set
- if (!headers["content-type"] && typeof body !== "undefined") {
- headers["content-type"] = "application/json; charset=utf-8";
- }
- // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.
- // fetch does not allow to set `content-length` header, but we can set body to an empty string
- if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") {
- body = "";
- }
- // Only return body/request keys if present
- return Object.assign({ method, url, headers }, typeof body !== "undefined" ? { body } : null, options.request ? { request: options.request } : null);
-}
diff --git a/node_modules/@octokit/endpoint/dist-src/types.js b/node_modules/@octokit/endpoint/dist-src/types.js
deleted file mode 100644
index e69de29..0000000
diff --git a/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js b/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js
deleted file mode 100644
index a78812f..0000000
--- a/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js
+++ /dev/null
@@ -1,21 +0,0 @@
-export function addQueryParameters(url, parameters) {
- const separator = /\?/.test(url) ? "&" : "?";
- const names = Object.keys(parameters);
- if (names.length === 0) {
- return url;
- }
- return (url +
- separator +
- names
- .map(name => {
- if (name === "q") {
- return ("q=" +
- parameters
- .q.split("+")
- .map(encodeURIComponent)
- .join("+"));
- }
- return `${name}=${encodeURIComponent(parameters[name])}`;
- })
- .join("&"));
-}
diff --git a/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js b/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js
deleted file mode 100644
index 3e75db2..0000000
--- a/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const urlVariableRegex = /\{[^}]+\}/g;
-function removeNonChars(variableName) {
- return variableName.replace(/^\W+|\W+$/g, "").split(/,/);
-}
-export function extractUrlVariableNames(url) {
- const matches = url.match(urlVariableRegex);
- if (!matches) {
- return [];
- }
- return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);
-}
diff --git a/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js b/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js
deleted file mode 100644
index 0780642..0000000
--- a/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js
+++ /dev/null
@@ -1,9 +0,0 @@
-export function lowercaseKeys(object) {
- if (!object) {
- return {};
- }
- return Object.keys(object).reduce((newObj, key) => {
- newObj[key.toLowerCase()] = object[key];
- return newObj;
- }, {});
-}
diff --git a/node_modules/@octokit/endpoint/dist-src/util/omit.js b/node_modules/@octokit/endpoint/dist-src/util/omit.js
deleted file mode 100644
index 7e1aa6b..0000000
--- a/node_modules/@octokit/endpoint/dist-src/util/omit.js
+++ /dev/null
@@ -1,8 +0,0 @@
-export function omit(object, keysToOmit) {
- return Object.keys(object)
- .filter(option => !keysToOmit.includes(option))
- .reduce((obj, key) => {
- obj[key] = object[key];
- return obj;
- }, {});
-}
diff --git a/node_modules/@octokit/endpoint/dist-src/version.js b/node_modules/@octokit/endpoint/dist-src/version.js
deleted file mode 100644
index 86383b1..0000000
--- a/node_modules/@octokit/endpoint/dist-src/version.js
+++ /dev/null
@@ -1 +0,0 @@
-export const VERSION = "0.0.0-development";
diff --git a/node_modules/@octokit/endpoint/dist-src/with-defaults.js b/node_modules/@octokit/endpoint/dist-src/with-defaults.js
deleted file mode 100644
index 9a1c886..0000000
--- a/node_modules/@octokit/endpoint/dist-src/with-defaults.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import { endpointWithDefaults } from "./endpoint-with-defaults";
-import { merge } from "./merge";
-import { parse } from "./parse";
-export function withDefaults(oldDefaults, newDefaults) {
- const DEFAULTS = merge(oldDefaults, newDefaults);
- const endpoint = endpointWithDefaults.bind(null, DEFAULTS);
- return Object.assign(endpoint, {
- DEFAULTS,
- defaults: withDefaults.bind(null, DEFAULTS),
- merge: merge.bind(null, DEFAULTS),
- parse
- });
-}
diff --git a/node_modules/@octokit/endpoint/dist-types/defaults.d.ts b/node_modules/@octokit/endpoint/dist-types/defaults.d.ts
deleted file mode 100644
index 7984bd2..0000000
--- a/node_modules/@octokit/endpoint/dist-types/defaults.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { Defaults } from "./types";
-export declare const DEFAULTS: Defaults;
diff --git a/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts b/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts
deleted file mode 100644
index 406b4cc..0000000
--- a/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { Defaults, Endpoint, RequestOptions, Route, Parameters } from "./types";
-export declare function endpointWithDefaults(defaults: Defaults, route: Route | Endpoint, options?: Parameters): RequestOptions;
diff --git a/node_modules/@octokit/endpoint/dist-types/generated/routes.d.ts b/node_modules/@octokit/endpoint/dist-types/generated/routes.d.ts
deleted file mode 100644
index dbbd82d..0000000
--- a/node_modules/@octokit/endpoint/dist-types/generated/routes.d.ts
+++ /dev/null
@@ -1,6745 +0,0 @@
-import { Url, Headers, EndpointRequestOptions } from "../types";
-export interface Routes {
- "GET /events": [ActivityListPublicEventsEndpoint, ActivityListPublicEventsRequestOptions];
- "GET /repos/:owner/:repo/events": [ActivityListRepoEventsEndpoint, ActivityListRepoEventsRequestOptions];
- "GET /networks/:owner/:repo/events": [ActivityListPublicEventsForRepoNetworkEndpoint, ActivityListPublicEventsForRepoNetworkRequestOptions];
- "GET /orgs/:org/events": [ActivityListPublicEventsForOrgEndpoint, ActivityListPublicEventsForOrgRequestOptions];
- "GET /users/:username/received_events": [ActivityListReceivedEventsForUserEndpoint, ActivityListReceivedEventsForUserRequestOptions];
- "GET /users/:username/received_events/public": [ActivityListReceivedPublicEventsForUserEndpoint, ActivityListReceivedPublicEventsForUserRequestOptions];
- "GET /users/:username/events": [ActivityListEventsForUserEndpoint, ActivityListEventsForUserRequestOptions];
- "GET /users/:username/events/public": [ActivityListPublicEventsForUserEndpoint, ActivityListPublicEventsForUserRequestOptions];
- "GET /users/:username/events/orgs/:org": [ActivityListEventsForOrgEndpoint, ActivityListEventsForOrgRequestOptions];
- "GET /feeds": [ActivityListFeedsEndpoint, ActivityListFeedsRequestOptions];
- "GET /notifications": [ActivityListNotificationsEndpoint, ActivityListNotificationsRequestOptions];
- "GET /repos/:owner/:repo/notifications": [ActivityListNotificationsForRepoEndpoint, ActivityListNotificationsForRepoRequestOptions];
- "PUT /notifications": [ActivityMarkAsReadEndpoint, ActivityMarkAsReadRequestOptions];
- "PUT /repos/:owner/:repo/notifications": [ActivityMarkNotificationsAsReadForRepoEndpoint, ActivityMarkNotificationsAsReadForRepoRequestOptions];
- "GET /notifications/threads/:thread_id": [ActivityGetThreadEndpoint, ActivityGetThreadRequestOptions];
- "PATCH /notifications/threads/:thread_id": [ActivityMarkThreadAsReadEndpoint, ActivityMarkThreadAsReadRequestOptions];
- "GET /notifications/threads/:thread_id/subscription": [ActivityGetThreadSubscriptionEndpoint, ActivityGetThreadSubscriptionRequestOptions];
- "PUT /notifications/threads/:thread_id/subscription": [ActivitySetThreadSubscriptionEndpoint, ActivitySetThreadSubscriptionRequestOptions];
- "DELETE /notifications/threads/:thread_id/subscription": [ActivityDeleteThreadSubscriptionEndpoint, ActivityDeleteThreadSubscriptionRequestOptions];
- "GET /repos/:owner/:repo/stargazers": [ActivityListStargazersForRepoEndpoint, ActivityListStargazersForRepoRequestOptions];
- "GET /users/:username/starred": [ActivityListReposStarredByUserEndpoint, ActivityListReposStarredByUserRequestOptions];
- "GET /user/starred": [ActivityListReposStarredByAuthenticatedUserEndpoint, ActivityListReposStarredByAuthenticatedUserRequestOptions];
- "GET /user/starred/:owner/:repo": [ActivityCheckStarringRepoEndpoint, ActivityCheckStarringRepoRequestOptions];
- "PUT /user/starred/:owner/:repo": [ActivityStarRepoEndpoint, ActivityStarRepoRequestOptions];
- "DELETE /user/starred/:owner/:repo": [ActivityUnstarRepoEndpoint, ActivityUnstarRepoRequestOptions];
- "GET /repos/:owner/:repo/subscribers": [ActivityListWatchersForRepoEndpoint, ActivityListWatchersForRepoRequestOptions];
- "GET /users/:username/subscriptions": [ActivityListReposWatchedByUserEndpoint, ActivityListReposWatchedByUserRequestOptions];
- "GET /user/subscriptions": [ActivityListWatchedReposForAuthenticatedUserEndpoint, ActivityListWatchedReposForAuthenticatedUserRequestOptions];
- "GET /repos/:owner/:repo/subscription": [ActivityGetRepoSubscriptionEndpoint, ActivityGetRepoSubscriptionRequestOptions];
- "PUT /repos/:owner/:repo/subscription": [ActivitySetRepoSubscriptionEndpoint, ActivitySetRepoSubscriptionRequestOptions];
- "DELETE /repos/:owner/:repo/subscription": [ActivityDeleteRepoSubscriptionEndpoint, ActivityDeleteRepoSubscriptionRequestOptions];
- "GET /user/subscriptions/:owner/:repo": [ActivityCheckWatchingRepoLegacyEndpoint, ActivityCheckWatchingRepoLegacyRequestOptions];
- "PUT /user/subscriptions/:owner/:repo": [ActivityWatchRepoLegacyEndpoint, ActivityWatchRepoLegacyRequestOptions];
- "DELETE /user/subscriptions/:owner/:repo": [ActivityStopWatchingRepoLegacyEndpoint, ActivityStopWatchingRepoLegacyRequestOptions];
- "GET /apps/:app_slug": [AppsGetBySlugEndpoint, AppsGetBySlugRequestOptions];
- "GET /app": [AppsGetAuthenticatedEndpoint, AppsGetAuthenticatedRequestOptions];
- "GET /app/installations": [AppsListInstallationsEndpoint, AppsListInstallationsRequestOptions];
- "GET /app/installations/:installation_id": [AppsGetInstallationEndpoint, AppsGetInstallationRequestOptions];
- "DELETE /app/installations/:installation_id": [AppsDeleteInstallationEndpoint, AppsDeleteInstallationRequestOptions];
- "POST /app/installations/:installation_id/access_tokens": [AppsCreateInstallationTokenEndpoint, AppsCreateInstallationTokenRequestOptions];
- "GET /orgs/:org/installation": [AppsGetOrgInstallationEndpoint | AppsFindOrgInstallationEndpoint, AppsGetOrgInstallationRequestOptions | AppsFindOrgInstallationRequestOptions];
- "GET /repos/:owner/:repo/installation": [AppsGetRepoInstallationEndpoint | AppsFindRepoInstallationEndpoint, AppsGetRepoInstallationRequestOptions | AppsFindRepoInstallationRequestOptions];
- "GET /users/:username/installation": [AppsGetUserInstallationEndpoint | AppsFindUserInstallationEndpoint, AppsGetUserInstallationRequestOptions | AppsFindUserInstallationRequestOptions];
- "POST /app-manifests/:code/conversions": [AppsCreateFromManifestEndpoint, AppsCreateFromManifestRequestOptions];
- "GET /installation/repositories": [AppsListReposEndpoint, AppsListReposRequestOptions];
- "GET /user/installations": [AppsListInstallationsForAuthenticatedUserEndpoint, AppsListInstallationsForAuthenticatedUserRequestOptions];
- "GET /user/installations/:installation_id/repositories": [AppsListInstallationReposForAuthenticatedUserEndpoint, AppsListInstallationReposForAuthenticatedUserRequestOptions];
- "PUT /user/installations/:installation_id/repositories/:repository_id": [AppsAddRepoToInstallationEndpoint, AppsAddRepoToInstallationRequestOptions];
- "DELETE /user/installations/:installation_id/repositories/:repository_id": [AppsRemoveRepoFromInstallationEndpoint, AppsRemoveRepoFromInstallationRequestOptions];
- "POST /content_references/:content_reference_id/attachments": [AppsCreateContentAttachmentEndpoint, AppsCreateContentAttachmentRequestOptions];
- "GET /marketplace_listing/plans": [AppsListPlansEndpoint, AppsListPlansRequestOptions];
- "GET /marketplace_listing/stubbed/plans": [AppsListPlansStubbedEndpoint, AppsListPlansStubbedRequestOptions];
- "GET /marketplace_listing/plans/:plan_id/accounts": [AppsListAccountsUserOrOrgOnPlanEndpoint, AppsListAccountsUserOrOrgOnPlanRequestOptions];
- "GET /marketplace_listing/stubbed/plans/:plan_id/accounts": [AppsListAccountsUserOrOrgOnPlanStubbedEndpoint, AppsListAccountsUserOrOrgOnPlanStubbedRequestOptions];
- "GET /marketplace_listing/accounts/:account_id": [AppsCheckAccountIsAssociatedWithAnyEndpoint, AppsCheckAccountIsAssociatedWithAnyRequestOptions];
- "GET /marketplace_listing/stubbed/accounts/:account_id": [AppsCheckAccountIsAssociatedWithAnyStubbedEndpoint, AppsCheckAccountIsAssociatedWithAnyStubbedRequestOptions];
- "GET /user/marketplace_purchases": [AppsListMarketplacePurchasesForAuthenticatedUserEndpoint, AppsListMarketplacePurchasesForAuthenticatedUserRequestOptions];
- "GET /user/marketplace_purchases/stubbed": [AppsListMarketplacePurchasesForAuthenticatedUserStubbedEndpoint, AppsListMarketplacePurchasesForAuthenticatedUserStubbedRequestOptions];
- "POST /repos/:owner/:repo/check-runs": [ChecksCreateEndpoint, ChecksCreateRequestOptions];
- "PATCH /repos/:owner/:repo/check-runs/:check_run_id": [ChecksUpdateEndpoint, ChecksUpdateRequestOptions];
- "GET /repos/:owner/:repo/commits/:ref/check-runs": [ChecksListForRefEndpoint, ChecksListForRefRequestOptions];
- "GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs": [ChecksListForSuiteEndpoint, ChecksListForSuiteRequestOptions];
- "GET /repos/:owner/:repo/check-runs/:check_run_id": [ChecksGetEndpoint, ChecksGetRequestOptions];
- "GET /repos/:owner/:repo/check-runs/:check_run_id/annotations": [ChecksListAnnotationsEndpoint, ChecksListAnnotationsRequestOptions];
- "GET /repos/:owner/:repo/check-suites/:check_suite_id": [ChecksGetSuiteEndpoint, ChecksGetSuiteRequestOptions];
- "GET /repos/:owner/:repo/commits/:ref/check-suites": [ChecksListSuitesForRefEndpoint, ChecksListSuitesForRefRequestOptions];
- "PATCH /repos/:owner/:repo/check-suites/preferences": [ChecksSetSuitesPreferencesEndpoint, ChecksSetSuitesPreferencesRequestOptions];
- "POST /repos/:owner/:repo/check-suites": [ChecksCreateSuiteEndpoint, ChecksCreateSuiteRequestOptions];
- "POST /repos/:owner/:repo/check-suites/:check_suite_id/rerequest": [ChecksRerequestSuiteEndpoint, ChecksRerequestSuiteRequestOptions];
- "GET /codes_of_conduct": [CodesOfConductListConductCodesEndpoint, CodesOfConductListConductCodesRequestOptions];
- "GET /codes_of_conduct/:key": [CodesOfConductGetConductCodeEndpoint, CodesOfConductGetConductCodeRequestOptions];
- "GET /repos/:owner/:repo/community/code_of_conduct": [CodesOfConductGetForRepoEndpoint, CodesOfConductGetForRepoRequestOptions];
- "GET /emojis": [EmojisGetEndpoint, EmojisGetRequestOptions];
- "GET /users/:username/gists": [GistsListPublicForUserEndpoint, GistsListPublicForUserRequestOptions];
- "GET /gists": [GistsListEndpoint, GistsListRequestOptions];
- "GET /gists/public": [GistsListPublicEndpoint, GistsListPublicRequestOptions];
- "GET /gists/starred": [GistsListStarredEndpoint, GistsListStarredRequestOptions];
- "GET /gists/:gist_id": [GistsGetEndpoint, GistsGetRequestOptions];
- "GET /gists/:gist_id/:sha": [GistsGetRevisionEndpoint, GistsGetRevisionRequestOptions];
- "POST /gists": [GistsCreateEndpoint, GistsCreateRequestOptions];
- "PATCH /gists/:gist_id": [GistsUpdateEndpoint, GistsUpdateRequestOptions];
- "GET /gists/:gist_id/commits": [GistsListCommitsEndpoint, GistsListCommitsRequestOptions];
- "PUT /gists/:gist_id/star": [GistsStarEndpoint, GistsStarRequestOptions];
- "DELETE /gists/:gist_id/star": [GistsUnstarEndpoint, GistsUnstarRequestOptions];
- "GET /gists/:gist_id/star": [GistsCheckIsStarredEndpoint, GistsCheckIsStarredRequestOptions];
- "POST /gists/:gist_id/forks": [GistsForkEndpoint, GistsForkRequestOptions];
- "GET /gists/:gist_id/forks": [GistsListForksEndpoint, GistsListForksRequestOptions];
- "DELETE /gists/:gist_id": [GistsDeleteEndpoint, GistsDeleteRequestOptions];
- "GET /gists/:gist_id/comments": [GistsListCommentsEndpoint, GistsListCommentsRequestOptions];
- "GET /gists/:gist_id/comments/:comment_id": [GistsGetCommentEndpoint, GistsGetCommentRequestOptions];
- "POST /gists/:gist_id/comments": [GistsCreateCommentEndpoint, GistsCreateCommentRequestOptions];
- "PATCH /gists/:gist_id/comments/:comment_id": [GistsUpdateCommentEndpoint, GistsUpdateCommentRequestOptions];
- "DELETE /gists/:gist_id/comments/:comment_id": [GistsDeleteCommentEndpoint, GistsDeleteCommentRequestOptions];
- "GET /repos/:owner/:repo/git/blobs/:file_sha": [GitGetBlobEndpoint, GitGetBlobRequestOptions];
- "POST /repos/:owner/:repo/git/blobs": [GitCreateBlobEndpoint, GitCreateBlobRequestOptions];
- "GET /repos/:owner/:repo/git/commits/:commit_sha": [GitGetCommitEndpoint, GitGetCommitRequestOptions];
- "POST /repos/:owner/:repo/git/commits": [GitCreateCommitEndpoint, GitCreateCommitRequestOptions];
- "GET /repos/:owner/:repo/git/refs/:ref": [GitGetRefEndpoint, GitGetRefRequestOptions];
- "GET /repos/:owner/:repo/git/refs/:namespace": [GitListRefsEndpoint, GitListRefsRequestOptions];
- "POST /repos/:owner/:repo/git/refs": [GitCreateRefEndpoint, GitCreateRefRequestOptions];
- "PATCH /repos/:owner/:repo/git/refs/:ref": [GitUpdateRefEndpoint, GitUpdateRefRequestOptions];
- "DELETE /repos/:owner/:repo/git/refs/:ref": [GitDeleteRefEndpoint, GitDeleteRefRequestOptions];
- "GET /repos/:owner/:repo/git/tags/:tag_sha": [GitGetTagEndpoint, GitGetTagRequestOptions];
- "POST /repos/:owner/:repo/git/tags": [GitCreateTagEndpoint, GitCreateTagRequestOptions];
- "GET /repos/:owner/:repo/git/trees/:tree_sha": [GitGetTreeEndpoint, GitGetTreeRequestOptions];
- "POST /repos/:owner/:repo/git/trees": [GitCreateTreeEndpoint, GitCreateTreeRequestOptions];
- "GET /gitignore/templates": [GitignoreListTemplatesEndpoint, GitignoreListTemplatesRequestOptions];
- "GET /gitignore/templates/:name": [GitignoreGetTemplateEndpoint, GitignoreGetTemplateRequestOptions];
- "GET /orgs/:org/interaction-limits": [InteractionsGetRestrictionsForOrgEndpoint, InteractionsGetRestrictionsForOrgRequestOptions];
- "PUT /orgs/:org/interaction-limits": [InteractionsAddOrUpdateRestrictionsForOrgEndpoint, InteractionsAddOrUpdateRestrictionsForOrgRequestOptions];
- "DELETE /orgs/:org/interaction-limits": [InteractionsRemoveRestrictionsForOrgEndpoint, InteractionsRemoveRestrictionsForOrgRequestOptions];
- "GET /repos/:owner/:repo/interaction-limits": [InteractionsGetRestrictionsForRepoEndpoint, InteractionsGetRestrictionsForRepoRequestOptions];
- "PUT /repos/:owner/:repo/interaction-limits": [InteractionsAddOrUpdateRestrictionsForRepoEndpoint, InteractionsAddOrUpdateRestrictionsForRepoRequestOptions];
- "DELETE /repos/:owner/:repo/interaction-limits": [InteractionsRemoveRestrictionsForRepoEndpoint, InteractionsRemoveRestrictionsForRepoRequestOptions];
- "GET /issues": [IssuesListEndpoint, IssuesListRequestOptions];
- "GET /user/issues": [IssuesListForAuthenticatedUserEndpoint, IssuesListForAuthenticatedUserRequestOptions];
- "GET /orgs/:org/issues": [IssuesListForOrgEndpoint, IssuesListForOrgRequestOptions];
- "GET /repos/:owner/:repo/issues": [IssuesListForRepoEndpoint, IssuesListForRepoRequestOptions];
- "GET /repos/:owner/:repo/issues/:issue_number": [IssuesGetEndpoint, IssuesGetRequestOptions];
- "POST /repos/:owner/:repo/issues": [IssuesCreateEndpoint, IssuesCreateRequestOptions];
- "PATCH /repos/:owner/:repo/issues/:issue_number": [IssuesUpdateEndpoint, IssuesUpdateRequestOptions];
- "PUT /repos/:owner/:repo/issues/:issue_number/lock": [IssuesLockEndpoint, IssuesLockRequestOptions];
- "DELETE /repos/:owner/:repo/issues/:issue_number/lock": [IssuesUnlockEndpoint, IssuesUnlockRequestOptions];
- "GET /repos/:owner/:repo/assignees": [IssuesListAssigneesEndpoint, IssuesListAssigneesRequestOptions];
- "GET /repos/:owner/:repo/assignees/:assignee": [IssuesCheckAssigneeEndpoint, IssuesCheckAssigneeRequestOptions];
- "POST /repos/:owner/:repo/issues/:issue_number/assignees": [IssuesAddAssigneesEndpoint, IssuesAddAssigneesRequestOptions];
- "DELETE /repos/:owner/:repo/issues/:issue_number/assignees": [IssuesRemoveAssigneesEndpoint, IssuesRemoveAssigneesRequestOptions];
- "GET /repos/:owner/:repo/issues/:issue_number/comments": [IssuesListCommentsEndpoint, IssuesListCommentsRequestOptions];
- "GET /repos/:owner/:repo/issues/comments": [IssuesListCommentsForRepoEndpoint, IssuesListCommentsForRepoRequestOptions];
- "GET /repos/:owner/:repo/issues/comments/:comment_id": [IssuesGetCommentEndpoint, IssuesGetCommentRequestOptions];
- "POST /repos/:owner/:repo/issues/:issue_number/comments": [IssuesCreateCommentEndpoint, IssuesCreateCommentRequestOptions];
- "PATCH /repos/:owner/:repo/issues/comments/:comment_id": [IssuesUpdateCommentEndpoint, IssuesUpdateCommentRequestOptions];
- "DELETE /repos/:owner/:repo/issues/comments/:comment_id": [IssuesDeleteCommentEndpoint, IssuesDeleteCommentRequestOptions];
- "GET /repos/:owner/:repo/issues/:issue_number/events": [IssuesListEventsEndpoint, IssuesListEventsRequestOptions];
- "GET /repos/:owner/:repo/issues/events": [IssuesListEventsForRepoEndpoint, IssuesListEventsForRepoRequestOptions];
- "GET /repos/:owner/:repo/issues/events/:event_id": [IssuesGetEventEndpoint, IssuesGetEventRequestOptions];
- "GET /repos/:owner/:repo/labels": [IssuesListLabelsForRepoEndpoint, IssuesListLabelsForRepoRequestOptions];
- "GET /repos/:owner/:repo/labels/:name": [IssuesGetLabelEndpoint, IssuesGetLabelRequestOptions];
- "POST /repos/:owner/:repo/labels": [IssuesCreateLabelEndpoint, IssuesCreateLabelRequestOptions];
- "PATCH /repos/:owner/:repo/labels/:current_name": [IssuesUpdateLabelEndpoint, IssuesUpdateLabelRequestOptions];
- "DELETE /repos/:owner/:repo/labels/:name": [IssuesDeleteLabelEndpoint, IssuesDeleteLabelRequestOptions];
- "GET /repos/:owner/:repo/issues/:issue_number/labels": [IssuesListLabelsOnIssueEndpoint, IssuesListLabelsOnIssueRequestOptions];
- "POST /repos/:owner/:repo/issues/:issue_number/labels": [IssuesAddLabelsEndpoint, IssuesAddLabelsRequestOptions];
- "DELETE /repos/:owner/:repo/issues/:issue_number/labels/:name": [IssuesRemoveLabelEndpoint, IssuesRemoveLabelRequestOptions];
- "PUT /repos/:owner/:repo/issues/:issue_number/labels": [IssuesReplaceLabelsEndpoint, IssuesReplaceLabelsRequestOptions];
- "DELETE /repos/:owner/:repo/issues/:issue_number/labels": [IssuesRemoveLabelsEndpoint, IssuesRemoveLabelsRequestOptions];
- "GET /repos/:owner/:repo/milestones/:milestone_number/labels": [IssuesListLabelsForMilestoneEndpoint, IssuesListLabelsForMilestoneRequestOptions];
- "GET /repos/:owner/:repo/milestones": [IssuesListMilestonesForRepoEndpoint, IssuesListMilestonesForRepoRequestOptions];
- "GET /repos/:owner/:repo/milestones/:milestone_number": [IssuesGetMilestoneEndpoint, IssuesGetMilestoneRequestOptions];
- "POST /repos/:owner/:repo/milestones": [IssuesCreateMilestoneEndpoint, IssuesCreateMilestoneRequestOptions];
- "PATCH /repos/:owner/:repo/milestones/:milestone_number": [IssuesUpdateMilestoneEndpoint, IssuesUpdateMilestoneRequestOptions];
- "DELETE /repos/:owner/:repo/milestones/:milestone_number": [IssuesDeleteMilestoneEndpoint, IssuesDeleteMilestoneRequestOptions];
- "GET /repos/:owner/:repo/issues/:issue_number/timeline": [IssuesListEventsForTimelineEndpoint, IssuesListEventsForTimelineRequestOptions];
- "GET /licenses": [LicensesListCommonlyUsedEndpoint | LicensesListEndpoint, LicensesListCommonlyUsedRequestOptions | LicensesListRequestOptions];
- "GET /licenses/:license": [LicensesGetEndpoint, LicensesGetRequestOptions];
- "GET /repos/:owner/:repo/license": [LicensesGetForRepoEndpoint, LicensesGetForRepoRequestOptions];
- "POST /markdown": [MarkdownRenderEndpoint, MarkdownRenderRequestOptions];
- "POST /markdown/raw": [MarkdownRenderRawEndpoint, MarkdownRenderRawRequestOptions];
- "GET /meta": [MetaGetEndpoint, MetaGetRequestOptions];
- "POST /orgs/:org/migrations": [MigrationsStartForOrgEndpoint, MigrationsStartForOrgRequestOptions];
- "GET /orgs/:org/migrations": [MigrationsListForOrgEndpoint, MigrationsListForOrgRequestOptions];
- "GET /orgs/:org/migrations/:migration_id": [MigrationsGetStatusForOrgEndpoint, MigrationsGetStatusForOrgRequestOptions];
- "GET /orgs/:org/migrations/:migration_id/archive": [MigrationsGetArchiveForOrgEndpoint, MigrationsGetArchiveForOrgRequestOptions];
- "DELETE /orgs/:org/migrations/:migration_id/archive": [MigrationsDeleteArchiveForOrgEndpoint, MigrationsDeleteArchiveForOrgRequestOptions];
- "DELETE /orgs/:org/migrations/:migration_id/repos/:repo_name/lock": [MigrationsUnlockRepoForOrgEndpoint, MigrationsUnlockRepoForOrgRequestOptions];
- "PUT /repos/:owner/:repo/import": [MigrationsStartImportEndpoint, MigrationsStartImportRequestOptions];
- "GET /repos/:owner/:repo/import": [MigrationsGetImportProgressEndpoint, MigrationsGetImportProgressRequestOptions];
- "PATCH /repos/:owner/:repo/import": [MigrationsUpdateImportEndpoint, MigrationsUpdateImportRequestOptions];
- "GET /repos/:owner/:repo/import/authors": [MigrationsGetCommitAuthorsEndpoint, MigrationsGetCommitAuthorsRequestOptions];
- "PATCH /repos/:owner/:repo/import/authors/:author_id": [MigrationsMapCommitAuthorEndpoint, MigrationsMapCommitAuthorRequestOptions];
- "PATCH /repos/:owner/:repo/import/lfs": [MigrationsSetLfsPreferenceEndpoint, MigrationsSetLfsPreferenceRequestOptions];
- "GET /repos/:owner/:repo/import/large_files": [MigrationsGetLargeFilesEndpoint, MigrationsGetLargeFilesRequestOptions];
- "DELETE /repos/:owner/:repo/import": [MigrationsCancelImportEndpoint, MigrationsCancelImportRequestOptions];
- "POST /user/migrations": [MigrationsStartForAuthenticatedUserEndpoint, MigrationsStartForAuthenticatedUserRequestOptions];
- "GET /user/migrations": [MigrationsListForAuthenticatedUserEndpoint, MigrationsListForAuthenticatedUserRequestOptions];
- "GET /user/migrations/:migration_id": [MigrationsGetStatusForAuthenticatedUserEndpoint, MigrationsGetStatusForAuthenticatedUserRequestOptions];
- "GET /user/migrations/:migration_id/archive": [MigrationsGetArchiveForAuthenticatedUserEndpoint, MigrationsGetArchiveForAuthenticatedUserRequestOptions];
- "DELETE /user/migrations/:migration_id/archive": [MigrationsDeleteArchiveForAuthenticatedUserEndpoint, MigrationsDeleteArchiveForAuthenticatedUserRequestOptions];
- "DELETE /user/migrations/:migration_id/repos/:repo_name/lock": [MigrationsUnlockRepoForAuthenticatedUserEndpoint, MigrationsUnlockRepoForAuthenticatedUserRequestOptions];
- "GET /applications/grants": [OauthAuthorizationsListGrantsEndpoint, OauthAuthorizationsListGrantsRequestOptions];
- "GET /applications/grants/:grant_id": [OauthAuthorizationsGetGrantEndpoint, OauthAuthorizationsGetGrantRequestOptions];
- "DELETE /applications/grants/:grant_id": [OauthAuthorizationsDeleteGrantEndpoint, OauthAuthorizationsDeleteGrantRequestOptions];
- "GET /authorizations": [OauthAuthorizationsListAuthorizationsEndpoint, OauthAuthorizationsListAuthorizationsRequestOptions];
- "GET /authorizations/:authorization_id": [OauthAuthorizationsGetAuthorizationEndpoint, OauthAuthorizationsGetAuthorizationRequestOptions];
- "POST /authorizations": [OauthAuthorizationsCreateAuthorizationEndpoint, OauthAuthorizationsCreateAuthorizationRequestOptions];
- "PUT /authorizations/clients/:client_id": [OauthAuthorizationsGetOrCreateAuthorizationForAppEndpoint, OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions];
- "PUT /authorizations/clients/:client_id/:fingerprint": [OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint | OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintEndpoint, OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions | OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintRequestOptions];
- "PATCH /authorizations/:authorization_id": [OauthAuthorizationsUpdateAuthorizationEndpoint, OauthAuthorizationsUpdateAuthorizationRequestOptions];
- "DELETE /authorizations/:authorization_id": [OauthAuthorizationsDeleteAuthorizationEndpoint, OauthAuthorizationsDeleteAuthorizationRequestOptions];
- "GET /applications/:client_id/tokens/:access_token": [OauthAuthorizationsCheckAuthorizationEndpoint, OauthAuthorizationsCheckAuthorizationRequestOptions];
- "POST /applications/:client_id/tokens/:access_token": [OauthAuthorizationsResetAuthorizationEndpoint, OauthAuthorizationsResetAuthorizationRequestOptions];
- "DELETE /applications/:client_id/tokens/:access_token": [OauthAuthorizationsRevokeAuthorizationForApplicationEndpoint, OauthAuthorizationsRevokeAuthorizationForApplicationRequestOptions];
- "DELETE /applications/:client_id/grants/:access_token": [OauthAuthorizationsRevokeGrantForApplicationEndpoint, OauthAuthorizationsRevokeGrantForApplicationRequestOptions];
- "GET /user/orgs": [OrgsListForAuthenticatedUserEndpoint, OrgsListForAuthenticatedUserRequestOptions];
- "GET /organizations": [OrgsListEndpoint, OrgsListRequestOptions];
- "GET /users/:username/orgs": [OrgsListForUserEndpoint, OrgsListForUserRequestOptions];
- "GET /orgs/:org": [OrgsGetEndpoint, OrgsGetRequestOptions];
- "PATCH /orgs/:org": [OrgsUpdateEndpoint, OrgsUpdateRequestOptions];
- "GET /orgs/:org/credential-authorizations": [OrgsListCredentialAuthorizationsEndpoint, OrgsListCredentialAuthorizationsRequestOptions];
- "DELETE /orgs/:org/credential-authorizations/:credential_id": [OrgsRemoveCredentialAuthorizationEndpoint, OrgsRemoveCredentialAuthorizationRequestOptions];
- "GET /orgs/:org/blocks": [OrgsListBlockedUsersEndpoint, OrgsListBlockedUsersRequestOptions];
- "GET /orgs/:org/blocks/:username": [OrgsCheckBlockedUserEndpoint, OrgsCheckBlockedUserRequestOptions];
- "PUT /orgs/:org/blocks/:username": [OrgsBlockUserEndpoint, OrgsBlockUserRequestOptions];
- "DELETE /orgs/:org/blocks/:username": [OrgsUnblockUserEndpoint, OrgsUnblockUserRequestOptions];
- "GET /orgs/:org/hooks": [OrgsListHooksEndpoint, OrgsListHooksRequestOptions];
- "GET /orgs/:org/hooks/:hook_id": [OrgsGetHookEndpoint, OrgsGetHookRequestOptions];
- "POST /orgs/:org/hooks": [OrgsCreateHookEndpoint, OrgsCreateHookRequestOptions];
- "PATCH /orgs/:org/hooks/:hook_id": [OrgsUpdateHookEndpoint, OrgsUpdateHookRequestOptions];
- "POST /orgs/:org/hooks/:hook_id/pings": [OrgsPingHookEndpoint, OrgsPingHookRequestOptions];
- "DELETE /orgs/:org/hooks/:hook_id": [OrgsDeleteHookEndpoint, OrgsDeleteHookRequestOptions];
- "GET /orgs/:org/members": [OrgsListMembersEndpoint, OrgsListMembersRequestOptions];
- "GET /orgs/:org/members/:username": [OrgsCheckMembershipEndpoint, OrgsCheckMembershipRequestOptions];
- "DELETE /orgs/:org/members/:username": [OrgsRemoveMemberEndpoint, OrgsRemoveMemberRequestOptions];
- "GET /orgs/:org/public_members": [OrgsListPublicMembersEndpoint, OrgsListPublicMembersRequestOptions];
- "GET /orgs/:org/public_members/:username": [OrgsCheckPublicMembershipEndpoint, OrgsCheckPublicMembershipRequestOptions];
- "PUT /orgs/:org/public_members/:username": [OrgsPublicizeMembershipEndpoint, OrgsPublicizeMembershipRequestOptions];
- "DELETE /orgs/:org/public_members/:username": [OrgsConcealMembershipEndpoint, OrgsConcealMembershipRequestOptions];
- "GET /orgs/:org/memberships/:username": [OrgsGetMembershipEndpoint, OrgsGetMembershipRequestOptions];
- "PUT /orgs/:org/memberships/:username": [OrgsAddOrUpdateMembershipEndpoint, OrgsAddOrUpdateMembershipRequestOptions];
- "DELETE /orgs/:org/memberships/:username": [OrgsRemoveMembershipEndpoint, OrgsRemoveMembershipRequestOptions];
- "GET /orgs/:org/invitations/:invitation_id/teams": [OrgsListInvitationTeamsEndpoint, OrgsListInvitationTeamsRequestOptions];
- "GET /orgs/:org/invitations": [OrgsListPendingInvitationsEndpoint, OrgsListPendingInvitationsRequestOptions];
- "POST /orgs/:org/invitations": [OrgsCreateInvitationEndpoint, OrgsCreateInvitationRequestOptions];
- "GET /user/memberships/orgs": [OrgsListMembershipsEndpoint, OrgsListMembershipsRequestOptions];
- "GET /user/memberships/orgs/:org": [OrgsGetMembershipForAuthenticatedUserEndpoint, OrgsGetMembershipForAuthenticatedUserRequestOptions];
- "PATCH /user/memberships/orgs/:org": [OrgsUpdateMembershipEndpoint, OrgsUpdateMembershipRequestOptions];
- "GET /orgs/:org/outside_collaborators": [OrgsListOutsideCollaboratorsEndpoint, OrgsListOutsideCollaboratorsRequestOptions];
- "DELETE /orgs/:org/outside_collaborators/:username": [OrgsRemoveOutsideCollaboratorEndpoint, OrgsRemoveOutsideCollaboratorRequestOptions];
- "PUT /orgs/:org/outside_collaborators/:username": [OrgsConvertMemberToOutsideCollaboratorEndpoint, OrgsConvertMemberToOutsideCollaboratorRequestOptions];
- "GET /repos/:owner/:repo/projects": [ProjectsListForRepoEndpoint, ProjectsListForRepoRequestOptions];
- "GET /orgs/:org/projects": [ProjectsListForOrgEndpoint, ProjectsListForOrgRequestOptions];
- "GET /users/:username/projects": [ProjectsListForUserEndpoint, ProjectsListForUserRequestOptions];
- "GET /projects/:project_id": [ProjectsGetEndpoint, ProjectsGetRequestOptions];
- "POST /repos/:owner/:repo/projects": [ProjectsCreateForRepoEndpoint, ProjectsCreateForRepoRequestOptions];
- "POST /orgs/:org/projects": [ProjectsCreateForOrgEndpoint, ProjectsCreateForOrgRequestOptions];
- "POST /user/projects": [ProjectsCreateForAuthenticatedUserEndpoint, ProjectsCreateForAuthenticatedUserRequestOptions];
- "PATCH /projects/:project_id": [ProjectsUpdateEndpoint, ProjectsUpdateRequestOptions];
- "DELETE /projects/:project_id": [ProjectsDeleteEndpoint, ProjectsDeleteRequestOptions];
- "GET /projects/columns/:column_id/cards": [ProjectsListCardsEndpoint, ProjectsListCardsRequestOptions];
- "GET /projects/columns/cards/:card_id": [ProjectsGetCardEndpoint, ProjectsGetCardRequestOptions];
- "POST /projects/columns/:column_id/cards": [ProjectsCreateCardEndpoint, ProjectsCreateCardRequestOptions];
- "PATCH /projects/columns/cards/:card_id": [ProjectsUpdateCardEndpoint, ProjectsUpdateCardRequestOptions];
- "DELETE /projects/columns/cards/:card_id": [ProjectsDeleteCardEndpoint, ProjectsDeleteCardRequestOptions];
- "POST /projects/columns/cards/:card_id/moves": [ProjectsMoveCardEndpoint, ProjectsMoveCardRequestOptions];
- "GET /projects/:project_id/collaborators": [ProjectsListCollaboratorsEndpoint, ProjectsListCollaboratorsRequestOptions];
- "GET /projects/:project_id/collaborators/:username/permission": [ProjectsReviewUserPermissionLevelEndpoint, ProjectsReviewUserPermissionLevelRequestOptions];
- "PUT /projects/:project_id/collaborators/:username": [ProjectsAddCollaboratorEndpoint, ProjectsAddCollaboratorRequestOptions];
- "DELETE /projects/:project_id/collaborators/:username": [ProjectsRemoveCollaboratorEndpoint, ProjectsRemoveCollaboratorRequestOptions];
- "GET /projects/:project_id/columns": [ProjectsListColumnsEndpoint, ProjectsListColumnsRequestOptions];
- "GET /projects/columns/:column_id": [ProjectsGetColumnEndpoint, ProjectsGetColumnRequestOptions];
- "POST /projects/:project_id/columns": [ProjectsCreateColumnEndpoint, ProjectsCreateColumnRequestOptions];
- "PATCH /projects/columns/:column_id": [ProjectsUpdateColumnEndpoint, ProjectsUpdateColumnRequestOptions];
- "DELETE /projects/columns/:column_id": [ProjectsDeleteColumnEndpoint, ProjectsDeleteColumnRequestOptions];
- "POST /projects/columns/:column_id/moves": [ProjectsMoveColumnEndpoint, ProjectsMoveColumnRequestOptions];
- "GET /repos/:owner/:repo/pulls": [PullsListEndpoint, PullsListRequestOptions];
- "GET /repos/:owner/:repo/pulls/:pull_number": [PullsGetEndpoint, PullsGetRequestOptions];
- "POST /repos/:owner/:repo/pulls": [PullsCreateEndpoint | PullsCreateFromIssueEndpoint, PullsCreateRequestOptions | PullsCreateFromIssueRequestOptions];
- "PUT /repos/:owner/:repo/pulls/:pull_number/update-branch": [PullsUpdateBranchEndpoint, PullsUpdateBranchRequestOptions];
- "PATCH /repos/:owner/:repo/pulls/:pull_number": [PullsUpdateEndpoint, PullsUpdateRequestOptions];
- "GET /repos/:owner/:repo/pulls/:pull_number/commits": [PullsListCommitsEndpoint, PullsListCommitsRequestOptions];
- "GET /repos/:owner/:repo/pulls/:pull_number/files": [PullsListFilesEndpoint, PullsListFilesRequestOptions];
- "GET /repos/:owner/:repo/pulls/:pull_number/merge": [PullsCheckIfMergedEndpoint, PullsCheckIfMergedRequestOptions];
- "PUT /repos/:owner/:repo/pulls/:pull_number/merge": [PullsMergeEndpoint, PullsMergeRequestOptions];
- "GET /repos/:owner/:repo/pulls/:pull_number/comments": [PullsListCommentsEndpoint, PullsListCommentsRequestOptions];
- "GET /repos/:owner/:repo/pulls/comments": [PullsListCommentsForRepoEndpoint, PullsListCommentsForRepoRequestOptions];
- "GET /repos/:owner/:repo/pulls/comments/:comment_id": [PullsGetCommentEndpoint, PullsGetCommentRequestOptions];
- "POST /repos/:owner/:repo/pulls/:pull_number/comments": [PullsCreateCommentEndpoint | PullsCreateCommentReplyEndpoint, PullsCreateCommentRequestOptions | PullsCreateCommentReplyRequestOptions];
- "PATCH /repos/:owner/:repo/pulls/comments/:comment_id": [PullsUpdateCommentEndpoint, PullsUpdateCommentRequestOptions];
- "DELETE /repos/:owner/:repo/pulls/comments/:comment_id": [PullsDeleteCommentEndpoint, PullsDeleteCommentRequestOptions];
- "GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": [PullsListReviewRequestsEndpoint, PullsListReviewRequestsRequestOptions];
- "POST /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": [PullsCreateReviewRequestEndpoint, PullsCreateReviewRequestRequestOptions];
- "DELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": [PullsDeleteReviewRequestEndpoint, PullsDeleteReviewRequestRequestOptions];
- "GET /repos/:owner/:repo/pulls/:pull_number/reviews": [PullsListReviewsEndpoint, PullsListReviewsRequestOptions];
- "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": [PullsGetReviewEndpoint, PullsGetReviewRequestOptions];
- "DELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": [PullsDeletePendingReviewEndpoint, PullsDeletePendingReviewRequestOptions];
- "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments": [PullsGetCommentsForReviewEndpoint, PullsGetCommentsForReviewRequestOptions];
- "POST /repos/:owner/:repo/pulls/:pull_number/reviews": [PullsCreateReviewEndpoint, PullsCreateReviewRequestOptions];
- "PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": [PullsUpdateReviewEndpoint, PullsUpdateReviewRequestOptions];
- "POST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events": [PullsSubmitReviewEndpoint, PullsSubmitReviewRequestOptions];
- "PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals": [PullsDismissReviewEndpoint, PullsDismissReviewRequestOptions];
- "GET /rate_limit": [RateLimitGetEndpoint, RateLimitGetRequestOptions];
- "GET /repos/:owner/:repo/comments/:comment_id/reactions": [ReactionsListForCommitCommentEndpoint, ReactionsListForCommitCommentRequestOptions];
- "POST /repos/:owner/:repo/comments/:comment_id/reactions": [ReactionsCreateForCommitCommentEndpoint, ReactionsCreateForCommitCommentRequestOptions];
- "GET /repos/:owner/:repo/issues/:issue_number/reactions": [ReactionsListForIssueEndpoint, ReactionsListForIssueRequestOptions];
- "POST /repos/:owner/:repo/issues/:issue_number/reactions": [ReactionsCreateForIssueEndpoint, ReactionsCreateForIssueRequestOptions];
- "GET /repos/:owner/:repo/issues/comments/:comment_id/reactions": [ReactionsListForIssueCommentEndpoint, ReactionsListForIssueCommentRequestOptions];
- "POST /repos/:owner/:repo/issues/comments/:comment_id/reactions": [ReactionsCreateForIssueCommentEndpoint, ReactionsCreateForIssueCommentRequestOptions];
- "GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions": [ReactionsListForPullRequestReviewCommentEndpoint, ReactionsListForPullRequestReviewCommentRequestOptions];
- "POST /repos/:owner/:repo/pulls/comments/:comment_id/reactions": [ReactionsCreateForPullRequestReviewCommentEndpoint, ReactionsCreateForPullRequestReviewCommentRequestOptions];
- "GET /teams/:team_id/discussions/:discussion_number/reactions": [ReactionsListForTeamDiscussionEndpoint, ReactionsListForTeamDiscussionRequestOptions];
- "POST /teams/:team_id/discussions/:discussion_number/reactions": [ReactionsCreateForTeamDiscussionEndpoint, ReactionsCreateForTeamDiscussionRequestOptions];
- "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": [ReactionsListForTeamDiscussionCommentEndpoint, ReactionsListForTeamDiscussionCommentRequestOptions];
- "POST /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": [ReactionsCreateForTeamDiscussionCommentEndpoint, ReactionsCreateForTeamDiscussionCommentRequestOptions];
- "DELETE /reactions/:reaction_id": [ReactionsDeleteEndpoint, ReactionsDeleteRequestOptions];
- "GET /user/repos": [ReposListEndpoint, ReposListRequestOptions];
- "GET /users/:username/repos": [ReposListForUserEndpoint, ReposListForUserRequestOptions];
- "GET /orgs/:org/repos": [ReposListForOrgEndpoint, ReposListForOrgRequestOptions];
- "GET /repositories": [ReposListPublicEndpoint, ReposListPublicRequestOptions];
- "POST /user/repos": [ReposCreateForAuthenticatedUserEndpoint, ReposCreateForAuthenticatedUserRequestOptions];
- "POST /orgs/:org/repos": [ReposCreateInOrgEndpoint, ReposCreateInOrgRequestOptions];
- "POST /repos/:template_owner/:template_repo/generate": [ReposCreateUsingTemplateEndpoint, ReposCreateUsingTemplateRequestOptions];
- "GET /repos/:owner/:repo": [ReposGetEndpoint, ReposGetRequestOptions];
- "PATCH /repos/:owner/:repo": [ReposUpdateEndpoint, ReposUpdateRequestOptions];
- "GET /repos/:owner/:repo/topics": [ReposListTopicsEndpoint, ReposListTopicsRequestOptions];
- "PUT /repos/:owner/:repo/topics": [ReposReplaceTopicsEndpoint, ReposReplaceTopicsRequestOptions];
- "GET /repos/:owner/:repo/vulnerability-alerts": [ReposCheckVulnerabilityAlertsEndpoint, ReposCheckVulnerabilityAlertsRequestOptions];
- "PUT /repos/:owner/:repo/vulnerability-alerts": [ReposEnableVulnerabilityAlertsEndpoint, ReposEnableVulnerabilityAlertsRequestOptions];
- "DELETE /repos/:owner/:repo/vulnerability-alerts": [ReposDisableVulnerabilityAlertsEndpoint, ReposDisableVulnerabilityAlertsRequestOptions];
- "PUT /repos/:owner/:repo/automated-security-fixes": [ReposEnableAutomatedSecurityFixesEndpoint, ReposEnableAutomatedSecurityFixesRequestOptions];
- "DELETE /repos/:owner/:repo/automated-security-fixes": [ReposDisableAutomatedSecurityFixesEndpoint, ReposDisableAutomatedSecurityFixesRequestOptions];
- "GET /repos/:owner/:repo/contributors": [ReposListContributorsEndpoint, ReposListContributorsRequestOptions];
- "GET /repos/:owner/:repo/languages": [ReposListLanguagesEndpoint, ReposListLanguagesRequestOptions];
- "GET /repos/:owner/:repo/teams": [ReposListTeamsEndpoint, ReposListTeamsRequestOptions];
- "GET /repos/:owner/:repo/tags": [ReposListTagsEndpoint, ReposListTagsRequestOptions];
- "DELETE /repos/:owner/:repo": [ReposDeleteEndpoint, ReposDeleteRequestOptions];
- "POST /repos/:owner/:repo/transfer": [ReposTransferEndpoint, ReposTransferRequestOptions];
- "GET /repos/:owner/:repo/branches": [ReposListBranchesEndpoint, ReposListBranchesRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch": [ReposGetBranchEndpoint, ReposGetBranchRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch/protection": [ReposGetBranchProtectionEndpoint, ReposGetBranchProtectionRequestOptions];
- "PUT /repos/:owner/:repo/branches/:branch/protection": [ReposUpdateBranchProtectionEndpoint, ReposUpdateBranchProtectionRequestOptions];
- "DELETE /repos/:owner/:repo/branches/:branch/protection": [ReposRemoveBranchProtectionEndpoint, ReposRemoveBranchProtectionRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks": [ReposGetProtectedBranchRequiredStatusChecksEndpoint, ReposGetProtectedBranchRequiredStatusChecksRequestOptions];
- "PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks": [ReposUpdateProtectedBranchRequiredStatusChecksEndpoint, ReposUpdateProtectedBranchRequiredStatusChecksRequestOptions];
- "DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks": [ReposRemoveProtectedBranchRequiredStatusChecksEndpoint, ReposRemoveProtectedBranchRequiredStatusChecksRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": [ReposListProtectedBranchRequiredStatusChecksContextsEndpoint, ReposListProtectedBranchRequiredStatusChecksContextsRequestOptions];
- "PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": [ReposReplaceProtectedBranchRequiredStatusChecksContextsEndpoint, ReposReplaceProtectedBranchRequiredStatusChecksContextsRequestOptions];
- "POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": [ReposAddProtectedBranchRequiredStatusChecksContextsEndpoint, ReposAddProtectedBranchRequiredStatusChecksContextsRequestOptions];
- "DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": [ReposRemoveProtectedBranchRequiredStatusChecksContextsEndpoint, ReposRemoveProtectedBranchRequiredStatusChecksContextsRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": [ReposGetProtectedBranchPullRequestReviewEnforcementEndpoint, ReposGetProtectedBranchPullRequestReviewEnforcementRequestOptions];
- "PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": [ReposUpdateProtectedBranchPullRequestReviewEnforcementEndpoint, ReposUpdateProtectedBranchPullRequestReviewEnforcementRequestOptions];
- "DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": [ReposRemoveProtectedBranchPullRequestReviewEnforcementEndpoint, ReposRemoveProtectedBranchPullRequestReviewEnforcementRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch/protection/required_signatures": [ReposGetProtectedBranchRequiredSignaturesEndpoint, ReposGetProtectedBranchRequiredSignaturesRequestOptions];
- "POST /repos/:owner/:repo/branches/:branch/protection/required_signatures": [ReposAddProtectedBranchRequiredSignaturesEndpoint, ReposAddProtectedBranchRequiredSignaturesRequestOptions];
- "DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures": [ReposRemoveProtectedBranchRequiredSignaturesEndpoint, ReposRemoveProtectedBranchRequiredSignaturesRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins": [ReposGetProtectedBranchAdminEnforcementEndpoint, ReposGetProtectedBranchAdminEnforcementRequestOptions];
- "POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins": [ReposAddProtectedBranchAdminEnforcementEndpoint, ReposAddProtectedBranchAdminEnforcementRequestOptions];
- "DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins": [ReposRemoveProtectedBranchAdminEnforcementEndpoint, ReposRemoveProtectedBranchAdminEnforcementRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch/protection/restrictions": [ReposGetProtectedBranchRestrictionsEndpoint, ReposGetProtectedBranchRestrictionsRequestOptions];
- "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions": [ReposRemoveProtectedBranchRestrictionsEndpoint, ReposRemoveProtectedBranchRestrictionsRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": [ReposListProtectedBranchTeamRestrictionsEndpoint, ReposListProtectedBranchTeamRestrictionsRequestOptions];
- "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": [ReposReplaceProtectedBranchTeamRestrictionsEndpoint, ReposReplaceProtectedBranchTeamRestrictionsRequestOptions];
- "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": [ReposAddProtectedBranchTeamRestrictionsEndpoint, ReposAddProtectedBranchTeamRestrictionsRequestOptions];
- "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": [ReposRemoveProtectedBranchTeamRestrictionsEndpoint, ReposRemoveProtectedBranchTeamRestrictionsRequestOptions];
- "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users": [ReposListProtectedBranchUserRestrictionsEndpoint, ReposListProtectedBranchUserRestrictionsRequestOptions];
- "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users": [ReposReplaceProtectedBranchUserRestrictionsEndpoint, ReposReplaceProtectedBranchUserRestrictionsRequestOptions];
- "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users": [ReposAddProtectedBranchUserRestrictionsEndpoint, ReposAddProtectedBranchUserRestrictionsRequestOptions];
- "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users": [ReposRemoveProtectedBranchUserRestrictionsEndpoint, ReposRemoveProtectedBranchUserRestrictionsRequestOptions];
- "GET /repos/:owner/:repo/collaborators": [ReposListCollaboratorsEndpoint, ReposListCollaboratorsRequestOptions];
- "GET /repos/:owner/:repo/collaborators/:username": [ReposCheckCollaboratorEndpoint, ReposCheckCollaboratorRequestOptions];
- "GET /repos/:owner/:repo/collaborators/:username/permission": [ReposGetCollaboratorPermissionLevelEndpoint, ReposGetCollaboratorPermissionLevelRequestOptions];
- "PUT /repos/:owner/:repo/collaborators/:username": [ReposAddCollaboratorEndpoint, ReposAddCollaboratorRequestOptions];
- "DELETE /repos/:owner/:repo/collaborators/:username": [ReposRemoveCollaboratorEndpoint, ReposRemoveCollaboratorRequestOptions];
- "GET /repos/:owner/:repo/comments": [ReposListCommitCommentsEndpoint, ReposListCommitCommentsRequestOptions];
- "GET /repos/:owner/:repo/commits/:commit_sha/comments": [ReposListCommentsForCommitEndpoint, ReposListCommentsForCommitRequestOptions];
- "POST /repos/:owner/:repo/commits/:commit_sha/comments": [ReposCreateCommitCommentEndpoint, ReposCreateCommitCommentRequestOptions];
- "GET /repos/:owner/:repo/comments/:comment_id": [ReposGetCommitCommentEndpoint, ReposGetCommitCommentRequestOptions];
- "PATCH /repos/:owner/:repo/comments/:comment_id": [ReposUpdateCommitCommentEndpoint, ReposUpdateCommitCommentRequestOptions];
- "DELETE /repos/:owner/:repo/comments/:comment_id": [ReposDeleteCommitCommentEndpoint, ReposDeleteCommitCommentRequestOptions];
- "GET /repos/:owner/:repo/commits": [ReposListCommitsEndpoint, ReposListCommitsRequestOptions];
- "GET /repos/:owner/:repo/commits/:ref": [ReposGetCommitEndpoint | ReposGetCommitRefShaEndpoint, ReposGetCommitRequestOptions | ReposGetCommitRefShaRequestOptions];
- "GET /repos/:owner/:repo/compare/:base...:head": [ReposCompareCommitsEndpoint, ReposCompareCommitsRequestOptions];
- "GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head": [ReposListBranchesForHeadCommitEndpoint, ReposListBranchesForHeadCommitRequestOptions];
- "GET /repos/:owner/:repo/commits/:commit_sha/pulls": [ReposListPullRequestsAssociatedWithCommitEndpoint, ReposListPullRequestsAssociatedWithCommitRequestOptions];
- "GET /repos/:owner/:repo/community/profile": [ReposRetrieveCommunityProfileMetricsEndpoint, ReposRetrieveCommunityProfileMetricsRequestOptions];
- "GET /repos/:owner/:repo/readme": [ReposGetReadmeEndpoint, ReposGetReadmeRequestOptions];
- "GET /repos/:owner/:repo/contents/:path": [ReposGetContentsEndpoint, ReposGetContentsRequestOptions];
- "PUT /repos/:owner/:repo/contents/:path": [ReposCreateOrUpdateFileEndpoint | ReposCreateFileEndpoint | ReposUpdateFileEndpoint, ReposCreateOrUpdateFileRequestOptions | ReposCreateFileRequestOptions | ReposUpdateFileRequestOptions];
- "DELETE /repos/:owner/:repo/contents/:path": [ReposDeleteFileEndpoint, ReposDeleteFileRequestOptions];
- "GET /repos/:owner/:repo/:archive_format/:ref": [ReposGetArchiveLinkEndpoint, ReposGetArchiveLinkRequestOptions];
- "GET /repos/:owner/:repo/deployments": [ReposListDeploymentsEndpoint, ReposListDeploymentsRequestOptions];
- "GET /repos/:owner/:repo/deployments/:deployment_id": [ReposGetDeploymentEndpoint, ReposGetDeploymentRequestOptions];
- "POST /repos/:owner/:repo/deployments": [ReposCreateDeploymentEndpoint, ReposCreateDeploymentRequestOptions];
- "GET /repos/:owner/:repo/deployments/:deployment_id/statuses": [ReposListDeploymentStatusesEndpoint, ReposListDeploymentStatusesRequestOptions];
- "GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id": [ReposGetDeploymentStatusEndpoint, ReposGetDeploymentStatusRequestOptions];
- "POST /repos/:owner/:repo/deployments/:deployment_id/statuses": [ReposCreateDeploymentStatusEndpoint, ReposCreateDeploymentStatusRequestOptions];
- "GET /repos/:owner/:repo/downloads": [ReposListDownloadsEndpoint, ReposListDownloadsRequestOptions];
- "GET /repos/:owner/:repo/downloads/:download_id": [ReposGetDownloadEndpoint, ReposGetDownloadRequestOptions];
- "DELETE /repos/:owner/:repo/downloads/:download_id": [ReposDeleteDownloadEndpoint, ReposDeleteDownloadRequestOptions];
- "GET /repos/:owner/:repo/forks": [ReposListForksEndpoint, ReposListForksRequestOptions];
- "POST /repos/:owner/:repo/forks": [ReposCreateForkEndpoint, ReposCreateForkRequestOptions];
- "GET /repos/:owner/:repo/hooks": [ReposListHooksEndpoint, ReposListHooksRequestOptions];
- "GET /repos/:owner/:repo/hooks/:hook_id": [ReposGetHookEndpoint, ReposGetHookRequestOptions];
- "POST /repos/:owner/:repo/hooks": [ReposCreateHookEndpoint, ReposCreateHookRequestOptions];
- "PATCH /repos/:owner/:repo/hooks/:hook_id": [ReposUpdateHookEndpoint, ReposUpdateHookRequestOptions];
- "POST /repos/:owner/:repo/hooks/:hook_id/tests": [ReposTestPushHookEndpoint, ReposTestPushHookRequestOptions];
- "POST /repos/:owner/:repo/hooks/:hook_id/pings": [ReposPingHookEndpoint, ReposPingHookRequestOptions];
- "DELETE /repos/:owner/:repo/hooks/:hook_id": [ReposDeleteHookEndpoint, ReposDeleteHookRequestOptions];
- "GET /repos/:owner/:repo/invitations": [ReposListInvitationsEndpoint, ReposListInvitationsRequestOptions];
- "DELETE /repos/:owner/:repo/invitations/:invitation_id": [ReposDeleteInvitationEndpoint, ReposDeleteInvitationRequestOptions];
- "PATCH /repos/:owner/:repo/invitations/:invitation_id": [ReposUpdateInvitationEndpoint, ReposUpdateInvitationRequestOptions];
- "GET /user/repository_invitations": [ReposListInvitationsForAuthenticatedUserEndpoint, ReposListInvitationsForAuthenticatedUserRequestOptions];
- "PATCH /user/repository_invitations/:invitation_id": [ReposAcceptInvitationEndpoint, ReposAcceptInvitationRequestOptions];
- "DELETE /user/repository_invitations/:invitation_id": [ReposDeclineInvitationEndpoint, ReposDeclineInvitationRequestOptions];
- "GET /repos/:owner/:repo/keys": [ReposListDeployKeysEndpoint, ReposListDeployKeysRequestOptions];
- "GET /repos/:owner/:repo/keys/:key_id": [ReposGetDeployKeyEndpoint, ReposGetDeployKeyRequestOptions];
- "POST /repos/:owner/:repo/keys": [ReposAddDeployKeyEndpoint, ReposAddDeployKeyRequestOptions];
- "DELETE /repos/:owner/:repo/keys/:key_id": [ReposRemoveDeployKeyEndpoint, ReposRemoveDeployKeyRequestOptions];
- "POST /repos/:owner/:repo/merges": [ReposMergeEndpoint, ReposMergeRequestOptions];
- "GET /repos/:owner/:repo/pages": [ReposGetPagesEndpoint, ReposGetPagesRequestOptions];
- "POST /repos/:owner/:repo/pages": [ReposEnablePagesSiteEndpoint, ReposEnablePagesSiteRequestOptions];
- "DELETE /repos/:owner/:repo/pages": [ReposDisablePagesSiteEndpoint, ReposDisablePagesSiteRequestOptions];
- "PUT /repos/:owner/:repo/pages": [ReposUpdateInformationAboutPagesSiteEndpoint, ReposUpdateInformationAboutPagesSiteRequestOptions];
- "POST /repos/:owner/:repo/pages/builds": [ReposRequestPageBuildEndpoint, ReposRequestPageBuildRequestOptions];
- "GET /repos/:owner/:repo/pages/builds": [ReposListPagesBuildsEndpoint, ReposListPagesBuildsRequestOptions];
- "GET /repos/:owner/:repo/pages/builds/latest": [ReposGetLatestPagesBuildEndpoint, ReposGetLatestPagesBuildRequestOptions];
- "GET /repos/:owner/:repo/pages/builds/:build_id": [ReposGetPagesBuildEndpoint, ReposGetPagesBuildRequestOptions];
- "GET /repos/:owner/:repo/releases": [ReposListReleasesEndpoint, ReposListReleasesRequestOptions];
- "GET /repos/:owner/:repo/releases/:release_id": [ReposGetReleaseEndpoint, ReposGetReleaseRequestOptions];
- "GET /repos/:owner/:repo/releases/latest": [ReposGetLatestReleaseEndpoint, ReposGetLatestReleaseRequestOptions];
- "GET /repos/:owner/:repo/releases/tags/:tag": [ReposGetReleaseByTagEndpoint, ReposGetReleaseByTagRequestOptions];
- "POST /repos/:owner/:repo/releases": [ReposCreateReleaseEndpoint, ReposCreateReleaseRequestOptions];
- "PATCH /repos/:owner/:repo/releases/:release_id": [ReposUpdateReleaseEndpoint, ReposUpdateReleaseRequestOptions];
- "DELETE /repos/:owner/:repo/releases/:release_id": [ReposDeleteReleaseEndpoint, ReposDeleteReleaseRequestOptions];
- "GET /repos/:owner/:repo/releases/:release_id/assets": [ReposListAssetsForReleaseEndpoint, ReposListAssetsForReleaseRequestOptions];
- "POST :url": [ReposUploadReleaseAssetEndpoint, ReposUploadReleaseAssetRequestOptions];
- "GET /repos/:owner/:repo/releases/assets/:asset_id": [ReposGetReleaseAssetEndpoint, ReposGetReleaseAssetRequestOptions];
- "PATCH /repos/:owner/:repo/releases/assets/:asset_id": [ReposUpdateReleaseAssetEndpoint, ReposUpdateReleaseAssetRequestOptions];
- "DELETE /repos/:owner/:repo/releases/assets/:asset_id": [ReposDeleteReleaseAssetEndpoint, ReposDeleteReleaseAssetRequestOptions];
- "GET /repos/:owner/:repo/stats/contributors": [ReposGetContributorsStatsEndpoint, ReposGetContributorsStatsRequestOptions];
- "GET /repos/:owner/:repo/stats/commit_activity": [ReposGetCommitActivityStatsEndpoint, ReposGetCommitActivityStatsRequestOptions];
- "GET /repos/:owner/:repo/stats/code_frequency": [ReposGetCodeFrequencyStatsEndpoint, ReposGetCodeFrequencyStatsRequestOptions];
- "GET /repos/:owner/:repo/stats/participation": [ReposGetParticipationStatsEndpoint, ReposGetParticipationStatsRequestOptions];
- "GET /repos/:owner/:repo/stats/punch_card": [ReposGetPunchCardStatsEndpoint, ReposGetPunchCardStatsRequestOptions];
- "POST /repos/:owner/:repo/statuses/:sha": [ReposCreateStatusEndpoint, ReposCreateStatusRequestOptions];
- "GET /repos/:owner/:repo/commits/:ref/statuses": [ReposListStatusesForRefEndpoint, ReposListStatusesForRefRequestOptions];
- "GET /repos/:owner/:repo/commits/:ref/status": [ReposGetCombinedStatusForRefEndpoint, ReposGetCombinedStatusForRefRequestOptions];
- "GET /repos/:owner/:repo/traffic/popular/referrers": [ReposGetTopReferrersEndpoint, ReposGetTopReferrersRequestOptions];
- "GET /repos/:owner/:repo/traffic/popular/paths": [ReposGetTopPathsEndpoint, ReposGetTopPathsRequestOptions];
- "GET /repos/:owner/:repo/traffic/views": [ReposGetViewsEndpoint, ReposGetViewsRequestOptions];
- "GET /repos/:owner/:repo/traffic/clones": [ReposGetClonesEndpoint, ReposGetClonesRequestOptions];
- "GET /scim/v2/organizations/:org/Users": [ScimListProvisionedIdentitiesEndpoint, ScimListProvisionedIdentitiesRequestOptions];
- "GET /scim/v2/organizations/:org/Users/:scim_user_id": [ScimGetProvisioningDetailsForUserEndpoint, ScimGetProvisioningDetailsForUserRequestOptions];
- "POST /scim/v2/organizations/:org/Users": [ScimProvisionAndInviteUsersEndpoint | ScimProvisionInviteUsersEndpoint, ScimProvisionAndInviteUsersRequestOptions | ScimProvisionInviteUsersRequestOptions];
- "PUT /scim/v2/organizations/:org/Users/:scim_user_id": [ScimReplaceProvisionedUserInformationEndpoint | ScimUpdateProvisionedOrgMembershipEndpoint, ScimReplaceProvisionedUserInformationRequestOptions | ScimUpdateProvisionedOrgMembershipRequestOptions];
- "PATCH /scim/v2/organizations/:org/Users/:scim_user_id": [ScimUpdateUserAttributeEndpoint, ScimUpdateUserAttributeRequestOptions];
- "DELETE /scim/v2/organizations/:org/Users/:scim_user_id": [ScimRemoveUserFromOrgEndpoint, ScimRemoveUserFromOrgRequestOptions];
- "GET /search/repositories": [SearchReposEndpoint, SearchReposRequestOptions];
- "GET /search/commits": [SearchCommitsEndpoint, SearchCommitsRequestOptions];
- "GET /search/code": [SearchCodeEndpoint, SearchCodeRequestOptions];
- "GET /search/issues": [SearchIssuesAndPullRequestsEndpoint | SearchIssuesEndpoint, SearchIssuesAndPullRequestsRequestOptions | SearchIssuesRequestOptions];
- "GET /search/users": [SearchUsersEndpoint, SearchUsersRequestOptions];
- "GET /search/topics": [SearchTopicsEndpoint, SearchTopicsRequestOptions];
- "GET /search/labels": [SearchLabelsEndpoint, SearchLabelsRequestOptions];
- "GET /legacy/issues/search/:owner/:repository/:state/:keyword": [SearchIssuesLegacyEndpoint, SearchIssuesLegacyRequestOptions];
- "GET /legacy/repos/search/:keyword": [SearchReposLegacyEndpoint, SearchReposLegacyRequestOptions];
- "GET /legacy/user/search/:keyword": [SearchUsersLegacyEndpoint, SearchUsersLegacyRequestOptions];
- "GET /legacy/user/email/:email": [SearchEmailLegacyEndpoint, SearchEmailLegacyRequestOptions];
- "GET /orgs/:org/teams": [TeamsListEndpoint, TeamsListRequestOptions];
- "GET /teams/:team_id": [TeamsGetEndpoint, TeamsGetRequestOptions];
- "GET /orgs/:org/teams/:team_slug": [TeamsGetByNameEndpoint, TeamsGetByNameRequestOptions];
- "POST /orgs/:org/teams": [TeamsCreateEndpoint, TeamsCreateRequestOptions];
- "PATCH /teams/:team_id": [TeamsUpdateEndpoint, TeamsUpdateRequestOptions];
- "DELETE /teams/:team_id": [TeamsDeleteEndpoint, TeamsDeleteRequestOptions];
- "GET /teams/:team_id/teams": [TeamsListChildEndpoint, TeamsListChildRequestOptions];
- "GET /teams/:team_id/repos": [TeamsListReposEndpoint, TeamsListReposRequestOptions];
- "GET /teams/:team_id/repos/:owner/:repo": [TeamsCheckManagesRepoEndpoint, TeamsCheckManagesRepoRequestOptions];
- "PUT /teams/:team_id/repos/:owner/:repo": [TeamsAddOrUpdateRepoEndpoint, TeamsAddOrUpdateRepoRequestOptions];
- "DELETE /teams/:team_id/repos/:owner/:repo": [TeamsRemoveRepoEndpoint, TeamsRemoveRepoRequestOptions];
- "GET /user/teams": [TeamsListForAuthenticatedUserEndpoint, TeamsListForAuthenticatedUserRequestOptions];
- "GET /teams/:team_id/projects": [TeamsListProjectsEndpoint, TeamsListProjectsRequestOptions];
- "GET /teams/:team_id/projects/:project_id": [TeamsReviewProjectEndpoint, TeamsReviewProjectRequestOptions];
- "PUT /teams/:team_id/projects/:project_id": [TeamsAddOrUpdateProjectEndpoint, TeamsAddOrUpdateProjectRequestOptions];
- "DELETE /teams/:team_id/projects/:project_id": [TeamsRemoveProjectEndpoint, TeamsRemoveProjectRequestOptions];
- "GET /teams/:team_id/discussions/:discussion_number/comments": [TeamsListDiscussionCommentsEndpoint, TeamsListDiscussionCommentsRequestOptions];
- "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number": [TeamsGetDiscussionCommentEndpoint, TeamsGetDiscussionCommentRequestOptions];
- "POST /teams/:team_id/discussions/:discussion_number/comments": [TeamsCreateDiscussionCommentEndpoint, TeamsCreateDiscussionCommentRequestOptions];
- "PATCH /teams/:team_id/discussions/:discussion_number/comments/:comment_number": [TeamsUpdateDiscussionCommentEndpoint, TeamsUpdateDiscussionCommentRequestOptions];
- "DELETE /teams/:team_id/discussions/:discussion_number/comments/:comment_number": [TeamsDeleteDiscussionCommentEndpoint, TeamsDeleteDiscussionCommentRequestOptions];
- "GET /teams/:team_id/discussions": [TeamsListDiscussionsEndpoint, TeamsListDiscussionsRequestOptions];
- "GET /teams/:team_id/discussions/:discussion_number": [TeamsGetDiscussionEndpoint, TeamsGetDiscussionRequestOptions];
- "POST /teams/:team_id/discussions": [TeamsCreateDiscussionEndpoint, TeamsCreateDiscussionRequestOptions];
- "PATCH /teams/:team_id/discussions/:discussion_number": [TeamsUpdateDiscussionEndpoint, TeamsUpdateDiscussionRequestOptions];
- "DELETE /teams/:team_id/discussions/:discussion_number": [TeamsDeleteDiscussionEndpoint, TeamsDeleteDiscussionRequestOptions];
- "GET /teams/:team_id/members": [TeamsListMembersEndpoint, TeamsListMembersRequestOptions];
- "GET /teams/:team_id/members/:username": [TeamsGetMemberEndpoint, TeamsGetMemberRequestOptions];
- "PUT /teams/:team_id/members/:username": [TeamsAddMemberEndpoint, TeamsAddMemberRequestOptions];
- "DELETE /teams/:team_id/members/:username": [TeamsRemoveMemberEndpoint, TeamsRemoveMemberRequestOptions];
- "GET /teams/:team_id/memberships/:username": [TeamsGetMembershipEndpoint, TeamsGetMembershipRequestOptions];
- "PUT /teams/:team_id/memberships/:username": [TeamsAddOrUpdateMembershipEndpoint, TeamsAddOrUpdateMembershipRequestOptions];
- "DELETE /teams/:team_id/memberships/:username": [TeamsRemoveMembershipEndpoint, TeamsRemoveMembershipRequestOptions];
- "GET /teams/:team_id/invitations": [TeamsListPendingInvitationsEndpoint, TeamsListPendingInvitationsRequestOptions];
- "GET /orgs/:org/team-sync/groups": [TeamsListIdPGroupsForOrgEndpoint, TeamsListIdPGroupsForOrgRequestOptions];
- "GET /teams/:team_id/team-sync/group-mappings": [TeamsListIdPGroupsEndpoint, TeamsListIdPGroupsRequestOptions];
- "PATCH /teams/:team_id/team-sync/group-mappings": [TeamsCreateOrUpdateIdPGroupConnectionsEndpoint, TeamsCreateOrUpdateIdPGroupConnectionsRequestOptions];
- "GET /users/:username": [UsersGetByUsernameEndpoint, UsersGetByUsernameRequestOptions];
- "GET /user": [UsersGetAuthenticatedEndpoint, UsersGetAuthenticatedRequestOptions];
- "PATCH /user": [UsersUpdateAuthenticatedEndpoint, UsersUpdateAuthenticatedRequestOptions];
- "GET /users/:username/hovercard": [UsersGetContextForUserEndpoint, UsersGetContextForUserRequestOptions];
- "GET /users": [UsersListEndpoint, UsersListRequestOptions];
- "GET /user/blocks": [UsersListBlockedEndpoint, UsersListBlockedRequestOptions];
- "GET /user/blocks/:username": [UsersCheckBlockedEndpoint, UsersCheckBlockedRequestOptions];
- "PUT /user/blocks/:username": [UsersBlockEndpoint, UsersBlockRequestOptions];
- "DELETE /user/blocks/:username": [UsersUnblockEndpoint, UsersUnblockRequestOptions];
- "GET /user/emails": [UsersListEmailsEndpoint, UsersListEmailsRequestOptions];
- "GET /user/public_emails": [UsersListPublicEmailsEndpoint, UsersListPublicEmailsRequestOptions];
- "POST /user/emails": [UsersAddEmailsEndpoint, UsersAddEmailsRequestOptions];
- "DELETE /user/emails": [UsersDeleteEmailsEndpoint, UsersDeleteEmailsRequestOptions];
- "PATCH /user/email/visibility": [UsersTogglePrimaryEmailVisibilityEndpoint, UsersTogglePrimaryEmailVisibilityRequestOptions];
- "GET /users/:username/followers": [UsersListFollowersForUserEndpoint, UsersListFollowersForUserRequestOptions];
- "GET /user/followers": [UsersListFollowersForAuthenticatedUserEndpoint, UsersListFollowersForAuthenticatedUserRequestOptions];
- "GET /users/:username/following": [UsersListFollowingForUserEndpoint, UsersListFollowingForUserRequestOptions];
- "GET /user/following": [UsersListFollowingForAuthenticatedUserEndpoint, UsersListFollowingForAuthenticatedUserRequestOptions];
- "GET /user/following/:username": [UsersCheckFollowingEndpoint, UsersCheckFollowingRequestOptions];
- "GET /users/:username/following/:target_user": [UsersCheckFollowingForUserEndpoint, UsersCheckFollowingForUserRequestOptions];
- "PUT /user/following/:username": [UsersFollowEndpoint, UsersFollowRequestOptions];
- "DELETE /user/following/:username": [UsersUnfollowEndpoint, UsersUnfollowRequestOptions];
- "GET /users/:username/gpg_keys": [UsersListGpgKeysForUserEndpoint, UsersListGpgKeysForUserRequestOptions];
- "GET /user/gpg_keys": [UsersListGpgKeysEndpoint, UsersListGpgKeysRequestOptions];
- "GET /user/gpg_keys/:gpg_key_id": [UsersGetGpgKeyEndpoint, UsersGetGpgKeyRequestOptions];
- "POST /user/gpg_keys": [UsersCreateGpgKeyEndpoint, UsersCreateGpgKeyRequestOptions];
- "DELETE /user/gpg_keys/:gpg_key_id": [UsersDeleteGpgKeyEndpoint, UsersDeleteGpgKeyRequestOptions];
- "GET /users/:username/keys": [UsersListPublicKeysForUserEndpoint, UsersListPublicKeysForUserRequestOptions];
- "GET /user/keys": [UsersListPublicKeysEndpoint, UsersListPublicKeysRequestOptions];
- "GET /user/keys/:key_id": [UsersGetPublicKeyEndpoint, UsersGetPublicKeyRequestOptions];
- "POST /user/keys": [UsersCreatePublicKeyEndpoint, UsersCreatePublicKeyRequestOptions];
- "DELETE /user/keys/:key_id": [UsersDeletePublicKeyEndpoint, UsersDeletePublicKeyRequestOptions];
-}
-declare type ActivityListPublicEventsEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type ActivityListPublicEventsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListRepoEventsEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListRepoEventsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListPublicEventsForRepoNetworkEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListPublicEventsForRepoNetworkRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListPublicEventsForOrgEndpoint = {
- org: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListPublicEventsForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListReceivedEventsForUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListReceivedEventsForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListReceivedPublicEventsForUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListReceivedPublicEventsForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListEventsForUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListEventsForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListPublicEventsForUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListPublicEventsForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListEventsForOrgEndpoint = {
- username: string;
- org: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListEventsForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListFeedsEndpoint = {};
-declare type ActivityListFeedsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListNotificationsEndpoint = {
- all?: boolean;
- participating?: boolean;
- since?: string;
- before?: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListNotificationsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListNotificationsForRepoEndpoint = {
- owner: string;
- repo: string;
- all?: boolean;
- participating?: boolean;
- since?: string;
- before?: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListNotificationsForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityMarkAsReadEndpoint = {
- last_read_at?: string;
-};
-declare type ActivityMarkAsReadRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityMarkNotificationsAsReadForRepoEndpoint = {
- owner: string;
- repo: string;
- last_read_at?: string;
-};
-declare type ActivityMarkNotificationsAsReadForRepoRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityGetThreadEndpoint = {
- thread_id: number;
-};
-declare type ActivityGetThreadRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityMarkThreadAsReadEndpoint = {
- thread_id: number;
-};
-declare type ActivityMarkThreadAsReadRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityGetThreadSubscriptionEndpoint = {
- thread_id: number;
-};
-declare type ActivityGetThreadSubscriptionRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivitySetThreadSubscriptionEndpoint = {
- thread_id: number;
- ignored?: boolean;
-};
-declare type ActivitySetThreadSubscriptionRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityDeleteThreadSubscriptionEndpoint = {
- thread_id: number;
-};
-declare type ActivityDeleteThreadSubscriptionRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListStargazersForRepoEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListStargazersForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListReposStarredByUserEndpoint = {
- username: string;
- sort?: string;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListReposStarredByUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListReposStarredByAuthenticatedUserEndpoint = {
- sort?: string;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListReposStarredByAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityCheckStarringRepoEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ActivityCheckStarringRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityStarRepoEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ActivityStarRepoRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityUnstarRepoEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ActivityUnstarRepoRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListWatchersForRepoEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListWatchersForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListReposWatchedByUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type ActivityListReposWatchedByUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityListWatchedReposForAuthenticatedUserEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type ActivityListWatchedReposForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityGetRepoSubscriptionEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ActivityGetRepoSubscriptionRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivitySetRepoSubscriptionEndpoint = {
- owner: string;
- repo: string;
- subscribed?: boolean;
- ignored?: boolean;
-};
-declare type ActivitySetRepoSubscriptionRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityDeleteRepoSubscriptionEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ActivityDeleteRepoSubscriptionRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityCheckWatchingRepoLegacyEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ActivityCheckWatchingRepoLegacyRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityWatchRepoLegacyEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ActivityWatchRepoLegacyRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ActivityStopWatchingRepoLegacyEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ActivityStopWatchingRepoLegacyRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsGetBySlugEndpoint = {
- app_slug: string;
-};
-declare type AppsGetBySlugRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsGetAuthenticatedEndpoint = {};
-declare type AppsGetAuthenticatedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListInstallationsEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type AppsListInstallationsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsGetInstallationEndpoint = {
- installation_id: number;
-};
-declare type AppsGetInstallationRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsDeleteInstallationEndpoint = {
- installation_id: number;
-};
-declare type AppsDeleteInstallationRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsCreateInstallationTokenEndpoint = {
- installation_id: number;
- repository_ids?: number[];
- permissions?: object;
-};
-declare type AppsCreateInstallationTokenRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsGetOrgInstallationEndpoint = {
- org: string;
-};
-declare type AppsGetOrgInstallationRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsFindOrgInstallationEndpoint = {
- org: string;
-};
-declare type AppsFindOrgInstallationRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsGetRepoInstallationEndpoint = {
- owner: string;
- repo: string;
-};
-declare type AppsGetRepoInstallationRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsFindRepoInstallationEndpoint = {
- owner: string;
- repo: string;
-};
-declare type AppsFindRepoInstallationRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsGetUserInstallationEndpoint = {
- username: string;
-};
-declare type AppsGetUserInstallationRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsFindUserInstallationEndpoint = {
- username: string;
-};
-declare type AppsFindUserInstallationRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsCreateFromManifestEndpoint = {
- code: string;
-};
-declare type AppsCreateFromManifestRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListReposEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type AppsListReposRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListInstallationsForAuthenticatedUserEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type AppsListInstallationsForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListInstallationReposForAuthenticatedUserEndpoint = {
- installation_id: number;
- per_page?: number;
- page?: number;
-};
-declare type AppsListInstallationReposForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsAddRepoToInstallationEndpoint = {
- installation_id: number;
- repository_id: number;
-};
-declare type AppsAddRepoToInstallationRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsRemoveRepoFromInstallationEndpoint = {
- installation_id: number;
- repository_id: number;
-};
-declare type AppsRemoveRepoFromInstallationRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsCreateContentAttachmentEndpoint = {
- content_reference_id: number;
- title: string;
- body: string;
-};
-declare type AppsCreateContentAttachmentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListPlansEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type AppsListPlansRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListPlansStubbedEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type AppsListPlansStubbedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListAccountsUserOrOrgOnPlanEndpoint = {
- plan_id: number;
- sort?: string;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type AppsListAccountsUserOrOrgOnPlanRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListAccountsUserOrOrgOnPlanStubbedEndpoint = {
- plan_id: number;
- sort?: string;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type AppsListAccountsUserOrOrgOnPlanStubbedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsCheckAccountIsAssociatedWithAnyEndpoint = {
- account_id: number;
- per_page?: number;
- page?: number;
-};
-declare type AppsCheckAccountIsAssociatedWithAnyRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsCheckAccountIsAssociatedWithAnyStubbedEndpoint = {
- account_id: number;
- per_page?: number;
- page?: number;
-};
-declare type AppsCheckAccountIsAssociatedWithAnyStubbedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListMarketplacePurchasesForAuthenticatedUserEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type AppsListMarketplacePurchasesForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type AppsListMarketplacePurchasesForAuthenticatedUserStubbedEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type AppsListMarketplacePurchasesForAuthenticatedUserStubbedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksCreateEndpoint = {
- owner: string;
- repo: string;
- name: string;
- head_sha: string;
- details_url?: string;
- external_id?: string;
- status?: string;
- started_at?: string;
- conclusion?: string;
- completed_at?: string;
- output?: object;
- "output.title": string;
- "output.summary": string;
- "output.text"?: string;
- "output.annotations"?: object[];
- "output.annotations[].path": string;
- "output.annotations[].start_line": number;
- "output.annotations[].end_line": number;
- "output.annotations[].start_column"?: number;
- "output.annotations[].end_column"?: number;
- "output.annotations[].annotation_level": string;
- "output.annotations[].message": string;
- "output.annotations[].title"?: string;
- "output.annotations[].raw_details"?: string;
- "output.images"?: object[];
- "output.images[].alt": string;
- "output.images[].image_url": string;
- "output.images[].caption"?: string;
- actions?: object[];
- "actions[].label": string;
- "actions[].description": string;
- "actions[].identifier": string;
-};
-declare type ChecksCreateRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksUpdateEndpoint = {
- owner: string;
- repo: string;
- check_run_id: number;
- name?: string;
- details_url?: string;
- external_id?: string;
- started_at?: string;
- status?: string;
- conclusion?: string;
- completed_at?: string;
- output?: object;
- "output.title"?: string;
- "output.summary": string;
- "output.text"?: string;
- "output.annotations"?: object[];
- "output.annotations[].path": string;
- "output.annotations[].start_line": number;
- "output.annotations[].end_line": number;
- "output.annotations[].start_column"?: number;
- "output.annotations[].end_column"?: number;
- "output.annotations[].annotation_level": string;
- "output.annotations[].message": string;
- "output.annotations[].title"?: string;
- "output.annotations[].raw_details"?: string;
- "output.images"?: object[];
- "output.images[].alt": string;
- "output.images[].image_url": string;
- "output.images[].caption"?: string;
- actions?: object[];
- "actions[].label": string;
- "actions[].description": string;
- "actions[].identifier": string;
-};
-declare type ChecksUpdateRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksListForRefEndpoint = {
- owner: string;
- repo: string;
- ref: string;
- check_name?: string;
- status?: string;
- filter?: string;
- per_page?: number;
- page?: number;
-};
-declare type ChecksListForRefRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksListForSuiteEndpoint = {
- owner: string;
- repo: string;
- check_suite_id: number;
- check_name?: string;
- status?: string;
- filter?: string;
- per_page?: number;
- page?: number;
-};
-declare type ChecksListForSuiteRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksGetEndpoint = {
- owner: string;
- repo: string;
- check_run_id: number;
-};
-declare type ChecksGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksListAnnotationsEndpoint = {
- owner: string;
- repo: string;
- check_run_id: number;
- per_page?: number;
- page?: number;
-};
-declare type ChecksListAnnotationsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksGetSuiteEndpoint = {
- owner: string;
- repo: string;
- check_suite_id: number;
-};
-declare type ChecksGetSuiteRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksListSuitesForRefEndpoint = {
- owner: string;
- repo: string;
- ref: string;
- app_id?: number;
- check_name?: string;
- per_page?: number;
- page?: number;
-};
-declare type ChecksListSuitesForRefRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksSetSuitesPreferencesEndpoint = {
- owner: string;
- repo: string;
- auto_trigger_checks?: object[];
- "auto_trigger_checks[].app_id": number;
- "auto_trigger_checks[].setting": boolean;
-};
-declare type ChecksSetSuitesPreferencesRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksCreateSuiteEndpoint = {
- owner: string;
- repo: string;
- head_sha: string;
-};
-declare type ChecksCreateSuiteRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ChecksRerequestSuiteEndpoint = {
- owner: string;
- repo: string;
- check_suite_id: number;
-};
-declare type ChecksRerequestSuiteRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type CodesOfConductListConductCodesEndpoint = {};
-declare type CodesOfConductListConductCodesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type CodesOfConductGetConductCodeEndpoint = {
- key: string;
-};
-declare type CodesOfConductGetConductCodeRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type CodesOfConductGetForRepoEndpoint = {
- owner: string;
- repo: string;
-};
-declare type CodesOfConductGetForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type EmojisGetEndpoint = {};
-declare type EmojisGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsListPublicForUserEndpoint = {
- username: string;
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type GistsListPublicForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsListEndpoint = {
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type GistsListRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsListPublicEndpoint = {
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type GistsListPublicRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsListStarredEndpoint = {
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type GistsListStarredRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsGetEndpoint = {
- gist_id: string;
-};
-declare type GistsGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsGetRevisionEndpoint = {
- gist_id: string;
- sha: string;
-};
-declare type GistsGetRevisionRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsCreateEndpoint = {
- files: object;
- "files.content"?: string;
- description?: string;
- public?: boolean;
-};
-declare type GistsCreateRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsUpdateEndpoint = {
- gist_id: string;
- description?: string;
- files?: object;
- "files.content"?: string;
- "files.filename"?: string;
-};
-declare type GistsUpdateRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsListCommitsEndpoint = {
- gist_id: string;
- per_page?: number;
- page?: number;
-};
-declare type GistsListCommitsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsStarEndpoint = {
- gist_id: string;
-};
-declare type GistsStarRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsUnstarEndpoint = {
- gist_id: string;
-};
-declare type GistsUnstarRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsCheckIsStarredEndpoint = {
- gist_id: string;
-};
-declare type GistsCheckIsStarredRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsForkEndpoint = {
- gist_id: string;
-};
-declare type GistsForkRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsListForksEndpoint = {
- gist_id: string;
- per_page?: number;
- page?: number;
-};
-declare type GistsListForksRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsDeleteEndpoint = {
- gist_id: string;
-};
-declare type GistsDeleteRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsListCommentsEndpoint = {
- gist_id: string;
- per_page?: number;
- page?: number;
-};
-declare type GistsListCommentsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsGetCommentEndpoint = {
- gist_id: string;
- comment_id: number;
-};
-declare type GistsGetCommentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsCreateCommentEndpoint = {
- gist_id: string;
- body: string;
-};
-declare type GistsCreateCommentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsUpdateCommentEndpoint = {
- gist_id: string;
- comment_id: number;
- body: string;
-};
-declare type GistsUpdateCommentRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GistsDeleteCommentEndpoint = {
- gist_id: string;
- comment_id: number;
-};
-declare type GistsDeleteCommentRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitGetBlobEndpoint = {
- owner: string;
- repo: string;
- file_sha: string;
-};
-declare type GitGetBlobRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitCreateBlobEndpoint = {
- owner: string;
- repo: string;
- content: string;
- encoding?: string;
-};
-declare type GitCreateBlobRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitGetCommitEndpoint = {
- owner: string;
- repo: string;
- commit_sha: string;
-};
-declare type GitGetCommitRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitCreateCommitEndpoint = {
- owner: string;
- repo: string;
- message: string;
- tree: string;
- parents: string[];
- author?: object;
- "author.name"?: string;
- "author.email"?: string;
- "author.date"?: string;
- committer?: object;
- "committer.name"?: string;
- "committer.email"?: string;
- "committer.date"?: string;
- signature?: string;
-};
-declare type GitCreateCommitRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitGetRefEndpoint = {
- owner: string;
- repo: string;
- ref: string;
-};
-declare type GitGetRefRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitListRefsEndpoint = {
- owner: string;
- repo: string;
- namespace?: string;
- per_page?: number;
- page?: number;
-};
-declare type GitListRefsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitCreateRefEndpoint = {
- owner: string;
- repo: string;
- ref: string;
- sha: string;
-};
-declare type GitCreateRefRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitUpdateRefEndpoint = {
- owner: string;
- repo: string;
- ref: string;
- sha: string;
- force?: boolean;
-};
-declare type GitUpdateRefRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitDeleteRefEndpoint = {
- owner: string;
- repo: string;
- ref: string;
-};
-declare type GitDeleteRefRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitGetTagEndpoint = {
- owner: string;
- repo: string;
- tag_sha: string;
-};
-declare type GitGetTagRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitCreateTagEndpoint = {
- owner: string;
- repo: string;
- tag: string;
- message: string;
- object: string;
- type: string;
- tagger?: object;
- "tagger.name"?: string;
- "tagger.email"?: string;
- "tagger.date"?: string;
-};
-declare type GitCreateTagRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitGetTreeEndpoint = {
- owner: string;
- repo: string;
- tree_sha: string;
- recursive?: number;
-};
-declare type GitGetTreeRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitCreateTreeEndpoint = {
- owner: string;
- repo: string;
- tree: object[];
- "tree[].path"?: string;
- "tree[].mode"?: string;
- "tree[].type"?: string;
- "tree[].sha"?: string;
- "tree[].content"?: string;
- base_tree?: string;
-};
-declare type GitCreateTreeRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitignoreListTemplatesEndpoint = {};
-declare type GitignoreListTemplatesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type GitignoreGetTemplateEndpoint = {
- name: string;
-};
-declare type GitignoreGetTemplateRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type InteractionsGetRestrictionsForOrgEndpoint = {
- org: string;
-};
-declare type InteractionsGetRestrictionsForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type InteractionsAddOrUpdateRestrictionsForOrgEndpoint = {
- org: string;
- limit: string;
-};
-declare type InteractionsAddOrUpdateRestrictionsForOrgRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type InteractionsRemoveRestrictionsForOrgEndpoint = {
- org: string;
-};
-declare type InteractionsRemoveRestrictionsForOrgRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type InteractionsGetRestrictionsForRepoEndpoint = {
- owner: string;
- repo: string;
-};
-declare type InteractionsGetRestrictionsForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type InteractionsAddOrUpdateRestrictionsForRepoEndpoint = {
- owner: string;
- repo: string;
- limit: string;
-};
-declare type InteractionsAddOrUpdateRestrictionsForRepoRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type InteractionsRemoveRestrictionsForRepoEndpoint = {
- owner: string;
- repo: string;
-};
-declare type InteractionsRemoveRestrictionsForRepoRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListEndpoint = {
- filter?: string;
- state?: string;
- labels?: string;
- sort?: string;
- direction?: string;
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type IssuesListRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListForAuthenticatedUserEndpoint = {
- filter?: string;
- state?: string;
- labels?: string;
- sort?: string;
- direction?: string;
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type IssuesListForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListForOrgEndpoint = {
- org: string;
- filter?: string;
- state?: string;
- labels?: string;
- sort?: string;
- direction?: string;
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type IssuesListForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListForRepoEndpoint = {
- owner: string;
- repo: string;
- milestone?: string;
- state?: string;
- assignee?: string;
- creator?: string;
- mentioned?: string;
- labels?: string;
- sort?: string;
- direction?: string;
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type IssuesListForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesGetEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- number?: number;
-};
-declare type IssuesGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesCreateEndpoint = {
- owner: string;
- repo: string;
- title: string;
- body?: string;
- assignee?: string;
- milestone?: number;
- labels?: string[];
- assignees?: string[];
-};
-declare type IssuesCreateRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesUpdateEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- title?: string;
- body?: string;
- assignee?: string;
- state?: string;
- milestone?: number | null;
- labels?: string[];
- assignees?: string[];
- number?: number;
-};
-declare type IssuesUpdateRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesLockEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- lock_reason?: string;
- number?: number;
-};
-declare type IssuesLockRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesUnlockEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- number?: number;
-};
-declare type IssuesUnlockRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListAssigneesEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type IssuesListAssigneesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesCheckAssigneeEndpoint = {
- owner: string;
- repo: string;
- assignee: string;
-};
-declare type IssuesCheckAssigneeRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesAddAssigneesEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- assignees?: string[];
- number?: number;
-};
-declare type IssuesAddAssigneesRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesRemoveAssigneesEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- assignees?: string[];
- number?: number;
-};
-declare type IssuesRemoveAssigneesRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListCommentsEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- since?: string;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type IssuesListCommentsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListCommentsForRepoEndpoint = {
- owner: string;
- repo: string;
- sort?: string;
- direction?: string;
- since?: string;
-};
-declare type IssuesListCommentsForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesGetCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- per_page?: number;
- page?: number;
-};
-declare type IssuesGetCommentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesCreateCommentEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- body: string;
- number?: number;
-};
-declare type IssuesCreateCommentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesUpdateCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- body: string;
-};
-declare type IssuesUpdateCommentRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesDeleteCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
-};
-declare type IssuesDeleteCommentRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListEventsEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type IssuesListEventsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListEventsForRepoEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type IssuesListEventsForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesGetEventEndpoint = {
- owner: string;
- repo: string;
- event_id: number;
-};
-declare type IssuesGetEventRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListLabelsForRepoEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type IssuesListLabelsForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesGetLabelEndpoint = {
- owner: string;
- repo: string;
- name: string;
-};
-declare type IssuesGetLabelRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesCreateLabelEndpoint = {
- owner: string;
- repo: string;
- name: string;
- color: string;
- description?: string;
-};
-declare type IssuesCreateLabelRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesUpdateLabelEndpoint = {
- owner: string;
- repo: string;
- current_name: string;
- name?: string;
- color?: string;
- description?: string;
-};
-declare type IssuesUpdateLabelRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesDeleteLabelEndpoint = {
- owner: string;
- repo: string;
- name: string;
-};
-declare type IssuesDeleteLabelRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListLabelsOnIssueEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type IssuesListLabelsOnIssueRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesAddLabelsEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- labels: string[];
- number?: number;
-};
-declare type IssuesAddLabelsRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesRemoveLabelEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- name: string;
- number?: number;
-};
-declare type IssuesRemoveLabelRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesReplaceLabelsEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- labels?: string[];
- number?: number;
-};
-declare type IssuesReplaceLabelsRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesRemoveLabelsEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- number?: number;
-};
-declare type IssuesRemoveLabelsRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListLabelsForMilestoneEndpoint = {
- owner: string;
- repo: string;
- milestone_number: number;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type IssuesListLabelsForMilestoneRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListMilestonesForRepoEndpoint = {
- owner: string;
- repo: string;
- state?: string;
- sort?: string;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type IssuesListMilestonesForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesGetMilestoneEndpoint = {
- owner: string;
- repo: string;
- milestone_number: number;
- number?: number;
-};
-declare type IssuesGetMilestoneRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesCreateMilestoneEndpoint = {
- owner: string;
- repo: string;
- title: string;
- state?: string;
- description?: string;
- due_on?: string;
-};
-declare type IssuesCreateMilestoneRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesUpdateMilestoneEndpoint = {
- owner: string;
- repo: string;
- milestone_number: number;
- title?: string;
- state?: string;
- description?: string;
- due_on?: string;
- number?: number;
-};
-declare type IssuesUpdateMilestoneRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesDeleteMilestoneEndpoint = {
- owner: string;
- repo: string;
- milestone_number: number;
- number?: number;
-};
-declare type IssuesDeleteMilestoneRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type IssuesListEventsForTimelineEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type IssuesListEventsForTimelineRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type LicensesListCommonlyUsedEndpoint = {};
-declare type LicensesListCommonlyUsedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type LicensesListEndpoint = {};
-declare type LicensesListRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type LicensesGetEndpoint = {
- license: string;
-};
-declare type LicensesGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type LicensesGetForRepoEndpoint = {
- owner: string;
- repo: string;
-};
-declare type LicensesGetForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MarkdownRenderEndpoint = {
- text: string;
- mode?: string;
- context?: string;
-};
-declare type MarkdownRenderRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MarkdownRenderRawEndpoint = {
- data: string;
-};
-declare type MarkdownRenderRawRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MetaGetEndpoint = {};
-declare type MetaGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsStartForOrgEndpoint = {
- org: string;
- repositories: string[];
- lock_repositories?: boolean;
- exclude_attachments?: boolean;
-};
-declare type MigrationsStartForOrgRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsListForOrgEndpoint = {
- org: string;
- per_page?: number;
- page?: number;
-};
-declare type MigrationsListForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsGetStatusForOrgEndpoint = {
- org: string;
- migration_id: number;
-};
-declare type MigrationsGetStatusForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsGetArchiveForOrgEndpoint = {
- org: string;
- migration_id: number;
-};
-declare type MigrationsGetArchiveForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsDeleteArchiveForOrgEndpoint = {
- org: string;
- migration_id: number;
-};
-declare type MigrationsDeleteArchiveForOrgRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsUnlockRepoForOrgEndpoint = {
- org: string;
- migration_id: number;
- repo_name: string;
-};
-declare type MigrationsUnlockRepoForOrgRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsStartImportEndpoint = {
- owner: string;
- repo: string;
- vcs_url: string;
- vcs?: string;
- vcs_username?: string;
- vcs_password?: string;
- tfvc_project?: string;
-};
-declare type MigrationsStartImportRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsGetImportProgressEndpoint = {
- owner: string;
- repo: string;
-};
-declare type MigrationsGetImportProgressRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsUpdateImportEndpoint = {
- owner: string;
- repo: string;
- vcs_username?: string;
- vcs_password?: string;
-};
-declare type MigrationsUpdateImportRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsGetCommitAuthorsEndpoint = {
- owner: string;
- repo: string;
- since?: string;
-};
-declare type MigrationsGetCommitAuthorsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsMapCommitAuthorEndpoint = {
- owner: string;
- repo: string;
- author_id: number;
- email?: string;
- name?: string;
-};
-declare type MigrationsMapCommitAuthorRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsSetLfsPreferenceEndpoint = {
- owner: string;
- repo: string;
- use_lfs: string;
-};
-declare type MigrationsSetLfsPreferenceRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsGetLargeFilesEndpoint = {
- owner: string;
- repo: string;
-};
-declare type MigrationsGetLargeFilesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsCancelImportEndpoint = {
- owner: string;
- repo: string;
-};
-declare type MigrationsCancelImportRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsStartForAuthenticatedUserEndpoint = {
- repositories: string[];
- lock_repositories?: boolean;
- exclude_attachments?: boolean;
-};
-declare type MigrationsStartForAuthenticatedUserRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsListForAuthenticatedUserEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type MigrationsListForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsGetStatusForAuthenticatedUserEndpoint = {
- migration_id: number;
-};
-declare type MigrationsGetStatusForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsGetArchiveForAuthenticatedUserEndpoint = {
- migration_id: number;
-};
-declare type MigrationsGetArchiveForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsDeleteArchiveForAuthenticatedUserEndpoint = {
- migration_id: number;
-};
-declare type MigrationsDeleteArchiveForAuthenticatedUserRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type MigrationsUnlockRepoForAuthenticatedUserEndpoint = {
- migration_id: number;
- repo_name: string;
-};
-declare type MigrationsUnlockRepoForAuthenticatedUserRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsListGrantsEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type OauthAuthorizationsListGrantsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsGetGrantEndpoint = {
- grant_id: number;
-};
-declare type OauthAuthorizationsGetGrantRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsDeleteGrantEndpoint = {
- grant_id: number;
-};
-declare type OauthAuthorizationsDeleteGrantRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsListAuthorizationsEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type OauthAuthorizationsListAuthorizationsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsGetAuthorizationEndpoint = {
- authorization_id: number;
-};
-declare type OauthAuthorizationsGetAuthorizationRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsCreateAuthorizationEndpoint = {
- scopes?: string[];
- note: string;
- note_url?: string;
- client_id?: string;
- client_secret?: string;
- fingerprint?: string;
-};
-declare type OauthAuthorizationsCreateAuthorizationRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsGetOrCreateAuthorizationForAppEndpoint = {
- client_id: string;
- client_secret: string;
- scopes?: string[];
- note?: string;
- note_url?: string;
- fingerprint?: string;
-};
-declare type OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint = {
- client_id: string;
- fingerprint: string;
- client_secret: string;
- scopes?: string[];
- note?: string;
- note_url?: string;
-};
-declare type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintEndpoint = {
- client_id: string;
- fingerprint: string;
- client_secret: string;
- scopes?: string[];
- note?: string;
- note_url?: string;
-};
-declare type OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsUpdateAuthorizationEndpoint = {
- authorization_id: number;
- scopes?: string[];
- add_scopes?: string[];
- remove_scopes?: string[];
- note?: string;
- note_url?: string;
- fingerprint?: string;
-};
-declare type OauthAuthorizationsUpdateAuthorizationRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsDeleteAuthorizationEndpoint = {
- authorization_id: number;
-};
-declare type OauthAuthorizationsDeleteAuthorizationRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsCheckAuthorizationEndpoint = {
- client_id: string;
- access_token: string;
-};
-declare type OauthAuthorizationsCheckAuthorizationRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsResetAuthorizationEndpoint = {
- client_id: string;
- access_token: string;
-};
-declare type OauthAuthorizationsResetAuthorizationRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsRevokeAuthorizationForApplicationEndpoint = {
- client_id: string;
- access_token: string;
-};
-declare type OauthAuthorizationsRevokeAuthorizationForApplicationRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OauthAuthorizationsRevokeGrantForApplicationEndpoint = {
- client_id: string;
- access_token: string;
-};
-declare type OauthAuthorizationsRevokeGrantForApplicationRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListForAuthenticatedUserEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type OrgsListForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListEndpoint = {
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type OrgsListRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListForUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type OrgsListForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsGetEndpoint = {
- org: string;
-};
-declare type OrgsGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsUpdateEndpoint = {
- org: string;
- billing_email?: string;
- company?: string;
- email?: string;
- location?: string;
- name?: string;
- description?: string;
- has_organization_projects?: boolean;
- has_repository_projects?: boolean;
- default_repository_permission?: string;
- members_can_create_repositories?: boolean;
- members_allowed_repository_creation_type?: string;
-};
-declare type OrgsUpdateRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListCredentialAuthorizationsEndpoint = {
- org: string;
-};
-declare type OrgsListCredentialAuthorizationsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsRemoveCredentialAuthorizationEndpoint = {
- org: string;
- credential_id: number;
-};
-declare type OrgsRemoveCredentialAuthorizationRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListBlockedUsersEndpoint = {
- org: string;
-};
-declare type OrgsListBlockedUsersRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsCheckBlockedUserEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsCheckBlockedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsBlockUserEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsBlockUserRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsUnblockUserEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsUnblockUserRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListHooksEndpoint = {
- org: string;
- per_page?: number;
- page?: number;
-};
-declare type OrgsListHooksRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsGetHookEndpoint = {
- org: string;
- hook_id: number;
-};
-declare type OrgsGetHookRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsCreateHookEndpoint = {
- org: string;
- name: string;
- config: object;
- "config.url": string;
- "config.content_type"?: string;
- "config.secret"?: string;
- "config.insecure_ssl"?: string;
- events?: string[];
- active?: boolean;
-};
-declare type OrgsCreateHookRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsUpdateHookEndpoint = {
- org: string;
- hook_id: number;
- config?: object;
- "config.url": string;
- "config.content_type"?: string;
- "config.secret"?: string;
- "config.insecure_ssl"?: string;
- events?: string[];
- active?: boolean;
-};
-declare type OrgsUpdateHookRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsPingHookEndpoint = {
- org: string;
- hook_id: number;
-};
-declare type OrgsPingHookRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsDeleteHookEndpoint = {
- org: string;
- hook_id: number;
-};
-declare type OrgsDeleteHookRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListMembersEndpoint = {
- org: string;
- filter?: string;
- role?: string;
- per_page?: number;
- page?: number;
-};
-declare type OrgsListMembersRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsCheckMembershipEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsCheckMembershipRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsRemoveMemberEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsRemoveMemberRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListPublicMembersEndpoint = {
- org: string;
- per_page?: number;
- page?: number;
-};
-declare type OrgsListPublicMembersRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsCheckPublicMembershipEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsCheckPublicMembershipRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsPublicizeMembershipEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsPublicizeMembershipRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsConcealMembershipEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsConcealMembershipRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsGetMembershipEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsGetMembershipRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsAddOrUpdateMembershipEndpoint = {
- org: string;
- username: string;
- role?: string;
-};
-declare type OrgsAddOrUpdateMembershipRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsRemoveMembershipEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsRemoveMembershipRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListInvitationTeamsEndpoint = {
- org: string;
- invitation_id: number;
- per_page?: number;
- page?: number;
-};
-declare type OrgsListInvitationTeamsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListPendingInvitationsEndpoint = {
- org: string;
- per_page?: number;
- page?: number;
-};
-declare type OrgsListPendingInvitationsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsCreateInvitationEndpoint = {
- org: string;
- invitee_id?: number;
- email?: string;
- role?: string;
- team_ids?: number[];
-};
-declare type OrgsCreateInvitationRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListMembershipsEndpoint = {
- state?: string;
- per_page?: number;
- page?: number;
-};
-declare type OrgsListMembershipsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsGetMembershipForAuthenticatedUserEndpoint = {
- org: string;
-};
-declare type OrgsGetMembershipForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsUpdateMembershipEndpoint = {
- org: string;
- state: string;
-};
-declare type OrgsUpdateMembershipRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsListOutsideCollaboratorsEndpoint = {
- org: string;
- filter?: string;
- per_page?: number;
- page?: number;
-};
-declare type OrgsListOutsideCollaboratorsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsRemoveOutsideCollaboratorEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsRemoveOutsideCollaboratorRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type OrgsConvertMemberToOutsideCollaboratorEndpoint = {
- org: string;
- username: string;
-};
-declare type OrgsConvertMemberToOutsideCollaboratorRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsListForRepoEndpoint = {
- owner: string;
- repo: string;
- state?: string;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsListForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsListForOrgEndpoint = {
- org: string;
- state?: string;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsListForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsListForUserEndpoint = {
- username: string;
- state?: string;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsListForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsGetEndpoint = {
- project_id: number;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsCreateForRepoEndpoint = {
- owner: string;
- repo: string;
- name: string;
- body?: string;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsCreateForRepoRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsCreateForOrgEndpoint = {
- org: string;
- name: string;
- body?: string;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsCreateForOrgRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsCreateForAuthenticatedUserEndpoint = {
- name: string;
- body?: string;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsCreateForAuthenticatedUserRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsUpdateEndpoint = {
- project_id: number;
- name?: string;
- body?: string;
- state?: string;
- organization_permission?: string;
- private?: boolean;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsUpdateRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsDeleteEndpoint = {
- project_id: number;
-};
-declare type ProjectsDeleteRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsListCardsEndpoint = {
- column_id: number;
- archived_state?: string;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsListCardsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsGetCardEndpoint = {
- card_id: number;
-};
-declare type ProjectsGetCardRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsCreateCardEndpoint = {
- column_id: number;
- note?: string;
- content_id?: number;
- content_type?: string;
-};
-declare type ProjectsCreateCardRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsUpdateCardEndpoint = {
- card_id: number;
- note?: string;
- archived?: boolean;
-};
-declare type ProjectsUpdateCardRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsDeleteCardEndpoint = {
- card_id: number;
-};
-declare type ProjectsDeleteCardRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsMoveCardEndpoint = {
- card_id: number;
- position: string;
- column_id?: number;
-};
-declare type ProjectsMoveCardRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsListCollaboratorsEndpoint = {
- project_id: number;
- affiliation?: string;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsListCollaboratorsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsReviewUserPermissionLevelEndpoint = {
- project_id: number;
- username: string;
-};
-declare type ProjectsReviewUserPermissionLevelRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsAddCollaboratorEndpoint = {
- project_id: number;
- username: string;
- permission?: string;
-};
-declare type ProjectsAddCollaboratorRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsRemoveCollaboratorEndpoint = {
- project_id: number;
- username: string;
-};
-declare type ProjectsRemoveCollaboratorRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsListColumnsEndpoint = {
- project_id: number;
- per_page?: number;
- page?: number;
-};
-declare type ProjectsListColumnsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsGetColumnEndpoint = {
- column_id: number;
-};
-declare type ProjectsGetColumnRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsCreateColumnEndpoint = {
- project_id: number;
- name: string;
-};
-declare type ProjectsCreateColumnRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsUpdateColumnEndpoint = {
- column_id: number;
- name: string;
-};
-declare type ProjectsUpdateColumnRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsDeleteColumnEndpoint = {
- column_id: number;
-};
-declare type ProjectsDeleteColumnRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ProjectsMoveColumnEndpoint = {
- column_id: number;
- position: string;
-};
-declare type ProjectsMoveColumnRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsListEndpoint = {
- owner: string;
- repo: string;
- state?: string;
- head?: string;
- base?: string;
- sort?: string;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type PullsListRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsGetEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- number?: number;
-};
-declare type PullsGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsCreateEndpoint = {
- owner: string;
- repo: string;
- title: string;
- head: string;
- base: string;
- body?: string;
- maintainer_can_modify?: boolean;
- draft?: boolean;
-};
-declare type PullsCreateRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsCreateFromIssueEndpoint = {
- owner: string;
- repo: string;
- issue: number;
- head: string;
- base: string;
- maintainer_can_modify?: boolean;
- draft?: boolean;
-};
-declare type PullsCreateFromIssueRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsUpdateBranchEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- expected_head_sha?: string;
-};
-declare type PullsUpdateBranchRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsUpdateEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- title?: string;
- body?: string;
- state?: string;
- base?: string;
- maintainer_can_modify?: boolean;
- number?: number;
-};
-declare type PullsUpdateRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsListCommitsEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type PullsListCommitsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsListFilesEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type PullsListFilesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsCheckIfMergedEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- number?: number;
-};
-declare type PullsCheckIfMergedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsMergeEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- commit_title?: string;
- commit_message?: string;
- sha?: string;
- merge_method?: string;
- number?: number;
-};
-declare type PullsMergeRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsListCommentsEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- sort?: string;
- direction?: string;
- since?: string;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type PullsListCommentsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsListCommentsForRepoEndpoint = {
- owner: string;
- repo: string;
- sort?: string;
- direction?: string;
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type PullsListCommentsForRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsGetCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
-};
-declare type PullsGetCommentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsCreateCommentEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- body: string;
- commit_id: string;
- path: string;
- position: number;
- number?: number;
-};
-declare type PullsCreateCommentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsCreateCommentReplyEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- body: string;
- in_reply_to: number;
- number?: number;
-};
-declare type PullsCreateCommentReplyRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsUpdateCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- body: string;
-};
-declare type PullsUpdateCommentRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsDeleteCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
-};
-declare type PullsDeleteCommentRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsListReviewRequestsEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type PullsListReviewRequestsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsCreateReviewRequestEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- reviewers?: string[];
- team_reviewers?: string[];
- number?: number;
-};
-declare type PullsCreateReviewRequestRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsDeleteReviewRequestEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- reviewers?: string[];
- team_reviewers?: string[];
- number?: number;
-};
-declare type PullsDeleteReviewRequestRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsListReviewsEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type PullsListReviewsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsGetReviewEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- review_id: number;
- number?: number;
-};
-declare type PullsGetReviewRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsDeletePendingReviewEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- review_id: number;
- number?: number;
-};
-declare type PullsDeletePendingReviewRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsGetCommentsForReviewEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- review_id: number;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type PullsGetCommentsForReviewRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsCreateReviewEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- commit_id?: string;
- body?: string;
- event?: string;
- comments?: object[];
- "comments[].path": string;
- "comments[].position": number;
- "comments[].body": string;
- number?: number;
-};
-declare type PullsCreateReviewRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsUpdateReviewEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- review_id: number;
- body: string;
- number?: number;
-};
-declare type PullsUpdateReviewRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsSubmitReviewEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- review_id: number;
- body?: string;
- event: string;
- number?: number;
-};
-declare type PullsSubmitReviewRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type PullsDismissReviewEndpoint = {
- owner: string;
- repo: string;
- pull_number: number;
- review_id: number;
- message: string;
- number?: number;
-};
-declare type PullsDismissReviewRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type RateLimitGetEndpoint = {};
-declare type RateLimitGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsListForCommitCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- content?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReactionsListForCommitCommentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsCreateForCommitCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- content: string;
-};
-declare type ReactionsCreateForCommitCommentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsListForIssueEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- content?: string;
- per_page?: number;
- page?: number;
- number?: number;
-};
-declare type ReactionsListForIssueRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsCreateForIssueEndpoint = {
- owner: string;
- repo: string;
- issue_number: number;
- content: string;
- number?: number;
-};
-declare type ReactionsCreateForIssueRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsListForIssueCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- content?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReactionsListForIssueCommentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsCreateForIssueCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- content: string;
-};
-declare type ReactionsCreateForIssueCommentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsListForPullRequestReviewCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- content?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReactionsListForPullRequestReviewCommentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsCreateForPullRequestReviewCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- content: string;
-};
-declare type ReactionsCreateForPullRequestReviewCommentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsListForTeamDiscussionEndpoint = {
- team_id: number;
- discussion_number: number;
- content?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReactionsListForTeamDiscussionRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsCreateForTeamDiscussionEndpoint = {
- team_id: number;
- discussion_number: number;
- content: string;
-};
-declare type ReactionsCreateForTeamDiscussionRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsListForTeamDiscussionCommentEndpoint = {
- team_id: number;
- discussion_number: number;
- comment_number: number;
- content?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReactionsListForTeamDiscussionCommentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsCreateForTeamDiscussionCommentEndpoint = {
- team_id: number;
- discussion_number: number;
- comment_number: number;
- content: string;
-};
-declare type ReactionsCreateForTeamDiscussionCommentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReactionsDeleteEndpoint = {
- reaction_id: number;
-};
-declare type ReactionsDeleteRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListEndpoint = {
- visibility?: string;
- affiliation?: string;
- type?: string;
- sort?: string;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListForUserEndpoint = {
- username: string;
- type?: string;
- sort?: string;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListForOrgEndpoint = {
- org: string;
- type?: string;
- sort?: string;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListPublicEndpoint = {
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListPublicRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateForAuthenticatedUserEndpoint = {
- name: string;
- description?: string;
- homepage?: string;
- private?: boolean;
- has_issues?: boolean;
- has_projects?: boolean;
- has_wiki?: boolean;
- is_template?: boolean;
- team_id?: number;
- auto_init?: boolean;
- gitignore_template?: string;
- license_template?: string;
- allow_squash_merge?: boolean;
- allow_merge_commit?: boolean;
- allow_rebase_merge?: boolean;
-};
-declare type ReposCreateForAuthenticatedUserRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateInOrgEndpoint = {
- org: string;
- name: string;
- description?: string;
- homepage?: string;
- private?: boolean;
- has_issues?: boolean;
- has_projects?: boolean;
- has_wiki?: boolean;
- is_template?: boolean;
- team_id?: number;
- auto_init?: boolean;
- gitignore_template?: string;
- license_template?: string;
- allow_squash_merge?: boolean;
- allow_merge_commit?: boolean;
- allow_rebase_merge?: boolean;
-};
-declare type ReposCreateInOrgRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateUsingTemplateEndpoint = {
- template_owner: string;
- template_repo: string;
- owner?: string;
- name: string;
- description?: string;
- private?: boolean;
-};
-declare type ReposCreateUsingTemplateRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateEndpoint = {
- owner: string;
- repo: string;
- name?: string;
- description?: string;
- homepage?: string;
- private?: boolean;
- has_issues?: boolean;
- has_projects?: boolean;
- has_wiki?: boolean;
- is_template?: boolean;
- default_branch?: string;
- allow_squash_merge?: boolean;
- allow_merge_commit?: boolean;
- allow_rebase_merge?: boolean;
- archived?: boolean;
-};
-declare type ReposUpdateRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListTopicsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposListTopicsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposReplaceTopicsEndpoint = {
- owner: string;
- repo: string;
- names: string[];
-};
-declare type ReposReplaceTopicsRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCheckVulnerabilityAlertsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposCheckVulnerabilityAlertsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposEnableVulnerabilityAlertsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposEnableVulnerabilityAlertsRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDisableVulnerabilityAlertsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposDisableVulnerabilityAlertsRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposEnableAutomatedSecurityFixesEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposEnableAutomatedSecurityFixesRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDisableAutomatedSecurityFixesEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposDisableAutomatedSecurityFixesRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListContributorsEndpoint = {
- owner: string;
- repo: string;
- anon?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListContributorsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListLanguagesEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposListLanguagesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListTeamsEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListTeamsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListTagsEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListTagsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDeleteEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposDeleteRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposTransferEndpoint = {
- owner: string;
- repo: string;
- new_owner?: string;
- team_ids?: number[];
-};
-declare type ReposTransferRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListBranchesEndpoint = {
- owner: string;
- repo: string;
- protected?: boolean;
- per_page?: number;
- page?: number;
-};
-declare type ReposListBranchesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetBranchEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposGetBranchRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetBranchProtectionEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposGetBranchProtectionRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateBranchProtectionEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- required_status_checks: object | null;
- "required_status_checks.strict": boolean;
- "required_status_checks.contexts": string[];
- enforce_admins: boolean | null;
- required_pull_request_reviews: object | null;
- "required_pull_request_reviews.dismissal_restrictions"?: object;
- "required_pull_request_reviews.dismissal_restrictions.users"?: string[];
- "required_pull_request_reviews.dismissal_restrictions.teams"?: string[];
- "required_pull_request_reviews.dismiss_stale_reviews"?: boolean;
- "required_pull_request_reviews.require_code_owner_reviews"?: boolean;
- "required_pull_request_reviews.required_approving_review_count"?: number;
- restrictions: object | null;
- "restrictions.users"?: string[];
- "restrictions.teams"?: string[];
-};
-declare type ReposUpdateBranchProtectionRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveBranchProtectionEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposRemoveBranchProtectionRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetProtectedBranchRequiredStatusChecksEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposGetProtectedBranchRequiredStatusChecksRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateProtectedBranchRequiredStatusChecksEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- strict?: boolean;
- contexts?: string[];
-};
-declare type ReposUpdateProtectedBranchRequiredStatusChecksRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveProtectedBranchRequiredStatusChecksEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposRemoveProtectedBranchRequiredStatusChecksRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListProtectedBranchRequiredStatusChecksContextsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposListProtectedBranchRequiredStatusChecksContextsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposReplaceProtectedBranchRequiredStatusChecksContextsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- contexts: string[];
-};
-declare type ReposReplaceProtectedBranchRequiredStatusChecksContextsRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposAddProtectedBranchRequiredStatusChecksContextsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- contexts: string[];
-};
-declare type ReposAddProtectedBranchRequiredStatusChecksContextsRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveProtectedBranchRequiredStatusChecksContextsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- contexts: string[];
-};
-declare type ReposRemoveProtectedBranchRequiredStatusChecksContextsRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetProtectedBranchPullRequestReviewEnforcementEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposGetProtectedBranchPullRequestReviewEnforcementRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateProtectedBranchPullRequestReviewEnforcementEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- dismissal_restrictions?: object;
- "dismissal_restrictions.users"?: string[];
- "dismissal_restrictions.teams"?: string[];
- dismiss_stale_reviews?: boolean;
- require_code_owner_reviews?: boolean;
- required_approving_review_count?: number;
-};
-declare type ReposUpdateProtectedBranchPullRequestReviewEnforcementRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveProtectedBranchPullRequestReviewEnforcementEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposRemoveProtectedBranchPullRequestReviewEnforcementRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetProtectedBranchRequiredSignaturesEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposGetProtectedBranchRequiredSignaturesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposAddProtectedBranchRequiredSignaturesEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposAddProtectedBranchRequiredSignaturesRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveProtectedBranchRequiredSignaturesEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposRemoveProtectedBranchRequiredSignaturesRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetProtectedBranchAdminEnforcementEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposGetProtectedBranchAdminEnforcementRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposAddProtectedBranchAdminEnforcementEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposAddProtectedBranchAdminEnforcementRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveProtectedBranchAdminEnforcementEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposRemoveProtectedBranchAdminEnforcementRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetProtectedBranchRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposGetProtectedBranchRestrictionsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveProtectedBranchRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposRemoveProtectedBranchRestrictionsRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListProtectedBranchTeamRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListProtectedBranchTeamRestrictionsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposReplaceProtectedBranchTeamRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- teams: string[];
-};
-declare type ReposReplaceProtectedBranchTeamRestrictionsRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposAddProtectedBranchTeamRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- teams: string[];
-};
-declare type ReposAddProtectedBranchTeamRestrictionsRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveProtectedBranchTeamRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- teams: string[];
-};
-declare type ReposRemoveProtectedBranchTeamRestrictionsRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListProtectedBranchUserRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
-};
-declare type ReposListProtectedBranchUserRestrictionsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposReplaceProtectedBranchUserRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- users: string[];
-};
-declare type ReposReplaceProtectedBranchUserRestrictionsRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposAddProtectedBranchUserRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- users: string[];
-};
-declare type ReposAddProtectedBranchUserRestrictionsRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveProtectedBranchUserRestrictionsEndpoint = {
- owner: string;
- repo: string;
- branch: string;
- users: string[];
-};
-declare type ReposRemoveProtectedBranchUserRestrictionsRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListCollaboratorsEndpoint = {
- owner: string;
- repo: string;
- affiliation?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListCollaboratorsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCheckCollaboratorEndpoint = {
- owner: string;
- repo: string;
- username: string;
-};
-declare type ReposCheckCollaboratorRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetCollaboratorPermissionLevelEndpoint = {
- owner: string;
- repo: string;
- username: string;
-};
-declare type ReposGetCollaboratorPermissionLevelRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposAddCollaboratorEndpoint = {
- owner: string;
- repo: string;
- username: string;
- permission?: string;
-};
-declare type ReposAddCollaboratorRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveCollaboratorEndpoint = {
- owner: string;
- repo: string;
- username: string;
-};
-declare type ReposRemoveCollaboratorRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListCommitCommentsEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListCommitCommentsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListCommentsForCommitEndpoint = {
- owner: string;
- repo: string;
- commit_sha: string;
- per_page?: number;
- page?: number;
- ref?: string;
-};
-declare type ReposListCommentsForCommitRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateCommitCommentEndpoint = {
- owner: string;
- repo: string;
- commit_sha: string;
- body: string;
- path?: string;
- position?: number;
- line?: number;
- sha?: string;
-};
-declare type ReposCreateCommitCommentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetCommitCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
-};
-declare type ReposGetCommitCommentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateCommitCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
- body: string;
-};
-declare type ReposUpdateCommitCommentRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDeleteCommitCommentEndpoint = {
- owner: string;
- repo: string;
- comment_id: number;
-};
-declare type ReposDeleteCommitCommentRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListCommitsEndpoint = {
- owner: string;
- repo: string;
- sha?: string;
- path?: string;
- author?: string;
- since?: string;
- until?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListCommitsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetCommitEndpoint = {
- owner: string;
- repo: string;
- ref: string;
- sha?: string;
- commit_sha?: string;
-};
-declare type ReposGetCommitRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetCommitRefShaEndpoint = {
- owner: string;
- repo: string;
- ref: string;
-};
-declare type ReposGetCommitRefShaRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCompareCommitsEndpoint = {
- owner: string;
- repo: string;
- base: string;
- head: string;
-};
-declare type ReposCompareCommitsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListBranchesForHeadCommitEndpoint = {
- owner: string;
- repo: string;
- commit_sha: string;
-};
-declare type ReposListBranchesForHeadCommitRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListPullRequestsAssociatedWithCommitEndpoint = {
- owner: string;
- repo: string;
- commit_sha: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListPullRequestsAssociatedWithCommitRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRetrieveCommunityProfileMetricsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposRetrieveCommunityProfileMetricsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetReadmeEndpoint = {
- owner: string;
- repo: string;
- ref?: string;
-};
-declare type ReposGetReadmeRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetContentsEndpoint = {
- owner: string;
- repo: string;
- path: string;
- ref?: string;
-};
-declare type ReposGetContentsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateOrUpdateFileEndpoint = {
- owner: string;
- repo: string;
- path: string;
- message: string;
- content: string;
- sha?: string;
- branch?: string;
- committer?: object;
- "committer.name": string;
- "committer.email": string;
- author?: object;
- "author.name": string;
- "author.email": string;
-};
-declare type ReposCreateOrUpdateFileRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateFileEndpoint = {
- owner: string;
- repo: string;
- path: string;
- message: string;
- content: string;
- sha?: string;
- branch?: string;
- committer?: object;
- "committer.name": string;
- "committer.email": string;
- author?: object;
- "author.name": string;
- "author.email": string;
-};
-declare type ReposCreateFileRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateFileEndpoint = {
- owner: string;
- repo: string;
- path: string;
- message: string;
- content: string;
- sha?: string;
- branch?: string;
- committer?: object;
- "committer.name": string;
- "committer.email": string;
- author?: object;
- "author.name": string;
- "author.email": string;
-};
-declare type ReposUpdateFileRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDeleteFileEndpoint = {
- owner: string;
- repo: string;
- path: string;
- message: string;
- sha: string;
- branch?: string;
- committer?: object;
- "committer.name"?: string;
- "committer.email"?: string;
- author?: object;
- "author.name"?: string;
- "author.email"?: string;
-};
-declare type ReposDeleteFileRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetArchiveLinkEndpoint = {
- owner: string;
- repo: string;
- archive_format: string;
- ref: string;
-};
-declare type ReposGetArchiveLinkRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListDeploymentsEndpoint = {
- owner: string;
- repo: string;
- sha?: string;
- ref?: string;
- task?: string;
- environment?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListDeploymentsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetDeploymentEndpoint = {
- owner: string;
- repo: string;
- deployment_id: number;
-};
-declare type ReposGetDeploymentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateDeploymentEndpoint = {
- owner: string;
- repo: string;
- ref: string;
- task?: string;
- auto_merge?: boolean;
- required_contexts?: string[];
- payload?: string;
- environment?: string;
- description?: string;
- transient_environment?: boolean;
- production_environment?: boolean;
-};
-declare type ReposCreateDeploymentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListDeploymentStatusesEndpoint = {
- owner: string;
- repo: string;
- deployment_id: number;
- per_page?: number;
- page?: number;
-};
-declare type ReposListDeploymentStatusesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetDeploymentStatusEndpoint = {
- owner: string;
- repo: string;
- deployment_id: number;
- status_id: number;
-};
-declare type ReposGetDeploymentStatusRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateDeploymentStatusEndpoint = {
- owner: string;
- repo: string;
- deployment_id: number;
- state: string;
- target_url?: string;
- log_url?: string;
- description?: string;
- environment?: string;
- environment_url?: string;
- auto_inactive?: boolean;
-};
-declare type ReposCreateDeploymentStatusRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListDownloadsEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListDownloadsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetDownloadEndpoint = {
- owner: string;
- repo: string;
- download_id: number;
-};
-declare type ReposGetDownloadRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDeleteDownloadEndpoint = {
- owner: string;
- repo: string;
- download_id: number;
-};
-declare type ReposDeleteDownloadRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListForksEndpoint = {
- owner: string;
- repo: string;
- sort?: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListForksRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateForkEndpoint = {
- owner: string;
- repo: string;
- organization?: string;
-};
-declare type ReposCreateForkRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListHooksEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListHooksRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetHookEndpoint = {
- owner: string;
- repo: string;
- hook_id: number;
-};
-declare type ReposGetHookRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateHookEndpoint = {
- owner: string;
- repo: string;
- name?: string;
- config: object;
- "config.url": string;
- "config.content_type"?: string;
- "config.secret"?: string;
- "config.insecure_ssl"?: string;
- events?: string[];
- active?: boolean;
-};
-declare type ReposCreateHookRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateHookEndpoint = {
- owner: string;
- repo: string;
- hook_id: number;
- config?: object;
- "config.url": string;
- "config.content_type"?: string;
- "config.secret"?: string;
- "config.insecure_ssl"?: string;
- events?: string[];
- add_events?: string[];
- remove_events?: string[];
- active?: boolean;
-};
-declare type ReposUpdateHookRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposTestPushHookEndpoint = {
- owner: string;
- repo: string;
- hook_id: number;
-};
-declare type ReposTestPushHookRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposPingHookEndpoint = {
- owner: string;
- repo: string;
- hook_id: number;
-};
-declare type ReposPingHookRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDeleteHookEndpoint = {
- owner: string;
- repo: string;
- hook_id: number;
-};
-declare type ReposDeleteHookRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListInvitationsEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListInvitationsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDeleteInvitationEndpoint = {
- owner: string;
- repo: string;
- invitation_id: number;
-};
-declare type ReposDeleteInvitationRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateInvitationEndpoint = {
- owner: string;
- repo: string;
- invitation_id: number;
- permissions?: string;
-};
-declare type ReposUpdateInvitationRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListInvitationsForAuthenticatedUserEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type ReposListInvitationsForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposAcceptInvitationEndpoint = {
- invitation_id: number;
-};
-declare type ReposAcceptInvitationRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDeclineInvitationEndpoint = {
- invitation_id: number;
-};
-declare type ReposDeclineInvitationRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListDeployKeysEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListDeployKeysRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetDeployKeyEndpoint = {
- owner: string;
- repo: string;
- key_id: number;
-};
-declare type ReposGetDeployKeyRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposAddDeployKeyEndpoint = {
- owner: string;
- repo: string;
- title?: string;
- key: string;
- read_only?: boolean;
-};
-declare type ReposAddDeployKeyRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRemoveDeployKeyEndpoint = {
- owner: string;
- repo: string;
- key_id: number;
-};
-declare type ReposRemoveDeployKeyRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposMergeEndpoint = {
- owner: string;
- repo: string;
- base: string;
- head: string;
- commit_message?: string;
-};
-declare type ReposMergeRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetPagesEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetPagesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposEnablePagesSiteEndpoint = {
- owner: string;
- repo: string;
- source?: object;
- "source.branch"?: string;
- "source.path"?: string;
-};
-declare type ReposEnablePagesSiteRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDisablePagesSiteEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposDisablePagesSiteRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateInformationAboutPagesSiteEndpoint = {
- owner: string;
- repo: string;
- cname?: string;
- source?: string;
-};
-declare type ReposUpdateInformationAboutPagesSiteRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposRequestPageBuildEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposRequestPageBuildRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListPagesBuildsEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListPagesBuildsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetLatestPagesBuildEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetLatestPagesBuildRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetPagesBuildEndpoint = {
- owner: string;
- repo: string;
- build_id: number;
-};
-declare type ReposGetPagesBuildRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListReleasesEndpoint = {
- owner: string;
- repo: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListReleasesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetReleaseEndpoint = {
- owner: string;
- repo: string;
- release_id: number;
-};
-declare type ReposGetReleaseRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetLatestReleaseEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetLatestReleaseRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetReleaseByTagEndpoint = {
- owner: string;
- repo: string;
- tag: string;
-};
-declare type ReposGetReleaseByTagRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateReleaseEndpoint = {
- owner: string;
- repo: string;
- tag_name: string;
- target_commitish?: string;
- name?: string;
- body?: string;
- draft?: boolean;
- prerelease?: boolean;
-};
-declare type ReposCreateReleaseRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateReleaseEndpoint = {
- owner: string;
- repo: string;
- release_id: number;
- tag_name?: string;
- target_commitish?: string;
- name?: string;
- body?: string;
- draft?: boolean;
- prerelease?: boolean;
-};
-declare type ReposUpdateReleaseRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDeleteReleaseEndpoint = {
- owner: string;
- repo: string;
- release_id: number;
-};
-declare type ReposDeleteReleaseRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListAssetsForReleaseEndpoint = {
- owner: string;
- repo: string;
- release_id: number;
- per_page?: number;
- page?: number;
-};
-declare type ReposListAssetsForReleaseRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUploadReleaseAssetEndpoint = {
- url: string;
- headers: object;
- "headers.content-length": number;
- "headers.content-type": string;
- name: string;
- label?: string;
- file: string | object;
-};
-declare type ReposUploadReleaseAssetRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetReleaseAssetEndpoint = {
- owner: string;
- repo: string;
- asset_id: number;
-};
-declare type ReposGetReleaseAssetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposUpdateReleaseAssetEndpoint = {
- owner: string;
- repo: string;
- asset_id: number;
- name?: string;
- label?: string;
-};
-declare type ReposUpdateReleaseAssetRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposDeleteReleaseAssetEndpoint = {
- owner: string;
- repo: string;
- asset_id: number;
-};
-declare type ReposDeleteReleaseAssetRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetContributorsStatsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetContributorsStatsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetCommitActivityStatsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetCommitActivityStatsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetCodeFrequencyStatsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetCodeFrequencyStatsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetParticipationStatsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetParticipationStatsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetPunchCardStatsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetPunchCardStatsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposCreateStatusEndpoint = {
- owner: string;
- repo: string;
- sha: string;
- state: string;
- target_url?: string;
- description?: string;
- context?: string;
-};
-declare type ReposCreateStatusRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposListStatusesForRefEndpoint = {
- owner: string;
- repo: string;
- ref: string;
- per_page?: number;
- page?: number;
-};
-declare type ReposListStatusesForRefRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetCombinedStatusForRefEndpoint = {
- owner: string;
- repo: string;
- ref: string;
-};
-declare type ReposGetCombinedStatusForRefRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetTopReferrersEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetTopReferrersRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetTopPathsEndpoint = {
- owner: string;
- repo: string;
-};
-declare type ReposGetTopPathsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetViewsEndpoint = {
- owner: string;
- repo: string;
- per?: string;
-};
-declare type ReposGetViewsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ReposGetClonesEndpoint = {
- owner: string;
- repo: string;
- per?: string;
-};
-declare type ReposGetClonesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ScimListProvisionedIdentitiesEndpoint = {
- org: string;
- startIndex?: number;
- count?: number;
- filter?: string;
-};
-declare type ScimListProvisionedIdentitiesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ScimGetProvisioningDetailsForUserEndpoint = {
- org: string;
- scim_user_id: number;
- external_identity_guid?: number;
-};
-declare type ScimGetProvisioningDetailsForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ScimProvisionAndInviteUsersEndpoint = {
- org: string;
-};
-declare type ScimProvisionAndInviteUsersRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ScimProvisionInviteUsersEndpoint = {
- org: string;
-};
-declare type ScimProvisionInviteUsersRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ScimReplaceProvisionedUserInformationEndpoint = {
- org: string;
- scim_user_id: number;
- external_identity_guid?: number;
-};
-declare type ScimReplaceProvisionedUserInformationRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ScimUpdateProvisionedOrgMembershipEndpoint = {
- org: string;
- scim_user_id: number;
- external_identity_guid?: number;
-};
-declare type ScimUpdateProvisionedOrgMembershipRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ScimUpdateUserAttributeEndpoint = {
- org: string;
- scim_user_id: number;
- external_identity_guid?: number;
-};
-declare type ScimUpdateUserAttributeRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type ScimRemoveUserFromOrgEndpoint = {
- org: string;
- scim_user_id: number;
- external_identity_guid?: number;
-};
-declare type ScimRemoveUserFromOrgRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchReposEndpoint = {
- q: string;
- sort?: string;
- order?: string;
- per_page?: number;
- page?: number;
-};
-declare type SearchReposRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchCommitsEndpoint = {
- q: string;
- sort?: string;
- order?: string;
- per_page?: number;
- page?: number;
-};
-declare type SearchCommitsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchCodeEndpoint = {
- q: string;
- sort?: string;
- order?: string;
- per_page?: number;
- page?: number;
-};
-declare type SearchCodeRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchIssuesAndPullRequestsEndpoint = {
- q: string;
- sort?: string;
- order?: string;
- per_page?: number;
- page?: number;
-};
-declare type SearchIssuesAndPullRequestsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchIssuesEndpoint = {
- q: string;
- sort?: string;
- order?: string;
- per_page?: number;
- page?: number;
-};
-declare type SearchIssuesRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchUsersEndpoint = {
- q: string;
- sort?: string;
- order?: string;
- per_page?: number;
- page?: number;
-};
-declare type SearchUsersRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchTopicsEndpoint = {
- q: string;
-};
-declare type SearchTopicsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchLabelsEndpoint = {
- repository_id: number;
- q: string;
- sort?: string;
- order?: string;
-};
-declare type SearchLabelsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchIssuesLegacyEndpoint = {
- owner: string;
- repository: string;
- state: string;
- keyword: string;
-};
-declare type SearchIssuesLegacyRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchReposLegacyEndpoint = {
- keyword: string;
- language?: string;
- start_page?: string;
- sort?: string;
- order?: string;
-};
-declare type SearchReposLegacyRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchUsersLegacyEndpoint = {
- keyword: string;
- start_page?: string;
- sort?: string;
- order?: string;
-};
-declare type SearchUsersLegacyRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type SearchEmailLegacyEndpoint = {
- email: string;
-};
-declare type SearchEmailLegacyRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListEndpoint = {
- org: string;
- per_page?: number;
- page?: number;
-};
-declare type TeamsListRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsGetEndpoint = {
- team_id: number;
-};
-declare type TeamsGetRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsGetByNameEndpoint = {
- org: string;
- team_slug: string;
-};
-declare type TeamsGetByNameRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsCreateEndpoint = {
- org: string;
- name: string;
- description?: string;
- maintainers?: string[];
- repo_names?: string[];
- privacy?: string;
- permission?: string;
- parent_team_id?: number;
-};
-declare type TeamsCreateRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsUpdateEndpoint = {
- team_id: number;
- name: string;
- description?: string;
- privacy?: string;
- permission?: string;
- parent_team_id?: number;
-};
-declare type TeamsUpdateRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsDeleteEndpoint = {
- team_id: number;
-};
-declare type TeamsDeleteRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListChildEndpoint = {
- team_id: number;
- per_page?: number;
- page?: number;
-};
-declare type TeamsListChildRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListReposEndpoint = {
- team_id: number;
- per_page?: number;
- page?: number;
-};
-declare type TeamsListReposRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsCheckManagesRepoEndpoint = {
- team_id: number;
- owner: string;
- repo: string;
-};
-declare type TeamsCheckManagesRepoRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsAddOrUpdateRepoEndpoint = {
- team_id: number;
- owner: string;
- repo: string;
- permission?: string;
-};
-declare type TeamsAddOrUpdateRepoRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsRemoveRepoEndpoint = {
- team_id: number;
- owner: string;
- repo: string;
-};
-declare type TeamsRemoveRepoRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListForAuthenticatedUserEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type TeamsListForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListProjectsEndpoint = {
- team_id: number;
- per_page?: number;
- page?: number;
-};
-declare type TeamsListProjectsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsReviewProjectEndpoint = {
- team_id: number;
- project_id: number;
-};
-declare type TeamsReviewProjectRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsAddOrUpdateProjectEndpoint = {
- team_id: number;
- project_id: number;
- permission?: string;
-};
-declare type TeamsAddOrUpdateProjectRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsRemoveProjectEndpoint = {
- team_id: number;
- project_id: number;
-};
-declare type TeamsRemoveProjectRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListDiscussionCommentsEndpoint = {
- team_id: number;
- discussion_number: number;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type TeamsListDiscussionCommentsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsGetDiscussionCommentEndpoint = {
- team_id: number;
- discussion_number: number;
- comment_number: number;
-};
-declare type TeamsGetDiscussionCommentRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsCreateDiscussionCommentEndpoint = {
- team_id: number;
- discussion_number: number;
- body: string;
-};
-declare type TeamsCreateDiscussionCommentRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsUpdateDiscussionCommentEndpoint = {
- team_id: number;
- discussion_number: number;
- comment_number: number;
- body: string;
-};
-declare type TeamsUpdateDiscussionCommentRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsDeleteDiscussionCommentEndpoint = {
- team_id: number;
- discussion_number: number;
- comment_number: number;
-};
-declare type TeamsDeleteDiscussionCommentRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListDiscussionsEndpoint = {
- team_id: number;
- direction?: string;
- per_page?: number;
- page?: number;
-};
-declare type TeamsListDiscussionsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsGetDiscussionEndpoint = {
- team_id: number;
- discussion_number: number;
-};
-declare type TeamsGetDiscussionRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsCreateDiscussionEndpoint = {
- team_id: number;
- title: string;
- body: string;
- private?: boolean;
-};
-declare type TeamsCreateDiscussionRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsUpdateDiscussionEndpoint = {
- team_id: number;
- discussion_number: number;
- title?: string;
- body?: string;
-};
-declare type TeamsUpdateDiscussionRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsDeleteDiscussionEndpoint = {
- team_id: number;
- discussion_number: number;
-};
-declare type TeamsDeleteDiscussionRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListMembersEndpoint = {
- team_id: number;
- role?: string;
- per_page?: number;
- page?: number;
-};
-declare type TeamsListMembersRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsGetMemberEndpoint = {
- team_id: number;
- username: string;
-};
-declare type TeamsGetMemberRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsAddMemberEndpoint = {
- team_id: number;
- username: string;
-};
-declare type TeamsAddMemberRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsRemoveMemberEndpoint = {
- team_id: number;
- username: string;
-};
-declare type TeamsRemoveMemberRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsGetMembershipEndpoint = {
- team_id: number;
- username: string;
-};
-declare type TeamsGetMembershipRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsAddOrUpdateMembershipEndpoint = {
- team_id: number;
- username: string;
- role?: string;
-};
-declare type TeamsAddOrUpdateMembershipRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsRemoveMembershipEndpoint = {
- team_id: number;
- username: string;
-};
-declare type TeamsRemoveMembershipRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListPendingInvitationsEndpoint = {
- team_id: number;
- per_page?: number;
- page?: number;
-};
-declare type TeamsListPendingInvitationsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListIdPGroupsForOrgEndpoint = {
- org: string;
- per_page?: number;
- page?: number;
-};
-declare type TeamsListIdPGroupsForOrgRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsListIdPGroupsEndpoint = {
- team_id: number;
-};
-declare type TeamsListIdPGroupsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type TeamsCreateOrUpdateIdPGroupConnectionsEndpoint = {
- team_id: number;
- groups: object[];
- "groups[].group_id": string;
- "groups[].group_name": string;
- "groups[].group_description": string;
-};
-declare type TeamsCreateOrUpdateIdPGroupConnectionsRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersGetByUsernameEndpoint = {
- username: string;
-};
-declare type UsersGetByUsernameRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersGetAuthenticatedEndpoint = {};
-declare type UsersGetAuthenticatedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersUpdateAuthenticatedEndpoint = {
- name?: string;
- email?: string;
- blog?: string;
- company?: string;
- location?: string;
- hireable?: boolean;
- bio?: string;
-};
-declare type UsersUpdateAuthenticatedRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersGetContextForUserEndpoint = {
- username: string;
- subject_type?: string;
- subject_id?: string;
-};
-declare type UsersGetContextForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListEndpoint = {
- since?: string;
- per_page?: number;
- page?: number;
-};
-declare type UsersListRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListBlockedEndpoint = {};
-declare type UsersListBlockedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersCheckBlockedEndpoint = {
- username: string;
-};
-declare type UsersCheckBlockedRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersBlockEndpoint = {
- username: string;
-};
-declare type UsersBlockRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersUnblockEndpoint = {
- username: string;
-};
-declare type UsersUnblockRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListEmailsEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type UsersListEmailsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListPublicEmailsEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type UsersListPublicEmailsRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersAddEmailsEndpoint = {
- emails: string[];
-};
-declare type UsersAddEmailsRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersDeleteEmailsEndpoint = {
- emails: string[];
-};
-declare type UsersDeleteEmailsRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersTogglePrimaryEmailVisibilityEndpoint = {
- email: string;
- visibility: string;
-};
-declare type UsersTogglePrimaryEmailVisibilityRequestOptions = {
- method: "PATCH";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListFollowersForUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type UsersListFollowersForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListFollowersForAuthenticatedUserEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type UsersListFollowersForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListFollowingForUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type UsersListFollowingForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListFollowingForAuthenticatedUserEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type UsersListFollowingForAuthenticatedUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersCheckFollowingEndpoint = {
- username: string;
-};
-declare type UsersCheckFollowingRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersCheckFollowingForUserEndpoint = {
- username: string;
- target_user: string;
-};
-declare type UsersCheckFollowingForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersFollowEndpoint = {
- username: string;
-};
-declare type UsersFollowRequestOptions = {
- method: "PUT";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersUnfollowEndpoint = {
- username: string;
-};
-declare type UsersUnfollowRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListGpgKeysForUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type UsersListGpgKeysForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListGpgKeysEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type UsersListGpgKeysRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersGetGpgKeyEndpoint = {
- gpg_key_id: number;
-};
-declare type UsersGetGpgKeyRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersCreateGpgKeyEndpoint = {
- armored_public_key?: string;
-};
-declare type UsersCreateGpgKeyRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersDeleteGpgKeyEndpoint = {
- gpg_key_id: number;
-};
-declare type UsersDeleteGpgKeyRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListPublicKeysForUserEndpoint = {
- username: string;
- per_page?: number;
- page?: number;
-};
-declare type UsersListPublicKeysForUserRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersListPublicKeysEndpoint = {
- per_page?: number;
- page?: number;
-};
-declare type UsersListPublicKeysRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersGetPublicKeyEndpoint = {
- key_id: number;
-};
-declare type UsersGetPublicKeyRequestOptions = {
- method: "GET";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersCreatePublicKeyEndpoint = {
- title?: string;
- key?: string;
-};
-declare type UsersCreatePublicKeyRequestOptions = {
- method: "POST";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-declare type UsersDeletePublicKeyEndpoint = {
- key_id: number;
-};
-declare type UsersDeletePublicKeyRequestOptions = {
- method: "DELETE";
- url: Url;
- headers: Headers;
- request: EndpointRequestOptions;
-};
-export {};
diff --git a/node_modules/@octokit/endpoint/dist-types/index.d.ts b/node_modules/@octokit/endpoint/dist-types/index.d.ts
deleted file mode 100644
index 9977f09..0000000
--- a/node_modules/@octokit/endpoint/dist-types/index.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const endpoint: import("./types").endpoint;
diff --git a/node_modules/@octokit/endpoint/dist-types/merge.d.ts b/node_modules/@octokit/endpoint/dist-types/merge.d.ts
deleted file mode 100644
index 966470f..0000000
--- a/node_modules/@octokit/endpoint/dist-types/merge.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { Defaults, Route, Parameters } from "./types";
-export declare function merge(defaults: Defaults | null, route?: Route | Parameters, options?: Parameters): Defaults;
diff --git a/node_modules/@octokit/endpoint/dist-types/parse.d.ts b/node_modules/@octokit/endpoint/dist-types/parse.d.ts
deleted file mode 100644
index 3bc65d6..0000000
--- a/node_modules/@octokit/endpoint/dist-types/parse.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { Defaults, RequestOptions } from "./types";
-export declare function parse(options: Defaults): RequestOptions;
diff --git a/node_modules/@octokit/endpoint/dist-types/types.d.ts b/node_modules/@octokit/endpoint/dist-types/types.d.ts
deleted file mode 100644
index 979c064..0000000
--- a/node_modules/@octokit/endpoint/dist-types/types.d.ts
+++ /dev/null
@@ -1,150 +0,0 @@
-import { Routes as KnownRoutes } from "./generated/routes";
-export interface endpoint {
- /**
- * Transforms a GitHub REST API endpoint into generic request options
- *
- * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- (options: Endpoint): RequestOptions;
- /**
- * Transforms a GitHub REST API endpoint into generic request options
- *
- * @param {string} route Request method + URL. Example: `'GET /orgs/:org'`
- * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- (route: keyof KnownRoutes | R, options?: R extends keyof KnownRoutes ? KnownRoutes[R][0] & Parameters : Parameters): R extends keyof KnownRoutes ? KnownRoutes[R][1] : RequestOptions;
- /**
- * Object with current default route and parameters
- */
- DEFAULTS: Defaults;
- /**
- * Returns a new `endpoint` with updated route and parameters
- */
- defaults: (newDefaults: Parameters) => endpoint;
- merge: {
- /**
- * Merges current endpoint defaults with passed route and parameters,
- * without transforming them into request options.
- *
- * @param {string} route Request method + URL. Example: `'GET /orgs/:org'`
- * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- *
- */
- (route: Route, parameters?: Parameters): Defaults;
- /**
- * Merges current endpoint defaults with passed route and parameters,
- * without transforming them into request options.
- *
- * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- (options: Parameters): Defaults;
- /**
- * Returns current default options.
- *
- * @deprecated use endpoint.DEFAULTS instead
- */
- (): Defaults;
- };
- /**
- * Stateless method to turn endpoint options into request options.
- * Calling `endpoint(options)` is the same as calling `endpoint.parse(endpoint.merge(options))`.
- *
- * @param {object} options `method`, `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- parse: (options: Defaults) => RequestOptions;
-}
-/**
- * Request method + URL. Example: `'GET /orgs/:org'`
- */
-export declare type Route = string;
-/**
- * Relative or absolute URL. Examples: `'/orgs/:org'`, `https://example.com/foo/bar`
- */
-export declare type Url = string;
-/**
- * Request method
- */
-export declare type Method = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT";
-/**
- * Endpoint parameters
- */
-export declare type Parameters = {
- /**
- * Base URL to be used when a relative URL is passed, such as `/orgs/:org`.
- * If `baseUrl` is `https://enterprise.acme-inc.com/api/v3`, then the resulting
- * `RequestOptions.url` will be `https://enterprise.acme-inc.com/api/v3/orgs/:org`.
- */
- baseUrl?: string;
- /**
- * HTTP headers. Use lowercase keys.
- */
- headers?: Headers;
- /**
- * Media type options, see {@link https://developer.github.com/v3/media/|GitHub Developer Guide}
- */
- mediaType?: {
- /**
- * `json` by default. Can be `raw`, `text`, `html`, `full`, `diff`, `patch`, `sha`, `base64`. Depending on endpoint
- */
- format?: string;
- /**
- * Custom media type names of {@link https://developer.github.com/v3/media/|API Previews} without the `-preview` suffix.
- * Example for single preview: `['squirrel-girl']`.
- * Example for multiple previews: `['squirrel-girl', 'mister-fantastic']`.
- */
- previews?: string[];
- };
- /**
- * Pass custom meta information for the request. The `request` object will be returned as is.
- */
- request?: EndpointRequestOptions;
- /**
- * Any additional parameter will be passed as follows
- * 1. URL parameter if `':parameter'` or `{parameter}` is part of `url`
- * 2. Query parameter if `method` is `'GET'` or `'HEAD'`
- * 3. Request body if `parameter` is `'data'`
- * 4. JSON in the request body in the form of `body[parameter]` unless `parameter` key is `'data'`
- */
- [parameter: string]: any;
-};
-export declare type Endpoint = Parameters & {
- method: Method;
- url: Url;
-};
-export declare type Defaults = Parameters & {
- method: Method;
- baseUrl: string;
- headers: Headers & {
- accept: string;
- "user-agent": string;
- };
- mediaType: {
- format: string;
- previews: string[];
- };
-};
-export declare type RequestOptions = {
- method: Method;
- url: Url;
- headers: Headers;
- body?: any;
- request?: EndpointRequestOptions;
-};
-export declare type Headers = {
- /**
- * Avoid setting `accept`, use `mediaFormat.{format|previews}` instead.
- */
- accept?: string;
- /**
- * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678`
- */
- authorization?: string;
- /**
- * `user-agent` is set do a default and can be overwritten as needed.
- */
- "user-agent"?: string;
- [header: string]: string | number | undefined;
-};
-export declare type EndpointRequestOptions = {
- [option: string]: any;
-};
diff --git a/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts b/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts
deleted file mode 100644
index 4b192ac..0000000
--- a/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export declare function addQueryParameters(url: string, parameters: {
- [x: string]: string | undefined;
- q?: string;
-}): string;
diff --git a/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts b/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts
deleted file mode 100644
index 93586d4..0000000
--- a/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare function extractUrlVariableNames(url: string): string[];
diff --git a/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts b/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts
deleted file mode 100644
index 2196dd4..0000000
--- a/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export declare function lowercaseKeys(object?: {
- [key: string]: any;
-}): {};
diff --git a/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts b/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts
deleted file mode 100644
index 06927d6..0000000
--- a/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export declare function omit(object: {
- [key: string]: any;
-}, keysToOmit: string[]): {
- [key: string]: any;
-};
diff --git a/node_modules/@octokit/endpoint/dist-types/version.d.ts b/node_modules/@octokit/endpoint/dist-types/version.d.ts
deleted file mode 100644
index 15711f0..0000000
--- a/node_modules/@octokit/endpoint/dist-types/version.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const VERSION = "0.0.0-development";
diff --git a/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts b/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts
deleted file mode 100644
index bdbb3c5..0000000
--- a/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { Defaults, endpoint, Parameters } from "./types";
-export declare function withDefaults(oldDefaults: Defaults | null, newDefaults: Parameters): endpoint;
diff --git a/node_modules/@octokit/endpoint/dist-web/index.js b/node_modules/@octokit/endpoint/dist-web/index.js
deleted file mode 100644
index aff43a7..0000000
--- a/node_modules/@octokit/endpoint/dist-web/index.js
+++ /dev/null
@@ -1,233 +0,0 @@
-import deepmerge from 'deepmerge';
-import isPlainObject from 'is-plain-object';
-import urlTemplate from 'url-template';
-import getUserAgent from 'universal-user-agent';
-
-function _slicedToArray(arr, i) {
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
-}
-
-function _arrayWithHoles(arr) {
- if (Array.isArray(arr)) return arr;
-}
-
-function _iterableToArrayLimit(arr, i) {
- var _arr = [];
- var _n = true;
- var _d = false;
- var _e = undefined;
-
- try {
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
- _arr.push(_s.value);
-
- if (i && _arr.length === i) break;
- }
- } catch (err) {
- _d = true;
- _e = err;
- } finally {
- try {
- if (!_n && _i["return"] != null) _i["return"]();
- } finally {
- if (_d) throw _e;
- }
- }
-
- return _arr;
-}
-
-function _nonIterableRest() {
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
-}
-
-function lowercaseKeys(object) {
- if (!object) {
- return {};
- }
-
- return Object.keys(object).reduce((newObj, key) => {
- newObj[key.toLowerCase()] = object[key];
- return newObj;
- }, {});
-}
-
-function merge(defaults, route, options) {
- if (typeof route === "string") {
- let _route$split = route.split(" "),
- _route$split2 = _slicedToArray(_route$split, 2),
- method = _route$split2[0],
- url = _route$split2[1];
-
- options = Object.assign(url ? {
- method,
- url
- } : {
- url: method
- }, options);
- } else {
- options = route || {};
- } // lowercase header names before merging with defaults to avoid duplicates
-
-
- options.headers = lowercaseKeys(options.headers);
- const mergedOptions = deepmerge.all([defaults, options].filter(Boolean), {
- isMergeableObject: isPlainObject
- }); // mediaType.previews arrays are merged, instead of overwritten
-
- if (defaults && defaults.mediaType.previews.length) {
- mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews);
- }
-
- mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, ""));
- return mergedOptions;
-}
-
-function addQueryParameters(url, parameters) {
- const separator = /\?/.test(url) ? "&" : "?";
- const names = Object.keys(parameters);
-
- if (names.length === 0) {
- return url;
- }
-
- return url + separator + names.map(name => {
- if (name === "q") {
- return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+");
- }
-
- return "".concat(name, "=").concat(encodeURIComponent(parameters[name]));
- }).join("&");
-}
-
-const urlVariableRegex = /\{[^}]+\}/g;
-
-function removeNonChars(variableName) {
- return variableName.replace(/^\W+|\W+$/g, "").split(/,/);
-}
-
-function extractUrlVariableNames(url) {
- const matches = url.match(urlVariableRegex);
-
- if (!matches) {
- return [];
- }
-
- return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);
-}
-
-function omit(object, keysToOmit) {
- return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => {
- obj[key] = object[key];
- return obj;
- }, {});
-}
-
-function parse(options) {
- // https://fetch.spec.whatwg.org/#methods
- let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible
-
- let url = options.url.replace(/:([a-z]\w+)/g, "{+$1}");
- let headers = Object.assign({}, options.headers);
- let body;
- let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later
-
- const urlVariableNames = extractUrlVariableNames(url);
- url = urlTemplate.parse(url).expand(parameters);
-
- if (!/^http/.test(url)) {
- url = options.baseUrl + url;
- }
-
- const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl");
- const remainingParameters = omit(parameters, omittedParameters);
- const isBinaryRequset = /application\/octet-stream/i.test(headers.accept);
-
- if (!isBinaryRequset) {
- if (options.mediaType.format) {
- // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw
- headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, "application/vnd$1$2.".concat(options.mediaType.format))).join(",");
- }
-
- if (options.mediaType.previews.length) {
- const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || [];
- headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => {
- const format = options.mediaType.format ? ".".concat(options.mediaType.format) : "+json";
- return "application/vnd.github.".concat(preview, "-preview").concat(format);
- }).join(",");
- }
- } // for GET/HEAD requests, set URL query parameters from remaining parameters
- // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters
-
-
- if (["GET", "HEAD"].includes(method)) {
- url = addQueryParameters(url, remainingParameters);
- } else {
- if ("data" in remainingParameters) {
- body = remainingParameters.data;
- } else {
- if (Object.keys(remainingParameters).length) {
- body = remainingParameters;
- } else {
- headers["content-length"] = 0;
- }
- }
- } // default content-type for JSON if body is set
-
-
- if (!headers["content-type"] && typeof body !== "undefined") {
- headers["content-type"] = "application/json; charset=utf-8";
- } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.
- // fetch does not allow to set `content-length` header, but we can set body to an empty string
-
-
- if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") {
- body = "";
- } // Only return body/request keys if present
-
-
- return Object.assign({
- method,
- url,
- headers
- }, typeof body !== "undefined" ? {
- body
- } : null, options.request ? {
- request: options.request
- } : null);
-}
-
-function endpointWithDefaults(defaults, route, options) {
- return parse(merge(defaults, route, options));
-}
-
-function withDefaults(oldDefaults, newDefaults) {
- const DEFAULTS = merge(oldDefaults, newDefaults);
- const endpoint = endpointWithDefaults.bind(null, DEFAULTS);
- return Object.assign(endpoint, {
- DEFAULTS,
- defaults: withDefaults.bind(null, DEFAULTS),
- merge: merge.bind(null, DEFAULTS),
- parse
- });
-}
-
-const VERSION = "0.0.0-development";
-
-const userAgent = "octokit-endpoint.js/".concat(VERSION, " ").concat(getUserAgent());
-const DEFAULTS = {
- method: "GET",
- baseUrl: "https://api.github.com",
- headers: {
- accept: "application/vnd.github.v3+json",
- "user-agent": userAgent
- },
- mediaType: {
- format: "",
- previews: []
- }
-};
-
-const endpoint = withDefaults(null, DEFAULTS);
-
-export { endpoint };
diff --git a/node_modules/@octokit/endpoint/node_modules/is-plain-object/LICENSE b/node_modules/@octokit/endpoint/node_modules/is-plain-object/LICENSE
deleted file mode 100644
index 3f2eca1..0000000
--- a/node_modules/@octokit/endpoint/node_modules/is-plain-object/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014-2017, Jon Schlinkert.
-
-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.
diff --git a/node_modules/@octokit/endpoint/node_modules/is-plain-object/README.md b/node_modules/@octokit/endpoint/node_modules/is-plain-object/README.md
deleted file mode 100644
index 60b7b59..0000000
--- a/node_modules/@octokit/endpoint/node_modules/is-plain-object/README.md
+++ /dev/null
@@ -1,119 +0,0 @@
-# is-plain-object [](https://www.npmjs.com/package/is-plain-object) [](https://npmjs.org/package/is-plain-object) [](https://npmjs.org/package/is-plain-object) [](https://travis-ci.org/jonschlinkert/is-plain-object)
-
-> Returns true if an object was created by the `Object` constructor.
-
-Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
-
-## Install
-
-Install with [npm](https://www.npmjs.com/):
-
-```sh
-$ npm install --save is-plain-object
-```
-
-Use [isobject](https://github.com/jonschlinkert/isobject) if you only want to check if the value is an object and not an array or null.
-
-## Usage
-
-```js
-import isPlainObject from 'is-plain-object';
-```
-
-**true** when created by the `Object` constructor.
-
-```js
-isPlainObject(Object.create({}));
-//=> true
-isPlainObject(Object.create(Object.prototype));
-//=> true
-isPlainObject({foo: 'bar'});
-//=> true
-isPlainObject({});
-//=> true
-```
-
-**false** when not created by the `Object` constructor.
-
-```js
-isPlainObject(1);
-//=> false
-isPlainObject(['foo', 'bar']);
-//=> false
-isPlainObject([]);
-//=> false
-isPlainObject(new Foo);
-//=> false
-isPlainObject(null);
-//=> false
-isPlainObject(Object.create(null));
-//=> false
-```
-
-## About
-
-
-Contributing
-
-Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
-
-
-
-
-Running Tests
-
-Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
-
-```sh
-$ npm install && npm test
-```
-
-
-
-
-Building docs
-
-_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
-
-To generate the readme, run the following command:
-
-```sh
-$ npm install -g verbose/verb#dev verb-generate-readme && verb
-```
-
-
-
-### Related projects
-
-You might also be interested in these projects:
-
-* [is-number](https://www.npmjs.com/package/is-number): Returns true if a number or string value is a finite number. Useful for regex… [more](https://github.com/jonschlinkert/is-number) | [homepage](https://github.com/jonschlinkert/is-number "Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.")
-* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject "Returns true if the value is an object and not an array or null.")
-* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of "Get the native type of a value.")
-
-### Contributors
-
-| **Commits** | **Contributor** |
-| --- | --- |
-| 19 | [jonschlinkert](https://github.com/jonschlinkert) |
-| 6 | [TrySound](https://github.com/TrySound) |
-| 6 | [stevenvachon](https://github.com/stevenvachon) |
-| 3 | [onokumus](https://github.com/onokumus) |
-| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |
-
-### Author
-
-**Jon Schlinkert**
-
-* [GitHub Profile](https://github.com/jonschlinkert)
-* [Twitter Profile](https://twitter.com/jonschlinkert)
-* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
-
-### License
-
-Copyright © 2019, [Jon Schlinkert](https://github.com/jonschlinkert).
-Released under the [MIT License](LICENSE).
-
-***
-
-_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on April 28, 2019._
\ No newline at end of file
diff --git a/node_modules/@octokit/endpoint/node_modules/is-plain-object/index.cjs.js b/node_modules/@octokit/endpoint/node_modules/is-plain-object/index.cjs.js
deleted file mode 100644
index d7dda95..0000000
--- a/node_modules/@octokit/endpoint/node_modules/is-plain-object/index.cjs.js
+++ /dev/null
@@ -1,48 +0,0 @@
-'use strict';
-
-/*!
- * isobject
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-function isObject(val) {
- return val != null && typeof val === 'object' && Array.isArray(val) === false;
-}
-
-/*!
- * is-plain-object
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-function isObjectObject(o) {
- return isObject(o) === true
- && Object.prototype.toString.call(o) === '[object Object]';
-}
-
-function isPlainObject(o) {
- var ctor,prot;
-
- if (isObjectObject(o) === false) return false;
-
- // If has modified constructor
- ctor = o.constructor;
- if (typeof ctor !== 'function') return false;
-
- // If has modified prototype
- prot = ctor.prototype;
- if (isObjectObject(prot) === false) return false;
-
- // If constructor does not have an Object-specific method
- if (prot.hasOwnProperty('isPrototypeOf') === false) {
- return false;
- }
-
- // Most likely a plain Object
- return true;
-}
-
-module.exports = isPlainObject;
diff --git a/node_modules/@octokit/endpoint/node_modules/is-plain-object/index.d.ts b/node_modules/@octokit/endpoint/node_modules/is-plain-object/index.d.ts
deleted file mode 100644
index fd131f0..0000000
--- a/node_modules/@octokit/endpoint/node_modules/is-plain-object/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-declare function isPlainObject(o: any): boolean;
-
-export default isPlainObject;
diff --git a/node_modules/@octokit/endpoint/node_modules/is-plain-object/index.js b/node_modules/@octokit/endpoint/node_modules/is-plain-object/index.js
deleted file mode 100644
index 565ce9e..0000000
--- a/node_modules/@octokit/endpoint/node_modules/is-plain-object/index.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*!
- * is-plain-object
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-import isObject from 'isobject';
-
-function isObjectObject(o) {
- return isObject(o) === true
- && Object.prototype.toString.call(o) === '[object Object]';
-}
-
-export default function isPlainObject(o) {
- var ctor,prot;
-
- if (isObjectObject(o) === false) return false;
-
- // If has modified constructor
- ctor = o.constructor;
- if (typeof ctor !== 'function') return false;
-
- // If has modified prototype
- prot = ctor.prototype;
- if (isObjectObject(prot) === false) return false;
-
- // If constructor does not have an Object-specific method
- if (prot.hasOwnProperty('isPrototypeOf') === false) {
- return false;
- }
-
- // Most likely a plain Object
- return true;
-};
diff --git a/node_modules/@octokit/endpoint/node_modules/is-plain-object/package.json b/node_modules/@octokit/endpoint/node_modules/is-plain-object/package.json
deleted file mode 100644
index 85cdf8d..0000000
--- a/node_modules/@octokit/endpoint/node_modules/is-plain-object/package.json
+++ /dev/null
@@ -1,124 +0,0 @@
-{
- "_from": "is-plain-object@^3.0.0",
- "_id": "is-plain-object@3.0.0",
- "_inBundle": false,
- "_integrity": "sha512-tZIpofR+P05k8Aocp7UI/2UTa9lTJSebCXpFFoR9aibpokDj/uXBsJ8luUu0tTVYKkMU6URDUuOfJZ7koewXvg==",
- "_location": "/@octokit/endpoint/is-plain-object",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "is-plain-object@^3.0.0",
- "name": "is-plain-object",
- "escapedName": "is-plain-object",
- "rawSpec": "^3.0.0",
- "saveSpec": null,
- "fetchSpec": "^3.0.0"
- },
- "_requiredBy": [
- "/@octokit/endpoint"
- ],
- "_resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz",
- "_shasum": "47bfc5da1b5d50d64110806c199359482e75a928",
- "_spec": "is-plain-object@^3.0.0",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\endpoint",
- "author": {
- "name": "Jon Schlinkert",
- "url": "https://github.com/jonschlinkert"
- },
- "bugs": {
- "url": "https://github.com/jonschlinkert/is-plain-object/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Jon Schlinkert",
- "url": "http://twitter.com/jonschlinkert"
- },
- {
- "name": "Osman Nuri Okumuş",
- "url": "http://onokumus.com"
- },
- {
- "name": "Steven Vachon",
- "url": "https://svachon.com"
- },
- {
- "url": "https://github.com/wtgtybhertgeghgtwtg"
- }
- ],
- "dependencies": {
- "isobject": "^4.0.0"
- },
- "deprecated": false,
- "description": "Returns true if an object was created by the `Object` constructor.",
- "devDependencies": {
- "chai": "^4.2.0",
- "esm": "^3.2.22",
- "gulp-format-md": "^1.0.0",
- "mocha": "^6.1.4",
- "mocha-headless-chrome": "^2.0.2",
- "rollup": "^1.10.1",
- "rollup-plugin-node-resolve": "^4.2.3"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.d.ts",
- "index.js",
- "index.cjs.js"
- ],
- "homepage": "https://github.com/jonschlinkert/is-plain-object",
- "keywords": [
- "check",
- "is",
- "is-object",
- "isobject",
- "javascript",
- "kind",
- "kind-of",
- "object",
- "plain",
- "type",
- "typeof",
- "value"
- ],
- "license": "MIT",
- "main": "index.cjs.js",
- "module": "index.js",
- "name": "is-plain-object",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jonschlinkert/is-plain-object.git"
- },
- "scripts": {
- "build": "rollup -c",
- "prepare": "rollup -c",
- "test": "npm run test_node && npm run build && npm run test_browser",
- "test_browser": "mocha-headless-chrome --args=disable-web-security -f test/browser.html",
- "test_node": "mocha -r esm"
- },
- "types": "index.d.ts",
- "verb": {
- "toc": false,
- "layout": "default",
- "tasks": [
- "readme"
- ],
- "plugins": [
- "gulp-format-md"
- ],
- "related": {
- "list": [
- "is-number",
- "isobject",
- "kind-of"
- ]
- },
- "lint": {
- "reflinks": true
- }
- },
- "version": "3.0.0"
-}
diff --git a/node_modules/@octokit/endpoint/node_modules/isobject/LICENSE b/node_modules/@octokit/endpoint/node_modules/isobject/LICENSE
deleted file mode 100644
index 943e71d..0000000
--- a/node_modules/@octokit/endpoint/node_modules/isobject/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014-2017, Jon Schlinkert.
-
-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.
\ No newline at end of file
diff --git a/node_modules/@octokit/endpoint/node_modules/isobject/README.md b/node_modules/@octokit/endpoint/node_modules/isobject/README.md
deleted file mode 100644
index 1c6e21f..0000000
--- a/node_modules/@octokit/endpoint/node_modules/isobject/README.md
+++ /dev/null
@@ -1,127 +0,0 @@
-# isobject [](https://www.npmjs.com/package/isobject) [](https://npmjs.org/package/isobject) [](https://npmjs.org/package/isobject) [](https://travis-ci.org/jonschlinkert/isobject)
-
-> Returns true if the value is an object and not an array or null.
-
-Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
-
-## Install
-
-Install with [npm](https://www.npmjs.com/):
-
-```sh
-$ npm install --save isobject
-```
-
-Use [is-plain-object](https://github.com/jonschlinkert/is-plain-object) if you want only objects that are created by the `Object` constructor.
-
-## Install
-
-Install with [npm](https://www.npmjs.com/):
-
-```sh
-$ npm install isobject
-```
-
-## Usage
-
-```js
-import isObject from 'isobject';
-```
-
-**True**
-
-All of the following return `true`:
-
-```js
-isObject({});
-isObject(Object.create({}));
-isObject(Object.create(Object.prototype));
-isObject(Object.create(null));
-isObject({});
-isObject(new Foo);
-isObject(/foo/);
-```
-
-**False**
-
-All of the following return `false`:
-
-```js
-isObject();
-isObject(function () {});
-isObject(1);
-isObject([]);
-isObject(undefined);
-isObject(null);
-```
-
-## About
-
-
-Contributing
-
-Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
-
-
-
-
-Running Tests
-
-Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
-
-```sh
-$ npm install && npm test
-```
-
-
-
-
-Building docs
-
-_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
-
-To generate the readme, run the following command:
-
-```sh
-$ npm install -g verbose/verb#dev verb-generate-readme && verb
-```
-
-
-
-### Related projects
-
-You might also be interested in these projects:
-
-* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow "Extend an object with the properties of additional objects. node.js/javascript util.")
-* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object "Returns true if an object was created by the `Object` constructor.")
-* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of "Get the native type of a value.")
-* [merge-deep](https://www.npmjs.com/package/merge-deep): Recursively merge values in a javascript object. | [homepage](https://github.com/jonschlinkert/merge-deep "Recursively merge values in a javascript object.")
-
-### Contributors
-
-| **Commits** | **Contributor** |
-| --- | --- |
-| 30 | [jonschlinkert](https://github.com/jonschlinkert) |
-| 8 | [doowb](https://github.com/doowb) |
-| 7 | [TrySound](https://github.com/TrySound) |
-| 3 | [onokumus](https://github.com/onokumus) |
-| 1 | [LeSuisse](https://github.com/LeSuisse) |
-| 1 | [tmcw](https://github.com/tmcw) |
-| 1 | [ZhouHansen](https://github.com/ZhouHansen) |
-
-### Author
-
-**Jon Schlinkert**
-
-* [GitHub Profile](https://github.com/jonschlinkert)
-* [Twitter Profile](https://twitter.com/jonschlinkert)
-* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
-
-### License
-
-Copyright © 2019, [Jon Schlinkert](https://github.com/jonschlinkert).
-Released under the [MIT License](LICENSE).
-
-***
-
-_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on April 28, 2019._
\ No newline at end of file
diff --git a/node_modules/@octokit/endpoint/node_modules/isobject/index.cjs.js b/node_modules/@octokit/endpoint/node_modules/isobject/index.cjs.js
deleted file mode 100644
index 49debe7..0000000
--- a/node_modules/@octokit/endpoint/node_modules/isobject/index.cjs.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-
-/*!
- * isobject
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-function isObject(val) {
- return val != null && typeof val === 'object' && Array.isArray(val) === false;
-}
-
-module.exports = isObject;
diff --git a/node_modules/@octokit/endpoint/node_modules/isobject/index.d.ts b/node_modules/@octokit/endpoint/node_modules/isobject/index.d.ts
deleted file mode 100644
index c471c71..0000000
--- a/node_modules/@octokit/endpoint/node_modules/isobject/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-declare function isObject(val: any): boolean;
-
-export default isObject;
diff --git a/node_modules/@octokit/endpoint/node_modules/isobject/index.js b/node_modules/@octokit/endpoint/node_modules/isobject/index.js
deleted file mode 100644
index e9f0382..0000000
--- a/node_modules/@octokit/endpoint/node_modules/isobject/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*!
- * isobject
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-export default function isObject(val) {
- return val != null && typeof val === 'object' && Array.isArray(val) === false;
-};
diff --git a/node_modules/@octokit/endpoint/node_modules/isobject/package.json b/node_modules/@octokit/endpoint/node_modules/isobject/package.json
deleted file mode 100644
index 774f441..0000000
--- a/node_modules/@octokit/endpoint/node_modules/isobject/package.json
+++ /dev/null
@@ -1,125 +0,0 @@
-{
- "_from": "isobject@^4.0.0",
- "_id": "isobject@4.0.0",
- "_inBundle": false,
- "_integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==",
- "_location": "/@octokit/endpoint/isobject",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "isobject@^4.0.0",
- "name": "isobject",
- "escapedName": "isobject",
- "rawSpec": "^4.0.0",
- "saveSpec": null,
- "fetchSpec": "^4.0.0"
- },
- "_requiredBy": [
- "/@octokit/endpoint/is-plain-object"
- ],
- "_resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz",
- "_shasum": "3f1c9155e73b192022a80819bacd0343711697b0",
- "_spec": "isobject@^4.0.0",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\endpoint\\node_modules\\is-plain-object",
- "author": {
- "name": "Jon Schlinkert",
- "url": "https://github.com/jonschlinkert"
- },
- "bugs": {
- "url": "https://github.com/jonschlinkert/isobject/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "url": "https://github.com/LeSuisse"
- },
- {
- "name": "Brian Woodward",
- "url": "https://twitter.com/doowb"
- },
- {
- "name": "Jon Schlinkert",
- "url": "http://twitter.com/jonschlinkert"
- },
- {
- "name": "Magnús Dæhlen",
- "url": "https://github.com/magnudae"
- },
- {
- "name": "Tom MacWright",
- "url": "https://macwright.org"
- }
- ],
- "dependencies": {},
- "deprecated": false,
- "description": "Returns true if the value is an object and not an array or null.",
- "devDependencies": {
- "esm": "^3.2.22",
- "gulp-format-md": "^0.1.9",
- "mocha": "^2.4.5",
- "rollup": "^1.10.1"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.d.ts",
- "index.cjs.js",
- "index.js"
- ],
- "homepage": "https://github.com/jonschlinkert/isobject",
- "keywords": [
- "check",
- "is",
- "is-object",
- "isobject",
- "kind",
- "kind-of",
- "kindof",
- "native",
- "object",
- "type",
- "typeof",
- "value"
- ],
- "license": "MIT",
- "main": "index.cjs.js",
- "module": "index.js",
- "name": "isobject",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jonschlinkert/isobject.git"
- },
- "scripts": {
- "build": "rollup -i index.js -o index.cjs.js -f cjs",
- "prepublish": "npm run build",
- "test": "mocha -r esm"
- },
- "types": "index.d.ts",
- "verb": {
- "related": {
- "list": [
- "extend-shallow",
- "is-plain-object",
- "kind-of",
- "merge-deep"
- ]
- },
- "toc": false,
- "layout": "default",
- "tasks": [
- "readme"
- ],
- "plugins": [
- "gulp-format-md"
- ],
- "lint": {
- "reflinks": true
- },
- "reflinks": [
- "verb"
- ]
- },
- "version": "4.0.0"
-}
diff --git a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/.travis.yml b/node_modules/@octokit/endpoint/node_modules/universal-user-agent/.travis.yml
deleted file mode 100644
index ebafc54..0000000
--- a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/.travis.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-language: node_js
-cache: npm
-
-# Trigger a push build on master and greenkeeper branches + PRs build on every branches
-# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
-branches:
- only:
- - master
- - /^greenkeeper.*$/
-
-stages:
- - test
- - name: release
- if: branch = master AND type IN (push)
-
-jobs:
- include:
- - stage: test
- node_js: 12
- script: npm run test
- - node_js: 8
- script: npm run test
- - node_js: 10
- env: Node 10 & coverage upload
- script:
- - npm run test
- - npm run coverage:upload
- - node_js: lts/*
- env: browser tests
- script: npm run test:browser
-
- - stage: release
- node_js: lts/*
- env: semantic-release
- script: npm run semantic-release
diff --git a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/LICENSE.md b/node_modules/@octokit/endpoint/node_modules/universal-user-agent/LICENSE.md
deleted file mode 100644
index f105ab0..0000000
--- a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# [ISC License](https://spdx.org/licenses/ISC)
-
-Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m)
-
-Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/README.md b/node_modules/@octokit/endpoint/node_modules/universal-user-agent/README.md
deleted file mode 100644
index 59e809e..0000000
--- a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/README.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# universal-user-agent
-
-> Get a user agent string in both browser and node
-
-[](https://www.npmjs.com/package/universal-user-agent)
-[](https://travis-ci.com/gr2m/universal-user-agent)
-[](https://coveralls.io/github/gr2m/universal-user-agent)
-[](https://greenkeeper.io/)
-
-```js
-const getUserAgent = require('universal-user-agent')
-const userAgent = getUserAgent()
-
-// userAgent will look like this
-// in browser: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0"
-// in node: Node.js/v8.9.4 (macOS High Sierra; x64)
-```
-
-## Credits
-
-The Node implementation was originally inspired by [default-user-agent](https://www.npmjs.com/package/default-user-agent).
-
-## License
-
-[ISC](LICENSE.md)
diff --git a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/browser.js b/node_modules/@octokit/endpoint/node_modules/universal-user-agent/browser.js
deleted file mode 100644
index eb12744..0000000
--- a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/browser.js
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = getUserAgentBrowser
-
-function getUserAgentBrowser () {
- /* global navigator */
- return navigator.userAgent
-}
diff --git a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/cypress.json b/node_modules/@octokit/endpoint/node_modules/universal-user-agent/cypress.json
deleted file mode 100644
index a1ff4b8..0000000
--- a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/cypress.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "integrationFolder": "test",
- "video": false
-}
diff --git a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/index.d.ts b/node_modules/@octokit/endpoint/node_modules/universal-user-agent/index.d.ts
deleted file mode 100644
index 04dfc04..0000000
--- a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/index.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export default function getUserAgentNode(): string;
diff --git a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/index.js b/node_modules/@octokit/endpoint/node_modules/universal-user-agent/index.js
deleted file mode 100644
index ef2d06b..0000000
--- a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-module.exports = getUserAgentNode
-
-const osName = require('os-name')
-
-function getUserAgentNode () {
- try {
- return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`
- } catch (error) {
- if (/wmic os get Caption/.test(error.message)) {
- return 'Windows '
- }
-
- throw error
- }
-}
diff --git a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/package.json b/node_modules/@octokit/endpoint/node_modules/universal-user-agent/package.json
deleted file mode 100644
index 4f173b6..0000000
--- a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/package.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "_from": "universal-user-agent@^3.0.0",
- "_id": "universal-user-agent@3.0.0",
- "_inBundle": false,
- "_integrity": "sha512-T3siHThqoj5X0benA5H0qcDnrKGXzU8TKoX15x/tQHw1hQBvIEBHjxQ2klizYsqBOO/Q+WuxoQUihadeeqDnoA==",
- "_location": "/@octokit/endpoint/universal-user-agent",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "universal-user-agent@^3.0.0",
- "name": "universal-user-agent",
- "escapedName": "universal-user-agent",
- "rawSpec": "^3.0.0",
- "saveSpec": null,
- "fetchSpec": "^3.0.0"
- },
- "_requiredBy": [
- "/@octokit/endpoint"
- ],
- "_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz",
- "_shasum": "4cc88d68097bffd7ac42e3b7c903e7481424b4b9",
- "_spec": "universal-user-agent@^3.0.0",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\endpoint",
- "author": {
- "name": "Gregor Martynus",
- "url": "https://github.com/gr2m"
- },
- "browser": "browser.js",
- "bugs": {
- "url": "https://github.com/gr2m/universal-user-agent/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "os-name": "^3.0.0"
- },
- "deprecated": false,
- "description": "Get a user agent string in both browser and node",
- "devDependencies": {
- "chai": "^4.1.2",
- "coveralls": "^3.0.2",
- "cypress": "^3.1.0",
- "mocha": "^6.0.0",
- "nyc": "^14.0.0",
- "proxyquire": "^2.1.0",
- "semantic-release": "^15.9.15",
- "sinon": "^7.2.4",
- "sinon-chai": "^3.2.0",
- "standard": "^13.0.1",
- "test": "^0.6.0",
- "travis-deploy-once": "^5.0.7"
- },
- "homepage": "https://github.com/gr2m/universal-user-agent#readme",
- "keywords": [],
- "license": "ISC",
- "main": "index.js",
- "name": "universal-user-agent",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/gr2m/universal-user-agent.git"
- },
- "scripts": {
- "coverage": "nyc report --reporter=html && open coverage/index.html",
- "coverage:upload": "nyc report --reporter=text-lcov | coveralls",
- "pretest": "standard",
- "semantic-release": "semantic-release",
- "test": "nyc mocha \"test/*-test.js\"",
- "test:browser": "cypress run --browser chrome",
- "travis-deploy-once": "travis-deploy-once"
- },
- "standard": {
- "globals": [
- "describe",
- "it",
- "beforeEach",
- "afterEach",
- "expect"
- ]
- },
- "types": "index.d.ts",
- "version": "3.0.0"
-}
diff --git a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/test/smoke-test.js b/node_modules/@octokit/endpoint/node_modules/universal-user-agent/test/smoke-test.js
deleted file mode 100644
index d71b2d5..0000000
--- a/node_modules/@octokit/endpoint/node_modules/universal-user-agent/test/smoke-test.js
+++ /dev/null
@@ -1,57 +0,0 @@
-// make tests run in both Node & Express
-if (!global.cy) {
- const chai = require('chai')
- const sinon = require('sinon')
- const sinonChai = require('sinon-chai')
- chai.use(sinonChai)
- global.expect = chai.expect
-
- let sandbox
- beforeEach(() => {
- sandbox = sinon.createSandbox()
- global.cy = {
- stub: function () {
- return sandbox.stub.apply(sandbox, arguments)
- },
- log () {
- console.log.apply(console, arguments)
- }
- }
- })
-
- afterEach(() => {
- sandbox.restore()
- })
-}
-
-const getUserAgent = require('..')
-
-describe('smoke', () => {
- it('works', () => {
- expect(getUserAgent()).to.be.a('string')
- expect(getUserAgent().length).to.be.above(10)
- })
-
- if (!process.browser) { // test on node only
- const proxyquire = require('proxyquire').noCallThru()
- it('works around wmic error on Windows (#5)', () => {
- const getUserAgent = proxyquire('..', {
- 'os-name': () => {
- throw new Error('Command failed: wmic os get Caption')
- }
- })
-
- expect(getUserAgent()).to.equal('Windows ')
- })
-
- it('does not swallow unexpected errors', () => {
- const getUserAgent = proxyquire('..', {
- 'os-name': () => {
- throw new Error('oops')
- }
- })
-
- expect(getUserAgent).to.throw('oops')
- })
- }
-})
diff --git a/node_modules/@octokit/endpoint/package.json b/node_modules/@octokit/endpoint/package.json
deleted file mode 100644
index 0699b40..0000000
--- a/node_modules/@octokit/endpoint/package.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "_from": "@octokit/endpoint@^5.1.0",
- "_id": "@octokit/endpoint@5.3.2",
- "_inBundle": false,
- "_integrity": "sha512-gRjteEM9I6f4D8vtwU2iGUTn9RX/AJ0SVXiqBUEuYEWVGGAVjSXdT0oNmghH5lvQNWs8mwt6ZaultuG6yXivNw==",
- "_location": "/@octokit/endpoint",
- "_phantomChildren": {
- "os-name": "3.1.0"
- },
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "@octokit/endpoint@^5.1.0",
- "name": "@octokit/endpoint",
- "escapedName": "@octokit%2fendpoint",
- "scope": "@octokit",
- "rawSpec": "^5.1.0",
- "saveSpec": null,
- "fetchSpec": "^5.1.0"
- },
- "_requiredBy": [
- "/@octokit/request"
- ],
- "_resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.3.2.tgz",
- "_shasum": "2deda2d869cac9ba7f370287d55667be2a808d4b",
- "_spec": "@octokit/endpoint@^5.1.0",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request",
- "bugs": {
- "url": "https://github.com/octokit/endpoint.js/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "deepmerge": "4.0.0",
- "is-plain-object": "^3.0.0",
- "universal-user-agent": "^3.0.0",
- "url-template": "^2.0.8"
- },
- "deprecated": false,
- "description": "Turns REST API endpoints into generic request options",
- "devDependencies": {
- "@octokit/routes": "20.9.2",
- "@pika/pack": "^0.4.0",
- "@pika/plugin-build-node": "^0.4.0",
- "@pika/plugin-build-web": "^0.4.0",
- "@pika/plugin-ts-standard-pkg": "^0.4.0",
- "@types/jest": "^24.0.11",
- "@types/url-template": "^2.0.28",
- "glob": "^7.1.3",
- "handlebars": "^4.1.2",
- "jest": "^24.7.1",
- "lodash.set": "^4.3.2",
- "nyc": "^14.0.0",
- "pascal-case": "^2.0.1",
- "prettier": "1.18.2",
- "semantic-release": "^15.13.8",
- "semantic-release-plugin-update-version-in-files": "^1.0.0",
- "string-to-jsdoc-comment": "^1.0.0",
- "ts-jest": "^24.0.2",
- "typescript": "^3.4.5"
- },
- "files": [
- "dist-*/",
- "bin/"
- ],
- "homepage": "https://github.com/octokit/endpoint.js#readme",
- "keywords": [
- "octokit",
- "github",
- "api",
- "rest"
- ],
- "license": "MIT",
- "main": "dist-node/index.js",
- "module": "dist-web/index.js",
- "name": "@octokit/endpoint",
- "pika": true,
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/octokit/endpoint.js.git"
- },
- "sideEffects": false,
- "source": "dist-src/index.js",
- "types": "dist-types/index.d.ts",
- "version": "5.3.2"
-}
diff --git a/node_modules/@octokit/graphql/LICENSE b/node_modules/@octokit/graphql/LICENSE
deleted file mode 100644
index af5366d..0000000
--- a/node_modules/@octokit/graphql/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License
-
-Copyright (c) 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.
diff --git a/node_modules/@octokit/graphql/README.md b/node_modules/@octokit/graphql/README.md
deleted file mode 100644
index 4e44592..0000000
--- a/node_modules/@octokit/graphql/README.md
+++ /dev/null
@@ -1,292 +0,0 @@
-# graphql.js
-
-> GitHub GraphQL API client for browsers and Node
-
-[](https://www.npmjs.com/package/@octokit/graphql)
-[](https://travis-ci.com/octokit/graphql.js)
-[](https://coveralls.io/github/octokit/graphql.js)
-[](https://greenkeeper.io/)
-
-
-
-- [Usage](#usage)
-- [Errors](#errors)
-- [Writing tests](#writing-tests)
-- [License](#license)
-
-
-
-## Usage
-
-Send a simple query
-
-```js
-const graphql = require('@octokit/graphql')
-const { repository } = await graphql(`{
- repository(owner:"octokit", name:"graphql.js") {
- issues(last:3) {
- edges {
- node {
- title
- }
- }
- }
- }
-}`, {
- headers: {
- authorization: `token secret123`
- }
-})
-```
-
-⚠️ Do not use [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) in the query strings as they make your code vulnerable to query injection attacks (see [#2](https://github.com/octokit/graphql.js/issues/2)). Use variables instead:
-
-```js
-const graphql = require('@octokit/graphql')
-const { lastIssues } = await graphql(`query lastIssues($owner: String!, $repo: String!, $num: Int = 3) {
- repository(owner:$owner, name:$repo) {
- issues(last:$num) {
- edges {
- node {
- title
- }
- }
- }
- }
- }`, {
- owner: 'octokit',
- repo: 'graphql.js'
- headers: {
- authorization: `token secret123`
- }
- }
-})
-```
-
-Create two new clients and set separate default configs for them.
-
-```js
-const graphql1 = require('@octokit/graphql').defaults({
- headers: {
- authorization: `token secret123`
- }
-})
-
-const graphql2 = require('@octokit/graphql').defaults({
- headers: {
- authorization: `token foobar`
- }
-})
-```
-
-Create two clients, the second inherits config from the first.
-
-```js
-const graphql1 = require('@octokit/graphql').defaults({
- headers: {
- authorization: `token secret123`
- }
-})
-
-const graphql2 = graphql1.defaults({
- headers: {
- 'user-agent': 'my-user-agent/v1.2.3'
- }
-})
-```
-
-Create a new client with default options and run query
-
-```js
-const graphql = require('@octokit/graphql').defaults({
- headers: {
- authorization: `token secret123`
- }
-})
-const { repository } = await graphql(`{
- repository(owner:"octokit", name:"graphql.js") {
- issues(last:3) {
- edges {
- node {
- title
- }
- }
- }
- }
-}`)
-```
-
-Pass query together with headers and variables
-
-```js
-const graphql = require('@octokit/graphql')
-const { lastIssues } = await graphql({
- query: `query lastIssues($owner: String!, $repo: String!, $num: Int = 3) {
- repository(owner:$owner, name:$repo) {
- issues(last:$num) {
- edges {
- node {
- title
- }
- }
- }
- }
- }`,
- owner: 'octokit',
- repo: 'graphql.js'
- headers: {
- authorization: `token secret123`
- }
-})
-```
-
-Use with GitHub Enterprise
-
-```js
-const graphql = require('@octokit/graphql').defaults({
- baseUrl: 'https://github-enterprise.acme-inc.com/api',
- headers: {
- authorization: `token secret123`
- }
-})
-const { repository } = await graphql(`{
- repository(owner:"acme-project", name:"acme-repo") {
- issues(last:3) {
- edges {
- node {
- title
- }
- }
- }
- }
-}`)
-```
-
-## Errors
-
-In case of a GraphQL error, `error.message` is set to the first error from the response’s `errors` array. All errors can be accessed at `error.errors`. `error.request` has the request options such as query, variables and headers set for easier debugging.
-
-```js
-const graphql = require('@octokit/graphql').defaults({
- headers: {
- authorization: `token secret123`
- }
-})
-const query = `{
- viewer {
- bioHtml
- }
-}`
-
-try {
- const result = await graphql(query)
-} catch (error) {
- // server responds with
- // {
- // "data": null,
- // "errors": [{
- // "message": "Field 'bioHtml' doesn't exist on type 'User'",
- // "locations": [{
- // "line": 3,
- // "column": 5
- // }]
- // }]
- // }
-
- console.log('Request failed:', error.request) // { query, variables: {}, headers: { authorization: 'token secret123' } }
- console.log(error.message) // Field 'bioHtml' doesn't exist on type 'User'
-}
-```
-
-## Partial responses
-
-A GraphQL query may respond with partial data accompanied by errors. In this case we will throw an error but the partial data will still be accessible through `error.data`
-
-```js
-const graphql = require('@octokit/graphql').defaults({
- headers: {
- authorization: `token secret123`
- }
-})
-const query = `{
- repository(name: "probot", owner: "probot") {
- name
- ref(qualifiedName: "master") {
- target {
- ... on Commit {
- history(first: 25, after: "invalid cursor") {
- nodes {
- message
- }
- }
- }
- }
- }
- }
-}`
-
-try {
- const result = await graphql(query)
-} catch (error) {
- // server responds with
- // {
- // "data": {
- // "repository": {
- // "name": "probot",
- // "ref": null
- // }
- // },
- // "errors": [
- // {
- // "type": "INVALID_CURSOR_ARGUMENTS",
- // "path": [
- // "repository",
- // "ref",
- // "target",
- // "history"
- // ],
- // "locations": [
- // {
- // "line": 7,
- // "column": 11
- // }
- // ],
- // "message": "`invalid cursor` does not appear to be a valid cursor."
- // }
- // ]
- // }
-
- console.log('Request failed:', error.request) // { query, variables: {}, headers: { authorization: 'token secret123' } }
- console.log(error.message) // `invalid cursor` does not appear to be a valid cursor.
- console.log(error.data) // { repository: { name: 'probot', ref: null } }
-}
-```
-
-## Writing tests
-
-You can pass a replacement for [the built-in fetch implementation](https://github.com/bitinn/node-fetch) as `request.fetch` option. For example, using [fetch-mock](http://www.wheresrhys.co.uk/fetch-mock/) works great to write tests
-
-```js
-const assert = require('assert')
-const fetchMock = require('fetch-mock/es5/server')
-
-const graphql = require('@octokit/graphql')
-
-graphql('{ viewer { login } }', {
- headers: {
- authorization: 'token secret123'
- },
- request: {
- fetch: fetchMock.sandbox()
- .post('https://api.github.com/graphql', (url, options) => {
- assert.strictEqual(options.headers.authorization, 'token secret123')
- assert.strictEqual(options.body, '{"query":"{ viewer { login } }"}', 'Sends correct query')
- return { data: {} }
- })
- }
-})
-```
-
-## License
-
-[MIT](LICENSE)
diff --git a/node_modules/@octokit/graphql/index.js b/node_modules/@octokit/graphql/index.js
deleted file mode 100644
index 7f8278c..0000000
--- a/node_modules/@octokit/graphql/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-const { request } = require('@octokit/request')
-const getUserAgent = require('universal-user-agent')
-
-const version = require('./package.json').version
-const userAgent = `octokit-graphql.js/${version} ${getUserAgent()}`
-
-const withDefaults = require('./lib/with-defaults')
-
-module.exports = withDefaults(request, {
- method: 'POST',
- url: '/graphql',
- headers: {
- 'user-agent': userAgent
- }
-})
diff --git a/node_modules/@octokit/graphql/lib/error.js b/node_modules/@octokit/graphql/lib/error.js
deleted file mode 100644
index 4478abd..0000000
--- a/node_modules/@octokit/graphql/lib/error.js
+++ /dev/null
@@ -1,16 +0,0 @@
-module.exports = class GraphqlError extends Error {
- constructor (request, response) {
- const message = response.data.errors[0].message
- super(message)
-
- Object.assign(this, response.data)
- this.name = 'GraphqlError'
- this.request = request
-
- // Maintains proper stack trace (only available on V8)
- /* istanbul ignore next */
- if (Error.captureStackTrace) {
- Error.captureStackTrace(this, this.constructor)
- }
- }
-}
diff --git a/node_modules/@octokit/graphql/lib/graphql.js b/node_modules/@octokit/graphql/lib/graphql.js
deleted file mode 100644
index 4a5b211..0000000
--- a/node_modules/@octokit/graphql/lib/graphql.js
+++ /dev/null
@@ -1,36 +0,0 @@
-module.exports = graphql
-
-const GraphqlError = require('./error')
-
-const NON_VARIABLE_OPTIONS = ['method', 'baseUrl', 'url', 'headers', 'request', 'query']
-
-function graphql (request, query, options) {
- if (typeof query === 'string') {
- options = Object.assign({ query }, options)
- } else {
- options = query
- }
-
- const requestOptions = Object.keys(options).reduce((result, key) => {
- if (NON_VARIABLE_OPTIONS.includes(key)) {
- result[key] = options[key]
- return result
- }
-
- if (!result.variables) {
- result.variables = {}
- }
-
- result.variables[key] = options[key]
- return result
- }, {})
-
- return request(requestOptions)
- .then(response => {
- if (response.data.errors) {
- throw new GraphqlError(requestOptions, response)
- }
-
- return response.data.data
- })
-}
diff --git a/node_modules/@octokit/graphql/lib/with-defaults.js b/node_modules/@octokit/graphql/lib/with-defaults.js
deleted file mode 100644
index a5b1493..0000000
--- a/node_modules/@octokit/graphql/lib/with-defaults.js
+++ /dev/null
@@ -1,13 +0,0 @@
-module.exports = withDefaults
-
-const graphql = require('./graphql')
-
-function withDefaults (request, newDefaults) {
- const newRequest = request.defaults(newDefaults)
- const newApi = function (query, options) {
- return graphql(newRequest, query, options)
- }
-
- newApi.defaults = withDefaults.bind(null, newRequest)
- return newApi
-}
diff --git a/node_modules/@octokit/graphql/package.json b/node_modules/@octokit/graphql/package.json
deleted file mode 100644
index da66a8a..0000000
--- a/node_modules/@octokit/graphql/package.json
+++ /dev/null
@@ -1,119 +0,0 @@
-{
- "_from": "@octokit/graphql@^2.0.1",
- "_id": "@octokit/graphql@2.1.3",
- "_inBundle": false,
- "_integrity": "sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==",
- "_location": "/@octokit/graphql",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "@octokit/graphql@^2.0.1",
- "name": "@octokit/graphql",
- "escapedName": "@octokit%2fgraphql",
- "scope": "@octokit",
- "rawSpec": "^2.0.1",
- "saveSpec": null,
- "fetchSpec": "^2.0.1"
- },
- "_requiredBy": [
- "/@actions/github"
- ],
- "_resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz",
- "_shasum": "60c058a0ed5fa242eca6f938908d95fd1a2f4b92",
- "_spec": "@octokit/graphql@^2.0.1",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\toolkit\\actions-github-0.0.0.tgz",
- "author": {
- "name": "Gregor Martynus",
- "url": "https://github.com/gr2m"
- },
- "bugs": {
- "url": "https://github.com/octokit/graphql.js/issues"
- },
- "bundleDependencies": false,
- "bundlesize": [
- {
- "path": "./dist/octokit-graphql.min.js.gz",
- "maxSize": "5KB"
- }
- ],
- "dependencies": {
- "@octokit/request": "^5.0.0",
- "universal-user-agent": "^2.0.3"
- },
- "deprecated": false,
- "description": "GitHub GraphQL API client for browsers and Node",
- "devDependencies": {
- "chai": "^4.2.0",
- "compression-webpack-plugin": "^2.0.0",
- "coveralls": "^3.0.3",
- "cypress": "^3.1.5",
- "fetch-mock": "^7.3.1",
- "mkdirp": "^0.5.1",
- "mocha": "^6.0.0",
- "npm-run-all": "^4.1.3",
- "nyc": "^14.0.0",
- "semantic-release": "^15.13.3",
- "simple-mock": "^0.8.0",
- "standard": "^12.0.1",
- "webpack": "^4.29.6",
- "webpack-bundle-analyzer": "^3.1.0",
- "webpack-cli": "^3.2.3"
- },
- "files": [
- "lib"
- ],
- "homepage": "https://github.com/octokit/graphql.js#readme",
- "keywords": [
- "octokit",
- "github",
- "api",
- "graphql"
- ],
- "license": "MIT",
- "main": "index.js",
- "name": "@octokit/graphql",
- "publishConfig": {
- "access": "public"
- },
- "release": {
- "publish": [
- "@semantic-release/npm",
- {
- "path": "@semantic-release/github",
- "assets": [
- "dist/*",
- "!dist/*.map.gz"
- ]
- }
- ]
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/octokit/graphql.js.git"
- },
- "scripts": {
- "build": "npm-run-all build:*",
- "build:development": "webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json",
- "build:production": "webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map",
- "bundle-report": "webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html",
- "coverage": "nyc report --reporter=html && open coverage/index.html",
- "coverage:upload": "nyc report --reporter=text-lcov | coveralls",
- "prebuild": "mkdirp dist/",
- "pretest": "standard",
- "test": "nyc mocha test/*-test.js",
- "test:browser": "cypress run --browser chrome"
- },
- "standard": {
- "globals": [
- "describe",
- "before",
- "beforeEach",
- "afterEach",
- "after",
- "it",
- "expect"
- ]
- },
- "version": "2.1.3"
-}
diff --git a/node_modules/@octokit/request-error/LICENSE b/node_modules/@octokit/request-error/LICENSE
deleted file mode 100644
index ef2c18e..0000000
--- a/node_modules/@octokit/request-error/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License
-
-Copyright (c) 2019 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.
diff --git a/node_modules/@octokit/request-error/README.md b/node_modules/@octokit/request-error/README.md
deleted file mode 100644
index bcb711d..0000000
--- a/node_modules/@octokit/request-error/README.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# http-error.js
-
-> Error class for Octokit request errors
-
-[](https://www.npmjs.com/package/@octokit/request-error)
-[](https://travis-ci.com/octokit/request-error.js)
-[](https://greenkeeper.io/)
-
-## Usage
-
-
-
-|
-Browsers
- |
-Load @octokit/request-error directly from cdn.pika.dev
-
-```html
-
-```
-
- |
-|
-Node
- |
-
-Install with npm install @octokit/request-error
-
-```js
-const { RequestError } = require("@octokit/request-error");
-// or: import { RequestError } from "@octokit/request-error";
-```
-
- |
-
-
-
-```js
-const error = new RequestError("Oops", 500, {
- headers: {
- "x-github-request-id": "1:2:3:4"
- }, // response headers
- request: {
- method: "POST",
- url: "https://api.github.com/foo",
- body: {
- bar: "baz"
- },
- headers: {
- authorization: "token secret123"
- }
- }
-});
-
-error.message; // Oops
-error.status; // 500
-error.headers; // { 'x-github-request-id': '1:2:3:4' }
-error.request.method; // POST
-error.request.url; // https://api.github.com/foo
-error.request.body; // { bar: 'baz' }
-error.request.headers; // { authorization: 'token [REDACTED]' }
-```
-
-## LICENSE
-
-[MIT](LICENSE)
diff --git a/node_modules/@octokit/request-error/dist-node/index.js b/node_modules/@octokit/request-error/dist-node/index.js
deleted file mode 100644
index aa89664..0000000
--- a/node_modules/@octokit/request-error/dist-node/index.js
+++ /dev/null
@@ -1,54 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
-
-var deprecation = require('deprecation');
-var once = _interopDefault(require('once'));
-
-const logOnce = once(deprecation => console.warn(deprecation));
-/**
- * Error with extra properties to help with debugging
- */
-
-class RequestError extends Error {
- constructor(message, statusCode, options) {
- super(message); // Maintains proper stack trace (only available on V8)
-
- /* istanbul ignore next */
-
- if (Error.captureStackTrace) {
- Error.captureStackTrace(this, this.constructor);
- }
-
- this.name = "HttpError";
- this.status = statusCode;
- Object.defineProperty(this, "code", {
- get() {
- logOnce(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));
- return statusCode;
- }
-
- });
- this.headers = options.headers; // redact request credentials without mutating original request options
-
- const requestCopy = Object.assign({}, options.request);
-
- if (options.request.headers.authorization) {
- requestCopy.headers = Object.assign({}, options.request.headers, {
- authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]")
- });
- }
-
- requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit
- // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications
- .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended
- // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header
- .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
- this.request = requestCopy;
- }
-
-}
-
-exports.RequestError = RequestError;
diff --git a/node_modules/@octokit/request-error/dist-src/index.js b/node_modules/@octokit/request-error/dist-src/index.js
deleted file mode 100644
index 10eb5c7..0000000
--- a/node_modules/@octokit/request-error/dist-src/index.js
+++ /dev/null
@@ -1,40 +0,0 @@
-import { Deprecation } from "deprecation";
-import once from "once";
-const logOnce = once((deprecation) => console.warn(deprecation));
-/**
- * Error with extra properties to help with debugging
- */
-export class RequestError extends Error {
- constructor(message, statusCode, options) {
- super(message);
- // Maintains proper stack trace (only available on V8)
- /* istanbul ignore next */
- if (Error.captureStackTrace) {
- Error.captureStackTrace(this, this.constructor);
- }
- this.name = "HttpError";
- this.status = statusCode;
- Object.defineProperty(this, "code", {
- get() {
- logOnce(new Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));
- return statusCode;
- }
- });
- this.headers = options.headers;
- // redact request credentials without mutating original request options
- const requestCopy = Object.assign({}, options.request);
- if (options.request.headers.authorization) {
- requestCopy.headers = Object.assign({}, options.request.headers, {
- authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]")
- });
- }
- requestCopy.url = requestCopy.url
- // client_id & client_secret can be passed as URL query parameters to increase rate limit
- // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications
- .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]")
- // OAuth tokens can be passed as URL query parameters, although it is not recommended
- // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header
- .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
- this.request = requestCopy;
- }
-}
diff --git a/node_modules/@octokit/request-error/dist-src/types.js b/node_modules/@octokit/request-error/dist-src/types.js
deleted file mode 100644
index e69de29..0000000
diff --git a/node_modules/@octokit/request-error/dist-types/index.d.ts b/node_modules/@octokit/request-error/dist-types/index.d.ts
deleted file mode 100644
index b12f21d..0000000
--- a/node_modules/@octokit/request-error/dist-types/index.d.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { RequestOptions, ResponseHeaders, RequestErrorOptions } from "./types";
-/**
- * Error with extra properties to help with debugging
- */
-export declare class RequestError extends Error {
- name: "HttpError";
- /**
- * http status code
- */
- status: number;
- /**
- * http status code
- *
- * @deprecated `error.code` is deprecated in favor of `error.status`
- */
- code: number;
- /**
- * error response headers
- */
- headers: ResponseHeaders;
- /**
- * Request options that lead to the error.
- */
- request: RequestOptions;
- constructor(message: string, statusCode: number, options: RequestErrorOptions);
-}
diff --git a/node_modules/@octokit/request-error/dist-types/types.d.ts b/node_modules/@octokit/request-error/dist-types/types.d.ts
deleted file mode 100644
index 444254e..0000000
--- a/node_modules/@octokit/request-error/dist-types/types.d.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Relative or absolute URL. Examples: `'/orgs/:org'`, `https://example.com/foo/bar`
- */
-export declare type Url = string;
-/**
- * Request method
- */
-export declare type Method = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT";
-export declare type RequestHeaders = {
- /**
- * Used for API previews and custom formats
- */
- accept?: string;
- /**
- * Redacted authorization header
- */
- authorization?: string;
- "user-agent"?: string;
- [header: string]: string | number | undefined;
-};
-export declare type ResponseHeaders = {
- [header: string]: string;
-};
-export declare type EndpointRequestOptions = {
- [option: string]: any;
-};
-export declare type RequestOptions = {
- method: Method;
- url: Url;
- headers: RequestHeaders;
- body?: any;
- request?: EndpointRequestOptions;
-};
-export declare type RequestErrorOptions = {
- headers: ResponseHeaders;
- request: RequestOptions;
-};
diff --git a/node_modules/@octokit/request-error/dist-web/index.js b/node_modules/@octokit/request-error/dist-web/index.js
deleted file mode 100644
index 52ff28a..0000000
--- a/node_modules/@octokit/request-error/dist-web/index.js
+++ /dev/null
@@ -1,48 +0,0 @@
-import { Deprecation } from 'deprecation';
-import once from 'once';
-
-const logOnce = once(deprecation => console.warn(deprecation));
-/**
- * Error with extra properties to help with debugging
- */
-
-class RequestError extends Error {
- constructor(message, statusCode, options) {
- super(message); // Maintains proper stack trace (only available on V8)
-
- /* istanbul ignore next */
-
- if (Error.captureStackTrace) {
- Error.captureStackTrace(this, this.constructor);
- }
-
- this.name = "HttpError";
- this.status = statusCode;
- Object.defineProperty(this, "code", {
- get() {
- logOnce(new Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));
- return statusCode;
- }
-
- });
- this.headers = options.headers; // redact request credentials without mutating original request options
-
- const requestCopy = Object.assign({}, options.request);
-
- if (options.request.headers.authorization) {
- requestCopy.headers = Object.assign({}, options.request.headers, {
- authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]")
- });
- }
-
- requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit
- // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications
- .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended
- // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header
- .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
- this.request = requestCopy;
- }
-
-}
-
-export { RequestError };
diff --git a/node_modules/@octokit/request-error/package.json b/node_modules/@octokit/request-error/package.json
deleted file mode 100644
index 1248a42..0000000
--- a/node_modules/@octokit/request-error/package.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "_from": "@octokit/request-error@^1.0.1",
- "_id": "@octokit/request-error@1.0.4",
- "_inBundle": false,
- "_integrity": "sha512-L4JaJDXn8SGT+5G0uX79rZLv0MNJmfGa4vb4vy1NnpjSnWDLJRy6m90udGwvMmavwsStgbv2QNkPzzTCMmL+ig==",
- "_location": "/@octokit/request-error",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "@octokit/request-error@^1.0.1",
- "name": "@octokit/request-error",
- "escapedName": "@octokit%2frequest-error",
- "scope": "@octokit",
- "rawSpec": "^1.0.1",
- "saveSpec": null,
- "fetchSpec": "^1.0.1"
- },
- "_requiredBy": [
- "/@octokit/request",
- "/@octokit/rest"
- ],
- "_resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.0.4.tgz",
- "_shasum": "15e1dc22123ba4a9a4391914d80ec1e5303a23be",
- "_spec": "@octokit/request-error@^1.0.1",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request",
- "bugs": {
- "url": "https://github.com/octokit/request-error.js/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "deprecation": "^2.0.0",
- "once": "^1.4.0"
- },
- "deprecated": false,
- "description": "Error class for Octokit request errors",
- "devDependencies": {
- "@pika/pack": "^0.3.7",
- "@pika/plugin-build-node": "^0.4.0",
- "@pika/plugin-build-web": "^0.4.0",
- "@pika/plugin-bundle-web": "^0.4.0",
- "@pika/plugin-ts-standard-pkg": "^0.4.0",
- "@semantic-release/git": "^7.0.12",
- "@types/jest": "^24.0.12",
- "@types/node": "^12.0.2",
- "@types/once": "^1.4.0",
- "jest": "^24.7.1",
- "pika-plugin-unpkg-field": "^1.1.0",
- "prettier": "^1.17.0",
- "semantic-release": "^15.10.5",
- "ts-jest": "^24.0.2",
- "typescript": "^3.4.5"
- },
- "files": [
- "dist-*/",
- "bin/"
- ],
- "homepage": "https://github.com/octokit/request-error.js#readme",
- "keywords": [
- "octokit",
- "github",
- "api",
- "error"
- ],
- "license": "MIT",
- "main": "dist-node/index.js",
- "module": "dist-web/index.js",
- "name": "@octokit/request-error",
- "pika": true,
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/octokit/request-error.js.git"
- },
- "sideEffects": false,
- "source": "dist-src/index.js",
- "types": "dist-types/index.d.ts",
- "version": "1.0.4"
-}
diff --git a/node_modules/@octokit/request/LICENSE b/node_modules/@octokit/request/LICENSE
deleted file mode 100644
index af5366d..0000000
--- a/node_modules/@octokit/request/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License
-
-Copyright (c) 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.
diff --git a/node_modules/@octokit/request/README.md b/node_modules/@octokit/request/README.md
deleted file mode 100644
index 81e599b..0000000
--- a/node_modules/@octokit/request/README.md
+++ /dev/null
@@ -1,495 +0,0 @@
-# request.js
-
-> Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node
-
-[](https://www.npmjs.com/package/@octokit/request)
-[](https://travis-ci.org/octokit/request.js)
-[](https://greenkeeper.io/)
-
-`@octokit/request` is a request library for browsers & node that makes it easier
-to interact with [GitHub’s REST API](https://developer.github.com/v3/) and
-[GitHub’s GraphQL API](https://developer.github.com/v4/guides/forming-calls/#the-graphql-endpoint).
-
-It uses [`@octokit/endpoint`](https://github.com/octokit/endpoint.js) to parse
-the passed options and sends the request using [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
-([node-fetch](https://github.com/bitinn/node-fetch) in Node).
-
-
-
-
-
-- [Features](#features)
-- [Usage](#usage)
- - [REST API example](#rest-api-example)
- - [GraphQL example](#graphql-example)
- - [Alternative: pass `method` & `url` as part of options](#alternative-pass-method--url-as-part-of-options)
-- [request()](#request)
-- [`request.defaults()`](#requestdefaults)
-- [`request.endpoint`](#requestendpoint)
-- [Special cases](#special-cases)
- - [The `data` parameter – set request body directly](#the-data-parameter-%E2%80%93-set-request-body-directly)
- - [Set parameters for both the URL/query and the request body](#set-parameters-for-both-the-urlquery-and-the-request-body)
-- [LICENSE](#license)
-
-
-
-## Features
-
-🤩 1:1 mapping of REST API endpoint documentation, e.g. [Add labels to an issue](https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue) becomes
-
-```js
-request("POST /repos/:owner/:repo/issues/:number/labels", {
- mediaType: {
- previews: ["symmetra"]
- },
- owner: "ocotkit",
- repo: "request.js",
- number: 1,
- labels: ["🐛 bug"]
-});
-```
-
-👍 Sensible defaults
-
-- `baseUrl`: `https://api.github.com`
-- `headers.accept`: `application/vnd.github.v3+json`
-- `headers.agent`: `octokit-request.js/ `, e.g. `octokit-request.js/1.2.3 Node.js/10.15.0 (macOS Mojave; x64)`
-
-👌 Simple to test: mock requests by passing a custom fetch method.
-
-🧐 Simple to debug: Sets `error.request` to request options causing the error (with redacted credentials).
-
-👶 Small bundle size (\<5kb minified + gzipped)
-
-## Usage
-
-
-
-|
-Browsers
- |
-Load @octokit/request directly from cdn.pika.dev
-
-```html
-
-```
-
- |
-|
-Node
- |
-
-Install with npm install @octokit/request
-
-```js
-const { request } = require("@octokit/request");
-// or: import { request } from "@octokit/request";
-```
-
- |
-
-
-
-### REST API example
-
-```js
-// Following GitHub docs formatting:
-// https://developer.github.com/v3/repos/#list-organization-repositories
-const result = await request("GET /orgs/:org/repos", {
- headers: {
- authorization: "token 0000000000000000000000000000000000000001"
- },
- org: "octokit",
- type: "private"
-});
-
-console.log(`${result.data.length} repos found.`);
-```
-
-### GraphQL example
-
-```js
-const result = await request("POST /graphql", {
- headers: {
- authorization: "token 0000000000000000000000000000000000000001"
- },
- query: `query ($login: String!) {
- organization(login: $login) {
- repositories(privacy: PRIVATE) {
- totalCount
- }
- }
- }`,
- variables: {
- login: "octokit"
- }
-});
-```
-
-### Alternative: pass `method` & `url` as part of options
-
-Alternatively, pass in a method and a url
-
-```js
-const result = await request({
- method: "GET",
- url: "/orgs/:org/repos",
- headers: {
- authorization: "token 0000000000000000000000000000000000000001"
- },
- org: "octokit",
- type: "private"
-});
-```
-
-## request()
-
-`request(route, options)` or `request(options)`.
-
-**Options**
-
-
-
-
- |
- name
- |
-
- type
- |
-
- description
- |
-
-
-
-
- route
- |
-
- String
- |
-
- If route is set it has to be a string consisting of the request method and URL, e.g. GET /orgs/:org
- |
-
-
-
- options.baseUrl
- |
-
- String
- |
-
- Required. Any supported http verb, case insensitive. Defaults to https://api.github.com.
- |
-
-
- options.headers
- |
-
- Object
- |
-
- Custom headers. Passed headers are merged with defaults:
- headers['user-agent'] defaults to octokit-rest.js/1.2.3 (where 1.2.3 is the released version).
- headers['accept'] defaults to application/vnd.github.v3+json. Use options.mediaType.{format,previews} to request API previews and custom media types.
- |
-
-
-
- options.mediaType.format
- |
-
- String
- |
-
- Media type param, such as `raw`, `html`, or `full`. See Media Types.
- |
-
-
-
- options.mediaType.previews
- |
-
- Array of strings
- |
-
- Name of previews, such as `mercy`, `symmetra`, or `scarlet-witch`. See API Previews.
- |
-
-
-
- options.method
- |
-
- String
- |
-
- Required. Any supported http verb, case insensitive. Defaults to Get.
- |
-
-
-
- options.url
- |
-
- String
- |
-
- Required. A path or full URL which may contain :variable or {variable} placeholders,
- e.g. /orgs/:org/repos. The url is parsed using url-template.
- |
-
-
-
- options.data
- |
-
- Any
- |
-
- Set request body directly instead of setting it to JSON based on additional parameters. See "The `data` parameter" below.
- |
-
-
-
- options.request.agent
- |
-
- http(s).Agent instance
- |
-
- Node only. Useful for custom proxy, certificate, or dns lookup.
- |
-
-
-
- options.request.fetch
- |
-
- Function
- |
-
- Custom replacement for built-in fetch method. Useful for testing or request hooks.
- |
-
-
-
- options.request.hook
- |
-
- Function
- |
-
- Function with the signature hook(request, endpointOptions), where endpointOptions are the parsed options as returned by endpoint.merge(), and request is request(). This option works great in conjuction with before-after-hook.
- |
-
-
-
- options.request.signal
- |
-
- new AbortController().signal
- |
-
- Use an AbortController instance to cancel a request. In node you can only cancel streamed requests.
- |
-
-
-
- options.request.timeout
- |
-
- Number
- |
-
- Node only. Request/response timeout in ms, it resets on redirect. 0 to disable (OS limit applies). options.request.signal is recommended instead.
- |
-
-
-
-All other options except `options.request.*` will be passed depending on the `method` and `url` options.
-
-1. If the option key is a placeholder in the `url`, it will be used as replacement. For example, if the passed options are `{url: '/orgs/:org/repos', org: 'foo'}` the returned `options.url` is `https://api.github.com/orgs/foo/repos`
-2. If the `method` is `GET` or `HEAD`, the option is passed as query parameter
-3. Otherwise the parameter is passed in the request body as JSON key.
-
-**Result**
-
-`request` returns a promise and resolves with 4 keys
-
-
-
-
- |
- key
- |
-
- type
- |
-
- description
- |
-
-
-
- status |
- Integer |
- Response status status |
-
-
- url |
- String |
- URL of response. If a request results in redirects, this is the final URL. You can send a HEAD request to retrieve it without loading the full response body. |
-
-
- headers |
- Object |
- All response headers |
-
-
- data |
- Any |
- The response body as returned from server. If the response is JSON then it will be parsed into an object |
-
-
-
-If an error occurs, the `error` instance has additional properties to help with debugging
-
-- `error.status` The http response status code
-- `error.headers` The http response headers as an object
-- `error.request` The request options such as `method`, `url` and `data`
-
-## `request.defaults()`
-
-Override or set default options. Example:
-
-```js
-const myrequest = require("@octokit/request").defaults({
- baseUrl: "https://github-enterprise.acme-inc.com/api/v3",
- headers: {
- "user-agent": "myApp/1.2.3",
- authorization: `token 0000000000000000000000000000000000000001`
- },
- org: "my-project",
- per_page: 100
-});
-
-myrequest(`GET /orgs/:org/repos`);
-```
-
-You can call `.defaults()` again on the returned method, the defaults will cascade.
-
-```js
-const myProjectRequest = request.defaults({
- baseUrl: "https://github-enterprise.acme-inc.com/api/v3",
- headers: {
- "user-agent": "myApp/1.2.3"
- },
- org: "my-project"
-});
-const myProjectRequestWithAuth = myProjectRequest.defaults({
- headers: {
- authorization: `token 0000000000000000000000000000000000000001`
- }
-});
-```
-
-`myProjectRequest` now defaults the `baseUrl`, `headers['user-agent']`,
-`org` and `headers['authorization']` on top of `headers['accept']` that is set
-by the global default.
-
-## `request.endpoint`
-
-See https://github.com/octokit/endpoint.js. Example
-
-```js
-const options = request.endpoint("GET /orgs/:org/repos", {
- org: "my-project",
- type: "private"
-});
-
-// {
-// method: 'GET',
-// url: 'https://api.github.com/orgs/my-project/repos?type=private',
-// headers: {
-// accept: 'application/vnd.github.v3+json',
-// authorization: 'token 0000000000000000000000000000000000000001',
-// 'user-agent': 'octokit/endpoint.js v1.2.3'
-// }
-// }
-```
-
-All of the [`@octokit/endpoint`](https://github.com/octokit/endpoint.js) API can be used:
-
-- [`ocotkitRequest.endpoint()`](#endpoint)
-- [`ocotkitRequest.endpoint.defaults()`](#endpointdefaults)
-- [`ocotkitRequest.endpoint.merge()`](#endpointdefaults)
-- [`ocotkitRequest.endpoint.parse()`](#endpointmerge)
-
-## Special cases
-
-
-
-### The `data` parameter – set request body directly
-
-Some endpoints such as [Render a Markdown document in raw mode](https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode) don’t have parameters that are sent as request body keys, instead the request body needs to be set directly. In these cases, set the `data` parameter.
-
-```js
-const response = await request("POST /markdown/raw", {
- data: "Hello world github/linguist#1 **cool**, and #1!",
- headers: {
- accept: "text/html;charset=utf-8",
- "content-type": "text/plain"
- }
-});
-
-// Request is sent as
-//
-// {
-// method: 'post',
-// url: 'https://api.github.com/markdown/raw',
-// headers: {
-// accept: 'text/html;charset=utf-8',
-// 'content-type': 'text/plain',
-// 'user-agent': userAgent
-// },
-// body: 'Hello world github/linguist#1 **cool**, and #1!'
-// }
-//
-// not as
-//
-// {
-// ...
-// body: '{"data": "Hello world github/linguist#1 **cool**, and #1!"}'
-// }
-```
-
-### Set parameters for both the URL/query and the request body
-
-There are API endpoints that accept both query parameters as well as a body. In that case you need to add the query parameters as templates to `options.url`, as defined in the [RFC 6570 URI Template specification](https://tools.ietf.org/html/rfc6570).
-
-Example
-
-```js
-request(
- "POST https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
- {
- name: "example.zip",
- label: "short description",
- headers: {
- "content-type": "text/plain",
- "content-length": 14,
- authorization: `token 0000000000000000000000000000000000000001`
- },
- data: "Hello, world!"
- }
-);
-```
-
-## LICENSE
-
-[MIT](LICENSE)
diff --git a/node_modules/@octokit/request/dist-node/index.js b/node_modules/@octokit/request/dist-node/index.js
deleted file mode 100644
index 2e6d51a..0000000
--- a/node_modules/@octokit/request/dist-node/index.js
+++ /dev/null
@@ -1,143 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
-
-var endpoint = require('@octokit/endpoint');
-var getUserAgent = _interopDefault(require('universal-user-agent'));
-var isPlainObject = _interopDefault(require('is-plain-object'));
-var nodeFetch = _interopDefault(require('node-fetch'));
-var requestError = require('@octokit/request-error');
-
-const VERSION = "0.0.0-development";
-
-function getBufferResponse(response) {
- return response.arrayBuffer();
-}
-
-function fetchWrapper(requestOptions) {
- if (isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {
- requestOptions.body = JSON.stringify(requestOptions.body);
- }
-
- let headers = {};
- let status;
- let url;
- const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch;
- return fetch(requestOptions.url, Object.assign({
- method: requestOptions.method,
- body: requestOptions.body,
- headers: requestOptions.headers,
- redirect: requestOptions.redirect
- }, requestOptions.request)).then(response => {
- url = response.url;
- status = response.status;
-
- for (const keyAndValue of response.headers) {
- headers[keyAndValue[0]] = keyAndValue[1];
- }
-
- if (status === 204 || status === 205) {
- return;
- } // GitHub API returns 200 for HEAD requsets
-
-
- if (requestOptions.method === "HEAD") {
- if (status < 400) {
- return;
- }
-
- throw new requestError.RequestError(response.statusText, status, {
- headers,
- request: requestOptions
- });
- }
-
- if (status === 304) {
- throw new requestError.RequestError("Not modified", status, {
- headers,
- request: requestOptions
- });
- }
-
- if (status >= 400) {
- return response.text().then(message => {
- const error = new requestError.RequestError(message, status, {
- headers,
- request: requestOptions
- });
-
- try {
- Object.assign(error, JSON.parse(error.message));
- } catch (e) {// ignore, see octokit/rest.js#684
- }
-
- throw error;
- });
- }
-
- const contentType = response.headers.get("content-type");
-
- if (/application\/json/.test(contentType)) {
- return response.json();
- }
-
- if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
- return response.text();
- }
-
- return getBufferResponse(response);
- }).then(data => {
- return {
- status,
- url,
- headers,
- data
- };
- }).catch(error => {
- if (error instanceof requestError.RequestError) {
- throw error;
- }
-
- throw new requestError.RequestError(error.message, 500, {
- headers,
- request: requestOptions
- });
- });
-}
-
-function withDefaults(oldEndpoint, newDefaults) {
- const endpoint = oldEndpoint.defaults(newDefaults);
-
- const newApi = function (route, parameters) {
- const endpointOptions = endpoint.merge(route, parameters);
-
- if (!endpointOptions.request || !endpointOptions.request.hook) {
- return fetchWrapper(endpoint.parse(endpointOptions));
- }
-
- const request = (route, parameters) => {
- return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));
- };
-
- Object.assign(request, {
- endpoint,
- defaults: withDefaults.bind(null, endpoint)
- });
- return endpointOptions.request.hook(request, endpointOptions);
- };
-
- return Object.assign(newApi, {
- endpoint,
- defaults: withDefaults.bind(null, endpoint)
- });
-}
-
-const request = withDefaults(endpoint.endpoint, {
- headers: {
- "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`
- }
-});
-
-exports.request = request;
diff --git a/node_modules/@octokit/request/dist-src/fetch-wrapper.js b/node_modules/@octokit/request/dist-src/fetch-wrapper.js
deleted file mode 100644
index 6592532..0000000
--- a/node_modules/@octokit/request/dist-src/fetch-wrapper.js
+++ /dev/null
@@ -1,88 +0,0 @@
-import isPlainObject from "is-plain-object";
-import nodeFetch from "node-fetch";
-import { RequestError } from "@octokit/request-error";
-import getBuffer from "./get-buffer-response";
-export default function fetchWrapper(requestOptions) {
- if (isPlainObject(requestOptions.body) ||
- Array.isArray(requestOptions.body)) {
- requestOptions.body = JSON.stringify(requestOptions.body);
- }
- let headers = {};
- let status;
- let url;
- const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch;
- return fetch(requestOptions.url, Object.assign({
- method: requestOptions.method,
- body: requestOptions.body,
- headers: requestOptions.headers,
- redirect: requestOptions.redirect
- }, requestOptions.request))
- .then(response => {
- url = response.url;
- status = response.status;
- for (const keyAndValue of response.headers) {
- headers[keyAndValue[0]] = keyAndValue[1];
- }
- if (status === 204 || status === 205) {
- return;
- }
- // GitHub API returns 200 for HEAD requsets
- if (requestOptions.method === "HEAD") {
- if (status < 400) {
- return;
- }
- throw new RequestError(response.statusText, status, {
- headers,
- request: requestOptions
- });
- }
- if (status === 304) {
- throw new RequestError("Not modified", status, {
- headers,
- request: requestOptions
- });
- }
- if (status >= 400) {
- return response
- .text()
- .then(message => {
- const error = new RequestError(message, status, {
- headers,
- request: requestOptions
- });
- try {
- Object.assign(error, JSON.parse(error.message));
- }
- catch (e) {
- // ignore, see octokit/rest.js#684
- }
- throw error;
- });
- }
- const contentType = response.headers.get("content-type");
- if (/application\/json/.test(contentType)) {
- return response.json();
- }
- if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
- return response.text();
- }
- return getBuffer(response);
- })
- .then(data => {
- return {
- status,
- url,
- headers,
- data
- };
- })
- .catch(error => {
- if (error instanceof RequestError) {
- throw error;
- }
- throw new RequestError(error.message, 500, {
- headers,
- request: requestOptions
- });
- });
-}
diff --git a/node_modules/@octokit/request/dist-src/get-buffer-response.js b/node_modules/@octokit/request/dist-src/get-buffer-response.js
deleted file mode 100644
index 845a394..0000000
--- a/node_modules/@octokit/request/dist-src/get-buffer-response.js
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function getBufferResponse(response) {
- return response.arrayBuffer();
-}
diff --git a/node_modules/@octokit/request/dist-src/index.js b/node_modules/@octokit/request/dist-src/index.js
deleted file mode 100644
index ef12752..0000000
--- a/node_modules/@octokit/request/dist-src/index.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { endpoint } from "@octokit/endpoint";
-import getUserAgent from "universal-user-agent";
-import { VERSION } from "./version";
-import withDefaults from "./with-defaults";
-export const request = withDefaults(endpoint, {
- headers: {
- "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`
- }
-});
diff --git a/node_modules/@octokit/request/dist-src/types.js b/node_modules/@octokit/request/dist-src/types.js
deleted file mode 100644
index e69de29..0000000
diff --git a/node_modules/@octokit/request/dist-src/version.js b/node_modules/@octokit/request/dist-src/version.js
deleted file mode 100644
index 86383b1..0000000
--- a/node_modules/@octokit/request/dist-src/version.js
+++ /dev/null
@@ -1 +0,0 @@
-export const VERSION = "0.0.0-development";
diff --git a/node_modules/@octokit/request/dist-src/with-defaults.js b/node_modules/@octokit/request/dist-src/with-defaults.js
deleted file mode 100644
index 8e44f46..0000000
--- a/node_modules/@octokit/request/dist-src/with-defaults.js
+++ /dev/null
@@ -1,22 +0,0 @@
-import fetchWrapper from "./fetch-wrapper";
-export default function withDefaults(oldEndpoint, newDefaults) {
- const endpoint = oldEndpoint.defaults(newDefaults);
- const newApi = function (route, parameters) {
- const endpointOptions = endpoint.merge(route, parameters);
- if (!endpointOptions.request || !endpointOptions.request.hook) {
- return fetchWrapper(endpoint.parse(endpointOptions));
- }
- const request = (route, parameters) => {
- return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));
- };
- Object.assign(request, {
- endpoint,
- defaults: withDefaults.bind(null, endpoint)
- });
- return endpointOptions.request.hook(request, endpointOptions);
- };
- return Object.assign(newApi, {
- endpoint,
- defaults: withDefaults.bind(null, endpoint)
- });
-}
diff --git a/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts b/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts
deleted file mode 100644
index 0308f69..0000000
--- a/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { endpoint } from "./types";
-export default function fetchWrapper(requestOptions: ReturnType & {
- redirect?: string;
-}): Promise<{
- status: number;
- url: string;
- headers: {
- [header: string]: string;
- };
- data: any;
-}>;
diff --git a/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts b/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts
deleted file mode 100644
index 915b705..0000000
--- a/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { Response } from "node-fetch";
-export default function getBufferResponse(response: Response): Promise;
diff --git a/node_modules/@octokit/request/dist-types/index.d.ts b/node_modules/@octokit/request/dist-types/index.d.ts
deleted file mode 100644
index e2cff5d..0000000
--- a/node_modules/@octokit/request/dist-types/index.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const request: import("./types").request;
diff --git a/node_modules/@octokit/request/dist-types/types.d.ts b/node_modules/@octokit/request/dist-types/types.d.ts
deleted file mode 100644
index f20f2b5..0000000
--- a/node_modules/@octokit/request/dist-types/types.d.ts
+++ /dev/null
@@ -1,152 +0,0 @@
-///
-import { Agent } from "http";
-import { endpoint } from "@octokit/endpoint";
-export interface request {
- /**
- * Sends a request based on endpoint options
- *
- * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- (options: Endpoint): Promise>;
- /**
- * Sends a request based on endpoint options
- *
- * @param {string} route Request method + URL. Example: `'GET /orgs/:org'`
- * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- (route: Route, parameters?: Parameters): Promise>;
- /**
- * Returns a new `endpoint` with updated route and parameters
- */
- defaults: (newDefaults: Parameters) => request;
- /**
- * Octokit endpoint API, see {@link https://github.com/octokit/endpoint.js|@octokit/endpoint}
- */
- endpoint: typeof endpoint;
-}
-export declare type endpoint = typeof endpoint;
-/**
- * Request method + URL. Example: `'GET /orgs/:org'`
- */
-export declare type Route = string;
-/**
- * Relative or absolute URL. Examples: `'/orgs/:org'`, `https://example.com/foo/bar`
- */
-export declare type Url = string;
-/**
- * Request method
- */
-export declare type Method = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT";
-/**
- * Endpoint parameters
- */
-export declare type Parameters = {
- /**
- * Base URL to be used when a relative URL is passed, such as `/orgs/:org`.
- * If `baseUrl` is `https://enterprise.acme-inc.com/api/v3`, then the request
- * will be sent to `https://enterprise.acme-inc.com/api/v3/orgs/:org`.
- */
- baseUrl?: string;
- /**
- * HTTP headers. Use lowercase keys.
- */
- headers?: RequestHeaders;
- /**
- * Media type options, see {@link https://developer.github.com/v3/media/|GitHub Developer Guide}
- */
- mediaType?: {
- /**
- * `json` by default. Can be `raw`, `text`, `html`, `full`, `diff`, `patch`, `sha`, `base64`. Depending on endpoint
- */
- format?: string;
- /**
- * Custom media type names of {@link https://developer.github.com/v3/media/|API Previews} without the `-preview` suffix.
- * Example for single preview: `['squirrel-girl']`.
- * Example for multiple previews: `['squirrel-girl', 'mister-fantastic']`.
- */
- previews?: string[];
- };
- /**
- * Pass custom meta information for the request. The `request` object will be returned as is.
- */
- request?: OctokitRequestOptions;
- /**
- * Any additional parameter will be passed as follows
- * 1. URL parameter if `':parameter'` or `{parameter}` is part of `url`
- * 2. Query parameter if `method` is `'GET'` or `'HEAD'`
- * 3. Request body if `parameter` is `'data'`
- * 4. JSON in the request body in the form of `body[parameter]` unless `parameter` key is `'data'`
- */
- [parameter: string]: any;
-};
-export declare type Endpoint = Parameters & {
- method: Method;
- url: Url;
-};
-export declare type Defaults = Parameters & {
- method: Method;
- baseUrl: string;
- headers: RequestHeaders & {
- accept: string;
- "user-agent": string;
- };
- mediaType: {
- format: string;
- previews: string[];
- };
-};
-export declare type OctokitResponse = {
- headers: ResponseHeaders;
- /**
- * http response code
- */
- status: number;
- /**
- * URL of response after all redirects
- */
- url: string;
- /**
- * This is the data you would see in https://developer.Octokit.com/v3/
- */
- data: T;
-};
-export declare type AnyResponse = OctokitResponse;
-export declare type RequestHeaders = {
- /**
- * Avoid setting `accept`, use `mediaFormat.{format|previews}` instead.
- */
- accept?: string;
- /**
- * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678`
- */
- authorization?: string;
- /**
- * `user-agent` is set do a default and can be overwritten as needed.
- */
- "user-agent"?: string;
- [header: string]: string | number | undefined;
-};
-export declare type ResponseHeaders = {
- [header: string]: string;
-};
-export declare type Fetch = any;
-export declare type Signal = any;
-export declare type OctokitRequestOptions = {
- /**
- * Node only. Useful for custom proxy, certificate, or dns lookup.
- */
- agent?: Agent;
- /**
- * Custom replacement for built-in fetch method. Useful for testing or request hooks.
- */
- fetch?: Fetch;
- /**
- * Use an `AbortController` instance to cancel a request. In node you can only cancel streamed requests.
- */
- signal?: Signal;
- /**
- * Node only. Request/response timeout in ms, it resets on redirect. 0 to disable (OS limit applies). `options.request.signal` is recommended instead.
- */
- timeout?: number;
- [option: string]: any;
-};
diff --git a/node_modules/@octokit/request/dist-types/version.d.ts b/node_modules/@octokit/request/dist-types/version.d.ts
deleted file mode 100644
index 15711f0..0000000
--- a/node_modules/@octokit/request/dist-types/version.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const VERSION = "0.0.0-development";
diff --git a/node_modules/@octokit/request/dist-types/with-defaults.d.ts b/node_modules/@octokit/request/dist-types/with-defaults.d.ts
deleted file mode 100644
index bca6cd0..0000000
--- a/node_modules/@octokit/request/dist-types/with-defaults.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { request, endpoint, Parameters } from "./types";
-export default function withDefaults(oldEndpoint: endpoint, newDefaults: Parameters): request;
diff --git a/node_modules/@octokit/request/dist-web/index.js b/node_modules/@octokit/request/dist-web/index.js
deleted file mode 100644
index 3d3ad18..0000000
--- a/node_modules/@octokit/request/dist-web/index.js
+++ /dev/null
@@ -1,126 +0,0 @@
-import { endpoint } from '@octokit/endpoint';
-import getUserAgent from 'universal-user-agent';
-import isPlainObject from 'is-plain-object';
-import nodeFetch from 'node-fetch';
-import { RequestError } from '@octokit/request-error';
-
-const VERSION = "0.0.0-development";
-
-function getBufferResponse(response) {
- return response.arrayBuffer();
-}
-
-function fetchWrapper(requestOptions) {
- if (isPlainObject(requestOptions.body) ||
- Array.isArray(requestOptions.body)) {
- requestOptions.body = JSON.stringify(requestOptions.body);
- }
- let headers = {};
- let status;
- let url;
- const fetch = (requestOptions.request && requestOptions.request.fetch) || nodeFetch;
- return fetch(requestOptions.url, Object.assign({
- method: requestOptions.method,
- body: requestOptions.body,
- headers: requestOptions.headers,
- redirect: requestOptions.redirect
- }, requestOptions.request))
- .then(response => {
- url = response.url;
- status = response.status;
- for (const keyAndValue of response.headers) {
- headers[keyAndValue[0]] = keyAndValue[1];
- }
- if (status === 204 || status === 205) {
- return;
- }
- // GitHub API returns 200 for HEAD requsets
- if (requestOptions.method === "HEAD") {
- if (status < 400) {
- return;
- }
- throw new RequestError(response.statusText, status, {
- headers,
- request: requestOptions
- });
- }
- if (status === 304) {
- throw new RequestError("Not modified", status, {
- headers,
- request: requestOptions
- });
- }
- if (status >= 400) {
- return response
- .text()
- .then(message => {
- const error = new RequestError(message, status, {
- headers,
- request: requestOptions
- });
- try {
- Object.assign(error, JSON.parse(error.message));
- }
- catch (e) {
- // ignore, see octokit/rest.js#684
- }
- throw error;
- });
- }
- const contentType = response.headers.get("content-type");
- if (/application\/json/.test(contentType)) {
- return response.json();
- }
- if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
- return response.text();
- }
- return getBufferResponse(response);
- })
- .then(data => {
- return {
- status,
- url,
- headers,
- data
- };
- })
- .catch(error => {
- if (error instanceof RequestError) {
- throw error;
- }
- throw new RequestError(error.message, 500, {
- headers,
- request: requestOptions
- });
- });
-}
-
-function withDefaults(oldEndpoint, newDefaults) {
- const endpoint = oldEndpoint.defaults(newDefaults);
- const newApi = function (route, parameters) {
- const endpointOptions = endpoint.merge(route, parameters);
- if (!endpointOptions.request || !endpointOptions.request.hook) {
- return fetchWrapper(endpoint.parse(endpointOptions));
- }
- const request = (route, parameters) => {
- return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));
- };
- Object.assign(request, {
- endpoint,
- defaults: withDefaults.bind(null, endpoint)
- });
- return endpointOptions.request.hook(request, endpointOptions);
- };
- return Object.assign(newApi, {
- endpoint,
- defaults: withDefaults.bind(null, endpoint)
- });
-}
-
-const request = withDefaults(endpoint, {
- headers: {
- "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`
- }
-});
-
-export { request };
diff --git a/node_modules/@octokit/request/node_modules/is-plain-object/LICENSE b/node_modules/@octokit/request/node_modules/is-plain-object/LICENSE
deleted file mode 100644
index 3f2eca1..0000000
--- a/node_modules/@octokit/request/node_modules/is-plain-object/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014-2017, Jon Schlinkert.
-
-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.
diff --git a/node_modules/@octokit/request/node_modules/is-plain-object/README.md b/node_modules/@octokit/request/node_modules/is-plain-object/README.md
deleted file mode 100644
index 60b7b59..0000000
--- a/node_modules/@octokit/request/node_modules/is-plain-object/README.md
+++ /dev/null
@@ -1,119 +0,0 @@
-# is-plain-object [](https://www.npmjs.com/package/is-plain-object) [](https://npmjs.org/package/is-plain-object) [](https://npmjs.org/package/is-plain-object) [](https://travis-ci.org/jonschlinkert/is-plain-object)
-
-> Returns true if an object was created by the `Object` constructor.
-
-Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
-
-## Install
-
-Install with [npm](https://www.npmjs.com/):
-
-```sh
-$ npm install --save is-plain-object
-```
-
-Use [isobject](https://github.com/jonschlinkert/isobject) if you only want to check if the value is an object and not an array or null.
-
-## Usage
-
-```js
-import isPlainObject from 'is-plain-object';
-```
-
-**true** when created by the `Object` constructor.
-
-```js
-isPlainObject(Object.create({}));
-//=> true
-isPlainObject(Object.create(Object.prototype));
-//=> true
-isPlainObject({foo: 'bar'});
-//=> true
-isPlainObject({});
-//=> true
-```
-
-**false** when not created by the `Object` constructor.
-
-```js
-isPlainObject(1);
-//=> false
-isPlainObject(['foo', 'bar']);
-//=> false
-isPlainObject([]);
-//=> false
-isPlainObject(new Foo);
-//=> false
-isPlainObject(null);
-//=> false
-isPlainObject(Object.create(null));
-//=> false
-```
-
-## About
-
-
-Contributing
-
-Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
-
-
-
-
-Running Tests
-
-Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
-
-```sh
-$ npm install && npm test
-```
-
-
-
-
-Building docs
-
-_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
-
-To generate the readme, run the following command:
-
-```sh
-$ npm install -g verbose/verb#dev verb-generate-readme && verb
-```
-
-
-
-### Related projects
-
-You might also be interested in these projects:
-
-* [is-number](https://www.npmjs.com/package/is-number): Returns true if a number or string value is a finite number. Useful for regex… [more](https://github.com/jonschlinkert/is-number) | [homepage](https://github.com/jonschlinkert/is-number "Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.")
-* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject "Returns true if the value is an object and not an array or null.")
-* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of "Get the native type of a value.")
-
-### Contributors
-
-| **Commits** | **Contributor** |
-| --- | --- |
-| 19 | [jonschlinkert](https://github.com/jonschlinkert) |
-| 6 | [TrySound](https://github.com/TrySound) |
-| 6 | [stevenvachon](https://github.com/stevenvachon) |
-| 3 | [onokumus](https://github.com/onokumus) |
-| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |
-
-### Author
-
-**Jon Schlinkert**
-
-* [GitHub Profile](https://github.com/jonschlinkert)
-* [Twitter Profile](https://twitter.com/jonschlinkert)
-* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
-
-### License
-
-Copyright © 2019, [Jon Schlinkert](https://github.com/jonschlinkert).
-Released under the [MIT License](LICENSE).
-
-***
-
-_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on April 28, 2019._
\ No newline at end of file
diff --git a/node_modules/@octokit/request/node_modules/is-plain-object/index.cjs.js b/node_modules/@octokit/request/node_modules/is-plain-object/index.cjs.js
deleted file mode 100644
index d7dda95..0000000
--- a/node_modules/@octokit/request/node_modules/is-plain-object/index.cjs.js
+++ /dev/null
@@ -1,48 +0,0 @@
-'use strict';
-
-/*!
- * isobject
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-function isObject(val) {
- return val != null && typeof val === 'object' && Array.isArray(val) === false;
-}
-
-/*!
- * is-plain-object
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-function isObjectObject(o) {
- return isObject(o) === true
- && Object.prototype.toString.call(o) === '[object Object]';
-}
-
-function isPlainObject(o) {
- var ctor,prot;
-
- if (isObjectObject(o) === false) return false;
-
- // If has modified constructor
- ctor = o.constructor;
- if (typeof ctor !== 'function') return false;
-
- // If has modified prototype
- prot = ctor.prototype;
- if (isObjectObject(prot) === false) return false;
-
- // If constructor does not have an Object-specific method
- if (prot.hasOwnProperty('isPrototypeOf') === false) {
- return false;
- }
-
- // Most likely a plain Object
- return true;
-}
-
-module.exports = isPlainObject;
diff --git a/node_modules/@octokit/request/node_modules/is-plain-object/index.d.ts b/node_modules/@octokit/request/node_modules/is-plain-object/index.d.ts
deleted file mode 100644
index fd131f0..0000000
--- a/node_modules/@octokit/request/node_modules/is-plain-object/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-declare function isPlainObject(o: any): boolean;
-
-export default isPlainObject;
diff --git a/node_modules/@octokit/request/node_modules/is-plain-object/index.js b/node_modules/@octokit/request/node_modules/is-plain-object/index.js
deleted file mode 100644
index 565ce9e..0000000
--- a/node_modules/@octokit/request/node_modules/is-plain-object/index.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*!
- * is-plain-object
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-import isObject from 'isobject';
-
-function isObjectObject(o) {
- return isObject(o) === true
- && Object.prototype.toString.call(o) === '[object Object]';
-}
-
-export default function isPlainObject(o) {
- var ctor,prot;
-
- if (isObjectObject(o) === false) return false;
-
- // If has modified constructor
- ctor = o.constructor;
- if (typeof ctor !== 'function') return false;
-
- // If has modified prototype
- prot = ctor.prototype;
- if (isObjectObject(prot) === false) return false;
-
- // If constructor does not have an Object-specific method
- if (prot.hasOwnProperty('isPrototypeOf') === false) {
- return false;
- }
-
- // Most likely a plain Object
- return true;
-};
diff --git a/node_modules/@octokit/request/node_modules/is-plain-object/package.json b/node_modules/@octokit/request/node_modules/is-plain-object/package.json
deleted file mode 100644
index abeb901..0000000
--- a/node_modules/@octokit/request/node_modules/is-plain-object/package.json
+++ /dev/null
@@ -1,124 +0,0 @@
-{
- "_from": "is-plain-object@^3.0.0",
- "_id": "is-plain-object@3.0.0",
- "_inBundle": false,
- "_integrity": "sha512-tZIpofR+P05k8Aocp7UI/2UTa9lTJSebCXpFFoR9aibpokDj/uXBsJ8luUu0tTVYKkMU6URDUuOfJZ7koewXvg==",
- "_location": "/@octokit/request/is-plain-object",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "is-plain-object@^3.0.0",
- "name": "is-plain-object",
- "escapedName": "is-plain-object",
- "rawSpec": "^3.0.0",
- "saveSpec": null,
- "fetchSpec": "^3.0.0"
- },
- "_requiredBy": [
- "/@octokit/request"
- ],
- "_resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz",
- "_shasum": "47bfc5da1b5d50d64110806c199359482e75a928",
- "_spec": "is-plain-object@^3.0.0",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request",
- "author": {
- "name": "Jon Schlinkert",
- "url": "https://github.com/jonschlinkert"
- },
- "bugs": {
- "url": "https://github.com/jonschlinkert/is-plain-object/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Jon Schlinkert",
- "url": "http://twitter.com/jonschlinkert"
- },
- {
- "name": "Osman Nuri Okumuş",
- "url": "http://onokumus.com"
- },
- {
- "name": "Steven Vachon",
- "url": "https://svachon.com"
- },
- {
- "url": "https://github.com/wtgtybhertgeghgtwtg"
- }
- ],
- "dependencies": {
- "isobject": "^4.0.0"
- },
- "deprecated": false,
- "description": "Returns true if an object was created by the `Object` constructor.",
- "devDependencies": {
- "chai": "^4.2.0",
- "esm": "^3.2.22",
- "gulp-format-md": "^1.0.0",
- "mocha": "^6.1.4",
- "mocha-headless-chrome": "^2.0.2",
- "rollup": "^1.10.1",
- "rollup-plugin-node-resolve": "^4.2.3"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.d.ts",
- "index.js",
- "index.cjs.js"
- ],
- "homepage": "https://github.com/jonschlinkert/is-plain-object",
- "keywords": [
- "check",
- "is",
- "is-object",
- "isobject",
- "javascript",
- "kind",
- "kind-of",
- "object",
- "plain",
- "type",
- "typeof",
- "value"
- ],
- "license": "MIT",
- "main": "index.cjs.js",
- "module": "index.js",
- "name": "is-plain-object",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jonschlinkert/is-plain-object.git"
- },
- "scripts": {
- "build": "rollup -c",
- "prepare": "rollup -c",
- "test": "npm run test_node && npm run build && npm run test_browser",
- "test_browser": "mocha-headless-chrome --args=disable-web-security -f test/browser.html",
- "test_node": "mocha -r esm"
- },
- "types": "index.d.ts",
- "verb": {
- "toc": false,
- "layout": "default",
- "tasks": [
- "readme"
- ],
- "plugins": [
- "gulp-format-md"
- ],
- "related": {
- "list": [
- "is-number",
- "isobject",
- "kind-of"
- ]
- },
- "lint": {
- "reflinks": true
- }
- },
- "version": "3.0.0"
-}
diff --git a/node_modules/@octokit/request/node_modules/isobject/LICENSE b/node_modules/@octokit/request/node_modules/isobject/LICENSE
deleted file mode 100644
index 943e71d..0000000
--- a/node_modules/@octokit/request/node_modules/isobject/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014-2017, Jon Schlinkert.
-
-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.
\ No newline at end of file
diff --git a/node_modules/@octokit/request/node_modules/isobject/README.md b/node_modules/@octokit/request/node_modules/isobject/README.md
deleted file mode 100644
index 1c6e21f..0000000
--- a/node_modules/@octokit/request/node_modules/isobject/README.md
+++ /dev/null
@@ -1,127 +0,0 @@
-# isobject [](https://www.npmjs.com/package/isobject) [](https://npmjs.org/package/isobject) [](https://npmjs.org/package/isobject) [](https://travis-ci.org/jonschlinkert/isobject)
-
-> Returns true if the value is an object and not an array or null.
-
-Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
-
-## Install
-
-Install with [npm](https://www.npmjs.com/):
-
-```sh
-$ npm install --save isobject
-```
-
-Use [is-plain-object](https://github.com/jonschlinkert/is-plain-object) if you want only objects that are created by the `Object` constructor.
-
-## Install
-
-Install with [npm](https://www.npmjs.com/):
-
-```sh
-$ npm install isobject
-```
-
-## Usage
-
-```js
-import isObject from 'isobject';
-```
-
-**True**
-
-All of the following return `true`:
-
-```js
-isObject({});
-isObject(Object.create({}));
-isObject(Object.create(Object.prototype));
-isObject(Object.create(null));
-isObject({});
-isObject(new Foo);
-isObject(/foo/);
-```
-
-**False**
-
-All of the following return `false`:
-
-```js
-isObject();
-isObject(function () {});
-isObject(1);
-isObject([]);
-isObject(undefined);
-isObject(null);
-```
-
-## About
-
-
-Contributing
-
-Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
-
-
-
-
-Running Tests
-
-Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
-
-```sh
-$ npm install && npm test
-```
-
-
-
-
-Building docs
-
-_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
-
-To generate the readme, run the following command:
-
-```sh
-$ npm install -g verbose/verb#dev verb-generate-readme && verb
-```
-
-
-
-### Related projects
-
-You might also be interested in these projects:
-
-* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow "Extend an object with the properties of additional objects. node.js/javascript util.")
-* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object "Returns true if an object was created by the `Object` constructor.")
-* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of "Get the native type of a value.")
-* [merge-deep](https://www.npmjs.com/package/merge-deep): Recursively merge values in a javascript object. | [homepage](https://github.com/jonschlinkert/merge-deep "Recursively merge values in a javascript object.")
-
-### Contributors
-
-| **Commits** | **Contributor** |
-| --- | --- |
-| 30 | [jonschlinkert](https://github.com/jonschlinkert) |
-| 8 | [doowb](https://github.com/doowb) |
-| 7 | [TrySound](https://github.com/TrySound) |
-| 3 | [onokumus](https://github.com/onokumus) |
-| 1 | [LeSuisse](https://github.com/LeSuisse) |
-| 1 | [tmcw](https://github.com/tmcw) |
-| 1 | [ZhouHansen](https://github.com/ZhouHansen) |
-
-### Author
-
-**Jon Schlinkert**
-
-* [GitHub Profile](https://github.com/jonschlinkert)
-* [Twitter Profile](https://twitter.com/jonschlinkert)
-* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
-
-### License
-
-Copyright © 2019, [Jon Schlinkert](https://github.com/jonschlinkert).
-Released under the [MIT License](LICENSE).
-
-***
-
-_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on April 28, 2019._
\ No newline at end of file
diff --git a/node_modules/@octokit/request/node_modules/isobject/index.cjs.js b/node_modules/@octokit/request/node_modules/isobject/index.cjs.js
deleted file mode 100644
index 49debe7..0000000
--- a/node_modules/@octokit/request/node_modules/isobject/index.cjs.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-
-/*!
- * isobject
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-function isObject(val) {
- return val != null && typeof val === 'object' && Array.isArray(val) === false;
-}
-
-module.exports = isObject;
diff --git a/node_modules/@octokit/request/node_modules/isobject/index.d.ts b/node_modules/@octokit/request/node_modules/isobject/index.d.ts
deleted file mode 100644
index c471c71..0000000
--- a/node_modules/@octokit/request/node_modules/isobject/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-declare function isObject(val: any): boolean;
-
-export default isObject;
diff --git a/node_modules/@octokit/request/node_modules/isobject/index.js b/node_modules/@octokit/request/node_modules/isobject/index.js
deleted file mode 100644
index e9f0382..0000000
--- a/node_modules/@octokit/request/node_modules/isobject/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*!
- * isobject
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-export default function isObject(val) {
- return val != null && typeof val === 'object' && Array.isArray(val) === false;
-};
diff --git a/node_modules/@octokit/request/node_modules/isobject/package.json b/node_modules/@octokit/request/node_modules/isobject/package.json
deleted file mode 100644
index 2597580..0000000
--- a/node_modules/@octokit/request/node_modules/isobject/package.json
+++ /dev/null
@@ -1,125 +0,0 @@
-{
- "_from": "isobject@^4.0.0",
- "_id": "isobject@4.0.0",
- "_inBundle": false,
- "_integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==",
- "_location": "/@octokit/request/isobject",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "isobject@^4.0.0",
- "name": "isobject",
- "escapedName": "isobject",
- "rawSpec": "^4.0.0",
- "saveSpec": null,
- "fetchSpec": "^4.0.0"
- },
- "_requiredBy": [
- "/@octokit/request/is-plain-object"
- ],
- "_resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz",
- "_shasum": "3f1c9155e73b192022a80819bacd0343711697b0",
- "_spec": "isobject@^4.0.0",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request\\node_modules\\is-plain-object",
- "author": {
- "name": "Jon Schlinkert",
- "url": "https://github.com/jonschlinkert"
- },
- "bugs": {
- "url": "https://github.com/jonschlinkert/isobject/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "url": "https://github.com/LeSuisse"
- },
- {
- "name": "Brian Woodward",
- "url": "https://twitter.com/doowb"
- },
- {
- "name": "Jon Schlinkert",
- "url": "http://twitter.com/jonschlinkert"
- },
- {
- "name": "Magnús Dæhlen",
- "url": "https://github.com/magnudae"
- },
- {
- "name": "Tom MacWright",
- "url": "https://macwright.org"
- }
- ],
- "dependencies": {},
- "deprecated": false,
- "description": "Returns true if the value is an object and not an array or null.",
- "devDependencies": {
- "esm": "^3.2.22",
- "gulp-format-md": "^0.1.9",
- "mocha": "^2.4.5",
- "rollup": "^1.10.1"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.d.ts",
- "index.cjs.js",
- "index.js"
- ],
- "homepage": "https://github.com/jonschlinkert/isobject",
- "keywords": [
- "check",
- "is",
- "is-object",
- "isobject",
- "kind",
- "kind-of",
- "kindof",
- "native",
- "object",
- "type",
- "typeof",
- "value"
- ],
- "license": "MIT",
- "main": "index.cjs.js",
- "module": "index.js",
- "name": "isobject",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jonschlinkert/isobject.git"
- },
- "scripts": {
- "build": "rollup -i index.js -o index.cjs.js -f cjs",
- "prepublish": "npm run build",
- "test": "mocha -r esm"
- },
- "types": "index.d.ts",
- "verb": {
- "related": {
- "list": [
- "extend-shallow",
- "is-plain-object",
- "kind-of",
- "merge-deep"
- ]
- },
- "toc": false,
- "layout": "default",
- "tasks": [
- "readme"
- ],
- "plugins": [
- "gulp-format-md"
- ],
- "lint": {
- "reflinks": true
- },
- "reflinks": [
- "verb"
- ]
- },
- "version": "4.0.0"
-}
diff --git a/node_modules/@octokit/request/node_modules/universal-user-agent/.travis.yml b/node_modules/@octokit/request/node_modules/universal-user-agent/.travis.yml
deleted file mode 100644
index ebafc54..0000000
--- a/node_modules/@octokit/request/node_modules/universal-user-agent/.travis.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-language: node_js
-cache: npm
-
-# Trigger a push build on master and greenkeeper branches + PRs build on every branches
-# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
-branches:
- only:
- - master
- - /^greenkeeper.*$/
-
-stages:
- - test
- - name: release
- if: branch = master AND type IN (push)
-
-jobs:
- include:
- - stage: test
- node_js: 12
- script: npm run test
- - node_js: 8
- script: npm run test
- - node_js: 10
- env: Node 10 & coverage upload
- script:
- - npm run test
- - npm run coverage:upload
- - node_js: lts/*
- env: browser tests
- script: npm run test:browser
-
- - stage: release
- node_js: lts/*
- env: semantic-release
- script: npm run semantic-release
diff --git a/node_modules/@octokit/request/node_modules/universal-user-agent/LICENSE.md b/node_modules/@octokit/request/node_modules/universal-user-agent/LICENSE.md
deleted file mode 100644
index f105ab0..0000000
--- a/node_modules/@octokit/request/node_modules/universal-user-agent/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# [ISC License](https://spdx.org/licenses/ISC)
-
-Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m)
-
-Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/node_modules/@octokit/request/node_modules/universal-user-agent/README.md b/node_modules/@octokit/request/node_modules/universal-user-agent/README.md
deleted file mode 100644
index 59e809e..0000000
--- a/node_modules/@octokit/request/node_modules/universal-user-agent/README.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# universal-user-agent
-
-> Get a user agent string in both browser and node
-
-[](https://www.npmjs.com/package/universal-user-agent)
-[](https://travis-ci.com/gr2m/universal-user-agent)
-[](https://coveralls.io/github/gr2m/universal-user-agent)
-[](https://greenkeeper.io/)
-
-```js
-const getUserAgent = require('universal-user-agent')
-const userAgent = getUserAgent()
-
-// userAgent will look like this
-// in browser: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0"
-// in node: Node.js/v8.9.4 (macOS High Sierra; x64)
-```
-
-## Credits
-
-The Node implementation was originally inspired by [default-user-agent](https://www.npmjs.com/package/default-user-agent).
-
-## License
-
-[ISC](LICENSE.md)
diff --git a/node_modules/@octokit/request/node_modules/universal-user-agent/browser.js b/node_modules/@octokit/request/node_modules/universal-user-agent/browser.js
deleted file mode 100644
index eb12744..0000000
--- a/node_modules/@octokit/request/node_modules/universal-user-agent/browser.js
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = getUserAgentBrowser
-
-function getUserAgentBrowser () {
- /* global navigator */
- return navigator.userAgent
-}
diff --git a/node_modules/@octokit/request/node_modules/universal-user-agent/cypress.json b/node_modules/@octokit/request/node_modules/universal-user-agent/cypress.json
deleted file mode 100644
index a1ff4b8..0000000
--- a/node_modules/@octokit/request/node_modules/universal-user-agent/cypress.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "integrationFolder": "test",
- "video": false
-}
diff --git a/node_modules/@octokit/request/node_modules/universal-user-agent/index.d.ts b/node_modules/@octokit/request/node_modules/universal-user-agent/index.d.ts
deleted file mode 100644
index 04dfc04..0000000
--- a/node_modules/@octokit/request/node_modules/universal-user-agent/index.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export default function getUserAgentNode(): string;
diff --git a/node_modules/@octokit/request/node_modules/universal-user-agent/index.js b/node_modules/@octokit/request/node_modules/universal-user-agent/index.js
deleted file mode 100644
index ef2d06b..0000000
--- a/node_modules/@octokit/request/node_modules/universal-user-agent/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-module.exports = getUserAgentNode
-
-const osName = require('os-name')
-
-function getUserAgentNode () {
- try {
- return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`
- } catch (error) {
- if (/wmic os get Caption/.test(error.message)) {
- return 'Windows '
- }
-
- throw error
- }
-}
diff --git a/node_modules/@octokit/request/node_modules/universal-user-agent/package.json b/node_modules/@octokit/request/node_modules/universal-user-agent/package.json
deleted file mode 100644
index fcc2854..0000000
--- a/node_modules/@octokit/request/node_modules/universal-user-agent/package.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "_from": "universal-user-agent@^3.0.0",
- "_id": "universal-user-agent@3.0.0",
- "_inBundle": false,
- "_integrity": "sha512-T3siHThqoj5X0benA5H0qcDnrKGXzU8TKoX15x/tQHw1hQBvIEBHjxQ2klizYsqBOO/Q+WuxoQUihadeeqDnoA==",
- "_location": "/@octokit/request/universal-user-agent",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "universal-user-agent@^3.0.0",
- "name": "universal-user-agent",
- "escapedName": "universal-user-agent",
- "rawSpec": "^3.0.0",
- "saveSpec": null,
- "fetchSpec": "^3.0.0"
- },
- "_requiredBy": [
- "/@octokit/request"
- ],
- "_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz",
- "_shasum": "4cc88d68097bffd7ac42e3b7c903e7481424b4b9",
- "_spec": "universal-user-agent@^3.0.0",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\request",
- "author": {
- "name": "Gregor Martynus",
- "url": "https://github.com/gr2m"
- },
- "browser": "browser.js",
- "bugs": {
- "url": "https://github.com/gr2m/universal-user-agent/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "os-name": "^3.0.0"
- },
- "deprecated": false,
- "description": "Get a user agent string in both browser and node",
- "devDependencies": {
- "chai": "^4.1.2",
- "coveralls": "^3.0.2",
- "cypress": "^3.1.0",
- "mocha": "^6.0.0",
- "nyc": "^14.0.0",
- "proxyquire": "^2.1.0",
- "semantic-release": "^15.9.15",
- "sinon": "^7.2.4",
- "sinon-chai": "^3.2.0",
- "standard": "^13.0.1",
- "test": "^0.6.0",
- "travis-deploy-once": "^5.0.7"
- },
- "homepage": "https://github.com/gr2m/universal-user-agent#readme",
- "keywords": [],
- "license": "ISC",
- "main": "index.js",
- "name": "universal-user-agent",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/gr2m/universal-user-agent.git"
- },
- "scripts": {
- "coverage": "nyc report --reporter=html && open coverage/index.html",
- "coverage:upload": "nyc report --reporter=text-lcov | coveralls",
- "pretest": "standard",
- "semantic-release": "semantic-release",
- "test": "nyc mocha \"test/*-test.js\"",
- "test:browser": "cypress run --browser chrome",
- "travis-deploy-once": "travis-deploy-once"
- },
- "standard": {
- "globals": [
- "describe",
- "it",
- "beforeEach",
- "afterEach",
- "expect"
- ]
- },
- "types": "index.d.ts",
- "version": "3.0.0"
-}
diff --git a/node_modules/@octokit/request/node_modules/universal-user-agent/test/smoke-test.js b/node_modules/@octokit/request/node_modules/universal-user-agent/test/smoke-test.js
deleted file mode 100644
index d71b2d5..0000000
--- a/node_modules/@octokit/request/node_modules/universal-user-agent/test/smoke-test.js
+++ /dev/null
@@ -1,57 +0,0 @@
-// make tests run in both Node & Express
-if (!global.cy) {
- const chai = require('chai')
- const sinon = require('sinon')
- const sinonChai = require('sinon-chai')
- chai.use(sinonChai)
- global.expect = chai.expect
-
- let sandbox
- beforeEach(() => {
- sandbox = sinon.createSandbox()
- global.cy = {
- stub: function () {
- return sandbox.stub.apply(sandbox, arguments)
- },
- log () {
- console.log.apply(console, arguments)
- }
- }
- })
-
- afterEach(() => {
- sandbox.restore()
- })
-}
-
-const getUserAgent = require('..')
-
-describe('smoke', () => {
- it('works', () => {
- expect(getUserAgent()).to.be.a('string')
- expect(getUserAgent().length).to.be.above(10)
- })
-
- if (!process.browser) { // test on node only
- const proxyquire = require('proxyquire').noCallThru()
- it('works around wmic error on Windows (#5)', () => {
- const getUserAgent = proxyquire('..', {
- 'os-name': () => {
- throw new Error('Command failed: wmic os get Caption')
- }
- })
-
- expect(getUserAgent()).to.equal('Windows ')
- })
-
- it('does not swallow unexpected errors', () => {
- const getUserAgent = proxyquire('..', {
- 'os-name': () => {
- throw new Error('oops')
- }
- })
-
- expect(getUserAgent).to.throw('oops')
- })
- }
-})
diff --git a/node_modules/@octokit/request/package.json b/node_modules/@octokit/request/package.json
deleted file mode 100644
index f82cad3..0000000
--- a/node_modules/@octokit/request/package.json
+++ /dev/null
@@ -1,89 +0,0 @@
-{
- "_from": "@octokit/request@^5.0.0",
- "_id": "@octokit/request@5.0.2",
- "_inBundle": false,
- "_integrity": "sha512-z1BQr43g4kOL4ZrIVBMHwi68Yg9VbkRUyuAgqCp1rU3vbYa69+2gIld/+gHclw15bJWQnhqqyEb7h5a5EqgZ0A==",
- "_location": "/@octokit/request",
- "_phantomChildren": {
- "os-name": "3.1.0"
- },
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "@octokit/request@^5.0.0",
- "name": "@octokit/request",
- "escapedName": "@octokit%2frequest",
- "scope": "@octokit",
- "rawSpec": "^5.0.0",
- "saveSpec": null,
- "fetchSpec": "^5.0.0"
- },
- "_requiredBy": [
- "/@octokit/graphql",
- "/@octokit/rest"
- ],
- "_resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.0.2.tgz",
- "_shasum": "59a920451f24811c016ddc507adcc41aafb2dca5",
- "_spec": "@octokit/request@^5.0.0",
- "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\graphql",
- "bugs": {
- "url": "https://github.com/octokit/request.js/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "@octokit/endpoint": "^5.1.0",
- "@octokit/request-error": "^1.0.1",
- "deprecation": "^2.0.0",
- "is-plain-object": "^3.0.0",
- "node-fetch": "^2.3.0",
- "once": "^1.4.0",
- "universal-user-agent": "^3.0.0"
- },
- "deprecated": false,
- "description": "Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node",
- "devDependencies": {
- "@pika/pack": "^0.4.0",
- "@pika/plugin-build-node": "^0.5.1",
- "@pika/plugin-build-web": "^0.5.1",
- "@pika/plugin-ts-standard-pkg": "^0.5.1",
- "@types/fetch-mock": "^7.2.4",
- "@types/jest": "^24.0.12",
- "@types/node": "^12.0.3",
- "@types/node-fetch": "^2.3.3",
- "@types/once": "^1.4.0",
- "fetch-mock": "^7.2.0",
- "jest": "^24.7.1",
- "prettier": "^1.17.0",
- "semantic-release": "^15.10.5",
- "semantic-release-plugin-update-version-in-files": "^1.0.0",
- "ts-jest": "^24.0.2",
- "typescript": "^3.4.5"
- },
- "files": [
- "dist-*/",
- "bin/"
- ],
- "homepage": "https://github.com/octokit/request.js#readme",
- "keywords": [
- "octokit",
- "github",
- "api",
- "request"
- ],
- "license": "MIT",
- "main": "dist-node/index.js",
- "module": "dist-web/index.js",
- "name": "@octokit/request",
- "pika": true,
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/octokit/request.js.git"
- },
- "sideEffects": false,
- "source": "dist-src/index.js",
- "types": "dist-types/index.d.ts",
- "version": "5.0.2"
-}
diff --git a/node_modules/@octokit/rest/LICENSE b/node_modules/@octokit/rest/LICENSE
deleted file mode 100644
index 4c0d268..0000000
--- a/node_modules/@octokit/rest/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-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.
diff --git a/node_modules/@octokit/rest/README.md b/node_modules/@octokit/rest/README.md
deleted file mode 100644
index 378def2..0000000
--- a/node_modules/@octokit/rest/README.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# rest.js
-
-> GitHub REST API client for JavaScript
-
-[](https://www.npmjs.com/package/@octokit/rest)
-[](https://travis-ci.org/octokit/rest.js)
-[](https://coveralls.io/github/octokit/rest.js)
-[](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)
diff --git a/node_modules/@octokit/rest/index.d.ts b/node_modules/@octokit/rest/index.d.ts
deleted file mode 100644
index f353a53..0000000
--- a/node_modules/@octokit/rest/index.d.ts
+++ /dev/null
@@ -1,32082 +0,0 @@
-/**
- * This declaration file requires TypeScript 3.1 or above.
- */
-
-///
-
-import * as http from "http";
-
-declare namespace Octokit {
- type json = any;
- type date = string;
-
- export interface Static {
- plugin(plugin: Plugin): Static;
- new (options?: Octokit.Options): Octokit;
- }
-
- export interface Response {
- /** This is the data you would see in https://developer.github.com/v3/ */
- data: T;
-
- /** Response status number */
- status: number;
-
- /** Response headers */
- headers: {
- date: string;
- "x-ratelimit-limit": string;
- "x-ratelimit-remaining": string;
- "x-ratelimit-reset": string;
- "x-Octokit-request-id": string;
- "x-Octokit-media-type": string;
- link: string;
- "last-modified": string;
- etag: string;
- status: string;
- };
-
- [Symbol.iterator](): Iterator;
- }
-
- export type AnyResponse = Response;
-
- export interface EmptyParams {}
-
- export interface Options {
- auth?:
- | string
- | { username: string; password: string; on2fa: () => Promise }
- | { clientId: string; clientSecret: string }
- | { (): string | Promise };
- userAgent?: string;
- previews?: string[];
- baseUrl?: string;
- log?: {
- debug?: (message: string, info?: object) => void;
- info?: (message: string, info?: object) => void;
- warn?: (message: string, info?: object) => void;
- error?: (message: string, info?: object) => void;
- };
- request?: {
- agent?: http.Agent;
- timeout?: number;
- };
- timeout?: number; // Deprecated
- headers?: { [header: string]: any }; // Deprecated
- agent?: http.Agent; // Deprecated
- [option: string]: any;
- }
-
- export type RequestMethod =
- | "DELETE"
- | "GET"
- | "HEAD"
- | "PATCH"
- | "POST"
- | "PUT";
-
- export interface EndpointOptions {
- baseUrl?: string;
- method?: RequestMethod;
- url?: string;
- headers?: { [header: string]: any };
- data?: any;
- request?: { [option: string]: any };
- [parameter: string]: any;
- }
-
- export interface RequestOptions {
- method?: RequestMethod;
- url?: string;
- headers?: { [header: string]: any };
- body?: any;
- request?: { [option: string]: any };
- }
-
- export interface Log {
- debug: (message: string, additionalInfo?: object) => void;
- info: (message: string, additionalInfo?: object) => void;
- warn: (message: string, additionalInfo?: object) => void;
- error: (message: string, additionalInfo?: object) => void;
- }
-
- export interface Endpoint {
- (
- Route: string,
- EndpointOptions?: Octokit.EndpointOptions
- ): Octokit.RequestOptions;
- (EndpointOptions: Octokit.EndpointOptions): Octokit.RequestOptions;
- /**
- * Current default options
- */
- DEFAULTS: Octokit.EndpointOptions;
- /**
- * Get the defaulted endpoint options, but without parsing them into request options:
- */
- merge(
- Route: string,
- EndpointOptions?: Octokit.EndpointOptions
- ): Octokit.RequestOptions;
- merge(EndpointOptions: Octokit.EndpointOptions): Octokit.RequestOptions;
- /**
- * Stateless method to turn endpoint options into request options. Calling endpoint(options) is the same as calling endpoint.parse(endpoint.merge(options)).
- */
- parse(EndpointOptions: Octokit.EndpointOptions): Octokit.RequestOptions;
- /**
- * Merges existing defaults with passed options and returns new endpoint() method with new defaults
- */
- defaults(EndpointOptions: Octokit.EndpointOptions): Octokit.Endpoint;
- }
-
- export interface Request {
- (Route: string, EndpointOptions?: Octokit.EndpointOptions): Promise<
- Octokit.AnyResponse
- >;
- (EndpointOptions: Octokit.EndpointOptions): Promise;
- endpoint: Octokit.Endpoint;
- }
-
- export interface AuthBasic {
- type: "basic";
- username: string;
- password: string;
- }
-
- export interface AuthOAuthToken {
- type: "oauth";
- token: string;
- }
-
- export interface AuthOAuthSecret {
- type: "oauth";
- key: string;
- secret: string;
- }
-
- export interface AuthUserToken {
- type: "token";
- token: string;
- }
-
- export interface AuthJWT {
- type: "app";
- token: string;
- }
-
- export type Link = { link: string } | { headers: { link: string } } | string;
-
- export interface Callback {
- (error: Error | null, result: T): any;
- }
-
- export type Plugin = (octokit: Octokit, options: Octokit.Options) => void;
-
- // See https://github.com/octokit/request.js#octokitrequest
- export type HookOptions = {
- baseUrl: string;
- headers: { [header: string]: string };
- method: string;
- url: string;
- data: any;
- // See https://github.com/bitinn/node-fetch#options
- request: {
- follow?: number;
- timeout?: number;
- compress?: boolean;
- size?: number;
- agent?: string | null;
- };
- [index: string]: any;
- };
-
- export type HookError = Error & {
- status: number;
- headers: { [header: string]: string };
- documentation_url?: string;
- errors?: [
- {
- resource: string;
- field: string;
- code: string;
- }
- ];
- };
-
- export interface Paginate {
- (
- Route: string,
- EndpointOptions?: Octokit.EndpointOptions,
- callback?: (response: Octokit.AnyResponse) => any
- ): Promise;
- (
- EndpointOptions: Octokit.EndpointOptions,
- callback?: (response: Octokit.AnyResponse) => any
- ): Promise;
- iterator: (
- EndpointOptions: Octokit.EndpointOptions
- ) => AsyncIterableIterator;
- }
-
- type UsersDeletePublicKeyResponse = {};
- type UsersCreatePublicKeyResponse = {
- id: number;
- key: string;
- url: string;
- title: string;
- verified: boolean;
- created_at: string;
- read_only: boolean;
- };
- type UsersGetPublicKeyResponse = {
- id: number;
- key: string;
- url: string;
- title: string;
- verified: boolean;
- created_at: string;
- read_only: boolean;
- };
- type UsersListPublicKeysResponseItem = {
- id: number;
- key: string;
- url: string;
- title: string;
- verified: boolean;
- created_at: string;
- read_only: boolean;
- };
- type UsersListPublicKeysForUserResponseItem = { id: number; key: string };
- type UsersDeleteGpgKeyResponse = {};
- type UsersCreateGpgKeyResponseSubkeysItem = {
- id: number;
- primary_key_id: number;
- key_id: string;
- public_key: string;
- emails: Array;
- subkeys: Array;
- can_sign: boolean;
- can_encrypt_comms: boolean;
- can_encrypt_storage: boolean;
- can_certify: boolean;
- created_at: string;
- expires_at: null;
- };
- type UsersCreateGpgKeyResponseEmailsItem = {
- email: string;
- verified: boolean;
- };
- type UsersCreateGpgKeyResponse = {
- id: number;
- primary_key_id: null;
- key_id: string;
- public_key: string;
- emails: Array;
- subkeys: Array;
- can_sign: boolean;
- can_encrypt_comms: boolean;
- can_encrypt_storage: boolean;
- can_certify: boolean;
- created_at: string;
- expires_at: null;
- };
- type UsersGetGpgKeyResponseSubkeysItem = {
- id: number;
- primary_key_id: number;
- key_id: string;
- public_key: string;
- emails: Array;
- subkeys: Array;
- can_sign: boolean;
- can_encrypt_comms: boolean;
- can_encrypt_storage: boolean;
- can_certify: boolean;
- created_at: string;
- expires_at: null;
- };
- type UsersGetGpgKeyResponseEmailsItem = { email: string; verified: boolean };
- type UsersGetGpgKeyResponse = {
- id: number;
- primary_key_id: null;
- key_id: string;
- public_key: string;
- emails: Array;
- subkeys: Array;
- can_sign: boolean;
- can_encrypt_comms: boolean;
- can_encrypt_storage: boolean;
- can_certify: boolean;
- created_at: string;
- expires_at: null;
- };
- type UsersListGpgKeysResponseItemSubkeysItem = {
- id: number;
- primary_key_id: number;
- key_id: string;
- public_key: string;
- emails: Array;
- subkeys: Array;
- can_sign: boolean;
- can_encrypt_comms: boolean;
- can_encrypt_storage: boolean;
- can_certify: boolean;
- created_at: string;
- expires_at: null;
- };
- type UsersListGpgKeysResponseItemEmailsItem = {
- email: string;
- verified: boolean;
- };
- type UsersListGpgKeysResponseItem = {
- id: number;
- primary_key_id: null;
- key_id: string;
- public_key: string;
- emails: Array;
- subkeys: Array;
- can_sign: boolean;
- can_encrypt_comms: boolean;
- can_encrypt_storage: boolean;
- can_certify: boolean;
- created_at: string;
- expires_at: null;
- };
- type UsersListGpgKeysForUserResponseItemSubkeysItem = {
- id: number;
- primary_key_id: number;
- key_id: string;
- public_key: string;
- emails: Array;
- subkeys: Array;
- can_sign: boolean;
- can_encrypt_comms: boolean;
- can_encrypt_storage: boolean;
- can_certify: boolean;
- created_at: string;
- expires_at: null;
- };
- type UsersListGpgKeysForUserResponseItemEmailsItem = {
- email: string;
- verified: boolean;
- };
- type UsersListGpgKeysForUserResponseItem = {
- id: number;
- primary_key_id: null;
- key_id: string;
- public_key: string;
- emails: Array;
- subkeys: Array;
- can_sign: boolean;
- can_encrypt_comms: boolean;
- can_encrypt_storage: boolean;
- can_certify: boolean;
- created_at: string;
- expires_at: null;
- };
- type UsersUnfollowResponse = {};
- type UsersFollowResponse = {};
- type UsersListFollowingForAuthenticatedUserResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type UsersListFollowingForUserResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type UsersListFollowersForAuthenticatedUserResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type UsersListFollowersForUserResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type UsersTogglePrimaryEmailVisibilityResponseItem = {
- email: string;
- primary: boolean;
- verified: boolean;
- visibility: string;
- };
- type UsersDeleteEmailsResponse = {};
- type UsersAddEmailsResponseItem = {
- email: string;
- primary: boolean;
- verified: boolean;
- visibility: string | null;
- };
- type UsersListPublicEmailsResponseItem = {
- email: string;
- verified: boolean;
- primary: boolean;
- visibility: string;
- };
- type UsersListEmailsResponseItem = {
- email: string;
- verified: boolean;
- primary: boolean;
- visibility: string;
- };
- type UsersUnblockResponse = {};
- type UsersBlockResponse = {};
- type UsersCheckBlockedResponse = {};
- type UsersListBlockedResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type UsersListResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type UsersUpdateAuthenticatedResponsePlan = {
- name: string;
- space: number;
- private_repos: number;
- collaborators: number;
- };
- type UsersUpdateAuthenticatedResponse = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- name: string;
- company: string;
- blog: string;
- location: string;
- email: string;
- hireable: boolean;
- bio: string;
- public_repos: number;
- public_gists: number;
- followers: number;
- following: number;
- created_at: string;
- updated_at: string;
- private_gists: number;
- total_private_repos: number;
- owned_private_repos: number;
- disk_usage: number;
- collaborators: number;
- two_factor_authentication: boolean;
- plan: UsersUpdateAuthenticatedResponsePlan;
- };
- type UsersGetByUsernameResponse = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- name: string;
- company: string;
- blog: string;
- location: string;
- email: string;
- hireable: boolean;
- bio: string;
- public_repos: number;
- public_gists: number;
- followers: number;
- following: number;
- created_at: string;
- updated_at: string;
- };
- type TeamsListPendingInvitationsResponseItemInviter = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsListPendingInvitationsResponseItem = {
- id: number;
- login: string;
- email: string;
- role: string;
- created_at: string;
- inviter: TeamsListPendingInvitationsResponseItemInviter;
- team_count: number;
- invitation_team_url: string;
- };
- type TeamsRemoveMembershipResponse = {};
- type TeamsRemoveMemberResponse = {};
- type TeamsAddMemberResponse = {};
- type TeamsListMembersResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsDeleteDiscussionResponse = {};
- type TeamsUpdateDiscussionResponseReactions = {
- url: string;
- total_count: number;
- "+1": number;
- "-1": number;
- laugh: number;
- confused: number;
- heart: number;
- hooray: number;
- };
- type TeamsUpdateDiscussionResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsUpdateDiscussionResponse = {
- author: TeamsUpdateDiscussionResponseAuthor;
- body: string;
- body_html: string;
- body_version: string;
- comments_count: number;
- comments_url: string;
- created_at: string;
- last_edited_at: string;
- html_url: string;
- node_id: string;
- number: number;
- pinned: boolean;
- private: boolean;
- team_url: string;
- title: string;
- updated_at: string;
- url: string;
- reactions: TeamsUpdateDiscussionResponseReactions;
- };
- type TeamsCreateDiscussionResponseReactions = {
- url: string;
- total_count: number;
- "+1": number;
- "-1": number;
- laugh: number;
- confused: number;
- heart: number;
- hooray: number;
- };
- type TeamsCreateDiscussionResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsCreateDiscussionResponse = {
- author: TeamsCreateDiscussionResponseAuthor;
- body: string;
- body_html: string;
- body_version: string;
- comments_count: number;
- comments_url: string;
- created_at: string;
- last_edited_at: null;
- html_url: string;
- node_id: string;
- number: number;
- pinned: boolean;
- private: boolean;
- team_url: string;
- title: string;
- updated_at: string;
- url: string;
- reactions: TeamsCreateDiscussionResponseReactions;
- };
- type TeamsGetDiscussionResponseReactions = {
- url: string;
- total_count: number;
- "+1": number;
- "-1": number;
- laugh: number;
- confused: number;
- heart: number;
- hooray: number;
- };
- type TeamsGetDiscussionResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsGetDiscussionResponse = {
- author: TeamsGetDiscussionResponseAuthor;
- body: string;
- body_html: string;
- body_version: string;
- comments_count: number;
- comments_url: string;
- created_at: string;
- last_edited_at: null;
- html_url: string;
- node_id: string;
- number: number;
- pinned: boolean;
- private: boolean;
- team_url: string;
- title: string;
- updated_at: string;
- url: string;
- reactions: TeamsGetDiscussionResponseReactions;
- };
- type TeamsListDiscussionsResponseItemReactions = {
- url: string;
- total_count: number;
- "+1": number;
- "-1": number;
- laugh: number;
- confused: number;
- heart: number;
- hooray: number;
- };
- type TeamsListDiscussionsResponseItemAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsListDiscussionsResponseItem = {
- author: TeamsListDiscussionsResponseItemAuthor;
- body: string;
- body_html: string;
- body_version: string;
- comments_count: number;
- comments_url: string;
- created_at: string;
- last_edited_at: null;
- html_url: string;
- node_id: string;
- number: number;
- pinned: boolean;
- private: boolean;
- team_url: string;
- title: string;
- updated_at: string;
- url: string;
- reactions: TeamsListDiscussionsResponseItemReactions;
- };
- type TeamsDeleteDiscussionCommentResponse = {};
- type TeamsUpdateDiscussionCommentResponseReactions = {
- url: string;
- total_count: number;
- "+1": number;
- "-1": number;
- laugh: number;
- confused: number;
- heart: number;
- hooray: number;
- };
- type TeamsUpdateDiscussionCommentResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsUpdateDiscussionCommentResponse = {
- author: TeamsUpdateDiscussionCommentResponseAuthor;
- body: string;
- body_html: string;
- body_version: string;
- created_at: string;
- last_edited_at: string;
- discussion_url: string;
- html_url: string;
- node_id: string;
- number: number;
- updated_at: string;
- url: string;
- reactions: TeamsUpdateDiscussionCommentResponseReactions;
- };
- type TeamsCreateDiscussionCommentResponseReactions = {
- url: string;
- total_count: number;
- "+1": number;
- "-1": number;
- laugh: number;
- confused: number;
- heart: number;
- hooray: number;
- };
- type TeamsCreateDiscussionCommentResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsCreateDiscussionCommentResponse = {
- author: TeamsCreateDiscussionCommentResponseAuthor;
- body: string;
- body_html: string;
- body_version: string;
- created_at: string;
- last_edited_at: null;
- discussion_url: string;
- html_url: string;
- node_id: string;
- number: number;
- updated_at: string;
- url: string;
- reactions: TeamsCreateDiscussionCommentResponseReactions;
- };
- type TeamsGetDiscussionCommentResponseReactions = {
- url: string;
- total_count: number;
- "+1": number;
- "-1": number;
- laugh: number;
- confused: number;
- heart: number;
- hooray: number;
- };
- type TeamsGetDiscussionCommentResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsGetDiscussionCommentResponse = {
- author: TeamsGetDiscussionCommentResponseAuthor;
- body: string;
- body_html: string;
- body_version: string;
- created_at: string;
- last_edited_at: null;
- discussion_url: string;
- html_url: string;
- node_id: string;
- number: number;
- updated_at: string;
- url: string;
- reactions: TeamsGetDiscussionCommentResponseReactions;
- };
- type TeamsListDiscussionCommentsResponseItemReactions = {
- url: string;
- total_count: number;
- "+1": number;
- "-1": number;
- laugh: number;
- confused: number;
- heart: number;
- hooray: number;
- };
- type TeamsListDiscussionCommentsResponseItemAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsListDiscussionCommentsResponseItem = {
- author: TeamsListDiscussionCommentsResponseItemAuthor;
- body: string;
- body_html: string;
- body_version: string;
- created_at: string;
- last_edited_at: null;
- discussion_url: string;
- html_url: string;
- node_id: string;
- number: number;
- updated_at: string;
- url: string;
- reactions: TeamsListDiscussionCommentsResponseItemReactions;
- };
- type TeamsRemoveProjectResponse = {};
- type TeamsAddOrUpdateProjectResponse = {};
- type TeamsReviewProjectResponsePermissions = {
- read: boolean;
- write: boolean;
- admin: boolean;
- };
- type TeamsReviewProjectResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsReviewProjectResponse = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: TeamsReviewProjectResponseCreator;
- created_at: string;
- updated_at: string;
- organization_permission: string;
- private: boolean;
- permissions: TeamsReviewProjectResponsePermissions;
- };
- type TeamsListProjectsResponseItemPermissions = {
- read: boolean;
- write: boolean;
- admin: boolean;
- };
- type TeamsListProjectsResponseItemCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsListProjectsResponseItem = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: TeamsListProjectsResponseItemCreator;
- created_at: string;
- updated_at: string;
- organization_permission: string;
- private: boolean;
- permissions: TeamsListProjectsResponseItemPermissions;
- };
- type TeamsListForAuthenticatedUserResponseItemOrganization = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- name: string;
- company: string;
- blog: string;
- location: string;
- email: string;
- is_verified: boolean;
- has_organization_projects: boolean;
- has_repository_projects: boolean;
- public_repos: number;
- public_gists: number;
- followers: number;
- following: number;
- html_url: string;
- created_at: string;
- type: string;
- };
- type TeamsListForAuthenticatedUserResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- members_count: number;
- repos_count: number;
- created_at: string;
- updated_at: string;
- organization: TeamsListForAuthenticatedUserResponseItemOrganization;
- };
- type TeamsRemoveRepoResponse = {};
- type TeamsAddOrUpdateRepoResponse = {};
- type TeamsListReposResponseItemLicense = {
- key: string;
- name: string;
- spdx_id: string;
- url: string;
- node_id: string;
- };
- type TeamsListReposResponseItemPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type TeamsListReposResponseItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type TeamsListReposResponseItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: TeamsListReposResponseItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: TeamsListReposResponseItemPermissions;
- template_repository: null;
- subscribers_count: number;
- network_count: number;
- license: TeamsListReposResponseItemLicense;
- };
- type TeamsDeleteResponse = {};
- type TeamsUpdateResponseOrganization = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- name: string;
- company: string;
- blog: string;
- location: string;
- email: string;
- is_verified: boolean;
- has_organization_projects: boolean;
- has_repository_projects: boolean;
- public_repos: number;
- public_gists: number;
- followers: number;
- following: number;
- html_url: string;
- created_at: string;
- type: string;
- };
- type TeamsUpdateResponse = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- members_count: number;
- repos_count: number;
- created_at: string;
- updated_at: string;
- organization: TeamsUpdateResponseOrganization;
- };
- type TeamsCreateResponseOrganization = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- name: string;
- company: string;
- blog: string;
- location: string;
- email: string;
- is_verified: boolean;
- has_organization_projects: boolean;
- has_repository_projects: boolean;
- public_repos: number;
- public_gists: number;
- followers: number;
- following: number;
- html_url: string;
- created_at: string;
- type: string;
- };
- type TeamsCreateResponse = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- members_count: number;
- repos_count: number;
- created_at: string;
- updated_at: string;
- organization: TeamsCreateResponseOrganization;
- };
- type TeamsGetByNameResponseOrganization = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- name: string;
- company: string;
- blog: string;
- location: string;
- email: string;
- is_verified: boolean;
- has_organization_projects: boolean;
- has_repository_projects: boolean;
- public_repos: number;
- public_gists: number;
- followers: number;
- following: number;
- html_url: string;
- created_at: string;
- type: string;
- };
- type TeamsGetByNameResponse = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- members_count: number;
- repos_count: number;
- created_at: string;
- updated_at: string;
- organization: TeamsGetByNameResponseOrganization;
- };
- type TeamsGetResponseOrganization = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- name: string;
- company: string;
- blog: string;
- location: string;
- email: string;
- is_verified: boolean;
- has_organization_projects: boolean;
- has_repository_projects: boolean;
- public_repos: number;
- public_gists: number;
- followers: number;
- following: number;
- html_url: string;
- created_at: string;
- type: string;
- };
- type TeamsGetResponse = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- members_count: number;
- repos_count: number;
- created_at: string;
- updated_at: string;
- organization: TeamsGetResponseOrganization;
- };
- type TeamsListResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposGetClonesResponseClonesItem = {
- timestamp: string;
- count: number;
- uniques: number;
- };
- type ReposGetClonesResponse = {
- count: number;
- uniques: number;
- clones: Array;
- };
- type ReposGetViewsResponseViewsItem = {
- timestamp: string;
- count: number;
- uniques: number;
- };
- type ReposGetViewsResponse = {
- count: number;
- uniques: number;
- views: Array;
- };
- type ReposGetTopPathsResponseItem = {
- path: string;
- title: string;
- count: number;
- uniques: number;
- };
- type ReposGetTopReferrersResponseItem = {
- referrer: string;
- count: number;
- uniques: number;
- };
- type ReposGetCombinedStatusForRefResponseRepositoryOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetCombinedStatusForRefResponseRepository = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposGetCombinedStatusForRefResponseRepositoryOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- };
- type ReposGetCombinedStatusForRefResponseStatusesItem = {
- url: string;
- avatar_url: string;
- id: number;
- node_id: string;
- state: string;
- description: string;
- target_url: string;
- context: string;
- created_at: string;
- updated_at: string;
- };
- type ReposGetCombinedStatusForRefResponse = {
- state: string;
- statuses: Array;
- sha: string;
- total_count: number;
- repository: ReposGetCombinedStatusForRefResponseRepository;
- commit_url: string;
- url: string;
- };
- type ReposListStatusesForRefResponseItemCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListStatusesForRefResponseItem = {
- url: string;
- avatar_url: string;
- id: number;
- node_id: string;
- state: string;
- description: string;
- target_url: string;
- context: string;
- created_at: string;
- updated_at: string;
- creator: ReposListStatusesForRefResponseItemCreator;
- };
- type ReposCreateStatusResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposCreateStatusResponse = {
- url: string;
- avatar_url: string;
- id: number;
- node_id: string;
- state: string;
- description: string;
- target_url: string;
- context: string;
- created_at: string;
- updated_at: string;
- creator: ReposCreateStatusResponseCreator;
- };
- type ReposGetParticipationStatsResponse = {
- all: Array;
- owner: Array;
- };
- type ReposGetCommitActivityStatsResponseItem = {
- days: Array;
- total: number;
- week: number;
- };
- type ReposGetContributorsStatsResponseItemWeeksItem = {
- w: string;
- a: number;
- d: number;
- c: number;
- };
- type ReposGetContributorsStatsResponseItemAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetContributorsStatsResponseItem = {
- author: ReposGetContributorsStatsResponseItemAuthor;
- total: number;
- weeks: Array;
- };
- type ReposDeleteReleaseAssetResponse = {};
- type ReposUpdateReleaseAssetResponseUploader = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateReleaseAssetResponse = {
- url: string;
- browser_download_url: string;
- id: number;
- node_id: string;
- name: string;
- label: string;
- state: string;
- content_type: string;
- size: number;
- download_count: number;
- created_at: string;
- updated_at: string;
- uploader: ReposUpdateReleaseAssetResponseUploader;
- };
- type ReposGetReleaseAssetResponseUploader = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetReleaseAssetResponse = {
- url: string;
- browser_download_url: string;
- id: number;
- node_id: string;
- name: string;
- label: string;
- state: string;
- content_type: string;
- size: number;
- download_count: number;
- created_at: string;
- updated_at: string;
- uploader: ReposGetReleaseAssetResponseUploader;
- };
- type ReposListAssetsForReleaseResponseItemUploader = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListAssetsForReleaseResponseItem = {
- url: string;
- browser_download_url: string;
- id: number;
- node_id: string;
- name: string;
- label: string;
- state: string;
- content_type: string;
- size: number;
- download_count: number;
- created_at: string;
- updated_at: string;
- uploader: ReposListAssetsForReleaseResponseItemUploader;
- };
- type ReposDeleteReleaseResponse = {};
- type ReposUpdateReleaseResponseAssetsItemUploader = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateReleaseResponseAssetsItem = {
- url: string;
- browser_download_url: string;
- id: number;
- node_id: string;
- name: string;
- label: string;
- state: string;
- content_type: string;
- size: number;
- download_count: number;
- created_at: string;
- updated_at: string;
- uploader: ReposUpdateReleaseResponseAssetsItemUploader;
- };
- type ReposUpdateReleaseResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateReleaseResponse = {
- url: string;
- html_url: string;
- assets_url: string;
- upload_url: string;
- tarball_url: string;
- zipball_url: string;
- id: number;
- node_id: string;
- tag_name: string;
- target_commitish: string;
- name: string;
- body: string;
- draft: boolean;
- prerelease: boolean;
- created_at: string;
- published_at: string;
- author: ReposUpdateReleaseResponseAuthor;
- assets: Array;
- };
- type ReposCreateReleaseResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposCreateReleaseResponse = {
- url: string;
- html_url: string;
- assets_url: string;
- upload_url: string;
- tarball_url: string;
- zipball_url: string;
- id: number;
- node_id: string;
- tag_name: string;
- target_commitish: string;
- name: string;
- body: string;
- draft: boolean;
- prerelease: boolean;
- created_at: string;
- published_at: string;
- author: ReposCreateReleaseResponseAuthor;
- assets: Array;
- };
- type ReposGetReleaseByTagResponseAssetsItemUploader = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetReleaseByTagResponseAssetsItem = {
- url: string;
- browser_download_url: string;
- id: number;
- node_id: string;
- name: string;
- label: string;
- state: string;
- content_type: string;
- size: number;
- download_count: number;
- created_at: string;
- updated_at: string;
- uploader: ReposGetReleaseByTagResponseAssetsItemUploader;
- };
- type ReposGetReleaseByTagResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetReleaseByTagResponse = {
- url: string;
- html_url: string;
- assets_url: string;
- upload_url: string;
- tarball_url: string;
- zipball_url: string;
- id: number;
- node_id: string;
- tag_name: string;
- target_commitish: string;
- name: string;
- body: string;
- draft: boolean;
- prerelease: boolean;
- created_at: string;
- published_at: string;
- author: ReposGetReleaseByTagResponseAuthor;
- assets: Array;
- };
- type ReposGetLatestReleaseResponseAssetsItemUploader = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetLatestReleaseResponseAssetsItem = {
- url: string;
- browser_download_url: string;
- id: number;
- node_id: string;
- name: string;
- label: string;
- state: string;
- content_type: string;
- size: number;
- download_count: number;
- created_at: string;
- updated_at: string;
- uploader: ReposGetLatestReleaseResponseAssetsItemUploader;
- };
- type ReposGetLatestReleaseResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetLatestReleaseResponse = {
- url: string;
- html_url: string;
- assets_url: string;
- upload_url: string;
- tarball_url: string;
- zipball_url: string;
- id: number;
- node_id: string;
- tag_name: string;
- target_commitish: string;
- name: string;
- body: string;
- draft: boolean;
- prerelease: boolean;
- created_at: string;
- published_at: string;
- author: ReposGetLatestReleaseResponseAuthor;
- assets: Array;
- };
- type ReposGetReleaseResponseAssetsItemUploader = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetReleaseResponseAssetsItem = {
- url: string;
- browser_download_url: string;
- id: number;
- node_id: string;
- name: string;
- label: string;
- state: string;
- content_type: string;
- size: number;
- download_count: number;
- created_at: string;
- updated_at: string;
- uploader: ReposGetReleaseResponseAssetsItemUploader;
- };
- type ReposGetReleaseResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetReleaseResponse = {
- url: string;
- html_url: string;
- assets_url: string;
- upload_url: string;
- tarball_url: string;
- zipball_url: string;
- id: number;
- node_id: string;
- tag_name: string;
- target_commitish: string;
- name: string;
- body: string;
- draft: boolean;
- prerelease: boolean;
- created_at: string;
- published_at: string;
- author: ReposGetReleaseResponseAuthor;
- assets: Array;
- };
- type ReposListReleasesResponseItemAssetsItemUploader = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListReleasesResponseItemAssetsItem = {
- url: string;
- browser_download_url: string;
- id: number;
- node_id: string;
- name: string;
- label: string;
- state: string;
- content_type: string;
- size: number;
- download_count: number;
- created_at: string;
- updated_at: string;
- uploader: ReposListReleasesResponseItemAssetsItemUploader;
- };
- type ReposListReleasesResponseItemAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListReleasesResponseItem = {
- url: string;
- html_url: string;
- assets_url: string;
- upload_url: string;
- tarball_url: string;
- zipball_url: string;
- id: number;
- node_id: string;
- tag_name: string;
- target_commitish: string;
- name: string;
- body: string;
- draft: boolean;
- prerelease: boolean;
- created_at: string;
- published_at: string;
- author: ReposListReleasesResponseItemAuthor;
- assets: Array;
- };
- type ReposGetPagesBuildResponsePusher = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetPagesBuildResponseError = { message: null };
- type ReposGetPagesBuildResponse = {
- url: string;
- status: string;
- error: ReposGetPagesBuildResponseError;
- pusher: ReposGetPagesBuildResponsePusher;
- commit: string;
- duration: number;
- created_at: string;
- updated_at: string;
- };
- type ReposGetLatestPagesBuildResponsePusher = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetLatestPagesBuildResponseError = { message: null };
- type ReposGetLatestPagesBuildResponse = {
- url: string;
- status: string;
- error: ReposGetLatestPagesBuildResponseError;
- pusher: ReposGetLatestPagesBuildResponsePusher;
- commit: string;
- duration: number;
- created_at: string;
- updated_at: string;
- };
- type ReposListPagesBuildsResponseItemPusher = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPagesBuildsResponseItemError = { message: null };
- type ReposListPagesBuildsResponseItem = {
- url: string;
- status: string;
- error: ReposListPagesBuildsResponseItemError;
- pusher: ReposListPagesBuildsResponseItemPusher;
- commit: string;
- duration: number;
- created_at: string;
- updated_at: string;
- };
- type ReposRequestPageBuildResponse = { url: string; status: string };
- type ReposUpdateInformationAboutPagesSiteResponse = {};
- type ReposDisablePagesSiteResponse = {};
- type ReposEnablePagesSiteResponseSource = {
- branch: string;
- directory: string;
- };
- type ReposEnablePagesSiteResponse = {
- url: string;
- status: string;
- cname: string;
- custom_404: boolean;
- html_url: string;
- source: ReposEnablePagesSiteResponseSource;
- };
- type ReposGetPagesResponseSource = { branch: string; directory: string };
- type ReposGetPagesResponse = {
- url: string;
- status: string;
- cname: string;
- custom_404: boolean;
- html_url: string;
- source: ReposGetPagesResponseSource;
- };
- type ReposRemoveDeployKeyResponse = {};
- type ReposAddDeployKeyResponse = {
- id: number;
- key: string;
- url: string;
- title: string;
- verified: boolean;
- created_at: string;
- read_only: boolean;
- };
- type ReposGetDeployKeyResponse = {
- id: number;
- key: string;
- url: string;
- title: string;
- verified: boolean;
- created_at: string;
- read_only: boolean;
- };
- type ReposListDeployKeysResponseItem = {
- id: number;
- key: string;
- url: string;
- title: string;
- verified: boolean;
- created_at: string;
- read_only: boolean;
- };
- type ReposDeclineInvitationResponse = {};
- type ReposAcceptInvitationResponse = {};
- type ReposListInvitationsForAuthenticatedUserResponseItemInviter = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListInvitationsForAuthenticatedUserResponseItemInvitee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListInvitationsForAuthenticatedUserResponseItemRepositoryOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListInvitationsForAuthenticatedUserResponseItemRepository = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposListInvitationsForAuthenticatedUserResponseItemRepositoryOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- };
- type ReposListInvitationsForAuthenticatedUserResponseItem = {
- id: number;
- repository: ReposListInvitationsForAuthenticatedUserResponseItemRepository;
- invitee: ReposListInvitationsForAuthenticatedUserResponseItemInvitee;
- inviter: ReposListInvitationsForAuthenticatedUserResponseItemInviter;
- permissions: string;
- created_at: string;
- url: string;
- html_url: string;
- };
- type ReposUpdateInvitationResponseInviter = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateInvitationResponseInvitee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateInvitationResponseRepositoryOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateInvitationResponseRepository = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposUpdateInvitationResponseRepositoryOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- };
- type ReposUpdateInvitationResponse = {
- id: number;
- repository: ReposUpdateInvitationResponseRepository;
- invitee: ReposUpdateInvitationResponseInvitee;
- inviter: ReposUpdateInvitationResponseInviter;
- permissions: string;
- created_at: string;
- url: string;
- html_url: string;
- };
- type ReposDeleteInvitationResponse = {};
- type ReposListInvitationsResponseItemInviter = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListInvitationsResponseItemInvitee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListInvitationsResponseItemRepositoryOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListInvitationsResponseItemRepository = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposListInvitationsResponseItemRepositoryOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- };
- type ReposListInvitationsResponseItem = {
- id: number;
- repository: ReposListInvitationsResponseItemRepository;
- invitee: ReposListInvitationsResponseItemInvitee;
- inviter: ReposListInvitationsResponseItemInviter;
- permissions: string;
- created_at: string;
- url: string;
- html_url: string;
- };
- type ReposDeleteHookResponse = {};
- type ReposPingHookResponse = {};
- type ReposTestPushHookResponse = {};
- type ReposUpdateHookResponseLastResponse = {
- code: null;
- status: string;
- message: null;
- };
- type ReposUpdateHookResponseConfig = {
- content_type: string;
- insecure_ssl: string;
- url: string;
- };
- type ReposUpdateHookResponse = {
- type: string;
- id: number;
- name: string;
- active: boolean;
- events: Array;
- config: ReposUpdateHookResponseConfig;
- updated_at: string;
- created_at: string;
- url: string;
- test_url: string;
- ping_url: string;
- last_response: ReposUpdateHookResponseLastResponse;
- };
- type ReposCreateHookResponseLastResponse = {
- code: null;
- status: string;
- message: null;
- };
- type ReposCreateHookResponseConfig = {
- content_type: string;
- insecure_ssl: string;
- url: string;
- };
- type ReposCreateHookResponse = {
- type: string;
- id: number;
- name: string;
- active: boolean;
- events: Array;
- config: ReposCreateHookResponseConfig;
- updated_at: string;
- created_at: string;
- url: string;
- test_url: string;
- ping_url: string;
- last_response: ReposCreateHookResponseLastResponse;
- };
- type ReposGetHookResponseLastResponse = {
- code: null;
- status: string;
- message: null;
- };
- type ReposGetHookResponseConfig = {
- content_type: string;
- insecure_ssl: string;
- url: string;
- };
- type ReposGetHookResponse = {
- type: string;
- id: number;
- name: string;
- active: boolean;
- events: Array;
- config: ReposGetHookResponseConfig;
- updated_at: string;
- created_at: string;
- url: string;
- test_url: string;
- ping_url: string;
- last_response: ReposGetHookResponseLastResponse;
- };
- type ReposListHooksResponseItemLastResponse = {
- code: null;
- status: string;
- message: null;
- };
- type ReposListHooksResponseItemConfig = {
- content_type: string;
- insecure_ssl: string;
- url: string;
- };
- type ReposListHooksResponseItem = {
- type: string;
- id: number;
- name: string;
- active: boolean;
- events: Array;
- config: ReposListHooksResponseItemConfig;
- updated_at: string;
- created_at: string;
- url: string;
- test_url: string;
- ping_url: string;
- last_response: ReposListHooksResponseItemLastResponse;
- };
- type ReposCreateForkResponsePermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposCreateForkResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposCreateForkResponse = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposCreateForkResponseOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposCreateForkResponsePermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposListForksResponseItemLicense = {
- key: string;
- name: string;
- spdx_id: string;
- url: string;
- node_id: string;
- };
- type ReposListForksResponseItemPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposListForksResponseItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListForksResponseItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposListForksResponseItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposListForksResponseItemPermissions;
- template_repository: null;
- subscribers_count: number;
- network_count: number;
- license: ReposListForksResponseItemLicense;
- };
- type ReposDeleteDownloadResponse = {};
- type ReposGetDownloadResponse = {
- url: string;
- html_url: string;
- id: number;
- name: string;
- description: string;
- size: number;
- download_count: number;
- content_type: string;
- };
- type ReposListDownloadsResponseItem = {
- url: string;
- html_url: string;
- id: number;
- name: string;
- description: string;
- size: number;
- download_count: number;
- content_type: string;
- };
- type ReposCreateDeploymentStatusResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposCreateDeploymentStatusResponse = {
- url: string;
- id: number;
- node_id: string;
- state: string;
- creator: ReposCreateDeploymentStatusResponseCreator;
- description: string;
- environment: string;
- target_url: string;
- created_at: string;
- updated_at: string;
- deployment_url: string;
- repository_url: string;
- environment_url: string;
- log_url: string;
- };
- type ReposGetDeploymentStatusResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetDeploymentStatusResponse = {
- url: string;
- id: number;
- node_id: string;
- state: string;
- creator: ReposGetDeploymentStatusResponseCreator;
- description: string;
- environment: string;
- target_url: string;
- created_at: string;
- updated_at: string;
- deployment_url: string;
- repository_url: string;
- environment_url: string;
- log_url: string;
- };
- type ReposListDeploymentStatusesResponseItemCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListDeploymentStatusesResponseItem = {
- url: string;
- id: number;
- node_id: string;
- state: string;
- creator: ReposListDeploymentStatusesResponseItemCreator;
- description: string;
- environment: string;
- target_url: string;
- created_at: string;
- updated_at: string;
- deployment_url: string;
- repository_url: string;
- environment_url: string;
- log_url: string;
- };
- type ReposGetDeploymentResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetDeploymentResponsePayload = { deploy: string };
- type ReposGetDeploymentResponse = {
- url: string;
- id: number;
- node_id: string;
- sha: string;
- ref: string;
- task: string;
- payload: ReposGetDeploymentResponsePayload;
- original_environment: string;
- environment: string;
- description: string;
- creator: ReposGetDeploymentResponseCreator;
- created_at: string;
- updated_at: string;
- statuses_url: string;
- repository_url: string;
- transient_environment: boolean;
- production_environment: boolean;
- };
- type ReposListDeploymentsResponseItemCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListDeploymentsResponseItemPayload = { deploy: string };
- type ReposListDeploymentsResponseItem = {
- url: string;
- id: number;
- node_id: string;
- sha: string;
- ref: string;
- task: string;
- payload: ReposListDeploymentsResponseItemPayload;
- original_environment: string;
- environment: string;
- description: string;
- creator: ReposListDeploymentsResponseItemCreator;
- created_at: string;
- updated_at: string;
- statuses_url: string;
- repository_url: string;
- transient_environment: boolean;
- production_environment: boolean;
- };
- type ReposGetArchiveLinkResponse = {};
- type ReposDeleteFileResponseCommitVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type ReposDeleteFileResponseCommitParentsItem = {
- url: string;
- html_url: string;
- sha: string;
- };
- type ReposDeleteFileResponseCommitTree = { url: string; sha: string };
- type ReposDeleteFileResponseCommitCommitter = {
- date: string;
- name: string;
- email: string;
- };
- type ReposDeleteFileResponseCommitAuthor = {
- date: string;
- name: string;
- email: string;
- };
- type ReposDeleteFileResponseCommit = {
- sha: string;
- node_id: string;
- url: string;
- html_url: string;
- author: ReposDeleteFileResponseCommitAuthor;
- committer: ReposDeleteFileResponseCommitCommitter;
- message: string;
- tree: ReposDeleteFileResponseCommitTree;
- parents: Array;
- verification: ReposDeleteFileResponseCommitVerification;
- };
- type ReposDeleteFileResponse = {
- content: null;
- commit: ReposDeleteFileResponseCommit;
- };
- type ReposUpdateFileResponseCommitVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type ReposUpdateFileResponseCommitParentsItem = {
- url: string;
- html_url: string;
- sha: string;
- };
- type ReposUpdateFileResponseCommitTree = { url: string; sha: string };
- type ReposUpdateFileResponseCommitCommitter = {
- date: string;
- name: string;
- email: string;
- };
- type ReposUpdateFileResponseCommitAuthor = {
- date: string;
- name: string;
- email: string;
- };
- type ReposUpdateFileResponseCommit = {
- sha: string;
- node_id: string;
- url: string;
- html_url: string;
- author: ReposUpdateFileResponseCommitAuthor;
- committer: ReposUpdateFileResponseCommitCommitter;
- message: string;
- tree: ReposUpdateFileResponseCommitTree;
- parents: Array;
- verification: ReposUpdateFileResponseCommitVerification;
- };
- type ReposUpdateFileResponseContentLinks = {
- self: string;
- git: string;
- html: string;
- };
- type ReposUpdateFileResponseContent = {
- name: string;
- path: string;
- sha: string;
- size: number;
- url: string;
- html_url: string;
- git_url: string;
- download_url: string;
- type: string;
- _links: ReposUpdateFileResponseContentLinks;
- };
- type ReposUpdateFileResponse = {
- content: ReposUpdateFileResponseContent;
- commit: ReposUpdateFileResponseCommit;
- };
- type ReposCreateFileResponseCommitVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type ReposCreateFileResponseCommitParentsItem = {
- url: string;
- html_url: string;
- sha: string;
- };
- type ReposCreateFileResponseCommitTree = { url: string; sha: string };
- type ReposCreateFileResponseCommitCommitter = {
- date: string;
- name: string;
- email: string;
- };
- type ReposCreateFileResponseCommitAuthor = {
- date: string;
- name: string;
- email: string;
- };
- type ReposCreateFileResponseCommit = {
- sha: string;
- node_id: string;
- url: string;
- html_url: string;
- author: ReposCreateFileResponseCommitAuthor;
- committer: ReposCreateFileResponseCommitCommitter;
- message: string;
- tree: ReposCreateFileResponseCommitTree;
- parents: Array;
- verification: ReposCreateFileResponseCommitVerification;
- };
- type ReposCreateFileResponseContentLinks = {
- self: string;
- git: string;
- html: string;
- };
- type ReposCreateFileResponseContent = {
- name: string;
- path: string;
- sha: string;
- size: number;
- url: string;
- html_url: string;
- git_url: string;
- download_url: string;
- type: string;
- _links: ReposCreateFileResponseContentLinks;
- };
- type ReposCreateFileResponse = {
- content: ReposCreateFileResponseContent;
- commit: ReposCreateFileResponseCommit;
- };
- type ReposCreateOrUpdateFileResponseCommitVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type ReposCreateOrUpdateFileResponseCommitParentsItem = {
- url: string;
- html_url: string;
- sha: string;
- };
- type ReposCreateOrUpdateFileResponseCommitTree = { url: string; sha: string };
- type ReposCreateOrUpdateFileResponseCommitCommitter = {
- date: string;
- name: string;
- email: string;
- };
- type ReposCreateOrUpdateFileResponseCommitAuthor = {
- date: string;
- name: string;
- email: string;
- };
- type ReposCreateOrUpdateFileResponseCommit = {
- sha: string;
- node_id: string;
- url: string;
- html_url: string;
- author: ReposCreateOrUpdateFileResponseCommitAuthor;
- committer: ReposCreateOrUpdateFileResponseCommitCommitter;
- message: string;
- tree: ReposCreateOrUpdateFileResponseCommitTree;
- parents: Array;
- verification: ReposCreateOrUpdateFileResponseCommitVerification;
- };
- type ReposCreateOrUpdateFileResponseContentLinks = {
- self: string;
- git: string;
- html: string;
- };
- type ReposCreateOrUpdateFileResponseContent = {
- name: string;
- path: string;
- sha: string;
- size: number;
- url: string;
- html_url: string;
- git_url: string;
- download_url: string;
- type: string;
- _links: ReposCreateOrUpdateFileResponseContentLinks;
- };
- type ReposCreateOrUpdateFileResponse = {
- content: ReposCreateOrUpdateFileResponseContent;
- commit: ReposCreateOrUpdateFileResponseCommit;
- };
- type ReposGetReadmeResponseLinks = {
- git: string;
- self: string;
- html: string;
- };
- type ReposGetReadmeResponse = {
- type: string;
- encoding: string;
- size: number;
- name: string;
- path: string;
- content: string;
- sha: string;
- url: string;
- git_url: string;
- html_url: string;
- download_url: string;
- _links: ReposGetReadmeResponseLinks;
- };
- type ReposRetrieveCommunityProfileMetricsResponseFilesReadme = {
- url: string;
- html_url: string;
- };
- type ReposRetrieveCommunityProfileMetricsResponseFilesLicense = {
- name: string;
- key: string;
- spdx_id: string;
- url: string;
- html_url: string;
- };
- type ReposRetrieveCommunityProfileMetricsResponseFilesPullRequestTemplate = {
- url: string;
- html_url: string;
- };
- type ReposRetrieveCommunityProfileMetricsResponseFilesIssueTemplate = {
- url: string;
- html_url: string;
- };
- type ReposRetrieveCommunityProfileMetricsResponseFilesContributing = {
- url: string;
- html_url: string;
- };
- type ReposRetrieveCommunityProfileMetricsResponseFilesCodeOfConduct = {
- name: string;
- key: string;
- url: string;
- html_url: string;
- };
- type ReposRetrieveCommunityProfileMetricsResponseFiles = {
- code_of_conduct: ReposRetrieveCommunityProfileMetricsResponseFilesCodeOfConduct;
- contributing: ReposRetrieveCommunityProfileMetricsResponseFilesContributing;
- issue_template: ReposRetrieveCommunityProfileMetricsResponseFilesIssueTemplate;
- pull_request_template: ReposRetrieveCommunityProfileMetricsResponseFilesPullRequestTemplate;
- license: ReposRetrieveCommunityProfileMetricsResponseFilesLicense;
- readme: ReposRetrieveCommunityProfileMetricsResponseFilesReadme;
- };
- type ReposRetrieveCommunityProfileMetricsResponse = {
- health_percentage: number;
- description: string;
- documentation: boolean;
- files: ReposRetrieveCommunityProfileMetricsResponseFiles;
- updated_at: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLinksStatuses = {
- href: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLinksCommits = {
- href: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLinksReviewComment = {
- href: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLinksReviewComments = {
- href: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLinksComments = {
- href: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLinksIssue = {
- href: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLinksHtml = {
- href: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLinksSelf = {
- href: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLinks = {
- self: ReposListPullRequestsAssociatedWithCommitResponseItemLinksSelf;
- html: ReposListPullRequestsAssociatedWithCommitResponseItemLinksHtml;
- issue: ReposListPullRequestsAssociatedWithCommitResponseItemLinksIssue;
- comments: ReposListPullRequestsAssociatedWithCommitResponseItemLinksComments;
- review_comments: ReposListPullRequestsAssociatedWithCommitResponseItemLinksReviewComments;
- review_comment: ReposListPullRequestsAssociatedWithCommitResponseItemLinksReviewComment;
- commits: ReposListPullRequestsAssociatedWithCommitResponseItemLinksCommits;
- statuses: ReposListPullRequestsAssociatedWithCommitResponseItemLinksStatuses;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemBaseRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemBaseRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemBaseRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposListPullRequestsAssociatedWithCommitResponseItemBaseRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposListPullRequestsAssociatedWithCommitResponseItemBaseRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemBaseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemBase = {
- label: string;
- ref: string;
- sha: string;
- user: ReposListPullRequestsAssociatedWithCommitResponseItemBaseUser;
- repo: ReposListPullRequestsAssociatedWithCommitResponseItemBaseRepo;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemHeadRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemHeadRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemHeadRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposListPullRequestsAssociatedWithCommitResponseItemHeadRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposListPullRequestsAssociatedWithCommitResponseItemHeadRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemHeadUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemHead = {
- label: string;
- ref: string;
- sha: string;
- user: ReposListPullRequestsAssociatedWithCommitResponseItemHeadUser;
- repo: ReposListPullRequestsAssociatedWithCommitResponseItemHeadRepo;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemRequestedTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemRequestedReviewersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: ReposListPullRequestsAssociatedWithCommitResponseItemMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPullRequestsAssociatedWithCommitResponseItem = {
- url: string;
- id: number;
- node_id: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- issue_url: string;
- commits_url: string;
- review_comments_url: string;
- review_comment_url: string;
- comments_url: string;
- statuses_url: string;
- number: number;
- state: string;
- locked: boolean;
- title: string;
- user: ReposListPullRequestsAssociatedWithCommitResponseItemUser;
- body: string;
- labels: Array<
- ReposListPullRequestsAssociatedWithCommitResponseItemLabelsItem
- >;
- milestone: ReposListPullRequestsAssociatedWithCommitResponseItemMilestone;
- active_lock_reason: string;
- created_at: string;
- updated_at: string;
- closed_at: string;
- merged_at: string;
- merge_commit_sha: string;
- assignee: ReposListPullRequestsAssociatedWithCommitResponseItemAssignee;
- assignees: Array<
- ReposListPullRequestsAssociatedWithCommitResponseItemAssigneesItem
- >;
- requested_reviewers: Array<
- ReposListPullRequestsAssociatedWithCommitResponseItemRequestedReviewersItem
- >;
- requested_teams: Array<
- ReposListPullRequestsAssociatedWithCommitResponseItemRequestedTeamsItem
- >;
- head: ReposListPullRequestsAssociatedWithCommitResponseItemHead;
- base: ReposListPullRequestsAssociatedWithCommitResponseItemBase;
- _links: ReposListPullRequestsAssociatedWithCommitResponseItemLinks;
- author_association: string;
- draft: boolean;
- };
- type ReposListBranchesForHeadCommitResponseItemCommit = {
- sha: string;
- url: string;
- };
- type ReposListBranchesForHeadCommitResponseItem = {
- name: string;
- commit: ReposListBranchesForHeadCommitResponseItemCommit;
- protected: string;
- };
- type ReposGetCommitRefShaResponse = {};
- type ReposGetCommitResponseFilesItem = {
- filename: string;
- additions: number;
- deletions: number;
- changes: number;
- status: string;
- raw_url: string;
- blob_url: string;
- patch: string;
- };
- type ReposGetCommitResponseStats = {
- additions: number;
- deletions: number;
- total: number;
- };
- type ReposGetCommitResponseParentsItem = { url: string; sha: string };
- type ReposGetCommitResponseCommitter = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetCommitResponseAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetCommitResponseCommitVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type ReposGetCommitResponseCommitTree = { url: string; sha: string };
- type ReposGetCommitResponseCommitCommitter = {
- name: string;
- email: string;
- date: string;
- };
- type ReposGetCommitResponseCommitAuthor = {
- name: string;
- email: string;
- date: string;
- };
- type ReposGetCommitResponseCommit = {
- url: string;
- author: ReposGetCommitResponseCommitAuthor;
- committer: ReposGetCommitResponseCommitCommitter;
- message: string;
- tree: ReposGetCommitResponseCommitTree;
- comment_count: number;
- verification: ReposGetCommitResponseCommitVerification;
- };
- type ReposGetCommitResponse = {
- url: string;
- sha: string;
- node_id: string;
- html_url: string;
- comments_url: string;
- commit: ReposGetCommitResponseCommit;
- author: ReposGetCommitResponseAuthor;
- committer: ReposGetCommitResponseCommitter;
- parents: Array;
- stats: ReposGetCommitResponseStats;
- files: Array;
- };
- type ReposListCommitsResponseItemParentsItem = { url: string; sha: string };
- type ReposListCommitsResponseItemCommitter = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListCommitsResponseItemAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListCommitsResponseItemCommitVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type ReposListCommitsResponseItemCommitTree = { url: string; sha: string };
- type ReposListCommitsResponseItemCommitCommitter = {
- name: string;
- email: string;
- date: string;
- };
- type ReposListCommitsResponseItemCommitAuthor = {
- name: string;
- email: string;
- date: string;
- };
- type ReposListCommitsResponseItemCommit = {
- url: string;
- author: ReposListCommitsResponseItemCommitAuthor;
- committer: ReposListCommitsResponseItemCommitCommitter;
- message: string;
- tree: ReposListCommitsResponseItemCommitTree;
- comment_count: number;
- verification: ReposListCommitsResponseItemCommitVerification;
- };
- type ReposListCommitsResponseItem = {
- url: string;
- sha: string;
- node_id: string;
- html_url: string;
- comments_url: string;
- commit: ReposListCommitsResponseItemCommit;
- author: ReposListCommitsResponseItemAuthor;
- committer: ReposListCommitsResponseItemCommitter;
- parents: Array;
- };
- type ReposDeleteCommitCommentResponse = {};
- type ReposUpdateCommitCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateCommitCommentResponse = {
- html_url: string;
- url: string;
- id: number;
- node_id: string;
- body: string;
- path: string;
- position: number;
- line: number;
- commit_id: string;
- user: ReposUpdateCommitCommentResponseUser;
- created_at: string;
- updated_at: string;
- };
- type ReposGetCommitCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetCommitCommentResponse = {
- html_url: string;
- url: string;
- id: number;
- node_id: string;
- body: string;
- path: string;
- position: number;
- line: number;
- commit_id: string;
- user: ReposGetCommitCommentResponseUser;
- created_at: string;
- updated_at: string;
- };
- type ReposCreateCommitCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposCreateCommitCommentResponse = {
- html_url: string;
- url: string;
- id: number;
- node_id: string;
- body: string;
- path: string;
- position: number;
- line: number;
- commit_id: string;
- user: ReposCreateCommitCommentResponseUser;
- created_at: string;
- updated_at: string;
- };
- type ReposListCommentsForCommitResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListCommentsForCommitResponseItem = {
- html_url: string;
- url: string;
- id: number;
- node_id: string;
- body: string;
- path: string;
- position: number;
- line: number;
- commit_id: string;
- user: ReposListCommentsForCommitResponseItemUser;
- created_at: string;
- updated_at: string;
- };
- type ReposListCommitCommentsResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListCommitCommentsResponseItem = {
- html_url: string;
- url: string;
- id: number;
- node_id: string;
- body: string;
- path: string;
- position: number;
- line: number;
- commit_id: string;
- user: ReposListCommitCommentsResponseItemUser;
- created_at: string;
- updated_at: string;
- };
- type ReposRemoveCollaboratorResponse = {};
- type ReposListCollaboratorsResponseItemPermissions = {
- pull: boolean;
- push: boolean;
- admin: boolean;
- };
- type ReposListCollaboratorsResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- permissions: ReposListCollaboratorsResponseItemPermissions;
- };
- type ReposRemoveProtectedBranchUserRestrictionsResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposAddProtectedBranchUserRestrictionsResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposReplaceProtectedBranchUserRestrictionsResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposRemoveProtectedBranchTeamRestrictionsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposAddProtectedBranchTeamRestrictionsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposReplaceProtectedBranchTeamRestrictionsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposAddProtectedBranchAdminEnforcementResponse = {
- url: string;
- enabled: boolean;
- };
- type ReposAddProtectedBranchRequiredSignaturesResponse = {
- url: string;
- enabled: boolean;
- };
- type ReposGetProtectedBranchRequiredSignaturesResponse = {
- url: string;
- enabled: boolean;
- };
- type ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictionsTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictionsUsersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictions = {
- url: string;
- users_url: string;
- teams_url: string;
- users: Array<
- ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictionsUsersItem
- >;
- teams: Array<
- ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictionsTeamsItem
- >;
- };
- type ReposUpdateProtectedBranchPullRequestReviewEnforcementResponse = {
- url: string;
- dismissal_restrictions: ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictions;
- dismiss_stale_reviews: boolean;
- require_code_owner_reviews: boolean;
- required_approving_review_count: number;
- };
- type ReposUpdateProtectedBranchRequiredStatusChecksResponse = {
- url: string;
- strict: boolean;
- contexts: Array;
- contexts_url: string;
- };
- type ReposGetProtectedBranchRequiredStatusChecksResponse = {
- url: string;
- strict: boolean;
- contexts: Array;
- contexts_url: string;
- };
- type ReposRemoveBranchProtectionResponse = {};
- type ReposUpdateBranchProtectionResponseRestrictionsTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposUpdateBranchProtectionResponseRestrictionsUsersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateBranchProtectionResponseRestrictions = {
- url: string;
- users_url: string;
- teams_url: string;
- users: Array;
- teams: Array;
- };
- type ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions = {
- url: string;
- users_url: string;
- teams_url: string;
- users: Array<
- ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem
- >;
- teams: Array<
- ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem
- >;
- };
- type ReposUpdateBranchProtectionResponseRequiredPullRequestReviews = {
- url: string;
- dismissal_restrictions: ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions;
- dismiss_stale_reviews: boolean;
- require_code_owner_reviews: boolean;
- required_approving_review_count: number;
- };
- type ReposUpdateBranchProtectionResponseEnforceAdmins = {
- url: string;
- enabled: boolean;
- };
- type ReposUpdateBranchProtectionResponseRequiredStatusChecks = {
- url: string;
- strict: boolean;
- contexts: Array;
- contexts_url: string;
- };
- type ReposUpdateBranchProtectionResponse = {
- url: string;
- required_status_checks: ReposUpdateBranchProtectionResponseRequiredStatusChecks;
- enforce_admins: ReposUpdateBranchProtectionResponseEnforceAdmins;
- required_pull_request_reviews: ReposUpdateBranchProtectionResponseRequiredPullRequestReviews;
- restrictions: ReposUpdateBranchProtectionResponseRestrictions;
- };
- type ReposGetBranchProtectionResponseRestrictionsTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposGetBranchProtectionResponseRestrictionsUsersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetBranchProtectionResponseRestrictions = {
- url: string;
- users_url: string;
- teams_url: string;
- users: Array;
- teams: Array;
- };
- type ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions = {
- url: string;
- users_url: string;
- teams_url: string;
- users: Array<
- ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem
- >;
- teams: Array<
- ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem
- >;
- };
- type ReposGetBranchProtectionResponseRequiredPullRequestReviews = {
- url: string;
- dismissal_restrictions: ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions;
- dismiss_stale_reviews: boolean;
- require_code_owner_reviews: boolean;
- required_approving_review_count: number;
- };
- type ReposGetBranchProtectionResponseEnforceAdmins = {
- url: string;
- enabled: boolean;
- };
- type ReposGetBranchProtectionResponseRequiredStatusChecks = {
- url: string;
- strict: boolean;
- contexts: Array;
- contexts_url: string;
- };
- type ReposGetBranchProtectionResponse = {
- url: string;
- required_status_checks: ReposGetBranchProtectionResponseRequiredStatusChecks;
- enforce_admins: ReposGetBranchProtectionResponseEnforceAdmins;
- required_pull_request_reviews: ReposGetBranchProtectionResponseRequiredPullRequestReviews;
- restrictions: ReposGetBranchProtectionResponseRestrictions;
- };
- type ReposGetBranchResponseProtectionRequiredStatusChecks = {
- enforcement_level: string;
- contexts: Array;
- };
- type ReposGetBranchResponseProtection = {
- enabled: boolean;
- required_status_checks: ReposGetBranchResponseProtectionRequiredStatusChecks;
- };
- type ReposGetBranchResponseLinks = { html: string; self: string };
- type ReposGetBranchResponseCommitCommitter = {
- gravatar_id: string;
- avatar_url: string;
- url: string;
- id: number;
- login: string;
- };
- type ReposGetBranchResponseCommitParentsItem = { sha: string; url: string };
- type ReposGetBranchResponseCommitAuthor = {
- gravatar_id: string;
- avatar_url: string;
- url: string;
- id: number;
- login: string;
- };
- type ReposGetBranchResponseCommitCommitVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type ReposGetBranchResponseCommitCommitCommitter = {
- name: string;
- date: string;
- email: string;
- };
- type ReposGetBranchResponseCommitCommitTree = { sha: string; url: string };
- type ReposGetBranchResponseCommitCommitAuthor = {
- name: string;
- date: string;
- email: string;
- };
- type ReposGetBranchResponseCommitCommit = {
- author: ReposGetBranchResponseCommitCommitAuthor;
- url: string;
- message: string;
- tree: ReposGetBranchResponseCommitCommitTree;
- committer: ReposGetBranchResponseCommitCommitCommitter;
- verification: ReposGetBranchResponseCommitCommitVerification;
- };
- type ReposGetBranchResponseCommit = {
- sha: string;
- node_id: string;
- commit: ReposGetBranchResponseCommitCommit;
- author: ReposGetBranchResponseCommitAuthor;
- parents: Array;
- url: string;
- committer: ReposGetBranchResponseCommitCommitter;
- };
- type ReposGetBranchResponse = {
- name: string;
- commit: ReposGetBranchResponseCommit;
- _links: ReposGetBranchResponseLinks;
- protected: boolean;
- protection: ReposGetBranchResponseProtection;
- protection_url: string;
- };
- type ReposListBranchesResponseItemProtectionRequiredStatusChecks = {
- enforcement_level: string;
- contexts: Array;
- };
- type ReposListBranchesResponseItemProtection = {
- enabled: boolean;
- required_status_checks: ReposListBranchesResponseItemProtectionRequiredStatusChecks;
- };
- type ReposListBranchesResponseItemCommit = { sha: string; url: string };
- type ReposListBranchesResponseItem = {
- name: string;
- commit: ReposListBranchesResponseItemCommit;
- protected: boolean;
- protection: ReposListBranchesResponseItemProtection;
- protection_url: string;
- };
- type ReposTransferResponsePermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposTransferResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposTransferResponse = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposTransferResponseOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposTransferResponsePermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposDeleteResponse = { message?: string; documentation_url?: string };
- type ReposListTagsResponseItemCommit = { sha: string; url: string };
- type ReposListTagsResponseItem = {
- name: string;
- commit: ReposListTagsResponseItemCommit;
- zipball_url: string;
- tarball_url: string;
- };
- type ReposListTeamsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type ReposListLanguagesResponse = { C: number; Python: number };
- type ReposDisableAutomatedSecurityFixesResponse = {};
- type ReposEnableAutomatedSecurityFixesResponse = {};
- type ReposDisableVulnerabilityAlertsResponse = {};
- type ReposEnableVulnerabilityAlertsResponse = {};
- type ReposReplaceTopicsResponse = { names: Array };
- type ReposListTopicsResponse = { names: Array };
- type ReposUpdateResponseSourcePermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposUpdateResponseSourceOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateResponseSource = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposUpdateResponseSourceOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposUpdateResponseSourcePermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposUpdateResponseParentPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposUpdateResponseParentOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateResponseParent = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposUpdateResponseParentOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposUpdateResponseParentPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposUpdateResponseOrganization = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateResponsePermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposUpdateResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposUpdateResponse = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposUpdateResponseOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposUpdateResponsePermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- organization: ReposUpdateResponseOrganization;
- parent: ReposUpdateResponseParent;
- source: ReposUpdateResponseSource;
- };
- type ReposGetResponseSourcePermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposGetResponseSourceOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetResponseSource = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposGetResponseSourceOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposGetResponseSourcePermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposGetResponseParentPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposGetResponseParentOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetResponseParent = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposGetResponseParentOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposGetResponseParentPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposGetResponseOrganization = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetResponseLicense = {
- key: string;
- name: string;
- spdx_id: string;
- url: string;
- node_id: string;
- };
- type ReposGetResponsePermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposGetResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposGetResponse = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposGetResponseOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposGetResponsePermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- license: ReposGetResponseLicense;
- organization: ReposGetResponseOrganization;
- parent: ReposGetResponseParent;
- source: ReposGetResponseSource;
- };
- type ReposCreateUsingTemplateResponseTemplateRepositoryPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposCreateUsingTemplateResponseTemplateRepositoryOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposCreateUsingTemplateResponseTemplateRepository = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposCreateUsingTemplateResponseTemplateRepositoryOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposCreateUsingTemplateResponseTemplateRepositoryPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposCreateUsingTemplateResponsePermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposCreateUsingTemplateResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposCreateUsingTemplateResponse = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposCreateUsingTemplateResponseOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposCreateUsingTemplateResponsePermissions;
- allow_rebase_merge: boolean;
- template_repository: ReposCreateUsingTemplateResponseTemplateRepository;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposCreateInOrgResponsePermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposCreateInOrgResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposCreateInOrgResponse = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposCreateInOrgResponseOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposCreateInOrgResponsePermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposCreateForAuthenticatedUserResponsePermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposCreateForAuthenticatedUserResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposCreateForAuthenticatedUserResponse = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposCreateForAuthenticatedUserResponseOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposCreateForAuthenticatedUserResponsePermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type ReposListPublicResponseItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListPublicResponseItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposListPublicResponseItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- };
- type ReposListForOrgResponseItemLicense = {
- key: string;
- name: string;
- spdx_id: string;
- url: string;
- node_id: string;
- };
- type ReposListForOrgResponseItemPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type ReposListForOrgResponseItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReposListForOrgResponseItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: ReposListForOrgResponseItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: ReposListForOrgResponseItemPermissions;
- template_repository: null;
- subscribers_count: number;
- network_count: number;
- license: ReposListForOrgResponseItemLicense;
- };
- type ReactionsDeleteResponse = {};
- type ReactionsCreateForTeamDiscussionCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsCreateForTeamDiscussionCommentResponse = {
- id: number;
- node_id: string;
- user: ReactionsCreateForTeamDiscussionCommentResponseUser;
- content: string;
- created_at: string;
- };
- type ReactionsListForTeamDiscussionCommentResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsListForTeamDiscussionCommentResponseItem = {
- id: number;
- node_id: string;
- user: ReactionsListForTeamDiscussionCommentResponseItemUser;
- content: string;
- created_at: string;
- };
- type ReactionsCreateForTeamDiscussionResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsCreateForTeamDiscussionResponse = {
- id: number;
- node_id: string;
- user: ReactionsCreateForTeamDiscussionResponseUser;
- content: string;
- created_at: string;
- };
- type ReactionsListForTeamDiscussionResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsListForTeamDiscussionResponseItem = {
- id: number;
- node_id: string;
- user: ReactionsListForTeamDiscussionResponseItemUser;
- content: string;
- created_at: string;
- };
- type ReactionsCreateForPullRequestReviewCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsCreateForPullRequestReviewCommentResponse = {
- id: number;
- node_id: string;
- user: ReactionsCreateForPullRequestReviewCommentResponseUser;
- content: string;
- created_at: string;
- };
- type ReactionsListForPullRequestReviewCommentResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsListForPullRequestReviewCommentResponseItem = {
- id: number;
- node_id: string;
- user: ReactionsListForPullRequestReviewCommentResponseItemUser;
- content: string;
- created_at: string;
- };
- type ReactionsCreateForIssueCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsCreateForIssueCommentResponse = {
- id: number;
- node_id: string;
- user: ReactionsCreateForIssueCommentResponseUser;
- content: string;
- created_at: string;
- };
- type ReactionsListForIssueCommentResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsListForIssueCommentResponseItem = {
- id: number;
- node_id: string;
- user: ReactionsListForIssueCommentResponseItemUser;
- content: string;
- created_at: string;
- };
- type ReactionsCreateForIssueResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsCreateForIssueResponse = {
- id: number;
- node_id: string;
- user: ReactionsCreateForIssueResponseUser;
- content: string;
- created_at: string;
- };
- type ReactionsListForIssueResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsListForIssueResponseItem = {
- id: number;
- node_id: string;
- user: ReactionsListForIssueResponseItemUser;
- content: string;
- created_at: string;
- };
- type ReactionsCreateForCommitCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsCreateForCommitCommentResponse = {
- id: number;
- node_id: string;
- user: ReactionsCreateForCommitCommentResponseUser;
- content: string;
- created_at: string;
- };
- type ReactionsListForCommitCommentResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ReactionsListForCommitCommentResponseItem = {
- id: number;
- node_id: string;
- user: ReactionsListForCommitCommentResponseItemUser;
- content: string;
- created_at: string;
- };
- type RateLimitGetResponseRate = {
- limit: number;
- remaining: number;
- reset: number;
- };
- type RateLimitGetResponseResourcesIntegrationManifest = {
- limit: number;
- remaining: number;
- reset: number;
- };
- type RateLimitGetResponseResourcesGraphql = {
- limit: number;
- remaining: number;
- reset: number;
- };
- type RateLimitGetResponseResourcesSearch = {
- limit: number;
- remaining: number;
- reset: number;
- };
- type RateLimitGetResponseResourcesCore = {
- limit: number;
- remaining: number;
- reset: number;
- };
- type RateLimitGetResponseResources = {
- core: RateLimitGetResponseResourcesCore;
- search: RateLimitGetResponseResourcesSearch;
- graphql: RateLimitGetResponseResourcesGraphql;
- integration_manifest: RateLimitGetResponseResourcesIntegrationManifest;
- };
- type RateLimitGetResponse = {
- resources: RateLimitGetResponseResources;
- rate: RateLimitGetResponseRate;
- };
- type PullsDismissReviewResponseLinksPullRequest = { href: string };
- type PullsDismissReviewResponseLinksHtml = { href: string };
- type PullsDismissReviewResponseLinks = {
- html: PullsDismissReviewResponseLinksHtml;
- pull_request: PullsDismissReviewResponseLinksPullRequest;
- };
- type PullsDismissReviewResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsDismissReviewResponse = {
- id: number;
- node_id: string;
- user: PullsDismissReviewResponseUser;
- body: string;
- commit_id: string;
- state: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsDismissReviewResponseLinks;
- };
- type PullsSubmitReviewResponseLinksPullRequest = { href: string };
- type PullsSubmitReviewResponseLinksHtml = { href: string };
- type PullsSubmitReviewResponseLinks = {
- html: PullsSubmitReviewResponseLinksHtml;
- pull_request: PullsSubmitReviewResponseLinksPullRequest;
- };
- type PullsSubmitReviewResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsSubmitReviewResponse = {
- id: number;
- node_id: string;
- user: PullsSubmitReviewResponseUser;
- body: string;
- commit_id: string;
- state: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsSubmitReviewResponseLinks;
- };
- type PullsUpdateReviewResponseLinksPullRequest = { href: string };
- type PullsUpdateReviewResponseLinksHtml = { href: string };
- type PullsUpdateReviewResponseLinks = {
- html: PullsUpdateReviewResponseLinksHtml;
- pull_request: PullsUpdateReviewResponseLinksPullRequest;
- };
- type PullsUpdateReviewResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateReviewResponse = {
- id: number;
- node_id: string;
- user: PullsUpdateReviewResponseUser;
- body: string;
- commit_id: string;
- state: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsUpdateReviewResponseLinks;
- };
- type PullsCreateReviewResponseLinksPullRequest = { href: string };
- type PullsCreateReviewResponseLinksHtml = { href: string };
- type PullsCreateReviewResponseLinks = {
- html: PullsCreateReviewResponseLinksHtml;
- pull_request: PullsCreateReviewResponseLinksPullRequest;
- };
- type PullsCreateReviewResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewResponse = {
- id: number;
- node_id: string;
- user: PullsCreateReviewResponseUser;
- body: string;
- commit_id: string;
- state: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsCreateReviewResponseLinks;
- };
- type PullsGetCommentsForReviewResponseItemLinksPullRequest = { href: string };
- type PullsGetCommentsForReviewResponseItemLinksHtml = { href: string };
- type PullsGetCommentsForReviewResponseItemLinksSelf = { href: string };
- type PullsGetCommentsForReviewResponseItemLinks = {
- self: PullsGetCommentsForReviewResponseItemLinksSelf;
- html: PullsGetCommentsForReviewResponseItemLinksHtml;
- pull_request: PullsGetCommentsForReviewResponseItemLinksPullRequest;
- };
- type PullsGetCommentsForReviewResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetCommentsForReviewResponseItem = {
- url: string;
- id: number;
- node_id: string;
- pull_request_review_id: number;
- diff_hunk: string;
- path: string;
- position: number;
- original_position: number;
- commit_id: string;
- original_commit_id: string;
- in_reply_to_id: number;
- user: PullsGetCommentsForReviewResponseItemUser;
- body: string;
- created_at: string;
- updated_at: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsGetCommentsForReviewResponseItemLinks;
- };
- type PullsDeletePendingReviewResponseLinksPullRequest = { href: string };
- type PullsDeletePendingReviewResponseLinksHtml = { href: string };
- type PullsDeletePendingReviewResponseLinks = {
- html: PullsDeletePendingReviewResponseLinksHtml;
- pull_request: PullsDeletePendingReviewResponseLinksPullRequest;
- };
- type PullsDeletePendingReviewResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsDeletePendingReviewResponse = {
- id: number;
- node_id: string;
- user: PullsDeletePendingReviewResponseUser;
- body: string;
- commit_id: string;
- state: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsDeletePendingReviewResponseLinks;
- };
- type PullsGetReviewResponseLinksPullRequest = { href: string };
- type PullsGetReviewResponseLinksHtml = { href: string };
- type PullsGetReviewResponseLinks = {
- html: PullsGetReviewResponseLinksHtml;
- pull_request: PullsGetReviewResponseLinksPullRequest;
- };
- type PullsGetReviewResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetReviewResponse = {
- id: number;
- node_id: string;
- user: PullsGetReviewResponseUser;
- body: string;
- commit_id: string;
- state: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsGetReviewResponseLinks;
- };
- type PullsListReviewsResponseItemLinksPullRequest = { href: string };
- type PullsListReviewsResponseItemLinksHtml = { href: string };
- type PullsListReviewsResponseItemLinks = {
- html: PullsListReviewsResponseItemLinksHtml;
- pull_request: PullsListReviewsResponseItemLinksPullRequest;
- };
- type PullsListReviewsResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListReviewsResponseItem = {
- id: number;
- node_id: string;
- user: PullsListReviewsResponseItemUser;
- body: string;
- commit_id: string;
- state: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsListReviewsResponseItemLinks;
- };
- type PullsDeleteReviewRequestResponse = {};
- type PullsCreateReviewRequestResponseLinksStatuses = { href: string };
- type PullsCreateReviewRequestResponseLinksCommits = { href: string };
- type PullsCreateReviewRequestResponseLinksReviewComment = { href: string };
- type PullsCreateReviewRequestResponseLinksReviewComments = { href: string };
- type PullsCreateReviewRequestResponseLinksComments = { href: string };
- type PullsCreateReviewRequestResponseLinksIssue = { href: string };
- type PullsCreateReviewRequestResponseLinksHtml = { href: string };
- type PullsCreateReviewRequestResponseLinksSelf = { href: string };
- type PullsCreateReviewRequestResponseLinks = {
- self: PullsCreateReviewRequestResponseLinksSelf;
- html: PullsCreateReviewRequestResponseLinksHtml;
- issue: PullsCreateReviewRequestResponseLinksIssue;
- comments: PullsCreateReviewRequestResponseLinksComments;
- review_comments: PullsCreateReviewRequestResponseLinksReviewComments;
- review_comment: PullsCreateReviewRequestResponseLinksReviewComment;
- commits: PullsCreateReviewRequestResponseLinksCommits;
- statuses: PullsCreateReviewRequestResponseLinksStatuses;
- };
- type PullsCreateReviewRequestResponseBaseRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsCreateReviewRequestResponseBaseRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewRequestResponseBaseRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsCreateReviewRequestResponseBaseRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsCreateReviewRequestResponseBaseRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsCreateReviewRequestResponseBaseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewRequestResponseBase = {
- label: string;
- ref: string;
- sha: string;
- user: PullsCreateReviewRequestResponseBaseUser;
- repo: PullsCreateReviewRequestResponseBaseRepo;
- };
- type PullsCreateReviewRequestResponseHeadRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsCreateReviewRequestResponseHeadRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewRequestResponseHeadRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsCreateReviewRequestResponseHeadRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsCreateReviewRequestResponseHeadRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsCreateReviewRequestResponseHeadUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewRequestResponseHead = {
- label: string;
- ref: string;
- sha: string;
- user: PullsCreateReviewRequestResponseHeadUser;
- repo: PullsCreateReviewRequestResponseHeadRepo;
- };
- type PullsCreateReviewRequestResponseRequestedTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type PullsCreateReviewRequestResponseRequestedReviewersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewRequestResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewRequestResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewRequestResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewRequestResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: PullsCreateReviewRequestResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type PullsCreateReviewRequestResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type PullsCreateReviewRequestResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateReviewRequestResponse = {
- url: string;
- id: number;
- node_id: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- issue_url: string;
- commits_url: string;
- review_comments_url: string;
- review_comment_url: string;
- comments_url: string;
- statuses_url: string;
- number: number;
- state: string;
- locked: boolean;
- title: string;
- user: PullsCreateReviewRequestResponseUser;
- body: string;
- labels: Array;
- milestone: PullsCreateReviewRequestResponseMilestone;
- active_lock_reason: string;
- created_at: string;
- updated_at: string;
- closed_at: string;
- merged_at: string;
- merge_commit_sha: string;
- assignee: PullsCreateReviewRequestResponseAssignee;
- assignees: Array;
- requested_reviewers: Array<
- PullsCreateReviewRequestResponseRequestedReviewersItem
- >;
- requested_teams: Array;
- head: PullsCreateReviewRequestResponseHead;
- base: PullsCreateReviewRequestResponseBase;
- _links: PullsCreateReviewRequestResponseLinks;
- author_association: string;
- draft: boolean;
- };
- type PullsListReviewRequestsResponseTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type PullsListReviewRequestsResponseUsersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListReviewRequestsResponse = {
- users: Array;
- teams: Array;
- };
- type PullsDeleteCommentResponse = {};
- type PullsUpdateCommentResponseLinksPullRequest = { href: string };
- type PullsUpdateCommentResponseLinksHtml = { href: string };
- type PullsUpdateCommentResponseLinksSelf = { href: string };
- type PullsUpdateCommentResponseLinks = {
- self: PullsUpdateCommentResponseLinksSelf;
- html: PullsUpdateCommentResponseLinksHtml;
- pull_request: PullsUpdateCommentResponseLinksPullRequest;
- };
- type PullsUpdateCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateCommentResponse = {
- url: string;
- id: number;
- node_id: string;
- pull_request_review_id: number;
- diff_hunk: string;
- path: string;
- position: number;
- original_position: number;
- commit_id: string;
- original_commit_id: string;
- in_reply_to_id: number;
- user: PullsUpdateCommentResponseUser;
- body: string;
- created_at: string;
- updated_at: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsUpdateCommentResponseLinks;
- };
- type PullsCreateCommentReplyResponseLinksPullRequest = { href: string };
- type PullsCreateCommentReplyResponseLinksHtml = { href: string };
- type PullsCreateCommentReplyResponseLinksSelf = { href: string };
- type PullsCreateCommentReplyResponseLinks = {
- self: PullsCreateCommentReplyResponseLinksSelf;
- html: PullsCreateCommentReplyResponseLinksHtml;
- pull_request: PullsCreateCommentReplyResponseLinksPullRequest;
- };
- type PullsCreateCommentReplyResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateCommentReplyResponse = {
- url: string;
- id: number;
- node_id: string;
- pull_request_review_id: number;
- diff_hunk: string;
- path: string;
- position: number;
- original_position: number;
- commit_id: string;
- original_commit_id: string;
- in_reply_to_id: number;
- user: PullsCreateCommentReplyResponseUser;
- body: string;
- created_at: string;
- updated_at: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsCreateCommentReplyResponseLinks;
- };
- type PullsCreateCommentResponseLinksPullRequest = { href: string };
- type PullsCreateCommentResponseLinksHtml = { href: string };
- type PullsCreateCommentResponseLinksSelf = { href: string };
- type PullsCreateCommentResponseLinks = {
- self: PullsCreateCommentResponseLinksSelf;
- html: PullsCreateCommentResponseLinksHtml;
- pull_request: PullsCreateCommentResponseLinksPullRequest;
- };
- type PullsCreateCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateCommentResponse = {
- url: string;
- id: number;
- node_id: string;
- pull_request_review_id: number;
- diff_hunk: string;
- path: string;
- position: number;
- original_position: number;
- commit_id: string;
- original_commit_id: string;
- in_reply_to_id: number;
- user: PullsCreateCommentResponseUser;
- body: string;
- created_at: string;
- updated_at: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsCreateCommentResponseLinks;
- };
- type PullsGetCommentResponseLinksPullRequest = { href: string };
- type PullsGetCommentResponseLinksHtml = { href: string };
- type PullsGetCommentResponseLinksSelf = { href: string };
- type PullsGetCommentResponseLinks = {
- self: PullsGetCommentResponseLinksSelf;
- html: PullsGetCommentResponseLinksHtml;
- pull_request: PullsGetCommentResponseLinksPullRequest;
- };
- type PullsGetCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetCommentResponse = {
- url: string;
- id: number;
- node_id: string;
- pull_request_review_id: number;
- diff_hunk: string;
- path: string;
- position: number;
- original_position: number;
- commit_id: string;
- original_commit_id: string;
- in_reply_to_id: number;
- user: PullsGetCommentResponseUser;
- body: string;
- created_at: string;
- updated_at: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsGetCommentResponseLinks;
- };
- type PullsListCommentsForRepoResponseItemLinksPullRequest = { href: string };
- type PullsListCommentsForRepoResponseItemLinksHtml = { href: string };
- type PullsListCommentsForRepoResponseItemLinksSelf = { href: string };
- type PullsListCommentsForRepoResponseItemLinks = {
- self: PullsListCommentsForRepoResponseItemLinksSelf;
- html: PullsListCommentsForRepoResponseItemLinksHtml;
- pull_request: PullsListCommentsForRepoResponseItemLinksPullRequest;
- };
- type PullsListCommentsForRepoResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListCommentsForRepoResponseItem = {
- url: string;
- id: number;
- node_id: string;
- pull_request_review_id: number;
- diff_hunk: string;
- path: string;
- position: number;
- original_position: number;
- commit_id: string;
- original_commit_id: string;
- in_reply_to_id: number;
- user: PullsListCommentsForRepoResponseItemUser;
- body: string;
- created_at: string;
- updated_at: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsListCommentsForRepoResponseItemLinks;
- };
- type PullsListCommentsResponseItemLinksPullRequest = { href: string };
- type PullsListCommentsResponseItemLinksHtml = { href: string };
- type PullsListCommentsResponseItemLinksSelf = { href: string };
- type PullsListCommentsResponseItemLinks = {
- self: PullsListCommentsResponseItemLinksSelf;
- html: PullsListCommentsResponseItemLinksHtml;
- pull_request: PullsListCommentsResponseItemLinksPullRequest;
- };
- type PullsListCommentsResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListCommentsResponseItem = {
- url: string;
- id: number;
- node_id: string;
- pull_request_review_id: number;
- diff_hunk: string;
- path: string;
- position: number;
- original_position: number;
- commit_id: string;
- original_commit_id: string;
- in_reply_to_id: number;
- user: PullsListCommentsResponseItemUser;
- body: string;
- created_at: string;
- updated_at: string;
- html_url: string;
- pull_request_url: string;
- _links: PullsListCommentsResponseItemLinks;
- };
- type PullsListFilesResponseItem = {
- sha: string;
- filename: string;
- status: string;
- additions: number;
- deletions: number;
- changes: number;
- blob_url: string;
- raw_url: string;
- contents_url: string;
- patch: string;
- };
- type PullsListCommitsResponseItemParentsItem = { url: string; sha: string };
- type PullsListCommitsResponseItemCommitter = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListCommitsResponseItemAuthor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListCommitsResponseItemCommitVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type PullsListCommitsResponseItemCommitTree = { url: string; sha: string };
- type PullsListCommitsResponseItemCommitCommitter = {
- name: string;
- email: string;
- date: string;
- };
- type PullsListCommitsResponseItemCommitAuthor = {
- name: string;
- email: string;
- date: string;
- };
- type PullsListCommitsResponseItemCommit = {
- url: string;
- author: PullsListCommitsResponseItemCommitAuthor;
- committer: PullsListCommitsResponseItemCommitCommitter;
- message: string;
- tree: PullsListCommitsResponseItemCommitTree;
- comment_count: number;
- verification: PullsListCommitsResponseItemCommitVerification;
- };
- type PullsListCommitsResponseItem = {
- url: string;
- sha: string;
- node_id: string;
- html_url: string;
- comments_url: string;
- commit: PullsListCommitsResponseItemCommit;
- author: PullsListCommitsResponseItemAuthor;
- committer: PullsListCommitsResponseItemCommitter;
- parents: Array;
- };
- type PullsUpdateResponseMergedBy = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponseLinksStatuses = { href: string };
- type PullsUpdateResponseLinksCommits = { href: string };
- type PullsUpdateResponseLinksReviewComment = { href: string };
- type PullsUpdateResponseLinksReviewComments = { href: string };
- type PullsUpdateResponseLinksComments = { href: string };
- type PullsUpdateResponseLinksIssue = { href: string };
- type PullsUpdateResponseLinksHtml = { href: string };
- type PullsUpdateResponseLinksSelf = { href: string };
- type PullsUpdateResponseLinks = {
- self: PullsUpdateResponseLinksSelf;
- html: PullsUpdateResponseLinksHtml;
- issue: PullsUpdateResponseLinksIssue;
- comments: PullsUpdateResponseLinksComments;
- review_comments: PullsUpdateResponseLinksReviewComments;
- review_comment: PullsUpdateResponseLinksReviewComment;
- commits: PullsUpdateResponseLinksCommits;
- statuses: PullsUpdateResponseLinksStatuses;
- };
- type PullsUpdateResponseBaseRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsUpdateResponseBaseRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponseBaseRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsUpdateResponseBaseRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsUpdateResponseBaseRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsUpdateResponseBaseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponseBase = {
- label: string;
- ref: string;
- sha: string;
- user: PullsUpdateResponseBaseUser;
- repo: PullsUpdateResponseBaseRepo;
- };
- type PullsUpdateResponseHeadRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsUpdateResponseHeadRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponseHeadRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsUpdateResponseHeadRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsUpdateResponseHeadRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsUpdateResponseHeadUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponseHead = {
- label: string;
- ref: string;
- sha: string;
- user: PullsUpdateResponseHeadUser;
- repo: PullsUpdateResponseHeadRepo;
- };
- type PullsUpdateResponseRequestedTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type PullsUpdateResponseRequestedReviewersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: PullsUpdateResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type PullsUpdateResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type PullsUpdateResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsUpdateResponse = {
- url: string;
- id: number;
- node_id: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- issue_url: string;
- commits_url: string;
- review_comments_url: string;
- review_comment_url: string;
- comments_url: string;
- statuses_url: string;
- number: number;
- state: string;
- locked: boolean;
- title: string;
- user: PullsUpdateResponseUser;
- body: string;
- labels: Array;
- milestone: PullsUpdateResponseMilestone;
- active_lock_reason: string;
- created_at: string;
- updated_at: string;
- closed_at: string;
- merged_at: string;
- merge_commit_sha: string;
- assignee: PullsUpdateResponseAssignee;
- assignees: Array;
- requested_reviewers: Array;
- requested_teams: Array;
- head: PullsUpdateResponseHead;
- base: PullsUpdateResponseBase;
- _links: PullsUpdateResponseLinks;
- author_association: string;
- draft: boolean;
- merged: boolean;
- mergeable: boolean;
- rebaseable: boolean;
- mergeable_state: string;
- merged_by: PullsUpdateResponseMergedBy;
- comments: number;
- review_comments: number;
- maintainer_can_modify: boolean;
- commits: number;
- additions: number;
- deletions: number;
- changed_files: number;
- };
- type PullsUpdateBranchResponse = { message: string; url: string };
- type PullsCreateFromIssueResponseMergedBy = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponseLinksStatuses = { href: string };
- type PullsCreateFromIssueResponseLinksCommits = { href: string };
- type PullsCreateFromIssueResponseLinksReviewComment = { href: string };
- type PullsCreateFromIssueResponseLinksReviewComments = { href: string };
- type PullsCreateFromIssueResponseLinksComments = { href: string };
- type PullsCreateFromIssueResponseLinksIssue = { href: string };
- type PullsCreateFromIssueResponseLinksHtml = { href: string };
- type PullsCreateFromIssueResponseLinksSelf = { href: string };
- type PullsCreateFromIssueResponseLinks = {
- self: PullsCreateFromIssueResponseLinksSelf;
- html: PullsCreateFromIssueResponseLinksHtml;
- issue: PullsCreateFromIssueResponseLinksIssue;
- comments: PullsCreateFromIssueResponseLinksComments;
- review_comments: PullsCreateFromIssueResponseLinksReviewComments;
- review_comment: PullsCreateFromIssueResponseLinksReviewComment;
- commits: PullsCreateFromIssueResponseLinksCommits;
- statuses: PullsCreateFromIssueResponseLinksStatuses;
- };
- type PullsCreateFromIssueResponseBaseRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsCreateFromIssueResponseBaseRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponseBaseRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsCreateFromIssueResponseBaseRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsCreateFromIssueResponseBaseRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsCreateFromIssueResponseBaseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponseBase = {
- label: string;
- ref: string;
- sha: string;
- user: PullsCreateFromIssueResponseBaseUser;
- repo: PullsCreateFromIssueResponseBaseRepo;
- };
- type PullsCreateFromIssueResponseHeadRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsCreateFromIssueResponseHeadRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponseHeadRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsCreateFromIssueResponseHeadRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsCreateFromIssueResponseHeadRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsCreateFromIssueResponseHeadUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponseHead = {
- label: string;
- ref: string;
- sha: string;
- user: PullsCreateFromIssueResponseHeadUser;
- repo: PullsCreateFromIssueResponseHeadRepo;
- };
- type PullsCreateFromIssueResponseRequestedTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type PullsCreateFromIssueResponseRequestedReviewersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: PullsCreateFromIssueResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type PullsCreateFromIssueResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type PullsCreateFromIssueResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateFromIssueResponse = {
- url: string;
- id: number;
- node_id: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- issue_url: string;
- commits_url: string;
- review_comments_url: string;
- review_comment_url: string;
- comments_url: string;
- statuses_url: string;
- number: number;
- state: string;
- locked: boolean;
- title: string;
- user: PullsCreateFromIssueResponseUser;
- body: string;
- labels: Array;
- milestone: PullsCreateFromIssueResponseMilestone;
- active_lock_reason: string;
- created_at: string;
- updated_at: string;
- closed_at: string;
- merged_at: string;
- merge_commit_sha: string;
- assignee: PullsCreateFromIssueResponseAssignee;
- assignees: Array;
- requested_reviewers: Array<
- PullsCreateFromIssueResponseRequestedReviewersItem
- >;
- requested_teams: Array;
- head: PullsCreateFromIssueResponseHead;
- base: PullsCreateFromIssueResponseBase;
- _links: PullsCreateFromIssueResponseLinks;
- author_association: string;
- draft: boolean;
- merged: boolean;
- mergeable: boolean;
- rebaseable: boolean;
- mergeable_state: string;
- merged_by: PullsCreateFromIssueResponseMergedBy;
- comments: number;
- review_comments: number;
- maintainer_can_modify: boolean;
- commits: number;
- additions: number;
- deletions: number;
- changed_files: number;
- };
- type PullsCreateResponseMergedBy = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponseLinksStatuses = { href: string };
- type PullsCreateResponseLinksCommits = { href: string };
- type PullsCreateResponseLinksReviewComment = { href: string };
- type PullsCreateResponseLinksReviewComments = { href: string };
- type PullsCreateResponseLinksComments = { href: string };
- type PullsCreateResponseLinksIssue = { href: string };
- type PullsCreateResponseLinksHtml = { href: string };
- type PullsCreateResponseLinksSelf = { href: string };
- type PullsCreateResponseLinks = {
- self: PullsCreateResponseLinksSelf;
- html: PullsCreateResponseLinksHtml;
- issue: PullsCreateResponseLinksIssue;
- comments: PullsCreateResponseLinksComments;
- review_comments: PullsCreateResponseLinksReviewComments;
- review_comment: PullsCreateResponseLinksReviewComment;
- commits: PullsCreateResponseLinksCommits;
- statuses: PullsCreateResponseLinksStatuses;
- };
- type PullsCreateResponseBaseRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsCreateResponseBaseRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponseBaseRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsCreateResponseBaseRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsCreateResponseBaseRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsCreateResponseBaseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponseBase = {
- label: string;
- ref: string;
- sha: string;
- user: PullsCreateResponseBaseUser;
- repo: PullsCreateResponseBaseRepo;
- };
- type PullsCreateResponseHeadRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsCreateResponseHeadRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponseHeadRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsCreateResponseHeadRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsCreateResponseHeadRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsCreateResponseHeadUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponseHead = {
- label: string;
- ref: string;
- sha: string;
- user: PullsCreateResponseHeadUser;
- repo: PullsCreateResponseHeadRepo;
- };
- type PullsCreateResponseRequestedTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type PullsCreateResponseRequestedReviewersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: PullsCreateResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type PullsCreateResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type PullsCreateResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsCreateResponse = {
- url: string;
- id: number;
- node_id: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- issue_url: string;
- commits_url: string;
- review_comments_url: string;
- review_comment_url: string;
- comments_url: string;
- statuses_url: string;
- number: number;
- state: string;
- locked: boolean;
- title: string;
- user: PullsCreateResponseUser;
- body: string;
- labels: Array;
- milestone: PullsCreateResponseMilestone;
- active_lock_reason: string;
- created_at: string;
- updated_at: string;
- closed_at: string;
- merged_at: string;
- merge_commit_sha: string;
- assignee: PullsCreateResponseAssignee;
- assignees: Array;
- requested_reviewers: Array;
- requested_teams: Array;
- head: PullsCreateResponseHead;
- base: PullsCreateResponseBase;
- _links: PullsCreateResponseLinks;
- author_association: string;
- draft: boolean;
- merged: boolean;
- mergeable: boolean;
- rebaseable: boolean;
- mergeable_state: string;
- merged_by: PullsCreateResponseMergedBy;
- comments: number;
- review_comments: number;
- maintainer_can_modify: boolean;
- commits: number;
- additions: number;
- deletions: number;
- changed_files: number;
- };
- type PullsGetResponseMergedBy = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponseLinksStatuses = { href: string };
- type PullsGetResponseLinksCommits = { href: string };
- type PullsGetResponseLinksReviewComment = { href: string };
- type PullsGetResponseLinksReviewComments = { href: string };
- type PullsGetResponseLinksComments = { href: string };
- type PullsGetResponseLinksIssue = { href: string };
- type PullsGetResponseLinksHtml = { href: string };
- type PullsGetResponseLinksSelf = { href: string };
- type PullsGetResponseLinks = {
- self: PullsGetResponseLinksSelf;
- html: PullsGetResponseLinksHtml;
- issue: PullsGetResponseLinksIssue;
- comments: PullsGetResponseLinksComments;
- review_comments: PullsGetResponseLinksReviewComments;
- review_comment: PullsGetResponseLinksReviewComment;
- commits: PullsGetResponseLinksCommits;
- statuses: PullsGetResponseLinksStatuses;
- };
- type PullsGetResponseBaseRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsGetResponseBaseRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponseBaseRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsGetResponseBaseRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsGetResponseBaseRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsGetResponseBaseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponseBase = {
- label: string;
- ref: string;
- sha: string;
- user: PullsGetResponseBaseUser;
- repo: PullsGetResponseBaseRepo;
- };
- type PullsGetResponseHeadRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsGetResponseHeadRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponseHeadRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsGetResponseHeadRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsGetResponseHeadRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsGetResponseHeadUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponseHead = {
- label: string;
- ref: string;
- sha: string;
- user: PullsGetResponseHeadUser;
- repo: PullsGetResponseHeadRepo;
- };
- type PullsGetResponseRequestedTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type PullsGetResponseRequestedReviewersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: PullsGetResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type PullsGetResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type PullsGetResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsGetResponse = {
- url: string;
- id: number;
- node_id: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- issue_url: string;
- commits_url: string;
- review_comments_url: string;
- review_comment_url: string;
- comments_url: string;
- statuses_url: string;
- number: number;
- state: string;
- locked: boolean;
- title: string;
- user: PullsGetResponseUser;
- body: string;
- labels: Array;
- milestone: PullsGetResponseMilestone;
- active_lock_reason: string;
- created_at: string;
- updated_at: string;
- closed_at: string;
- merged_at: string;
- merge_commit_sha: string;
- assignee: PullsGetResponseAssignee;
- assignees: Array;
- requested_reviewers: Array;
- requested_teams: Array;
- head: PullsGetResponseHead;
- base: PullsGetResponseBase;
- _links: PullsGetResponseLinks;
- author_association: string;
- draft: boolean;
- merged: boolean;
- mergeable: boolean;
- rebaseable: boolean;
- mergeable_state: string;
- merged_by: PullsGetResponseMergedBy;
- comments: number;
- review_comments: number;
- maintainer_can_modify: boolean;
- commits: number;
- additions: number;
- deletions: number;
- changed_files: number;
- };
- type PullsListResponseItemLinksStatuses = { href: string };
- type PullsListResponseItemLinksCommits = { href: string };
- type PullsListResponseItemLinksReviewComment = { href: string };
- type PullsListResponseItemLinksReviewComments = { href: string };
- type PullsListResponseItemLinksComments = { href: string };
- type PullsListResponseItemLinksIssue = { href: string };
- type PullsListResponseItemLinksHtml = { href: string };
- type PullsListResponseItemLinksSelf = { href: string };
- type PullsListResponseItemLinks = {
- self: PullsListResponseItemLinksSelf;
- html: PullsListResponseItemLinksHtml;
- issue: PullsListResponseItemLinksIssue;
- comments: PullsListResponseItemLinksComments;
- review_comments: PullsListResponseItemLinksReviewComments;
- review_comment: PullsListResponseItemLinksReviewComment;
- commits: PullsListResponseItemLinksCommits;
- statuses: PullsListResponseItemLinksStatuses;
- };
- type PullsListResponseItemBaseRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsListResponseItemBaseRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListResponseItemBaseRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsListResponseItemBaseRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsListResponseItemBaseRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsListResponseItemBaseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListResponseItemBase = {
- label: string;
- ref: string;
- sha: string;
- user: PullsListResponseItemBaseUser;
- repo: PullsListResponseItemBaseRepo;
- };
- type PullsListResponseItemHeadRepoPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type PullsListResponseItemHeadRepoOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListResponseItemHeadRepo = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: PullsListResponseItemHeadRepoOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: PullsListResponseItemHeadRepoPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type PullsListResponseItemHeadUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListResponseItemHead = {
- label: string;
- ref: string;
- sha: string;
- user: PullsListResponseItemHeadUser;
- repo: PullsListResponseItemHeadRepo;
- };
- type PullsListResponseItemRequestedTeamsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type PullsListResponseItemRequestedReviewersItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListResponseItemAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListResponseItemAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListResponseItemMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListResponseItemMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: PullsListResponseItemMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type PullsListResponseItemLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type PullsListResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type PullsListResponseItem = {
- url: string;
- id: number;
- node_id: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- issue_url: string;
- commits_url: string;
- review_comments_url: string;
- review_comment_url: string;
- comments_url: string;
- statuses_url: string;
- number: number;
- state: string;
- locked: boolean;
- title: string;
- user: PullsListResponseItemUser;
- body: string;
- labels: Array;
- milestone: PullsListResponseItemMilestone;
- active_lock_reason: string;
- created_at: string;
- updated_at: string;
- closed_at: string;
- merged_at: string;
- merge_commit_sha: string;
- assignee: PullsListResponseItemAssignee;
- assignees: Array;
- requested_reviewers: Array;
- requested_teams: Array;
- head: PullsListResponseItemHead;
- base: PullsListResponseItemBase;
- _links: PullsListResponseItemLinks;
- author_association: string;
- draft: boolean;
- };
- type ProjectsMoveColumnResponse = {};
- type ProjectsDeleteColumnResponse = {};
- type ProjectsListColumnsResponseItem = {
- url: string;
- project_url: string;
- cards_url: string;
- id: number;
- node_id: string;
- name: string;
- created_at: string;
- updated_at: string;
- };
- type ProjectsRemoveCollaboratorResponse = {};
- type ProjectsAddCollaboratorResponse = {};
- type ProjectsReviewUserPermissionLevelResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsReviewUserPermissionLevelResponse = {
- permission: string;
- user: ProjectsReviewUserPermissionLevelResponseUser;
- };
- type ProjectsListCollaboratorsResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsMoveCardResponse = {};
- type ProjectsDeleteCardResponse = {};
- type ProjectsCreateCardResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsCreateCardResponse = {
- url: string;
- id: number;
- node_id: string;
- note: string;
- creator: ProjectsCreateCardResponseCreator;
- created_at: string;
- updated_at: string;
- archived: boolean;
- column_url: string;
- content_url: string;
- project_url: string;
- };
- type ProjectsListCardsResponseItemCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsListCardsResponseItem = {
- url: string;
- id: number;
- node_id: string;
- note: string;
- creator: ProjectsListCardsResponseItemCreator;
- created_at: string;
- updated_at: string;
- archived: boolean;
- column_url: string;
- content_url: string;
- project_url: string;
- };
- type ProjectsUpdateResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsUpdateResponse = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: ProjectsUpdateResponseCreator;
- created_at: string;
- updated_at: string;
- };
- type ProjectsCreateForAuthenticatedUserResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsCreateForAuthenticatedUserResponse = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: ProjectsCreateForAuthenticatedUserResponseCreator;
- created_at: string;
- updated_at: string;
- };
- type ProjectsCreateForOrgResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsCreateForOrgResponse = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: ProjectsCreateForOrgResponseCreator;
- created_at: string;
- updated_at: string;
- };
- type ProjectsCreateForRepoResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsCreateForRepoResponse = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: ProjectsCreateForRepoResponseCreator;
- created_at: string;
- updated_at: string;
- };
- type ProjectsGetResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsGetResponse = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: ProjectsGetResponseCreator;
- created_at: string;
- updated_at: string;
- };
- type ProjectsListForUserResponseItemCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsListForUserResponseItem = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: ProjectsListForUserResponseItemCreator;
- created_at: string;
- updated_at: string;
- };
- type ProjectsListForOrgResponseItemCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsListForOrgResponseItem = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: ProjectsListForOrgResponseItemCreator;
- created_at: string;
- updated_at: string;
- };
- type ProjectsListForRepoResponseItemCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type ProjectsListForRepoResponseItem = {
- owner_url: string;
- url: string;
- html_url: string;
- columns_url: string;
- id: number;
- node_id: string;
- name: string;
- body: string;
- number: number;
- state: string;
- creator: ProjectsListForRepoResponseItemCreator;
- created_at: string;
- updated_at: string;
- };
- type OrgsConvertMemberToOutsideCollaboratorResponse = {};
- type OrgsRemoveOutsideCollaboratorResponse = {};
- type OrgsListOutsideCollaboratorsResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OrgsUpdateMembershipResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OrgsUpdateMembershipResponseOrganization = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- };
- type OrgsUpdateMembershipResponse = {
- url: string;
- state: string;
- role: string;
- organization_url: string;
- organization: OrgsUpdateMembershipResponseOrganization;
- user: OrgsUpdateMembershipResponseUser;
- };
- type OrgsGetMembershipForAuthenticatedUserResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OrgsGetMembershipForAuthenticatedUserResponseOrganization = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- };
- type OrgsGetMembershipForAuthenticatedUserResponse = {
- url: string;
- state: string;
- role: string;
- organization_url: string;
- organization: OrgsGetMembershipForAuthenticatedUserResponseOrganization;
- user: OrgsGetMembershipForAuthenticatedUserResponseUser;
- };
- type OrgsListMembershipsResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OrgsListMembershipsResponseItemOrganization = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- };
- type OrgsListMembershipsResponseItem = {
- url: string;
- state: string;
- role: string;
- organization_url: string;
- organization: OrgsListMembershipsResponseItemOrganization;
- user: OrgsListMembershipsResponseItemUser;
- };
- type OrgsCreateInvitationResponseInviter = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OrgsCreateInvitationResponse = {
- id: number;
- login: string;
- email: string;
- role: string;
- created_at: string;
- inviter: OrgsCreateInvitationResponseInviter;
- team_count: number;
- invitation_team_url: string;
- };
- type OrgsListPendingInvitationsResponseItemInviter = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OrgsListPendingInvitationsResponseItem = {
- id: number;
- login: string;
- email: string;
- role: string;
- created_at: string;
- inviter: OrgsListPendingInvitationsResponseItemInviter;
- team_count: number;
- invitation_team_url: string;
- };
- type OrgsListInvitationTeamsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- slug: string;
- description: string;
- privacy: string;
- permission: string;
- members_url: string;
- repositories_url: string;
- parent: null;
- };
- type OrgsRemoveMembershipResponse = {};
- type OrgsConcealMembershipResponse = {};
- type OrgsPublicizeMembershipResponse = {};
- type OrgsListPublicMembersResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OrgsRemoveMemberResponse = {};
- type OrgsListMembersResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OrgsDeleteHookResponse = {};
- type OrgsPingHookResponse = {};
- type OrgsUpdateHookResponseConfig = { url: string; content_type: string };
- type OrgsUpdateHookResponse = {
- id: number;
- url: string;
- ping_url: string;
- name: string;
- events: Array;
- active: boolean;
- config: OrgsUpdateHookResponseConfig;
- updated_at: string;
- created_at: string;
- };
- type OrgsCreateHookResponseConfig = { url: string; content_type: string };
- type OrgsCreateHookResponse = {
- id: number;
- url: string;
- ping_url: string;
- name: string;
- events: Array;
- active: boolean;
- config: OrgsCreateHookResponseConfig;
- updated_at: string;
- created_at: string;
- };
- type OrgsGetHookResponseConfig = { url: string; content_type: string };
- type OrgsGetHookResponse = {
- id: number;
- url: string;
- ping_url: string;
- name: string;
- events: Array;
- active: boolean;
- config: OrgsGetHookResponseConfig;
- updated_at: string;
- created_at: string;
- };
- type OrgsListHooksResponseItemConfig = { url: string; content_type: string };
- type OrgsListHooksResponseItem = {
- id: number;
- url: string;
- ping_url: string;
- name: string;
- events: Array;
- active: boolean;
- config: OrgsListHooksResponseItemConfig;
- updated_at: string;
- created_at: string;
- };
- type OrgsUnblockUserResponse = {};
- type OrgsBlockUserResponse = {};
- type OrgsCheckBlockedUserResponse = {};
- type OrgsListBlockedUsersResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OrgsUpdateResponsePlan = {
- name: string;
- space: number;
- private_repos: number;
- };
- type OrgsUpdateResponse = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- name: string;
- company: string;
- blog: string;
- location: string;
- email: string;
- is_verified: boolean;
- has_organization_projects: boolean;
- has_repository_projects: boolean;
- public_repos: number;
- public_gists: number;
- followers: number;
- following: number;
- html_url: string;
- created_at: string;
- type: string;
- total_private_repos: number;
- owned_private_repos: number;
- private_gists: number;
- disk_usage: number;
- collaborators: number;
- billing_email: string;
- plan: OrgsUpdateResponsePlan;
- default_repository_settings: string;
- members_can_create_repositories: boolean;
- two_factor_requirement_enabled: boolean;
- members_allowed_repository_creation_type: string;
- };
- type OrgsGetResponsePlan = {
- name: string;
- space: number;
- private_repos: number;
- };
- type OrgsGetResponse = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- name: string;
- company: string;
- blog: string;
- location: string;
- email: string;
- is_verified: boolean;
- has_organization_projects: boolean;
- has_repository_projects: boolean;
- public_repos: number;
- public_gists: number;
- followers: number;
- following: number;
- html_url: string;
- created_at: string;
- type: string;
- total_private_repos: number;
- owned_private_repos: number;
- private_gists: number;
- disk_usage: number;
- collaborators: number;
- billing_email: string;
- plan: OrgsGetResponsePlan;
- default_repository_settings: string;
- members_can_create_repositories: boolean;
- two_factor_requirement_enabled: boolean;
- members_allowed_repository_creation_type: string;
- };
- type OrgsListForUserResponseItem = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- };
- type OrgsListResponseItem = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- };
- type OrgsListForAuthenticatedUserResponseItem = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- };
- type OauthAuthorizationsRevokeGrantForApplicationResponse = {};
- type OauthAuthorizationsRevokeAuthorizationForApplicationResponse = {};
- type OauthAuthorizationsResetAuthorizationResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OauthAuthorizationsResetAuthorizationResponseApp = {
- url: string;
- name: string;
- client_id: string;
- };
- type OauthAuthorizationsResetAuthorizationResponse = {
- id: number;
- url: string;
- scopes: Array;
- token: string;
- token_last_eight: string;
- hashed_token: string;
- app: OauthAuthorizationsResetAuthorizationResponseApp;
- note: string;
- note_url: string;
- updated_at: string;
- created_at: string;
- fingerprint: string;
- user: OauthAuthorizationsResetAuthorizationResponseUser;
- };
- type OauthAuthorizationsCheckAuthorizationResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type OauthAuthorizationsCheckAuthorizationResponseApp = {
- url: string;
- name: string;
- client_id: string;
- };
- type OauthAuthorizationsCheckAuthorizationResponse = {
- id: number;
- url: string;
- scopes: Array;
- token: string;
- token_last_eight: string;
- hashed_token: string;
- app: OauthAuthorizationsCheckAuthorizationResponseApp;
- note: string;
- note_url: string;
- updated_at: string;
- created_at: string;
- fingerprint: string;
- user: OauthAuthorizationsCheckAuthorizationResponseUser;
- };
- type OauthAuthorizationsDeleteAuthorizationResponse = {};
- type OauthAuthorizationsUpdateAuthorizationResponseApp = {
- url: string;
- name: string;
- client_id: string;
- };
- type OauthAuthorizationsUpdateAuthorizationResponse = {
- id: number;
- url: string;
- scopes: Array;
- token: string;
- token_last_eight: string;
- hashed_token: string;
- app: OauthAuthorizationsUpdateAuthorizationResponseApp;
- note: string;
- note_url: string;
- updated_at: string;
- created_at: string;
- fingerprint: string;
- };
- type OauthAuthorizationsCreateAuthorizationResponseApp = {
- url: string;
- name: string;
- client_id: string;
- };
- type OauthAuthorizationsCreateAuthorizationResponse = {
- id: number;
- url: string;
- scopes: Array;
- token: string;
- token_last_eight: string;
- hashed_token: string;
- app: OauthAuthorizationsCreateAuthorizationResponseApp;
- note: string;
- note_url: string;
- updated_at: string;
- created_at: string;
- fingerprint: string;
- };
- type OauthAuthorizationsGetAuthorizationResponseApp = {
- url: string;
- name: string;
- client_id: string;
- };
- type OauthAuthorizationsGetAuthorizationResponse = {
- id: number;
- url: string;
- scopes: Array;
- token: string;
- token_last_eight: string;
- hashed_token: string;
- app: OauthAuthorizationsGetAuthorizationResponseApp;
- note: string;
- note_url: string;
- updated_at: string;
- created_at: string;
- fingerprint: string;
- };
- type OauthAuthorizationsListAuthorizationsResponseItemApp = {
- url: string;
- name: string;
- client_id: string;
- };
- type OauthAuthorizationsListAuthorizationsResponseItem = {
- id: number;
- url: string;
- scopes: Array;
- token: string;
- token_last_eight: string;
- hashed_token: string;
- app: OauthAuthorizationsListAuthorizationsResponseItemApp;
- note: string;
- note_url: string;
- updated_at: string;
- created_at: string;
- fingerprint: string;
- };
- type OauthAuthorizationsDeleteGrantResponse = {};
- type OauthAuthorizationsGetGrantResponseApp = {
- url: string;
- name: string;
- client_id: string;
- };
- type OauthAuthorizationsGetGrantResponse = {
- id: number;
- url: string;
- app: OauthAuthorizationsGetGrantResponseApp;
- created_at: string;
- updated_at: string;
- scopes: Array;
- };
- type OauthAuthorizationsListGrantsResponseItemApp = {
- url: string;
- name: string;
- client_id: string;
- };
- type OauthAuthorizationsListGrantsResponseItem = {
- id: number;
- url: string;
- app: OauthAuthorizationsListGrantsResponseItemApp;
- created_at: string;
- updated_at: string;
- scopes: Array;
- };
- type MigrationsUnlockRepoForAuthenticatedUserResponse = {};
- type MigrationsDeleteArchiveForAuthenticatedUserResponse = {};
- type MigrationsGetArchiveForAuthenticatedUserResponse = {};
- type MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItemPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItemPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type MigrationsGetStatusForAuthenticatedUserResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type MigrationsGetStatusForAuthenticatedUserResponse = {
- id: number;
- owner: MigrationsGetStatusForAuthenticatedUserResponseOwner;
- guid: string;
- state: string;
- lock_repositories: boolean;
- exclude_attachments: boolean;
- repositories: Array<
- MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItem
- >;
- url: string;
- created_at: string;
- updated_at: string;
- };
- type MigrationsListForAuthenticatedUserResponseItemRepositoriesItemPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type MigrationsListForAuthenticatedUserResponseItemRepositoriesItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type MigrationsListForAuthenticatedUserResponseItemRepositoriesItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: MigrationsListForAuthenticatedUserResponseItemRepositoriesItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: MigrationsListForAuthenticatedUserResponseItemRepositoriesItemPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type MigrationsListForAuthenticatedUserResponseItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type MigrationsListForAuthenticatedUserResponseItem = {
- id: number;
- owner: MigrationsListForAuthenticatedUserResponseItemOwner;
- guid: string;
- state: string;
- lock_repositories: boolean;
- exclude_attachments: boolean;
- repositories: Array<
- MigrationsListForAuthenticatedUserResponseItemRepositoriesItem
- >;
- url: string;
- created_at: string;
- updated_at: string;
- };
- type MigrationsStartForAuthenticatedUserResponseRepositoriesItemPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type MigrationsStartForAuthenticatedUserResponseRepositoriesItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type MigrationsStartForAuthenticatedUserResponseRepositoriesItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: MigrationsStartForAuthenticatedUserResponseRepositoriesItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: MigrationsStartForAuthenticatedUserResponseRepositoriesItemPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type MigrationsStartForAuthenticatedUserResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type MigrationsStartForAuthenticatedUserResponse = {
- id: number;
- owner: MigrationsStartForAuthenticatedUserResponseOwner;
- guid: string;
- state: string;
- lock_repositories: boolean;
- exclude_attachments: boolean;
- repositories: Array<
- MigrationsStartForAuthenticatedUserResponseRepositoriesItem
- >;
- url: string;
- created_at: string;
- updated_at: string;
- };
- type MigrationsCancelImportResponse = {};
- type MigrationsGetLargeFilesResponseItem = {
- ref_name: string;
- path: string;
- oid: string;
- size: number;
- };
- type MigrationsSetLfsPreferenceResponse = {
- vcs: string;
- use_lfs: string;
- vcs_url: string;
- status: string;
- status_text: string;
- has_large_files: boolean;
- large_files_size: number;
- large_files_count: number;
- authors_count: number;
- url: string;
- html_url: string;
- authors_url: string;
- repository_url: string;
- };
- type MigrationsMapCommitAuthorResponse = {
- id: number;
- remote_id: string;
- remote_name: string;
- email: string;
- name: string;
- url: string;
- import_url: string;
- };
- type MigrationsGetCommitAuthorsResponseItem = {
- id: number;
- remote_id: string;
- remote_name: string;
- email: string;
- name: string;
- url: string;
- import_url: string;
- };
- type MigrationsUpdateImportResponse = {
- vcs: string;
- use_lfs: string;
- vcs_url: string;
- status: string;
- url: string;
- html_url: string;
- authors_url: string;
- repository_url: string;
- };
- type MigrationsGetImportProgressResponse = {
- vcs: string;
- use_lfs: string;
- vcs_url: string;
- status: string;
- status_text: string;
- has_large_files: boolean;
- large_files_size: number;
- large_files_count: number;
- authors_count: number;
- url: string;
- html_url: string;
- authors_url: string;
- repository_url: string;
- };
- type MigrationsStartImportResponse = {
- vcs: string;
- use_lfs: string;
- vcs_url: string;
- status: string;
- status_text: string;
- has_large_files: boolean;
- large_files_size: number;
- large_files_count: number;
- authors_count: number;
- percent: number;
- commit_count: number;
- url: string;
- html_url: string;
- authors_url: string;
- repository_url: string;
- };
- type MigrationsUnlockRepoForOrgResponse = {};
- type MigrationsDeleteArchiveForOrgResponse = {};
- type MigrationsGetArchiveForOrgResponse = {};
- type MigrationsGetStatusForOrgResponseRepositoriesItemPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type MigrationsGetStatusForOrgResponseRepositoriesItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type MigrationsGetStatusForOrgResponseRepositoriesItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: MigrationsGetStatusForOrgResponseRepositoriesItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: MigrationsGetStatusForOrgResponseRepositoriesItemPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type MigrationsGetStatusForOrgResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- };
- type MigrationsGetStatusForOrgResponse = {
- id: number;
- owner: MigrationsGetStatusForOrgResponseOwner;
- guid: string;
- state: string;
- lock_repositories: boolean;
- exclude_attachments: boolean;
- repositories: Array;
- url: string;
- created_at: string;
- updated_at: string;
- };
- type MigrationsListForOrgResponseItemRepositoriesItemPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type MigrationsListForOrgResponseItemRepositoriesItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type MigrationsListForOrgResponseItemRepositoriesItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: MigrationsListForOrgResponseItemRepositoriesItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: MigrationsListForOrgResponseItemRepositoriesItemPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type MigrationsListForOrgResponseItemOwner = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- };
- type MigrationsListForOrgResponseItem = {
- id: number;
- owner: MigrationsListForOrgResponseItemOwner;
- guid: string;
- state: string;
- lock_repositories: boolean;
- exclude_attachments: boolean;
- repositories: Array;
- url: string;
- created_at: string;
- updated_at: string;
- };
- type MigrationsStartForOrgResponseRepositoriesItemPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type MigrationsStartForOrgResponseRepositoriesItemOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type MigrationsStartForOrgResponseRepositoriesItem = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: MigrationsStartForOrgResponseRepositoriesItemOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: MigrationsStartForOrgResponseRepositoriesItemPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type MigrationsStartForOrgResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- url: string;
- repos_url: string;
- events_url: string;
- hooks_url: string;
- issues_url: string;
- members_url: string;
- public_members_url: string;
- avatar_url: string;
- description: string;
- };
- type MigrationsStartForOrgResponse = {
- id: number;
- owner: MigrationsStartForOrgResponseOwner;
- guid: string;
- state: string;
- lock_repositories: boolean;
- exclude_attachments: boolean;
- repositories: Array;
- url: string;
- created_at: string;
- updated_at: string;
- };
- type MetaGetResponse = {
- verifiable_password_authentication: boolean;
- hooks: Array;
- git: Array;
- pages: Array;
- importer: Array;
- };
- type MarkdownRenderRawResponse = {};
- type MarkdownRenderResponse = {};
- type LicensesGetForRepoResponseLicense = {
- key: string;
- name: string;
- spdx_id: string;
- url: string;
- node_id: string;
- };
- type LicensesGetForRepoResponseLinks = {
- self: string;
- git: string;
- html: string;
- };
- type LicensesGetForRepoResponse = {
- name: string;
- path: string;
- sha: string;
- size: number;
- url: string;
- html_url: string;
- git_url: string;
- download_url: string;
- type: string;
- content: string;
- encoding: string;
- _links: LicensesGetForRepoResponseLinks;
- license: LicensesGetForRepoResponseLicense;
- };
- type LicensesGetResponse = {
- key: string;
- name: string;
- spdx_id: string;
- url: string;
- node_id: string;
- html_url: string;
- description: string;
- implementation: string;
- permissions: Array;
- conditions: Array;
- limitations: Array;
- body: string;
- featured: boolean;
- };
- type LicensesListResponseItem = {
- key: string;
- name: string;
- spdx_id: string;
- url: string;
- node_id?: string;
- };
- type LicensesListCommonlyUsedResponseItem = {
- key: string;
- name: string;
- spdx_id: string;
- url: string;
- node_id?: string;
- };
- type IssuesListEventsForTimelineResponseItemActor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListEventsForTimelineResponseItem = {
- id: number;
- node_id: string;
- url: string;
- actor: IssuesListEventsForTimelineResponseItemActor;
- event: string;
- commit_id: string;
- commit_url: string;
- created_at: string;
- };
- type IssuesDeleteMilestoneResponse = {};
- type IssuesUpdateMilestoneResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesUpdateMilestoneResponse = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesUpdateMilestoneResponseCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesCreateMilestoneResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesCreateMilestoneResponse = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesCreateMilestoneResponseCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesGetMilestoneResponseCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetMilestoneResponse = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesGetMilestoneResponseCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesListMilestonesForRepoResponseItemCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListMilestonesForRepoResponseItem = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesListMilestonesForRepoResponseItemCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesListLabelsForMilestoneResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesRemoveLabelsResponse = {};
- type IssuesReplaceLabelsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesRemoveLabelResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesAddLabelsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesListLabelsOnIssueResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesDeleteLabelResponse = {};
- type IssuesUpdateLabelResponse = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesCreateLabelResponse = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesGetLabelResponse = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesListLabelsForRepoResponseItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesGetEventResponseIssuePullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesGetEventResponseIssueMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetEventResponseIssueMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesGetEventResponseIssueMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesGetEventResponseIssueAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetEventResponseIssueAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetEventResponseIssueLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesGetEventResponseIssueUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetEventResponseIssue = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesGetEventResponseIssueUser;
- labels: Array;
- assignee: IssuesGetEventResponseIssueAssignee;
- assignees: Array;
- milestone: IssuesGetEventResponseIssueMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesGetEventResponseIssuePullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- };
- type IssuesGetEventResponseActor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetEventResponse = {
- id: number;
- node_id: string;
- url: string;
- actor: IssuesGetEventResponseActor;
- event: string;
- commit_id: string;
- commit_url: string;
- created_at: string;
- issue: IssuesGetEventResponseIssue;
- };
- type IssuesListEventsForRepoResponseItemIssuePullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesListEventsForRepoResponseItemIssueMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListEventsForRepoResponseItemIssueMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesListEventsForRepoResponseItemIssueMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesListEventsForRepoResponseItemIssueAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListEventsForRepoResponseItemIssueAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListEventsForRepoResponseItemIssueLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesListEventsForRepoResponseItemIssueUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListEventsForRepoResponseItemIssue = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesListEventsForRepoResponseItemIssueUser;
- labels: Array;
- assignee: IssuesListEventsForRepoResponseItemIssueAssignee;
- assignees: Array;
- milestone: IssuesListEventsForRepoResponseItemIssueMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesListEventsForRepoResponseItemIssuePullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- };
- type IssuesListEventsForRepoResponseItemActor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListEventsForRepoResponseItem = {
- id: number;
- node_id: string;
- url: string;
- actor: IssuesListEventsForRepoResponseItemActor;
- event: string;
- commit_id: string;
- commit_url: string;
- created_at: string;
- issue: IssuesListEventsForRepoResponseItemIssue;
- };
- type IssuesListEventsResponseItemActor = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListEventsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- actor: IssuesListEventsResponseItemActor;
- event: string;
- commit_id: string;
- commit_url: string;
- created_at: string;
- };
- type IssuesDeleteCommentResponse = {};
- type IssuesUpdateCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesUpdateCommentResponse = {
- id: number;
- node_id: string;
- url: string;
- html_url: string;
- body: string;
- user: IssuesUpdateCommentResponseUser;
- created_at: string;
- updated_at: string;
- };
- type IssuesCreateCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesCreateCommentResponse = {
- id: number;
- node_id: string;
- url: string;
- html_url: string;
- body: string;
- user: IssuesCreateCommentResponseUser;
- created_at: string;
- updated_at: string;
- };
- type IssuesGetCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetCommentResponse = {
- id: number;
- node_id: string;
- url: string;
- html_url: string;
- body: string;
- user: IssuesGetCommentResponseUser;
- created_at: string;
- updated_at: string;
- };
- type IssuesListCommentsForRepoResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListCommentsForRepoResponseItem = {
- id: number;
- node_id: string;
- url: string;
- html_url: string;
- body: string;
- user: IssuesListCommentsForRepoResponseItemUser;
- created_at: string;
- updated_at: string;
- };
- type IssuesListCommentsResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListCommentsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- html_url: string;
- body: string;
- user: IssuesListCommentsResponseItemUser;
- created_at: string;
- updated_at: string;
- };
- type IssuesRemoveAssigneesResponsePullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesRemoveAssigneesResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesRemoveAssigneesResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesRemoveAssigneesResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesRemoveAssigneesResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesRemoveAssigneesResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesRemoveAssigneesResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesRemoveAssigneesResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesRemoveAssigneesResponse = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesRemoveAssigneesResponseUser;
- labels: Array;
- assignee: IssuesRemoveAssigneesResponseAssignee;
- assignees: Array;
- milestone: IssuesRemoveAssigneesResponseMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesRemoveAssigneesResponsePullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- };
- type IssuesAddAssigneesResponsePullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesAddAssigneesResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesAddAssigneesResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesAddAssigneesResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesAddAssigneesResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesAddAssigneesResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesAddAssigneesResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesAddAssigneesResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesAddAssigneesResponse = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesAddAssigneesResponseUser;
- labels: Array;
- assignee: IssuesAddAssigneesResponseAssignee;
- assignees: Array;
- milestone: IssuesAddAssigneesResponseMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesAddAssigneesResponsePullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- };
- type IssuesCheckAssigneeResponse = {};
- type IssuesListAssigneesResponseItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesUnlockResponse = {};
- type IssuesLockResponse = {};
- type IssuesUpdateResponseClosedBy = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesUpdateResponsePullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesUpdateResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesUpdateResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesUpdateResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesUpdateResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesUpdateResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesUpdateResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesUpdateResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesUpdateResponse = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesUpdateResponseUser;
- labels: Array;
- assignee: IssuesUpdateResponseAssignee;
- assignees: Array;
- milestone: IssuesUpdateResponseMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesUpdateResponsePullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- closed_by: IssuesUpdateResponseClosedBy;
- };
- type IssuesCreateResponseClosedBy = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesCreateResponsePullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesCreateResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesCreateResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesCreateResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesCreateResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesCreateResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesCreateResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesCreateResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesCreateResponse = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesCreateResponseUser;
- labels: Array;
- assignee: IssuesCreateResponseAssignee;
- assignees: Array;
- milestone: IssuesCreateResponseMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesCreateResponsePullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- closed_by: IssuesCreateResponseClosedBy;
- };
- type IssuesGetResponseClosedBy = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetResponsePullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesGetResponseMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetResponseMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesGetResponseMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesGetResponseAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetResponseAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetResponseLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesGetResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesGetResponse = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesGetResponseUser;
- labels: Array;
- assignee: IssuesGetResponseAssignee;
- assignees: Array;
- milestone: IssuesGetResponseMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesGetResponsePullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- closed_by: IssuesGetResponseClosedBy;
- };
- type IssuesListForRepoResponseItemPullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesListForRepoResponseItemMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForRepoResponseItemMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesListForRepoResponseItemMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesListForRepoResponseItemAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForRepoResponseItemAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForRepoResponseItemLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesListForRepoResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForRepoResponseItem = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesListForRepoResponseItemUser;
- labels: Array;
- assignee: IssuesListForRepoResponseItemAssignee;
- assignees: Array;
- milestone: IssuesListForRepoResponseItemMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesListForRepoResponseItemPullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- };
- type IssuesListForOrgResponseItemRepositoryPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type IssuesListForOrgResponseItemRepositoryOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForOrgResponseItemRepository = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: IssuesListForOrgResponseItemRepositoryOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: IssuesListForOrgResponseItemRepositoryPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type IssuesListForOrgResponseItemPullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesListForOrgResponseItemMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForOrgResponseItemMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesListForOrgResponseItemMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesListForOrgResponseItemAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForOrgResponseItemAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForOrgResponseItemLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesListForOrgResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForOrgResponseItem = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesListForOrgResponseItemUser;
- labels: Array;
- assignee: IssuesListForOrgResponseItemAssignee;
- assignees: Array;
- milestone: IssuesListForOrgResponseItemMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesListForOrgResponseItemPullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- repository: IssuesListForOrgResponseItemRepository;
- };
- type IssuesListForAuthenticatedUserResponseItemRepositoryPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type IssuesListForAuthenticatedUserResponseItemRepositoryOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForAuthenticatedUserResponseItemRepository = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: IssuesListForAuthenticatedUserResponseItemRepositoryOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: IssuesListForAuthenticatedUserResponseItemRepositoryPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type IssuesListForAuthenticatedUserResponseItemPullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesListForAuthenticatedUserResponseItemMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForAuthenticatedUserResponseItemMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesListForAuthenticatedUserResponseItemMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesListForAuthenticatedUserResponseItemAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForAuthenticatedUserResponseItemAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForAuthenticatedUserResponseItemLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesListForAuthenticatedUserResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListForAuthenticatedUserResponseItem = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesListForAuthenticatedUserResponseItemUser;
- labels: Array;
- assignee: IssuesListForAuthenticatedUserResponseItemAssignee;
- assignees: Array;
- milestone: IssuesListForAuthenticatedUserResponseItemMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesListForAuthenticatedUserResponseItemPullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- repository: IssuesListForAuthenticatedUserResponseItemRepository;
- };
- type IssuesListResponseItemRepositoryPermissions = {
- admin: boolean;
- push: boolean;
- pull: boolean;
- };
- type IssuesListResponseItemRepositoryOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListResponseItemRepository = {
- id: number;
- node_id: string;
- name: string;
- full_name: string;
- owner: IssuesListResponseItemRepositoryOwner;
- private: boolean;
- html_url: string;
- description: string;
- fork: boolean;
- url: string;
- archive_url: string;
- assignees_url: string;
- blobs_url: string;
- branches_url: string;
- collaborators_url: string;
- comments_url: string;
- commits_url: string;
- compare_url: string;
- contents_url: string;
- contributors_url: string;
- deployments_url: string;
- downloads_url: string;
- events_url: string;
- forks_url: string;
- git_commits_url: string;
- git_refs_url: string;
- git_tags_url: string;
- git_url: string;
- issue_comment_url: string;
- issue_events_url: string;
- issues_url: string;
- keys_url: string;
- labels_url: string;
- languages_url: string;
- merges_url: string;
- milestones_url: string;
- notifications_url: string;
- pulls_url: string;
- releases_url: string;
- ssh_url: string;
- stargazers_url: string;
- statuses_url: string;
- subscribers_url: string;
- subscription_url: string;
- tags_url: string;
- teams_url: string;
- trees_url: string;
- clone_url: string;
- mirror_url: string;
- hooks_url: string;
- svn_url: string;
- homepage: string;
- language: null;
- forks_count: number;
- stargazers_count: number;
- watchers_count: number;
- size: number;
- default_branch: string;
- open_issues_count: number;
- is_template: boolean;
- topics: Array;
- has_issues: boolean;
- has_projects: boolean;
- has_wiki: boolean;
- has_pages: boolean;
- has_downloads: boolean;
- archived: boolean;
- disabled: boolean;
- pushed_at: string;
- created_at: string;
- updated_at: string;
- permissions: IssuesListResponseItemRepositoryPermissions;
- allow_rebase_merge: boolean;
- template_repository: null;
- allow_squash_merge: boolean;
- allow_merge_commit: boolean;
- subscribers_count: number;
- network_count: number;
- };
- type IssuesListResponseItemPullRequest = {
- url: string;
- html_url: string;
- diff_url: string;
- patch_url: string;
- };
- type IssuesListResponseItemMilestoneCreator = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListResponseItemMilestone = {
- url: string;
- html_url: string;
- labels_url: string;
- id: number;
- node_id: string;
- number: number;
- state: string;
- title: string;
- description: string;
- creator: IssuesListResponseItemMilestoneCreator;
- open_issues: number;
- closed_issues: number;
- created_at: string;
- updated_at: string;
- closed_at: string;
- due_on: string;
- };
- type IssuesListResponseItemAssigneesItem = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListResponseItemAssignee = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListResponseItemLabelsItem = {
- id: number;
- node_id: string;
- url: string;
- name: string;
- description: string;
- color: string;
- default: boolean;
- };
- type IssuesListResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type IssuesListResponseItem = {
- id: number;
- node_id: string;
- url: string;
- repository_url: string;
- labels_url: string;
- comments_url: string;
- events_url: string;
- html_url: string;
- number: number;
- state: string;
- title: string;
- body: string;
- user: IssuesListResponseItemUser;
- labels: Array;
- assignee: IssuesListResponseItemAssignee;
- assignees: Array;
- milestone: IssuesListResponseItemMilestone;
- locked: boolean;
- active_lock_reason: string;
- comments: number;
- pull_request: IssuesListResponseItemPullRequest;
- closed_at: null;
- created_at: string;
- updated_at: string;
- repository: IssuesListResponseItemRepository;
- };
- type InteractionsRemoveRestrictionsForRepoResponse = {};
- type InteractionsAddOrUpdateRestrictionsForRepoResponse = {
- limit: string;
- origin: string;
- expires_at: string;
- };
- type InteractionsGetRestrictionsForRepoResponse = {
- limit: string;
- origin: string;
- expires_at: string;
- };
- type InteractionsRemoveRestrictionsForOrgResponse = {};
- type InteractionsAddOrUpdateRestrictionsForOrgResponse = {
- limit: string;
- origin: string;
- expires_at: string;
- };
- type InteractionsGetRestrictionsForOrgResponse = {
- limit: string;
- origin: string;
- expires_at: string;
- };
- type GitignoreGetTemplateResponse = { name?: string; source?: string };
- type GitCreateTreeResponseTreeItem = {
- path: string;
- mode: string;
- type: string;
- size: number;
- sha: string;
- url: string;
- };
- type GitCreateTreeResponse = {
- sha: string;
- url: string;
- tree: Array;
- };
- type GitCreateTagResponseVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type GitCreateTagResponseObject = { type: string; sha: string; url: string };
- type GitCreateTagResponseTagger = {
- name: string;
- email: string;
- date: string;
- };
- type GitCreateTagResponse = {
- node_id: string;
- tag: string;
- sha: string;
- url: string;
- message: string;
- tagger: GitCreateTagResponseTagger;
- object: GitCreateTagResponseObject;
- verification: GitCreateTagResponseVerification;
- };
- type GitGetTagResponseVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type GitGetTagResponseObject = { type: string; sha: string; url: string };
- type GitGetTagResponseTagger = { name: string; email: string; date: string };
- type GitGetTagResponse = {
- node_id: string;
- tag: string;
- sha: string;
- url: string;
- message: string;
- tagger: GitGetTagResponseTagger;
- object: GitGetTagResponseObject;
- verification: GitGetTagResponseVerification;
- };
- type GitDeleteRefResponse = {};
- type GitUpdateRefResponseObject = { type: string; sha: string; url: string };
- type GitUpdateRefResponse = {
- ref: string;
- node_id: string;
- url: string;
- object: GitUpdateRefResponseObject;
- };
- type GitCreateRefResponseObject = { type: string; sha: string; url: string };
- type GitCreateRefResponse = {
- ref: string;
- node_id: string;
- url: string;
- object: GitCreateRefResponseObject;
- };
- type GitCreateCommitResponseVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type GitCreateCommitResponseParentsItem = { url: string; sha: string };
- type GitCreateCommitResponseTree = { url: string; sha: string };
- type GitCreateCommitResponseCommitter = {
- date: string;
- name: string;
- email: string;
- };
- type GitCreateCommitResponseAuthor = {
- date: string;
- name: string;
- email: string;
- };
- type GitCreateCommitResponse = {
- sha: string;
- node_id: string;
- url: string;
- author: GitCreateCommitResponseAuthor;
- committer: GitCreateCommitResponseCommitter;
- message: string;
- tree: GitCreateCommitResponseTree;
- parents: Array;
- verification: GitCreateCommitResponseVerification;
- };
- type GitGetCommitResponseVerification = {
- verified: boolean;
- reason: string;
- signature: null;
- payload: null;
- };
- type GitGetCommitResponseParentsItem = { url: string; sha: string };
- type GitGetCommitResponseTree = { url: string; sha: string };
- type GitGetCommitResponseCommitter = {
- date: string;
- name: string;
- email: string;
- };
- type GitGetCommitResponseAuthor = {
- date: string;
- name: string;
- email: string;
- };
- type GitGetCommitResponse = {
- sha: string;
- url: string;
- author: GitGetCommitResponseAuthor;
- committer: GitGetCommitResponseCommitter;
- message: string;
- tree: GitGetCommitResponseTree;
- parents: Array;
- verification: GitGetCommitResponseVerification;
- };
- type GitCreateBlobResponse = { url: string; sha: string };
- type GitGetBlobResponse = {
- content: string;
- encoding: string;
- url: string;
- sha: string;
- size: number;
- };
- type GistsDeleteCommentResponse = {};
- type GistsUpdateCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsUpdateCommentResponse = {
- id: number;
- node_id: string;
- url: string;
- body: string;
- user: GistsUpdateCommentResponseUser;
- created_at: string;
- updated_at: string;
- };
- type GistsCreateCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsCreateCommentResponse = {
- id: number;
- node_id: string;
- url: string;
- body: string;
- user: GistsCreateCommentResponseUser;
- created_at: string;
- updated_at: string;
- };
- type GistsGetCommentResponseUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsGetCommentResponse = {
- id: number;
- node_id: string;
- url: string;
- body: string;
- user: GistsGetCommentResponseUser;
- created_at: string;
- updated_at: string;
- };
- type GistsListCommentsResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsListCommentsResponseItem = {
- id: number;
- node_id: string;
- url: string;
- body: string;
- user: GistsListCommentsResponseItemUser;
- created_at: string;
- updated_at: string;
- };
- type GistsDeleteResponse = {};
- type GistsListForksResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsListForksResponseItem = {
- user: GistsListForksResponseItemUser;
- url: string;
- id: string;
- created_at: string;
- updated_at: string;
- };
- type GistsForkResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsForkResponseFilesHelloWorldRb = {
- filename: string;
- type: string;
- language: string;
- raw_url: string;
- size: number;
- };
- type GistsForkResponseFiles = {
- "hello_world.rb": GistsForkResponseFilesHelloWorldRb;
- };
- type GistsForkResponse = {
- url: string;
- forks_url: string;
- commits_url: string;
- id: string;
- node_id: string;
- git_pull_url: string;
- git_push_url: string;
- html_url: string;
- files: GistsForkResponseFiles;
- public: boolean;
- created_at: string;
- updated_at: string;
- description: string;
- comments: number;
- user: null;
- comments_url: string;
- owner: GistsForkResponseOwner;
- truncated: boolean;
- };
- type GistsUnstarResponse = {};
- type GistsStarResponse = {};
- type GistsListCommitsResponseItemChangeStatus = {
- deletions: number;
- additions: number;
- total: number;
- };
- type GistsListCommitsResponseItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsListCommitsResponseItem = {
- url: string;
- version: string;
- user: GistsListCommitsResponseItemUser;
- change_status: GistsListCommitsResponseItemChangeStatus;
- committed_at: string;
- };
- type GistsUpdateResponseHistoryItemChangeStatus = {
- deletions: number;
- additions: number;
- total: number;
- };
- type GistsUpdateResponseHistoryItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsUpdateResponseHistoryItem = {
- url: string;
- version: string;
- user: GistsUpdateResponseHistoryItemUser;
- change_status: GistsUpdateResponseHistoryItemChangeStatus;
- committed_at: string;
- };
- type GistsUpdateResponseForksItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsUpdateResponseForksItem = {
- user: GistsUpdateResponseForksItemUser;
- url: string;
- id: string;
- created_at: string;
- updated_at: string;
- };
- type GistsUpdateResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsUpdateResponseFilesNewFileTxt = {
- filename: string;
- type: string;
- language: string;
- raw_url: string;
- size: number;
- truncated: boolean;
- content: string;
- };
- type GistsUpdateResponseFilesHelloWorldMd = {
- filename: string;
- type: string;
- language: string;
- raw_url: string;
- size: number;
- truncated: boolean;
- content: string;
- };
- type GistsUpdateResponseFilesHelloWorldPy = {
- filename: string;
- type: string;
- language: string;
- raw_url: string;
- size: number;
- truncated: boolean;
- content: string;
- };
- type GistsUpdateResponseFilesHelloWorldRb = {
- filename: string;
- type: string;
- language: string;
- raw_url: string;
- size: number;
- truncated: boolean;
- content: string;
- };
- type GistsUpdateResponseFiles = {
- "hello_world.rb": GistsUpdateResponseFilesHelloWorldRb;
- "hello_world.py": GistsUpdateResponseFilesHelloWorldPy;
- "hello_world.md": GistsUpdateResponseFilesHelloWorldMd;
- "new_file.txt": GistsUpdateResponseFilesNewFileTxt;
- };
- type GistsUpdateResponse = {
- url: string;
- forks_url: string;
- commits_url: string;
- id: string;
- node_id: string;
- git_pull_url: string;
- git_push_url: string;
- html_url: string;
- files: GistsUpdateResponseFiles;
- public: boolean;
- created_at: string;
- updated_at: string;
- description: string;
- comments: number;
- user: null;
- comments_url: string;
- owner: GistsUpdateResponseOwner;
- truncated: boolean;
- forks: Array;
- history: Array;
- };
- type GistsCreateResponseHistoryItemChangeStatus = {
- deletions: number;
- additions: number;
- total: number;
- };
- type GistsCreateResponseHistoryItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsCreateResponseHistoryItem = {
- url: string;
- version: string;
- user: GistsCreateResponseHistoryItemUser;
- change_status: GistsCreateResponseHistoryItemChangeStatus;
- committed_at: string;
- };
- type GistsCreateResponseForksItemUser = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsCreateResponseForksItem = {
- user: GistsCreateResponseForksItemUser;
- url: string;
- id: string;
- created_at: string;
- updated_at: string;
- };
- type GistsCreateResponseOwner = {
- login: string;
- id: number;
- node_id: string;
- avatar_url: string;
- gravatar_id: string;
- url: string;
- html_url: string;
- followers_url: string;
- following_url: string;
- gists_url: string;
- starred_url: string;
- subscriptions_url: string;
- organizations_url: string;
- repos_url: string;
- events_url: string;
- received_events_url: string;
- type: string;
- site_admin: boolean;
- };
- type GistsCreateResponseFilesHelloWorldPythonTxt = {
- filename: string;
- type: string;
- language: string;
- raw_url: string;
- size: number;
- truncated: boolean;
- content: string;
- };
- type GistsCreateResponseFilesHelloWorldRubyTxt = {
- filename: string;
- type: string;
- language: string;
- raw_url: string;
- size: number;
- truncated: boolean;
- content: string;
- };
- type GistsCreateResponseFilesHelloWorldPy = {
- filename: string;
- type: string;
- language: string;
- raw_url: string;
- size: number;
- truncated: boolean;
- content: string;
- };
- type GistsCreateResponseFilesHelloWorldRb = {
- filename: string;
- type: string;
- language: string;
- raw_url: string;
- size: number;
- truncated: boolean;
- content: string;
- };
- type GistsCreateResponseFiles = {
- "hello_world.rb": GistsCreateResponseFilesHelloWorldRb;
- "hello_world.py": GistsCreateResponseFilesHelloWorldPy;
- "hello_world_ruby.txt": GistsCreateResponseFilesHelloWorldRubyTxt;
- "hello_world_python.txt": GistsCreateResponseFilesHelloWorldPythonTxt;
- };
- type GistsCreateResponse = {
- url: string;
- forks_url: string;
- commits_url: string;
- id: string;
- node_id: string;
- git_pull_url: string;
- git_push_url: string;
- html_url: string;
- files: GistsCreateResponseFiles;
- public: boolean;
- created_at: string;
- updated_at: string;
- description: string;
- comments: number;
- user: null;
- comments_url: string;
- owner: GistsCreateResponseOwner;
- truncated: boolean;
- forks: Array;
- history: Array