diff --git a/.gitignore b/.gitignore
index aae5198a33..7bb0a3c12f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,9 @@
*.cache
*.out
+# node_modules folder
+node_modules
+
## Backup files
*.bak
*.tmp
diff --git a/README.md b/README.md
index d7ddcc3146..2ac0ae0e72 100644
--- a/README.md
+++ b/README.md
@@ -39,10 +39,9 @@ The official GitHub documentation about Profile READMEs can be found [here](http

-- To get started, first make sure you add `` somewhere in your README.md file. This is where the list will appear when the action started.
+- To get started, first make sure you add `` somewhere in your README.md file. This is where the list will appear when the action started. See [below](#options) for more clear description for them.
- Next should you now move on to creating a new Workflow. In this example we create `.github/workflows/update-readme.yml`
-- Now edit the YAML file and add the following content to it:
-
+- Now edit the YAML file and add the following content to it:
```yaml
name: Update README
@@ -62,12 +61,60 @@ The official GitHub documentation about Profile READMEs can be found [here](http
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
-
**Notes:**
-
- The example above would be triggered every 30 minutes. A page explaining the Cron syntax in GitHub Workflows can be found [here](https://jasonet.co/posts/scheduled-actions/#the-cron-syntax).
You can also use [Crontab.guru](https://crontab.guru) to create the right Cron-format to use.
+## Options
+
+The Action has different Options that are set through HTML Comments (``) in the markdown file.
+Some are required and some are optional. All comments are case-sensitive.
+
+
+
+
+ Option
+ Description
+
+
+
+
+ RECENT_ACTIVITY:start
+ Indicates the start of the Activity-list. The list itself will be added **below** this comment and finished of with the RECENT_ACTIVITY:end
comment.
+
+
+ RECENT_ACTIVITY:last_update
+ Sets the date of when the List was last updated. The Text displayed is set in the Settings of the Action and will be added below this comment together with the RECENT_ACTIVITY:last_update_end
comment.
+
+
+
+
+### Comments example
+
+Below is a small example of how the Markdown could look like:
+```markdown
+## Recent Activity
+This is a list of my most recent Activity on GitHub.
+
+
+```
+
+And this would be the result of it:
+```markdown
+## Recent Activity
+This is a list of my most recent Activity on GitHub.
+
+Last updated: `01.01.2021 00:00`
+
+
+1. ❗️ Closed issue [#5](https://github.com/Readme-Workflows/recent-activity/issues/5) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/issues/5)
+2. 🎉 Merged PR [#6](https://github.com/Readme-Workflows/recent-activity/pull/6) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/pull/6)
+3. 🗣 Commented on [#3](https://github.com/Readme-Workflows/recent-activity/discussions/3) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/discussions/3)
+4. ❗️ Closed issue [#4](https://github.com/Readme-Workflows/recent-activity/issues/4) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/issues/4)
+5. 💪 Opened PR [#6](https://github.com/Readme-Workflows/recent-activity/pull/6) in [Readme-Workflows/recent-activity](https://github.com/Readme-Workflows/recent-activity/pull/6)
+
+```
+
## Settings
The Action currently has the following Settings that you can set through the `with` option.
@@ -87,6 +134,7 @@ The Action currently has the following Settings that you can set through the `wi
The User to get latest activity from
Repository Owner
+
COMMIT_MSG
The Commit Message to use when updating the README
@@ -170,6 +218,30 @@ The Action currently has the following Settings that you can set through the `wi
{REPO}{ID}
{REPO}
{ID}
+
+
+
+
+
+
+
+ TIMEZONE_OFFSET
+ Timezone in which the date and time should be displayed. The format is +xx:xx
/ -xx:xx
and is relative to the GMT timezone.
+ 0
+
+
+
+ DATE_STRING
+ The text to print when using the RECENT_ACTIVITY:last_update
Comment option.
+ Last Updated: {DATE}
+ {DATE}
+
+
+ DATE_FORMAT
+ The date and time format which should be used for the {DATE}
Placeholder.More info about the Date formatting
+ dddd, mmmm dS, yyyy, h:MM:ss TT
+
+
@@ -179,7 +251,7 @@ The following placeholders may be used in the aforementioned settings, if the `S
**Important Notes:**
-- Each placeholder will turn into an embedded link pointing to the issue, pull request or discussion of that respective action.
+- Each placeholder with exception of `{DATE}` will turn into an embedded link pointing to the issue, pull request or discussion of that respective action.
For example will `{ID}` turn into `[#:id](:url)` and `{URL}` turns into `[:url_text](:url)`.
- Using `{ID}` or `{REPO}` in the `URL_TEXT` setting won't turn them into embedded links. `{ID}` will still have a `#` before it.
@@ -207,6 +279,11 @@ The following placeholders may be used in the aforementioned settings, if the `S
Displays the text provided by URL_TEXT
.
Readme-Workflows/recent-activity#1
+
+ {DATE}
+ Current time and date to display. This is ONLY usable in the DATE_STRING setting!
+ 01.01.2021 00:00:00
+
diff --git a/action.yml b/action.yml
index ad67f6d10c..8a1cb174a2 100644
--- a/action.yml
+++ b/action.yml
@@ -60,6 +60,20 @@ inputs:
default: "🎉 Merged PR {ID} in {REPO}"
required: false
+ # DATE
+ TIMEZONE_OFFSET:
+ description: "Timezone in which time is to be displayed"
+ default: "0"
+ required: false
+ DATE_STRING:
+ description: "String to be printed while printing updation date"
+ default: "Last Updated: {DATE}"
+ required: false
+ DATE_FORMAT:
+ description: "Format of how last updation time to be printed"
+ default: "dddd, mmmm dS, yyyy, h:MM:ss TT"
+ required: false
+
branding:
color: orange
icon: activity
diff --git a/dist/LICENSE b/dist/LICENSE
index d942bb1532..7f17bff72f 100644
--- a/dist/LICENSE
+++ b/dist/LICENSE
@@ -551,6 +551,30 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+dateformat
+MIT
+(c) 2007-2009 Steven Levithan
+
+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.
+
+
deprecation
ISC
The ISC License
diff --git a/dist/index.js b/dist/index.js
index dd321282b5..8c95a62e55 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -7381,6 +7381,14 @@ function resolveCommand(parsed) {
module.exports = resolveCommand;
+/***/ }),
+
+/***/ 1512:
+/***/ ((module, exports) => {
+
+"use strict";
+function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}(function(global){var _arguments=arguments;var dateFormat=function(){var token=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g;var timezone=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g;var timezoneClip=/[^-+\dA-Z]/g;return function(date,mask,utc,gmt){if(_arguments.length===1&&kindOf(date)==="string"&&!/\d/.test(date)){mask=date;date=undefined}date=date||date===0?date:new Date;if(!(date instanceof Date)){date=new Date(date)}if(isNaN(date)){throw TypeError("Invalid date")}mask=String(dateFormat.masks[mask]||mask||dateFormat.masks["default"]);var maskSlice=mask.slice(0,4);if(maskSlice==="UTC:"||maskSlice==="GMT:"){mask=mask.slice(4);utc=true;if(maskSlice==="GMT:"){gmt=true}}var _=function _(){return utc?"getUTC":"get"};var _d=function d(){return date[_()+"Date"]()};var D=function D(){return date[_()+"Day"]()};var _m=function m(){return date[_()+"Month"]()};var y=function y(){return date[_()+"FullYear"]()};var _H=function H(){return date[_()+"Hours"]()};var _M=function M(){return date[_()+"Minutes"]()};var _s=function s(){return date[_()+"Seconds"]()};var _L=function L(){return date[_()+"Milliseconds"]()};var _o=function o(){return utc?0:date.getTimezoneOffset()};var _W=function W(){return getWeek(date)};var _N=function N(){return getDayOfWeek(date)};var flags={d:function d(){return _d()},dd:function dd(){return pad(_d())},ddd:function ddd(){return dateFormat.i18n.dayNames[D()]},DDD:function DDD(){return getDayName({y:y(),m:_m(),d:_d(),_:_(),dayName:dateFormat.i18n.dayNames[D()],short:true})},dddd:function dddd(){return dateFormat.i18n.dayNames[D()+7]},DDDD:function DDDD(){return getDayName({y:y(),m:_m(),d:_d(),_:_(),dayName:dateFormat.i18n.dayNames[D()+7]})},m:function m(){return _m()+1},mm:function mm(){return pad(_m()+1)},mmm:function mmm(){return dateFormat.i18n.monthNames[_m()]},mmmm:function mmmm(){return dateFormat.i18n.monthNames[_m()+12]},yy:function yy(){return String(y()).slice(2)},yyyy:function yyyy(){return pad(y(),4)},h:function h(){return _H()%12||12},hh:function hh(){return pad(_H()%12||12)},H:function H(){return _H()},HH:function HH(){return pad(_H())},M:function M(){return _M()},MM:function MM(){return pad(_M())},s:function s(){return _s()},ss:function ss(){return pad(_s())},l:function l(){return pad(_L(),3)},L:function L(){return pad(Math.floor(_L()/10))},t:function t(){return _H()<12?dateFormat.i18n.timeNames[0]:dateFormat.i18n.timeNames[1]},tt:function tt(){return _H()<12?dateFormat.i18n.timeNames[2]:dateFormat.i18n.timeNames[3]},T:function T(){return _H()<12?dateFormat.i18n.timeNames[4]:dateFormat.i18n.timeNames[5]},TT:function TT(){return _H()<12?dateFormat.i18n.timeNames[6]:dateFormat.i18n.timeNames[7]},Z:function Z(){return gmt?"GMT":utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,"").replace(/GMT\+0000/g,"UTC")},o:function o(){return(_o()>0?"-":"+")+pad(Math.floor(Math.abs(_o())/60)*100+Math.abs(_o())%60,4)},p:function p(){return(_o()>0?"-":"+")+pad(Math.floor(Math.abs(_o())/60),2)+":"+pad(Math.floor(Math.abs(_o())%60),2)},S:function S(){return["th","st","nd","rd"][_d()%10>3?0:(_d()%100-_d()%10!=10)*_d()%10]},W:function W(){return _W()},WW:function WW(){return pad(_W())},N:function N(){return _N()}};return mask.replace(token,function(match){if(match in flags){return flags[match]()}return match.slice(1,match.length-1)})}}();dateFormat.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]};var pad=function pad(val,len){val=String(val);len=len||2;while(val.length event.trim());
@@ -15276,6 +15288,67 @@ const urlPrefix = "https://github.com";
* @returns {String}
*/
+const appendDate = (fullContent) => {
+ let dateStartIdx = fullContent.findIndex(
+ (content) => content.trim() === ""
+ );
+
+ if (dateStartIdx !== -1) {
+ let dateEndIdx = fullContent.findIndex(
+ (content, index) =>
+ content.trim() === "" &&
+ index > dateStartIdx
+ );
+
+ let timezone = TIMEZONE_OFFSET.replace("GMT", "").split(":");
+ let offset;
+
+ tz_hours = parseInt(timezone[0].trim());
+
+ if (timezone.length > 1) {
+ offset = tz_hours * 60 + parseInt(timezone[1].trim());
+ } else {
+ if (tz_hours > 99) {
+ offset = Math.floor(tz_hours / 100) * 60 + (tz_hours % 100);
+ } else {
+ offset = tz_hours * 60;
+ }
+ }
+
+ const utc = new Date().getTime() + new Date().getTimezoneOffset() * 60000;
+ let finalDate = new Date(utc + offset * 60000);
+
+ finalDateString = DATE_STRING.replace(
+ "{DATE}",
+ dateFormat(finalDate, DATE_FORMAT)
+ );
+
+ if (dateEndIdx === -1) {
+ fullContent.splice(
+ dateStartIdx + 1,
+ 0,
+ finalDateString,
+ ""
+ );
+ } else {
+ fullContent.splice(
+ dateStartIdx + 1,
+ dateEndIdx - dateStartIdx - 1,
+ finalDateString
+ );
+ }
+ }
+ return fullContent;
+};
+
+const to2Digit = (entity) => {
+ if (entity > 9) {
+ return entity + "";
+ } else {
+ return "0" + entity;
+ }
+};
+
const makeCustomUrl = (item) => {
return Object.hasOwnProperty.call(item.payload, "issue")
? `[` +
@@ -15447,6 +15520,8 @@ Toolkit.run(
}
}
+ tools.log.debug(temp_content);
+
content = temp_content;
// We only have five lines to work with
@@ -15462,27 +15537,25 @@ Toolkit.run(
return tools.exit.failure(`Couldn't find the file named ${README_FILE}`);
}
- // Find the index corresponding to comment
+ // Find the index corresponding to comment
let startIdx = readmeContent.findIndex(
- (content) => content.trim() === ""
+ (content) => content.trim() === ""
);
- // Early return in case the comment was not found
+ // Early return in case the comment was not found
if (startIdx === -1) {
return tools.exit.failure(
- "Couldn't find the comment. Exiting!"
+ "Couldn't find the comment. Exiting!"
);
}
- // Find the index corresponding to comment
+ // Find the index corresponding to comment
const endIdx = readmeContent.findIndex(
- (content) => content.trim() === ""
+ (content) => content.trim() === ""
);
if (!content.length) {
- tools.exit.success(
- "No PullRequest/Issue/IssueComment events found. Leaving readme unchanged."
- );
+ tools.exit.success("No events found. Leaving readme unchanged.");
}
if (content.length < MAX_LINES) {
@@ -15496,13 +15569,15 @@ Toolkit.run(
readmeContent.splice(startIdx + idx, 0, `${idx + 1}. ${line}`)
);
- // Append comment
+ // Append comment
readmeContent.splice(
startIdx + content.length,
0,
- ""
+ ""
);
+ readmeContent = appendDate(readmeContent);
+
// Update README
fs.writeFileSync(README_FILE, readmeContent.join("\n"));
@@ -15521,8 +15596,8 @@ Toolkit.run(
.map((line, idx) => `${idx + 1}. ${line}`)
.join("\n");
- if (oldContent.trim() === newContent.trim())
- tools.exit.success("No changes detected.");
+ // if (oldContent.trim() === newContent.trim())
+ // tools.exit.success("No changes detected.");
startIdx++;
@@ -15538,7 +15613,7 @@ Toolkit.run(
});
tools.log.success("Wrote to README");
} else {
- // It is likely that a newline is inserted after the comment (code formatter)
+ // It is likely that a newline is inserted after the comment (code formatter)
let count = 0;
readmeActivitySection.some((line, idx) => {
@@ -15554,6 +15629,8 @@ Toolkit.run(
tools.log.success("Updated README with the recent activity");
}
+ readmeContent = appendDate(readmeContent);
+
// Update README
fs.writeFileSync(README_FILE, readmeContent.join("\n"));
diff --git a/index.js b/index.js
index 5c5812e4da..a330a4ff67 100644
--- a/index.js
+++ b/index.js
@@ -8,6 +8,7 @@ const fs = require("fs");
const path = require("path");
const { spawn } = require("child_process");
const { Toolkit } = require("actions-toolkit");
+var dateFormat = require("dateformat");
// Get config inputs
const GH_USERNAME = core.getInput("GH_USERNAME");
@@ -21,6 +22,9 @@ const PR_OPENED = core.getInput("PR_OPENED");
const PR_CLOSED = core.getInput("PR_CLOSED");
const PR_MERGED = core.getInput("PR_MERGED");
const URL_TEXT = core.getInput("URL_TEXT");
+const TIMEZONE_OFFSET = core.getInput("TIMEZONE_OFFSET");
+const DATE_STRING = core.getInput("DATE_STRING");
+const DATE_FORMAT = core.getInput("DATE_FORMAT");
let DISABLE_EVENTS = core.getInput("DISABLE_EVENTS").toLowerCase().split(",");
DISABLE_EVENTS = DISABLE_EVENTS.map((event) => event.trim());
@@ -43,6 +47,67 @@ const urlPrefix = "https://github.com";
* @returns {String}
*/
+const appendDate = (fullContent) => {
+ let dateStartIdx = fullContent.findIndex(
+ (content) => content.trim() === ""
+ );
+
+ if (dateStartIdx !== -1) {
+ let dateEndIdx = fullContent.findIndex(
+ (content, index) =>
+ content.trim() === "" &&
+ index > dateStartIdx
+ );
+
+ let timezone = TIMEZONE_OFFSET.replace("GMT", "").split(":");
+ let offset;
+
+ tz_hours = parseInt(timezone[0].trim());
+
+ if (timezone.length > 1) {
+ offset = tz_hours * 60 + parseInt(timezone[1].trim());
+ } else {
+ if (tz_hours > 99) {
+ offset = Math.floor(tz_hours / 100) * 60 + (tz_hours % 100);
+ } else {
+ offset = tz_hours * 60;
+ }
+ }
+
+ const utc = new Date().getTime() + new Date().getTimezoneOffset() * 60000;
+ let finalDate = new Date(utc + offset * 60000);
+
+ finalDateString = DATE_STRING.replace(
+ "{DATE}",
+ dateFormat(finalDate, DATE_FORMAT)
+ );
+
+ if (dateEndIdx === -1) {
+ fullContent.splice(
+ dateStartIdx + 1,
+ 0,
+ finalDateString,
+ ""
+ );
+ } else {
+ fullContent.splice(
+ dateStartIdx + 1,
+ dateEndIdx - dateStartIdx - 1,
+ finalDateString
+ );
+ }
+ }
+ return fullContent;
+};
+
+const to2Digit = (entity) => {
+ if (entity > 9) {
+ return entity + "";
+ } else {
+ return "0" + entity;
+ }
+};
+
const makeCustomUrl = (item) => {
return Object.hasOwnProperty.call(item.payload, "issue")
? `[` +
@@ -214,6 +279,8 @@ Toolkit.run(
}
}
+ tools.log.debug(temp_content);
+
content = temp_content;
// We only have five lines to work with
@@ -229,27 +296,25 @@ Toolkit.run(
return tools.exit.failure(`Couldn't find the file named ${README_FILE}`);
}
- // Find the index corresponding to comment
+ // Find the index corresponding to comment
let startIdx = readmeContent.findIndex(
- (content) => content.trim() === ""
+ (content) => content.trim() === ""
);
- // Early return in case the comment was not found
+ // Early return in case the comment was not found
if (startIdx === -1) {
return tools.exit.failure(
- "Couldn't find the comment. Exiting!"
+ "Couldn't find the comment. Exiting!"
);
}
- // Find the index corresponding to comment
+ // Find the index corresponding to comment
const endIdx = readmeContent.findIndex(
- (content) => content.trim() === ""
+ (content) => content.trim() === ""
);
if (!content.length) {
- tools.exit.success(
- "No PullRequest/Issue/IssueComment events found. Leaving readme unchanged."
- );
+ tools.exit.success("No events found. Leaving readme unchanged.");
}
if (content.length < MAX_LINES) {
@@ -263,13 +328,15 @@ Toolkit.run(
readmeContent.splice(startIdx + idx, 0, `${idx + 1}. ${line}`)
);
- // Append comment
+ // Append comment
readmeContent.splice(
startIdx + content.length,
0,
- ""
+ ""
);
+ readmeContent = appendDate(readmeContent);
+
// Update README
fs.writeFileSync(README_FILE, readmeContent.join("\n"));
@@ -288,8 +355,8 @@ Toolkit.run(
.map((line, idx) => `${idx + 1}. ${line}`)
.join("\n");
- if (oldContent.trim() === newContent.trim())
- tools.exit.success("No changes detected.");
+ // if (oldContent.trim() === newContent.trim())
+ // tools.exit.success("No changes detected.");
startIdx++;
@@ -305,7 +372,7 @@ Toolkit.run(
});
tools.log.success("Wrote to README");
} else {
- // It is likely that a newline is inserted after the comment (code formatter)
+ // It is likely that a newline is inserted after the comment (code formatter)
let count = 0;
readmeActivitySection.some((line, idx) => {
@@ -321,6 +388,8 @@ Toolkit.run(
tools.log.success("Updated README with the recent activity");
}
+ readmeContent = appendDate(readmeContent);
+
// Update README
fs.writeFileSync(README_FILE, readmeContent.join("\n"));
diff --git a/node_modules/.bin/actions-toolkit b/node_modules/.bin/actions-toolkit
deleted file mode 120000
index 4a95d3680b..0000000000
--- a/node_modules/.bin/actions-toolkit
+++ /dev/null
@@ -1 +0,0 @@
-../actions-toolkit/bin/cli.js
\ No newline at end of file
diff --git a/node_modules/.bin/actions-toolkit.cmd b/node_modules/.bin/actions-toolkit.cmd
deleted file mode 100644
index 99180acca5..0000000000
--- a/node_modules/.bin/actions-toolkit.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\actions-toolkit\bin\cli.js" %*
diff --git a/node_modules/.bin/actions-toolkit.ps1 b/node_modules/.bin/actions-toolkit.ps1
deleted file mode 100644
index 726b2dceeb..0000000000
--- a/node_modules/.bin/actions-toolkit.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../actions-toolkit/bin/cli.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../actions-toolkit/bin/cli.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../actions-toolkit/bin/cli.js" $args
- } else {
- & "node$exe" "$basedir/../actions-toolkit/bin/cli.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.bin/ncc b/node_modules/.bin/ncc
deleted file mode 120000
index e05914af1c..0000000000
--- a/node_modules/.bin/ncc
+++ /dev/null
@@ -1 +0,0 @@
-../@vercel/ncc/dist/ncc/cli.js
\ No newline at end of file
diff --git a/node_modules/.bin/ncc.cmd b/node_modules/.bin/ncc.cmd
deleted file mode 100644
index 7194032365..0000000000
--- a/node_modules/.bin/ncc.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@vercel\ncc\dist\ncc\cli.js" %*
diff --git a/node_modules/.bin/ncc.ps1 b/node_modules/.bin/ncc.ps1
deleted file mode 100644
index 44f4a9cf02..0000000000
--- a/node_modules/.bin/ncc.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../@vercel/ncc/dist/ncc/cli.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../@vercel/ncc/dist/ncc/cli.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../@vercel/ncc/dist/ncc/cli.js" $args
- } else {
- & "node$exe" "$basedir/../@vercel/ncc/dist/ncc/cli.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.bin/prettier b/node_modules/.bin/prettier
deleted file mode 120000
index a478df3834..0000000000
--- a/node_modules/.bin/prettier
+++ /dev/null
@@ -1 +0,0 @@
-../prettier/bin-prettier.js
\ No newline at end of file
diff --git a/node_modules/.bin/prettier.cmd b/node_modules/.bin/prettier.cmd
deleted file mode 100644
index b101ae46f2..0000000000
--- a/node_modules/.bin/prettier.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\prettier\bin-prettier.js" %*
diff --git a/node_modules/.bin/prettier.ps1 b/node_modules/.bin/prettier.ps1
deleted file mode 100644
index a584fceef0..0000000000
--- a/node_modules/.bin/prettier.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../prettier/bin-prettier.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../prettier/bin-prettier.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../prettier/bin-prettier.js" $args
- } else {
- & "node$exe" "$basedir/../prettier/bin-prettier.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver
deleted file mode 120000
index 317eb293d8..0000000000
--- a/node_modules/.bin/semver
+++ /dev/null
@@ -1 +0,0 @@
-../semver/bin/semver
\ No newline at end of file
diff --git a/node_modules/.bin/semver.cmd b/node_modules/.bin/semver.cmd
deleted file mode 100644
index 22d9286cd3..0000000000
--- a/node_modules/.bin/semver.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver" %*
diff --git a/node_modules/.bin/semver.ps1 b/node_modules/.bin/semver.ps1
deleted file mode 100644
index 98c1b093f0..0000000000
--- a/node_modules/.bin/semver.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args
- } else {
- & "$basedir/node$exe" "$basedir/../semver/bin/semver" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../semver/bin/semver" $args
- } else {
- & "node$exe" "$basedir/../semver/bin/semver" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.bin/which b/node_modules/.bin/which
deleted file mode 120000
index f62471c851..0000000000
--- a/node_modules/.bin/which
+++ /dev/null
@@ -1 +0,0 @@
-../which/bin/which
\ No newline at end of file
diff --git a/node_modules/.bin/which.cmd b/node_modules/.bin/which.cmd
deleted file mode 100644
index ead37d6283..0000000000
--- a/node_modules/.bin/which.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\which" %*
diff --git a/node_modules/.bin/which.ps1 b/node_modules/.bin/which.ps1
deleted file mode 100644
index 1437a3b6e8..0000000000
--- a/node_modules/.bin/which.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../which/bin/which" $args
- } else {
- & "$basedir/node$exe" "$basedir/../which/bin/which" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../which/bin/which" $args
- } else {
- & "node$exe" "$basedir/../which/bin/which" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json
deleted file mode 100644
index ebb6773e87..0000000000
--- a/node_modules/.package-lock.json
+++ /dev/null
@@ -1,688 +0,0 @@
-{
- "name": "activity-readme",
- "version": "1.2.1",
- "lockfileVersion": 2,
- "requires": true,
- "packages": {
- "node_modules/@actions/core": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.7.tgz",
- "integrity": "sha512-kzLFD5BgEvq6ubcxdgPbRKGD2Qrgya/5j+wh4LZzqT915I0V3rED+MvjH6NXghbvk1MXknpNNQ3uKjXSEN00Ig=="
- },
- "node_modules/@actions/exec": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.4.tgz",
- "integrity": "sha512-4DPChWow9yc9W3WqEbUj8Nr86xkpyE29ZzWjXucHItclLbEW6jr80Zx4nqv18QL6KK65+cifiQZXvnqgTV6oHw==",
- "dependencies": {
- "@actions/io": "^1.0.1"
- }
- },
- "node_modules/@actions/io": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.2.tgz",
- "integrity": "sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg=="
- },
- "node_modules/@octokit/auth-token": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.2.tgz",
- "integrity": "sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ==",
- "dependencies": {
- "@octokit/types": "^5.0.0"
- }
- },
- "node_modules/@octokit/core": {
- "version": "2.5.4",
- "resolved": "https://registry.npmjs.org/@octokit/core/-/core-2.5.4.tgz",
- "integrity": "sha512-HCp8yKQfTITYK+Nd09MHzAlP1v3Ii/oCohv0/TW9rhSLvzb98BOVs2QmVYuloE6a3l6LsfyGIwb6Pc4ycgWlIQ==",
- "dependencies": {
- "@octokit/auth-token": "^2.4.0",
- "@octokit/graphql": "^4.3.1",
- "@octokit/request": "^5.4.0",
- "@octokit/types": "^5.0.0",
- "before-after-hook": "^2.1.0",
- "universal-user-agent": "^5.0.0"
- }
- },
- "node_modules/@octokit/endpoint": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.3.tgz",
- "integrity": "sha512-Y900+r0gIz+cWp6ytnkibbD95ucEzDSKzlEnaWS52hbCDNcCJYO5mRmWW7HRAnDc7am+N/5Lnd8MppSaTYx1Yg==",
- "dependencies": {
- "@octokit/types": "^5.0.0",
- "is-plain-object": "^3.0.0",
- "universal-user-agent": "^5.0.0"
- }
- },
- "node_modules/@octokit/graphql": {
- "version": "4.5.1",
- "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.1.tgz",
- "integrity": "sha512-qgMsROG9K2KxDs12CO3bySJaYoUu2aic90qpFrv7A8sEBzZ7UFGvdgPKiLw5gOPYEYbS0Xf8Tvf84tJutHPulQ==",
- "dependencies": {
- "@octokit/request": "^5.3.0",
- "@octokit/types": "^5.0.0",
- "universal-user-agent": "^5.0.0"
- }
- },
- "node_modules/@octokit/plugin-paginate-rest": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.3.tgz",
- "integrity": "sha512-eKTs91wXnJH8Yicwa30jz6DF50kAh7vkcqCQ9D7/tvBAP5KKkg6I2nNof8Mp/65G0Arjsb4QcOJcIEQY+rK1Rg==",
- "dependencies": {
- "@octokit/types": "^5.0.0"
- }
- },
- "node_modules/@octokit/plugin-request-log": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.0.tgz",
- "integrity": "sha512-ywoxP68aOT3zHCLgWZgwUJatiENeHE7xJzYjfz8WI0goynp96wETBF+d95b8g/uL4QmS6owPVlaxiz3wyMAzcw=="
- },
- "node_modules/@octokit/plugin-rest-endpoint-methods": {
- "version": "3.17.0",
- "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.17.0.tgz",
- "integrity": "sha512-NFV3vq7GgoO2TrkyBRUOwflkfTYkFKS0tLAPym7RNpkwLCttqShaEGjthOsPEEL+7LFcYv3mU24+F2yVd3npmg==",
- "dependencies": {
- "@octokit/types": "^4.1.6",
- "deprecation": "^2.3.1"
- }
- },
- "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": {
- "version": "4.1.10",
- "resolved": "https://registry.npmjs.org/@octokit/types/-/types-4.1.10.tgz",
- "integrity": "sha512-/wbFy1cUIE5eICcg0wTKGXMlKSbaAxEr00qaBXzscLXpqhcwgXeS6P8O0pkysBhRfyjkKjJaYrvR1ExMO5eOXQ==",
- "dependencies": {
- "@types/node": ">= 8"
- }
- },
- "node_modules/@octokit/request": {
- "version": "5.4.5",
- "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.5.tgz",
- "integrity": "sha512-atAs5GAGbZedvJXXdjtKljin+e2SltEs48B3naJjqWupYl2IUBbB/CJisyjbNHcKpHzb3E+OYEZ46G8eakXgQg==",
- "dependencies": {
- "@octokit/endpoint": "^6.0.1",
- "@octokit/request-error": "^2.0.0",
- "@octokit/types": "^5.0.0",
- "deprecation": "^2.0.0",
- "is-plain-object": "^3.0.0",
- "node-fetch": "^2.3.0",
- "once": "^1.4.0",
- "universal-user-agent": "^5.0.0"
- }
- },
- "node_modules/@octokit/request-error": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.2.tgz",
- "integrity": "sha512-2BrmnvVSV1MXQvEkrb9zwzP0wXFNbPJij922kYBTLIlIafukrGOb+ABBT2+c6wZiuyWDH1K1zmjGQ0toN/wMWw==",
- "dependencies": {
- "@octokit/types": "^5.0.1",
- "deprecation": "^2.0.0",
- "once": "^1.4.0"
- }
- },
- "node_modules/@octokit/rest": {
- "version": "17.11.2",
- "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-17.11.2.tgz",
- "integrity": "sha512-4jTmn8WossTUaLfNDfXk4fVJgbz5JgZE8eCs4BvIb52lvIH8rpVMD1fgRCrHbSd6LRPE5JFZSfAEtszrOq3ZFQ==",
- "dependencies": {
- "@octokit/core": "^2.4.3",
- "@octokit/plugin-paginate-rest": "^2.2.0",
- "@octokit/plugin-request-log": "^1.0.0",
- "@octokit/plugin-rest-endpoint-methods": "3.17.0"
- }
- },
- "node_modules/@octokit/types": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.1.0.tgz",
- "integrity": "sha512-OFxUBgrEllAbdEmWp/wNmKIu5EuumKHG4sgy56vjZ8lXPgMhF05c76hmulfOdFHHYRpPj49ygOZJ8wgVsPecuA==",
- "dependencies": {
- "@types/node": ">= 8"
- }
- },
- "node_modules/@types/flat-cache": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@types/flat-cache/-/flat-cache-2.0.0.tgz",
- "integrity": "sha512-fHeEsm9hvmZ+QHpw6Fkvf19KIhuqnYLU6vtWLjd5BsMd/qVi7iTkMioDZl0mQmfNRA1A6NwvhrSRNr9hGYZGww=="
- },
- "node_modules/@types/minimist": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.0.tgz",
- "integrity": "sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY="
- },
- "node_modules/@types/node": {
- "version": "14.0.23",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.23.tgz",
- "integrity": "sha512-Z4U8yDAl5TFkmYsZdFPdjeMa57NOvnaf1tljHzhouaPEp7LCj2JKkejpI1ODviIAQuW4CcQmxkQ77rnLsOOoKw=="
- },
- "node_modules/@types/signale": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/@types/signale/-/signale-1.4.1.tgz",
- "integrity": "sha512-05d9fUDqRnt36rizLgo38SbPTrkMzdhXpvSHSAhxzokgIUPGNUoXHV0zYjPpTd4IryDADJ0mGHpfJ/Yhjyh9JQ==",
- "dependencies": {
- "@types/node": "*"
- }
- },
- "node_modules/@vercel/ncc": {
- "version": "0.28.5",
- "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.28.5.tgz",
- "integrity": "sha512-ZSwD4EDCon2EsnPZ2/Qcigx4N2DiuBLV/rDnF04giEPFuDeBeUDdnSTyYYfX8KNic/prrJuS1vUEmAOHmj+fRg==",
- "dev": true,
- "bin": {
- "ncc": "dist/ncc/cli.js"
- }
- },
- "node_modules/actions-toolkit": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/actions-toolkit/-/actions-toolkit-6.0.1.tgz",
- "integrity": "sha512-a/ZA0+qY8YSUrzm0yLspLGFwmDG5uRJ8YaESD3Nlxi7u+pCWasxpChLYa/hlGkLt69I58VcdJKx7d9A+7kqoew==",
- "dependencies": {
- "@actions/core": "^1.2.4",
- "@actions/exec": "^1.0.4",
- "@octokit/rest": "^17.9.0",
- "@types/flat-cache": "^2.0.0",
- "@types/minimist": "^1.2.0",
- "@types/signale": "^1.4.1",
- "enquirer": "^2.3.5",
- "minimist": "^1.2.5",
- "signale": "^1.4.0"
- },
- "bin": {
- "actions-toolkit": "bin/cli.js"
- }
- },
- "node_modules/ansi-colors": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
- "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/before-after-hook": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.1.0.tgz",
- "integrity": "sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A=="
- },
- "node_modules/chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/color-convert": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dependencies": {
- "color-name": "1.1.3"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
- },
- "node_modules/cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dependencies": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- },
- "engines": {
- "node": ">=4.8"
- }
- },
- "node_modules/deprecation": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
- "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ=="
- },
- "node_modules/end-of-stream": {
- "version": "1.4.4",
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
- "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
- "dependencies": {
- "once": "^1.4.0"
- }
- },
- "node_modules/enquirer": {
- "version": "2.3.6",
- "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",
- "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==",
- "dependencies": {
- "ansi-colors": "^4.1.1"
- },
- "engines": {
- "node": ">=8.6"
- }
- },
- "node_modules/error-ex": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
- "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
- "dependencies": {
- "is-arrayish": "^0.2.1"
- }
- },
- "node_modules/escape-string-regexp": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/execa": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
- "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
- "dependencies": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^4.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/figures": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
- "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
- "dependencies": {
- "escape-string-regexp": "^1.0.5"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/find-up": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
- "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
- "dependencies": {
- "locate-path": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/get-stream": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
- "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
- "dependencies": {
- "pump": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/graceful-fs": {
- "version": "4.2.4",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
- "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw=="
- },
- "node_modules/has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/is-arrayish": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
- },
- "node_modules/is-plain-object": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.1.tgz",
- "integrity": "sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-stream": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
- "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/isexe": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
- },
- "node_modules/json-parse-better-errors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
- "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw=="
- },
- "node_modules/load-json-file": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz",
- "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=",
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "parse-json": "^4.0.0",
- "pify": "^3.0.0",
- "strip-bom": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/locate-path": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
- "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
- "dependencies": {
- "p-locate": "^2.0.0",
- "path-exists": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/macos-release": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.4.0.tgz",
- "integrity": "sha512-ko6deozZYiAkqa/0gmcsz+p4jSy3gY7/ZsCEokPaYd8k+6/aXGkiTgr61+Owup7Sf+xjqW8u2ElhoM9SEcEfuA==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/minimist": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
- },
- "node_modules/nice-try": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
- "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
- },
- "node_modules/node-fetch": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
- "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
- "engines": {
- "node": "4.x || >=6.0.0"
- }
- },
- "node_modules/npm-run-path": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
- "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",
- "dependencies": {
- "path-key": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/os-name": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz",
- "integrity": "sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg==",
- "dependencies": {
- "macos-release": "^2.2.0",
- "windows-release": "^3.1.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/p-finally": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
- "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-limit": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
- "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
- "dependencies": {
- "p-try": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-locate": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
- "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
- "dependencies": {
- "p-limit": "^1.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-try": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
- "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/parse-json": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",
- "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=",
- "dependencies": {
- "error-ex": "^1.3.1",
- "json-parse-better-errors": "^1.0.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/pkg-conf": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz",
- "integrity": "sha1-ISZRTKbyq/69FoWW3xi6V4Z/AFg=",
- "dependencies": {
- "find-up": "^2.0.0",
- "load-json-file": "^4.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/prettier": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz",
- "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==",
- "dev": true,
- "bin": {
- "prettier": "bin-prettier.js"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "dependencies": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- },
- "node_modules/semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/shebang-command": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
- "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
- "dependencies": {
- "shebang-regex": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/shebang-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
- "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/signal-exit": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",
- "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA=="
- },
- "node_modules/signale": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/signale/-/signale-1.4.0.tgz",
- "integrity": "sha512-iuh+gPf28RkltuJC7W5MRi6XAjTDCAPC/prJUpQoG4vIP3MJZ+GTydVnodXA7pwvTKb2cA0m9OFZW/cdWy/I/w==",
- "dependencies": {
- "chalk": "^2.3.2",
- "figures": "^2.0.0",
- "pkg-conf": "^2.1.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/strip-bom": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
- "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/strip-eof": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
- "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/universal-user-agent": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz",
- "integrity": "sha512-B5TPtzZleXyPrUMKCpEHFmVhMN6EhmJYjG5PQna9s7mXeSqGTLap4OpqLl5FCEFUI3UBmllkETwKf/db66Y54Q==",
- "dependencies": {
- "os-name": "^3.1.0"
- }
- },
- "node_modules/which": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "which": "bin/which"
- }
- },
- "node_modules/windows-release": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.3.1.tgz",
- "integrity": "sha512-Pngk/RDCaI/DkuHPlGTdIkDiTAnAkyMjoQMZqRsxydNl1qGXNIoZrB7RK8g53F2tEgQBMqQJHQdYZuQEEAu54A==",
- "dependencies": {
- "execa": "^1.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
- }
- }
-}
diff --git a/node_modules/@actions/core/LICENSE.md b/node_modules/@actions/core/LICENSE.md
deleted file mode 100644
index dbae2edb2c..0000000000
--- a/node_modules/@actions/core/LICENSE.md
+++ /dev/null
@@ -1,9 +0,0 @@
-The MIT License (MIT)
-
-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 864d577ee3..0000000000
--- a/node_modules/@actions/core/README.md
+++ /dev/null
@@ -1,202 +0,0 @@
-# `@actions/core`
-
-> Core functions for setting results, logging, registering secrets and exporting variables across actions
-
-## Usage
-
-### Import the package
-
-```js
-// javascript
-const core = require('@actions/core');
-
-// typescript
-import * as core from '@actions/core';
-```
-
-#### Inputs/Outputs
-
-Action inputs can be read with `getInput`. Outputs can be set with `setOutput` which makes them available to be mapped into inputs of other actions to ensure they are decoupled.
-
-```js
-const myInput = core.getInput('inputName', { required: true });
-
-core.setOutput('outputKey', 'outputVal');
-```
-
-#### Exporting variables
-
-Since each step runs in a separate process, you can use `exportVariable` to add it to this step and future steps environment blocks.
-
-```js
-core.exportVariable('envVar', 'Val');
-```
-
-#### Setting a secret
-
-Setting a secret registers the secret with the runner to ensure it is masked in logs.
-
-```js
-core.setSecret('myPassword');
-```
-
-#### PATH Manipulation
-
-To make a tool's path available in the path for the remainder of the job (without altering the machine or containers state), use `addPath`. The runner will prepend the path given to the jobs PATH.
-
-```js
-core.addPath('/path/to/mytool');
-```
-
-#### Exit codes
-
-You should use this library to set the failing exit code for your action. If status is not set and the script runs to completion, that will lead to a success.
-
-```js
-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}`);
-}
-```
-
-Note that `setNeutral` is not yet implemented in actions V2 but equivalent functionality is being planned.
-
-
-#### Logging
-
-Finally, this library provides some utilities for logging. Note that debug logging is hidden from the logs by default. This behavior can be toggled by enabling the [Step Debug Logs](../../docs/action-debugging.md#step-debug-logs).
-
-```js
-const core = require('@actions/core');
-
-const myInput = core.getInput('input');
-try {
- core.debug('Inside try block');
-
- if (!myInput) {
- core.warning('myInput was not set');
- }
-
- if (core.isDebug()) {
- // curl -v https://github.com
- } else {
- // curl https://github.com
- }
-
- // Do stuff
- core.info('Output to the actions build log')
-}
-catch (err) {
- core.error(`Error ${err}, action may still succeed though`);
-}
-```
-
-This library can also wrap chunks of output in foldable groups.
-
-```js
-const core = require('@actions/core')
-
-// Manually wrap output
-core.startGroup('Do some function')
-doSomeFunction()
-core.endGroup()
-
-// Wrap an asynchronous function call
-const result = await core.group('Do something async', async () => {
- const response = await doSomeHTTPRequest()
- return response
-})
-```
-
-#### Styling output
-
-Colored output is supported in the Action logs via standard [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code). 3/4 bit, 8 bit and 24 bit colors are all supported.
-
-Foreground colors:
-```js
-// 3/4 bit
-core.info('\u001b[35mThis foreground will be magenta')
-
-// 8 bit
-core.info('\u001b[38;5;6mThis foreground will be cyan')
-
-// 24 bit
-core.info('\u001b[38;2;255;0;0mThis foreground will be bright red')
-```
-
-Background colors:
-```js
-// 3/4 bit
-core.info('\u001b[43mThis background will be yellow');
-
-// 8 bit
-core.info('\u001b[48;5;6mThis background will be cyan')
-
-// 24 bit
-core.info('\u001b[48;2;255;0;0mThis background will be bright red')
-```
-
-Special styles:
-
-```js
-core.info('\u001b[1mBold text')
-core.info('\u001b[3mItalic text')
-core.info('\u001b[4mUnderlined text')
-```
-
-ANSI escape codes can be combined with one another:
-
-```js
-core.info('\u001b[31;46mRed foreground with a cyan background and \u001b[1mbold text at the end');
-```
-
-> Note: Escape codes reset at the start of each line
-```js
-core.info('\u001b[35mThis foreground will be magenta')
-core.info('This foreground will reset to the default')
-```
-
-Manually typing escape codes can be a little difficult, but you can use third party modules such as [ansi-styles](https://github.com/chalk/ansi-styles).
-
-```js
-const style = require('ansi-styles');
-core.info(style.color.ansi16m.hex('#abcdef') + 'Hello world!')
-```
-
-#### Action state
-
-You can use this library to save state and get state for sharing information between a given wrapper action:
-
-**action.yml**
-```yaml
-name: 'Wrapper action sample'
-inputs:
- name:
- default: 'GitHub'
-runs:
- using: 'node12'
- main: 'main.js'
- post: 'cleanup.js'
-```
-
-In action's `main.js`:
-
-```js
-const core = require('@actions/core');
-
-core.saveState("pidToKill", 12345);
-```
-
-In action's `cleanup.js`:
-```js
-const core = require('@actions/core');
-
-var pid = core.getState("pidToKill");
-
-process.kill(pid);
-```
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 89eff6687a..0000000000
--- a/node_modules/@actions/core/lib/command.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-interface CommandProperties {
- [key: string]: any;
-}
-/**
- * Commands
- *
- * Command Format:
- * ::name key=value,key=value::message
- *
- * Examples:
- * ::warning::This is the message
- * ::set-env name=MY_VAR::some value
- */
-export declare function issueCommand(command: string, properties: CommandProperties, message: any): 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 10bf3ebbb2..0000000000
--- a/node_modules/@actions/core/lib/command.js
+++ /dev/null
@@ -1,79 +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 os = __importStar(require("os"));
-const utils_1 = require("./utils");
-/**
- * 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 utils_1.toCommandValue(s)
- .replace(/%/g, '%25')
- .replace(/\r/g, '%0D')
- .replace(/\n/g, '%0A');
-}
-function escapeProperty(s) {
- return utils_1.toCommandValue(s)
- .replace(/%/g, '%25')
- .replace(/\r/g, '%0D')
- .replace(/\n/g, '%0A')
- .replace(/:/g, '%3A')
- .replace(/,/g, '%2C');
-}
-//# 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 a95b303bdf..0000000000
--- 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,uCAAwB;AACxB,mCAAsC;AAWtC;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAY;IAEZ,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,UAAkB,EAAE;IACtD,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACjC,CAAC;AAFD,sBAEC;AAED,MAAM,UAAU,GAAG,IAAI,CAAA;AAEvB,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,IAAI,KAAK,GAAG,IAAI,CAAA;YAChB,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,IAAI,KAAK,EAAE;4BACT,KAAK,GAAG,KAAK,CAAA;yBACd;6BAAM;4BACL,MAAM,IAAI,GAAG,CAAA;yBACd;wBAED,MAAM,IAAI,GAAG,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,EAAE,CAAA;qBAC1C;iBACF;aACF;SACF;QAED,MAAM,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAA;QACpD,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAM;IACxB,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAC1B,CAAC;AAED,SAAS,cAAc,CAAC,CAAM;IAC5B,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,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 8bb5093c54..0000000000
--- a/node_modules/@actions/core/lib/core.d.ts
+++ /dev/null
@@ -1,122 +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. Non-string values will be converted to a string via JSON.stringify
- */
-export declare function exportVariable(name: string, val: any): void;
-/**
- * Registers a secret which will get masked from logs
- * @param secret value of the secret
- */
-export declare function setSecret(secret: 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. Non-string values will be converted to a string via JSON.stringify
- */
-export declare function setOutput(name: string, value: any): void;
-/**
- * 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.
- *
- */
-export declare function setCommandEcho(enabled: boolean): 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 | Error): void;
-/**
- * Gets whether Actions Step Debug is on or not
- */
-export declare function isDebug(): boolean;
-/**
- * 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. Errors will be converted to string via toString()
- */
-export declare function error(message: string | Error): void;
-/**
- * Adds an warning issue
- * @param message warning issue message. Errors will be converted to string via toString()
- */
-export declare function warning(message: string | Error): void;
-/**
- * Writes info to log with console.log.
- * @param message info message
- */
-export declare function info(message: string): void;
-/**
- * Begin an output group.
- *
- * Output until the next `groupEnd` will be foldable in this group
- *
- * @param name The name of the output group
- */
-export declare function startGroup(name: string): void;
-/**
- * End an output group.
- */
-export declare function endGroup(): void;
-/**
- * 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
- */
-export declare function group(name: string, fn: () => Promise): Promise;
-/**
- * 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
- */
-export declare function saveState(name: string, value: any): void;
-/**
- * Gets the value of an state set by this action's main execution.
- *
- * @param name name of the state to get
- * @returns string
- */
-export declare function getState(name: string): string;
diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js
deleted file mode 100644
index 9bf191a26b..0000000000
--- a/node_modules/@actions/core/lib/core.js
+++ /dev/null
@@ -1,239 +0,0 @@
-"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 = require("./command");
-const file_command_1 = require("./file-command");
-const utils_1 = require("./utils");
-const os = __importStar(require("os"));
-const path = __importStar(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. 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 = utils_1.toCommandValue(val);
- process.env[name] = convertedVal;
- const filePath = process.env['GITHUB_ENV'] || '';
- if (filePath) {
- const delimiter = '_GitHubActionsFileCommandDelimeter_';
- const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
- file_command_1.issueCommand('ENV', commandValue);
- }
- else {
- 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) {
- const filePath = process.env['GITHUB_PATH'] || '';
- if (filePath) {
- file_command_1.issueCommand('PATH', inputPath);
- }
- else {
- 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) {
- process.stdout.write(os.EOL);
- 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
\ 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 0198697ab7..0000000000
--- 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;AAC7C,iDAA+D;AAC/D,mCAAsC;AAEtC,uCAAwB;AACxB,2CAA4B;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,8DAA8D;AAC9D,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAQ;IACnD,MAAM,YAAY,GAAG,sBAAc,CAAC,GAAG,CAAC,CAAA;IACxC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,YAAY,CAAA;IAEhC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAA;IAChD,IAAI,QAAQ,EAAE;QACZ,MAAM,SAAS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/file-command.d.ts
deleted file mode 100644
index ed408eb132..0000000000
--- a/node_modules/@actions/core/lib/file-command.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare function issueCommand(command: string, message: any): void;
diff --git a/node_modules/@actions/core/lib/file-command.js b/node_modules/@actions/core/lib/file-command.js
deleted file mode 100644
index 10783c0c27..0000000000
--- a/node_modules/@actions/core/lib/file-command.js
+++ /dev/null
@@ -1,29 +0,0 @@
-"use strict";
-// For internal use, subject to change.
-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 });
-// We use any as a valid input type
-/* eslint-disable @typescript-eslint/no-explicit-any */
-const fs = __importStar(require("fs"));
-const os = __importStar(require("os"));
-const utils_1 = require("./utils");
-function issueCommand(command, message) {
- const filePath = process.env[`GITHUB_${command}`];
- if (!filePath) {
- throw new Error(`Unable to find environment variable for file command ${command}`);
- }
- if (!fs.existsSync(filePath)) {
- throw new Error(`Missing file at path: ${filePath}`);
- }
- fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {
- encoding: 'utf8'
- });
-}
-exports.issueCommand = issueCommand;
-//# sourceMappingURL=file-command.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/core/lib/file-command.js.map b/node_modules/@actions/core/lib/file-command.js.map
deleted file mode 100644
index 45fd8c4bad..0000000000
--- a/node_modules/@actions/core/lib/file-command.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"file-command.js","sourceRoot":"","sources":["../src/file-command.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;;;;;;;AAEvC,mCAAmC;AACnC,uDAAuD;AAEvD,uCAAwB;AACxB,uCAAwB;AACxB,mCAAsC;AAEtC,SAAgB,YAAY,CAAC,OAAe,EAAE,OAAY;IACxD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,OAAO,EAAE,CAAC,CAAA;IACjD,IAAI,CAAC,QAAQ,EAAE;QACb,MAAM,IAAI,KAAK,CACb,wDAAwD,OAAO,EAAE,CAClE,CAAA;KACF;IACD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;QAC5B,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,EAAE,CAAC,CAAA;KACrD;IAED,EAAE,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,sBAAc,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;QACjE,QAAQ,EAAE,MAAM;KACjB,CAAC,CAAA;AACJ,CAAC;AAdD,oCAcC"}
\ No newline at end of file
diff --git a/node_modules/@actions/core/lib/utils.d.ts b/node_modules/@actions/core/lib/utils.d.ts
deleted file mode 100644
index b39c9be982..0000000000
--- a/node_modules/@actions/core/lib/utils.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Sanitizes an input into a string so it can be passed into issueCommand safely
- * @param input input to sanitize into a string
- */
-export declare function toCommandValue(input: any): string;
diff --git a/node_modules/@actions/core/lib/utils.js b/node_modules/@actions/core/lib/utils.js
deleted file mode 100644
index 97cea339fc..0000000000
--- a/node_modules/@actions/core/lib/utils.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-// We use any as a valid input type
-/* eslint-disable @typescript-eslint/no-explicit-any */
-Object.defineProperty(exports, "__esModule", { value: true });
-/**
- * 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;
-//# sourceMappingURL=utils.js.map
\ No newline at end of file
diff --git a/node_modules/@actions/core/lib/utils.js.map b/node_modules/@actions/core/lib/utils.js.map
deleted file mode 100644
index ce43f037a1..0000000000
--- a/node_modules/@actions/core/lib/utils.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;AAEvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC"}
\ 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 b25bec2e37..0000000000
--- a/node_modules/@actions/core/package.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "name": "@actions/core",
- "version": "1.2.7",
- "description": "Actions core lib",
- "keywords": [
- "github",
- "actions",
- "core"
- ],
- "homepage": "https://github.com/actions/toolkit/tree/main/packages/core",
- "license": "MIT",
- "main": "lib/core.js",
- "types": "lib/core.d.ts",
- "directories": {
- "lib": "lib",
- "test": "__tests__"
- },
- "files": [
- "lib",
- "!.DS_Store"
- ],
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/actions/toolkit.git",
- "directory": "packages/core"
- },
- "scripts": {
- "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json",
- "test": "echo \"Error: run tests from root\" && exit 1",
- "tsc": "tsc"
- },
- "bugs": {
- "url": "https://github.com/actions/toolkit/issues"
- },
- "devDependencies": {
- "@types/node": "^12.0.2"
- }
-
-,"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.7.tgz"
-,"_integrity": "sha512-kzLFD5BgEvq6ubcxdgPbRKGD2Qrgya/5j+wh4LZzqT915I0V3rED+MvjH6NXghbvk1MXknpNNQ3uKjXSEN00Ig=="
-,"_from": "@actions/core@1.2.7"
-}
\ 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 53a6bf5243..0000000000
--- a/node_modules/@actions/exec/README.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# `@actions/exec`
-
-## Usage
-
-#### Basic
-
-You can use this package to execute tools in a cross platform way:
-
-```js
-const exec = require('@actions/exec');
-
-await exec.exec('node index.js');
-```
-
-#### Args
-
-You can also pass in arg arrays:
-
-```js
-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):
-
-```js
-const exec = require('@actions/exec');
-
-let myOutput = '';
-let 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 specify the full path for tools not in the PATH:
-
-```js
-const exec = require('@actions/exec');
-
-await exec.exec('"/path/to/my-tool"', ['arg1']);
-```
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 390f1c8ea1..0000000000
--- a/node_modules/@actions/exec/lib/exec.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { ExecOptions } from './interfaces';
-export { ExecOptions };
-/**
- * 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?: 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 ae05ccea1c..0000000000
--- a/node_modules/@actions/exec/lib/exec.js
+++ /dev/null
@@ -1,44 +0,0 @@
-"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(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 98901dd73d..0000000000
--- 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,iDAAkC;AAIlC;;;;;;;;;GASG;AACH,SAAsB,IAAI,CACxB,WAAmB,EACnB,IAAe,EACf,OAAqB;;QAErB,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 4fef7c1f85..0000000000
--- a/node_modules/@actions/exec/lib/interfaces.d.ts
+++ /dev/null
@@ -1,37 +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. input to write to the process on STDIN. */
- input?: Buffer;
- /** 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 db9191150b..0000000000
--- 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 8fb5f7d179..0000000000
--- 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 9bbbb1ea9d..0000000000
--- 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 d08bb5914e..0000000000
--- a/node_modules/@actions/exec/lib/toolrunner.js
+++ /dev/null
@@ -1,600 +0,0 @@
-"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(require("os"));
-const events = __importStar(require("events"));
-const child = __importStar(require("child_process"));
-const path = __importStar(require("path"));
-const io = __importStar(require("@actions/io"));
-const ioUtil = __importStar(require("@actions/io/lib/io-util"));
-/* 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
\ 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 0a52eec2e0..0000000000
--- 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,uCAAwB;AACxB,+CAAgC;AAChC,qDAAsC;AACtC,2CAA4B;AAG5B,gDAAiC;AACjC,gEAAiD;AAEjD,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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M,IAAI,IAAI,CAAC,eAAe,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;gBACvE,KAAK,GAAG,IAAI,KAAK,CACf,gBAAgB,IAAI,CAAC,QAAQ,2BAA2B,IAAI,CAAC,eAAe,EAAE,CAC/E,CAAA;aACF;iBAAM,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;gBAC1D,KAAK,GAAG,IAAI,KAAK,CACf,gBAAgB,IAAI,CAAC,QAAQ,sEAAsE,CACpG,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 822800ba60..0000000000
--- a/node_modules/@actions/exec/package.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "name": "@actions/exec",
- "version": "1.0.4",
- "description": "Actions exec lib",
- "keywords": [
- "github",
- "actions",
- "exec"
- ],
- "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
- "license": "MIT",
- "main": "lib/exec.js",
- "types": "lib/exec.d.ts",
- "directories": {
- "lib": "lib",
- "test": "__tests__"
- },
- "files": [
- "lib"
- ],
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/actions/toolkit.git",
- "directory": "packages/exec"
- },
- "scripts": {
- "audit-moderate": "npm install && npm audit --audit-level=moderate",
- "test": "echo \"Error: run tests from root\" && exit 1",
- "tsc": "tsc"
- },
- "bugs": {
- "url": "https://github.com/actions/toolkit/issues"
- },
- "dependencies": {
- "@actions/io": "^1.0.1"
- }
-
-,"_resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.4.tgz"
-,"_integrity": "sha512-4DPChWow9yc9W3WqEbUj8Nr86xkpyE29ZzWjXucHItclLbEW6jr80Zx4nqv18QL6KK65+cifiQZXvnqgTV6oHw=="
-,"_from": "@actions/exec@1.0.4"
-}
\ 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 9aadf2f95c..0000000000
--- 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:
-
-```js
-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):
-
-```js
-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.
-
-```js
-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).
-
-```js
-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 f0214fe208..0000000000
--- 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 17b3bba58b..0000000000
--- a/node_modules/@actions/io/lib/io-util.js
+++ /dev/null
@@ -1,195 +0,0 @@
-"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 = 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 76cd3b9447..0000000000
--- 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;A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Z,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 a4ea5a7f07..0000000000
--- 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 ad5bdb926b..0000000000
--- a/node_modules/@actions/io/lib/io.js
+++ /dev/null
@@ -1,290 +0,0 @@
-"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 = 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 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
\ 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 91db963000..0000000000
--- 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,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C,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 8c4df799e6..0000000000
--- a/node_modules/@actions/io/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "@actions/io",
- "version": "1.0.2",
- "description": "Actions io lib",
- "keywords": [
- "github",
- "actions",
- "io"
- ],
- "homepage": "https://github.com/actions/toolkit/tree/master/packages/io",
- "license": "MIT",
- "main": "lib/io.js",
- "types": "lib/io.d.ts",
- "directories": {
- "lib": "lib",
- "test": "__tests__"
- },
- "files": [
- "lib"
- ],
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/actions/toolkit.git",
- "directory": "packages/io"
- },
- "scripts": {
- "audit-moderate": "npm install && npm audit --audit-level=moderate",
- "test": "echo \"Error: run tests from root\" && exit 1",
- "tsc": "tsc"
- },
- "bugs": {
- "url": "https://github.com/actions/toolkit/issues"
- }
-
-,"_resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.2.tgz"
-,"_integrity": "sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg=="
-,"_from": "@actions/io@1.0.2"
-}
\ No newline at end of file
diff --git a/node_modules/@octokit/auth-token/LICENSE b/node_modules/@octokit/auth-token/LICENSE
deleted file mode 100644
index ef2c18ee5b..0000000000
--- a/node_modules/@octokit/auth-token/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/auth-token/README.md b/node_modules/@octokit/auth-token/README.md
deleted file mode 100644
index 8ea6a03bc0..0000000000
--- a/node_modules/@octokit/auth-token/README.md
+++ /dev/null
@@ -1,270 +0,0 @@
-# auth-token.js
-
-> GitHub API token authentication for browsers and Node.js
-
-[](https://www.npmjs.com/package/@octokit/auth-token)
-[](https://github.com/octokit/auth-token.js/actions?query=workflow%3ATest)
-
-`@octokit/auth-token` is the simplest of [GitHub’s authentication strategies](https://github.com/octokit/auth.js).
-
-It is useful if you want to support multiple authentication strategies, as it’s API is compatible with its sibling packages for [basic](https://github.com/octokit/auth-basic.js), [GitHub App](https://github.com/octokit/auth-app.js) and [OAuth app](https://github.com/octokit/auth.js) authentication.
-
-
-
-- [Usage](#usage)
-- [`createTokenAuth(token) options`](#createtokenauthtoken-options)
-- [`auth()`](#auth)
-- [Authentication object](#authentication-object)
-- [`auth.hook(request, route, options)` or `auth.hook(request, options)`](#authhookrequest-route-options-or-authhookrequest-options)
-- [Find more information](#find-more-information)
- - [Find out what scopes are enabled for oauth tokens](#find-out-what-scopes-are-enabled-for-oauth-tokens)
- - [Find out if token is a personal access token or if it belongs to an OAuth app](#find-out-if-token-is-a-personal-access-token-or-if-it-belongs-to-an-oauth-app)
- - [Find out what permissions are enabled for a repository](#find-out-what-permissions-are-enabled-for-a-repository)
- - [Use token for git operations](#use-token-for-git-operations)
-- [License](#license)
-
-
-
-## Usage
-
-
-
-
-Browsers
-
-
-Load `@octokit/auth-token` directly from [cdn.pika.dev](https://cdn.pika.dev)
-
-```html
-
-```
-
-
-
-Node
-
-
-Install with npm install @octokit/auth-token
-
-```js
-const { createTokenAuth } = require("@octokit/auth-token");
-// or: import { createTokenAuth } from "@octokit/auth-token";
-```
-
-
-
-
-
-```js
-const auth = createTokenAuth("1234567890abcdef1234567890abcdef12345678");
-const authentication = await auth();
-// {
-// type: 'token',
-// token: '1234567890abcdef1234567890abcdef12345678',
-// tokenType: 'oauth'
-```
-
-## `createTokenAuth(token) options`
-
-The `createTokenAuth` method accepts a single argument of type string, which is the token. The passed token can be one of the following:
-
-- [Personal access token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line)
-- [OAuth access token](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/)
-- Installation access token ([GitHub App Installation](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation))
-- [GITHUB_TOKEN provided to GitHub Actions](https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#environment-variables)
-
-Examples
-
-```js
-// Personal access token or OAuth access token
-createTokenAuth("1234567890abcdef1234567890abcdef12345678");
-
-// Installation access token or GitHub Action token
-createTokenAuth("v1.d3d433526f780fbcc3129004e2731b3904ad0b86");
-```
-
-## `auth()`
-
-The `auth()` method has no options. It returns a promise which resolves with the the authentication object.
-
-## Authentication object
-
-
-
-
-
- name
-
-
- type
-
-
- description
-
-
-
-
-
-
- type
-
-
- string
-
-
- "token"
-
-
-
-
- token
-
-
- string
-
-
- The provided token.
-
-
-
-
- tokenType
-
-
- string
-
-
- Can be either "oauth"
for personal access tokens and OAuth tokens, or "installation"
for installation access tokens (includes GITHUB_TOKEN
provided to GitHub Actions)
-
-
-
-
-
-## `auth.hook(request, route, options)` or `auth.hook(request, options)`
-
-`auth.hook()` hooks directly into the request life cycle. It authenticates the request using the provided token.
-
-The `request` option is an instance of [`@octokit/request`](https://github.com/octokit/request.js#readme). The `route`/`options` parameters are the same as for the [`request()` method](https://github.com/octokit/request.js#request).
-
-`auth.hook()` can be called directly to send an authenticated request
-
-```js
-const { data: authorizations } = await auth.hook(
- request,
- "GET /authorizations"
-);
-```
-
-Or it can be passed as option to [`request()`](https://github.com/octokit/request.js#request).
-
-```js
-const requestWithAuth = request.defaults({
- request: {
- hook: auth.hook,
- },
-});
-
-const { data: authorizations } = await requestWithAuth("GET /authorizations");
-```
-
-## Find more information
-
-`auth()` does not send any requests, it only transforms the provided token string into an authentication object.
-
-Here is a list of things you can do to retrieve further information
-
-### Find out what scopes are enabled for oauth tokens
-
-Note that this does not work for installations. There is no way to retrieve permissions based on an installation access tokens.
-
-```js
-const TOKEN = "1234567890abcdef1234567890abcdef12345678";
-
-const auth = createTokenAuth(TOKEN);
-const authentication = await auth();
-
-const response = await request("HEAD /", {
- headers: authentication.headers,
-});
-const scopes = response.headers["x-oauth-scopes"].split(/,\s+/);
-
-if (scopes.length) {
- console.log(
- `"${TOKEN}" has ${scopes.length} scopes enabled: ${scopes.join(", ")}`
- );
-} else {
- console.log(`"${TOKEN}" has no scopes enabled`);
-}
-```
-
-### Find out if token is a personal access token or if it belongs to an OAuth app
-
-```js
-const TOKEN = "1234567890abcdef1234567890abcdef12345678";
-
-const auth = createTokenAuth(TOKEN);
-const authentication = await auth();
-
-const response = await request("HEAD /", {
- headers: authentication.headers,
-});
-const clientId = response.headers["x-oauth-client-id"];
-
-if (clientId) {
- console.log(
- `"${token}" is an OAuth token, its app’s client_id is ${clientId}.`
- );
-} else {
- console.log(`"${token}" is a personal access token`);
-}
-```
-
-### Find out what permissions are enabled for a repository
-
-Note that the `permissions` key is not set when authenticated using an installation access token.
-
-```js
-const TOKEN = "1234567890abcdef1234567890abcdef12345678";
-
-const auth = createTokenAuth(TOKEN);
-const authentication = await auth();
-
-const response = await request("GET /repos/:owner/:repo", {
- owner: 'octocat',
- repo: 'hello-world'
- headers: authentication.headers
-});
-
-console.log(response.data.permissions)
-// {
-// admin: true,
-// push: true,
-// pull: true
-// }
-```
-
-### Use token for git operations
-
-Both OAuth and installation access tokens can be used for git operations. However, when using with an installation, [the token must be prefixed with `x-access-token`](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#http-based-git-access-by-an-installation).
-
-This example is using the [`execa`](https://github.com/sindresorhus/execa) package to run a `git push` command.
-
-```js
-const TOKEN = "1234567890abcdef1234567890abcdef12345678";
-
-const auth = createTokenAuth(TOKEN);
-const { token, tokenType } = await auth();
-const tokenWithPrefix =
- tokenType === "installation" ? `x-access-token:${token}` : token;
-
-const repositoryUrl = `https://${tokenWithPrefix}@github.com/octocat/hello-world.git`;
-
-const { stdout } = await execa("git", ["push", repositoryUrl]);
-console.log(stdout);
-```
-
-## License
-
-[MIT](LICENSE)
diff --git a/node_modules/@octokit/auth-token/dist-node/index.js b/node_modules/@octokit/auth-token/dist-node/index.js
deleted file mode 100644
index 1394a5da22..0000000000
--- a/node_modules/@octokit/auth-token/dist-node/index.js
+++ /dev/null
@@ -1,49 +0,0 @@
-'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
diff --git a/node_modules/@octokit/auth-token/dist-node/index.js.map b/node_modules/@octokit/auth-token/dist-node/index.js.map
deleted file mode 100644
index 8a92b69bbc..0000000000
--- a/node_modules/@octokit/auth-token/dist-node/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/auth.js","../dist-src/with-authorization-prefix.js","../dist-src/hook.js","../dist-src/index.js"],"sourcesContent":["export async function auth(token) {\n const tokenType = token.split(/\\./).length === 3\n ? \"app\"\n : /^v\\d+\\./.test(token)\n ? \"installation\"\n : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n","/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nexport function withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n return `token ${token}`;\n}\n","import { withAuthorizationPrefix } from \"./with-authorization-prefix\";\nexport async function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n","import { auth } from \"./auth\";\nimport { hook } from \"./hook\";\nexport const createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n"],"names":["auth","token","tokenType","split","length","test","type","withAuthorizationPrefix","hook","request","route","parameters","endpoint","merge","headers","authorization","createTokenAuth","Error","replace","Object","assign","bind"],"mappings":";;;;AAAO,eAAeA,IAAf,CAAoBC,KAApB,EAA2B;AAC9B,QAAMC,SAAS,GAAGD,KAAK,CAACE,KAAN,CAAY,IAAZ,EAAkBC,MAAlB,KAA6B,CAA7B,GACZ,KADY,GAEZ,UAAUC,IAAV,CAAeJ,KAAf,IACI,cADJ,GAEI,OAJV;AAKA,SAAO;AACHK,IAAAA,IAAI,EAAE,OADH;AAEHL,IAAAA,KAAK,EAAEA,KAFJ;AAGHC,IAAAA;AAHG,GAAP;AAKH;;ACXD;;;;;AAKA,AAAO,SAASK,uBAAT,CAAiCN,KAAjC,EAAwC;AAC3C,MAAIA,KAAK,CAACE,KAAN,CAAY,IAAZ,EAAkBC,MAAlB,KAA6B,CAAjC,EAAoC;AAChC,WAAQ,UAASH,KAAM,EAAvB;AACH;;AACD,SAAQ,SAAQA,KAAM,EAAtB;AACH;;ACTM,eAAeO,IAAf,CAAoBP,KAApB,EAA2BQ,OAA3B,EAAoCC,KAApC,EAA2CC,UAA3C,EAAuD;AAC1D,QAAMC,QAAQ,GAAGH,OAAO,CAACG,QAAR,CAAiBC,KAAjB,CAAuBH,KAAvB,EAA8BC,UAA9B,CAAjB;AACAC,EAAAA,QAAQ,CAACE,OAAT,CAAiBC,aAAjB,GAAiCR,uBAAuB,CAACN,KAAD,CAAxD;AACA,SAAOQ,OAAO,CAACG,QAAD,CAAd;AACH;;MCHYI,eAAe,GAAG,SAASA,eAAT,CAAyBf,KAAzB,EAAgC;AAC3D,MAAI,CAACA,KAAL,EAAY;AACR,UAAM,IAAIgB,KAAJ,CAAU,0DAAV,CAAN;AACH;;AACD,MAAI,OAAOhB,KAAP,KAAiB,QAArB,EAA+B;AAC3B,UAAM,IAAIgB,KAAJ,CAAU,uEAAV,CAAN;AACH;;AACDhB,EAAAA,KAAK,GAAGA,KAAK,CAACiB,OAAN,CAAc,oBAAd,EAAoC,EAApC,CAAR;AACA,SAAOC,MAAM,CAACC,MAAP,CAAcpB,IAAI,CAACqB,IAAL,CAAU,IAAV,EAAgBpB,KAAhB,CAAd,EAAsC;AACzCO,IAAAA,IAAI,EAAEA,IAAI,CAACa,IAAL,CAAU,IAAV,EAAgBpB,KAAhB;AADmC,GAAtC,CAAP;AAGH,CAXM;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/auth-token/dist-src/auth.js b/node_modules/@octokit/auth-token/dist-src/auth.js
deleted file mode 100644
index 2d5005c22f..0000000000
--- a/node_modules/@octokit/auth-token/dist-src/auth.js
+++ /dev/null
@@ -1,12 +0,0 @@
-export async function auth(token) {
- const tokenType = token.split(/\./).length === 3
- ? "app"
- : /^v\d+\./.test(token)
- ? "installation"
- : "oauth";
- return {
- type: "token",
- token: token,
- tokenType
- };
-}
diff --git a/node_modules/@octokit/auth-token/dist-src/hook.js b/node_modules/@octokit/auth-token/dist-src/hook.js
deleted file mode 100644
index f8e47f0c29..0000000000
--- a/node_modules/@octokit/auth-token/dist-src/hook.js
+++ /dev/null
@@ -1,6 +0,0 @@
-import { withAuthorizationPrefix } from "./with-authorization-prefix";
-export async function hook(token, request, route, parameters) {
- const endpoint = request.endpoint.merge(route, parameters);
- endpoint.headers.authorization = withAuthorizationPrefix(token);
- return request(endpoint);
-}
diff --git a/node_modules/@octokit/auth-token/dist-src/index.js b/node_modules/@octokit/auth-token/dist-src/index.js
deleted file mode 100644
index 114fd45541..0000000000
--- a/node_modules/@octokit/auth-token/dist-src/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import { auth } from "./auth";
-import { hook } from "./hook";
-export 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)
- });
-};
diff --git a/node_modules/@octokit/auth-token/dist-src/types.js b/node_modules/@octokit/auth-token/dist-src/types.js
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js b/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js
deleted file mode 100644
index 90358136ed..0000000000
--- a/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Prefix token for usage in the Authorization header
- *
- * @param token OAuth token or JSON Web Token
- */
-export function withAuthorizationPrefix(token) {
- if (token.split(/\./).length === 3) {
- return `bearer ${token}`;
- }
- return `token ${token}`;
-}
diff --git a/node_modules/@octokit/auth-token/dist-types/auth.d.ts b/node_modules/@octokit/auth-token/dist-types/auth.d.ts
deleted file mode 100644
index dc41835858..0000000000
--- a/node_modules/@octokit/auth-token/dist-types/auth.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { Token, Authentication } from "./types";
-export declare function auth(token: Token): Promise;
diff --git a/node_modules/@octokit/auth-token/dist-types/hook.d.ts b/node_modules/@octokit/auth-token/dist-types/hook.d.ts
deleted file mode 100644
index 21e4b6fcd3..0000000000
--- a/node_modules/@octokit/auth-token/dist-types/hook.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { AnyResponse, EndpointOptions, RequestInterface, RequestParameters, Route, Token } from "./types";
-export declare function hook(token: Token, request: RequestInterface, route: Route | EndpointOptions, parameters?: RequestParameters): Promise;
diff --git a/node_modules/@octokit/auth-token/dist-types/index.d.ts b/node_modules/@octokit/auth-token/dist-types/index.d.ts
deleted file mode 100644
index 5999429371..0000000000
--- a/node_modules/@octokit/auth-token/dist-types/index.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { StrategyInterface, Token, Authentication } from "./types";
-export declare type Types = {
- StrategyOptions: Token;
- AuthOptions: never;
- Authentication: Authentication;
-};
-export declare const createTokenAuth: StrategyInterface;
diff --git a/node_modules/@octokit/auth-token/dist-types/types.d.ts b/node_modules/@octokit/auth-token/dist-types/types.d.ts
deleted file mode 100644
index 53a4ab1126..0000000000
--- a/node_modules/@octokit/auth-token/dist-types/types.d.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import * as OctokitTypes from "@octokit/types";
-export declare type AnyResponse = OctokitTypes.OctokitResponse;
-export declare type StrategyInterface = OctokitTypes.StrategyInterface<[Token], [], Authentication>;
-export declare type EndpointDefaults = OctokitTypes.EndpointDefaults;
-export declare type EndpointOptions = OctokitTypes.EndpointOptions;
-export declare type RequestParameters = OctokitTypes.RequestParameters;
-export declare type RequestInterface = OctokitTypes.RequestInterface;
-export declare type Route = OctokitTypes.Route;
-export declare type Token = string;
-export declare type OAuthTokenAuthentication = {
- type: "token";
- tokenType: "oauth";
- token: Token;
-};
-export declare type InstallationTokenAuthentication = {
- type: "token";
- tokenType: "installation";
- token: Token;
-};
-export declare type AppAuthentication = {
- type: "token";
- tokenType: "app";
- token: Token;
-};
-export declare type Authentication = OAuthTokenAuthentication | InstallationTokenAuthentication | AppAuthentication;
diff --git a/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts b/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts
deleted file mode 100644
index 2e52c31db4..0000000000
--- a/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Prefix token for usage in the Authorization header
- *
- * @param token OAuth token or JSON Web Token
- */
-export declare function withAuthorizationPrefix(token: string): string;
diff --git a/node_modules/@octokit/auth-token/dist-web/index.js b/node_modules/@octokit/auth-token/dist-web/index.js
deleted file mode 100644
index c15ca12223..0000000000
--- a/node_modules/@octokit/auth-token/dist-web/index.js
+++ /dev/null
@@ -1,46 +0,0 @@
-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)
- });
-};
-
-export { createTokenAuth };
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/auth-token/dist-web/index.js.map b/node_modules/@octokit/auth-token/dist-web/index.js.map
deleted file mode 100644
index 60de4a6be3..0000000000
--- a/node_modules/@octokit/auth-token/dist-web/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/auth.js","../dist-src/with-authorization-prefix.js","../dist-src/hook.js","../dist-src/index.js"],"sourcesContent":["export async function auth(token) {\n const tokenType = token.split(/\\./).length === 3\n ? \"app\"\n : /^v\\d+\\./.test(token)\n ? \"installation\"\n : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n","/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nexport function withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n return `token ${token}`;\n}\n","import { withAuthorizationPrefix } from \"./with-authorization-prefix\";\nexport async function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n","import { auth } from \"./auth\";\nimport { hook } from \"./hook\";\nexport const createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n"],"names":[],"mappings":"AAAO,eAAe,IAAI,CAAC,KAAK,EAAE;AAClC,IAAI,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC;AACpD,UAAU,KAAK;AACf,UAAU,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC;AAC/B,cAAc,cAAc;AAC5B,cAAc,OAAO,CAAC;AACtB,IAAI,OAAO;AACX,QAAQ,IAAI,EAAE,OAAO;AACrB,QAAQ,KAAK,EAAE,KAAK;AACpB,QAAQ,SAAS;AACjB,KAAK,CAAC;AACN;;ACXA;AACA;AACA;AACA;AACA;AACA,AAAO,SAAS,uBAAuB,CAAC,KAAK,EAAE;AAC/C,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACxC,QAAQ,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;AACjC,KAAK;AACL,IAAI,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;AAC5B,CAAC;;ACTM,eAAe,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE;AAC9D,IAAI,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAC/D,IAAI,QAAQ,CAAC,OAAO,CAAC,aAAa,GAAG,uBAAuB,CAAC,KAAK,CAAC,CAAC;AACpE,IAAI,OAAO,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC;;ACHW,MAAC,eAAe,GAAG,SAAS,eAAe,CAAC,KAAK,EAAE;AAC/D,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;AACpF,KAAK;AACL,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACnC,QAAQ,MAAM,IAAI,KAAK,CAAC,uEAAuE,CAAC,CAAC;AACjG,KAAK;AACL,IAAI,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;AACpD,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE;AACjD,QAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC;AACpC,KAAK,CAAC,CAAC;AACP,CAAC;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/auth-token/package.json b/node_modules/@octokit/auth-token/package.json
deleted file mode 100644
index 828e2009b4..0000000000
--- a/node_modules/@octokit/auth-token/package.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "name": "@octokit/auth-token",
- "description": "GitHub API token authentication for browsers and Node.js",
- "version": "2.4.2",
- "license": "MIT",
- "files": [
- "dist-*/",
- "bin/"
- ],
- "pika": true,
- "sideEffects": false,
- "keywords": [
- "github",
- "octokit",
- "authentication",
- "api"
- ],
- "homepage": "https://github.com/octokit/auth-token.js#readme",
- "bugs": {
- "url": "https://github.com/octokit/auth-token.js/issues"
- },
- "repository": "https://github.com/octokit/auth-token.js",
- "dependencies": {
- "@octokit/types": "^5.0.0"
- },
- "devDependencies": {
- "@octokit/core": "^2.2.0",
- "@octokit/request": "^5.3.0",
- "@pika/pack": "^0.5.0",
- "@pika/plugin-build-node": "^0.9.0",
- "@pika/plugin-build-web": "^0.9.0",
- "@pika/plugin-ts-standard-pkg": "^0.9.0",
- "@types/fetch-mock": "^7.3.1",
- "@types/jest": "^26.0.0",
- "fetch-mock": "^9.0.0",
- "jest": "^25.1.0",
- "semantic-release": "^17.0.0",
- "ts-jest": "^25.1.0",
- "typescript": "^3.7.2"
- },
- "publishConfig": {
- "access": "public"
- },
- "source": "dist-src/index.js",
- "types": "dist-types/index.d.ts",
- "main": "dist-node/index.js",
- "module": "dist-web/index.js"
-
-,"_resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.2.tgz"
-,"_integrity": "sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ=="
-,"_from": "@octokit/auth-token@2.4.2"
-}
\ No newline at end of file
diff --git a/node_modules/@octokit/core/LICENSE b/node_modules/@octokit/core/LICENSE
deleted file mode 100644
index ef2c18ee5b..0000000000
--- a/node_modules/@octokit/core/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/core/README.md b/node_modules/@octokit/core/README.md
deleted file mode 100644
index 8eb966c57e..0000000000
--- a/node_modules/@octokit/core/README.md
+++ /dev/null
@@ -1,406 +0,0 @@
-# core.js
-
-> Extendable client for GitHub's REST & GraphQL APIs
-
-[](https://www.npmjs.com/package/@octokit/core)
-[](https://github.com/octokit/core.js/actions?query=workflow%3ATest)
-
-
-
-- [Usage](#usage)
- - [REST API example](#rest-api-example)
- - [GraphQL example](#graphql-example)
-- [Options](#options)
-- [Defaults](#defaults)
-- [Authentication](#authentication)
-- [Logging](#logging)
-- [Hooks](#hooks)
-- [Plugins](#plugins)
-- [Build your own Octokit with Plugins and Defaults](#build-your-own-octokit-with-plugins-and-defaults)
-- [LICENSE](#license)
-
-
-
-If you need a minimalistic library to utilize GitHub's [REST API](https://developer.github.com/v3/) and [GraphQL API](https://developer.github.com/v4/) which you can extend with plugins as needed, than `@octokit/core` is a great starting point.
-
-If you don't need the Plugin API then using [`@octokit/request`](https://github.com/octokit/request.js/) or [`@octokit/graphql`](https://github.com/octokit/graphql.js/) directly is a good alternative.
-
-## Usage
-
-
-
-
-Browsers
-
-Load @octokit/core
directly from cdn.pika.dev
-
-```html
-
-```
-
-
-
-Node
-
-
-Install with npm install @octokit/core
-
-```js
-const { Octokit } = require("@octokit/core");
-// or: import { Octokit } from "@octokit/core";
-```
-
-
-
-
-
-### REST API example
-
-```js
-// Create a personal access token at https://github.com/settings/tokens/new?scopes=repo
-const octokit = new Octokit({ auth: `personal-access-token123` });
-
-const response = await octokit.request("GET /orgs/:org/repos", {
- org: "octokit",
- type: "private",
-});
-```
-
-See [`@octokit/request`](https://github.com/octokit/request.js) for full documentation of the `.request` method.
-
-### GraphQL example
-
-```js
-const octokit = new Octokit({ auth: `secret123` });
-
-const response = await octokit.graphql(
- `query ($login: String!) {
- organization(login: $login) {
- repositories(privacy: PRIVATE) {
- totalCount
- }
- }
- }`,
- { login: "octokit" }
-);
-```
-
-See [`@octokit/graphql`](https://github.com/octokit/graphql.js) for full documentation of the `.graphql` method.
-
-## Options
-
-
-
-
-
- name
-
-
- type
-
-
- description
-
-
-
-
-
-
- options.authStrategy
-
-
- Function
-
-
- Defaults to @octokit/auth-token
. See Authentication below for examples.
-
-
-
-
- options.auth
-
-
- String
or Object
-
-
- See Authentication below for examples.
-
-
-
-
- options.baseUrl
-
-
- String
-
-
-
-When using with GitHub Enterprise Server, set `options.baseUrl` to the root URL of the API. For example, if your GitHub Enterprise Server's hostname is `github.acme-inc.com`, then set `options.baseUrl` to `https://github.acme-inc.com/api/v3`. Example
-
-```js
-const octokit = new Octokit({
- baseUrl: "https://github.acme-inc.com/api/v3",
-});
-```
-
-
-
-
- options.previews
-
-
- Array of Strings
-
-
-
-Some REST API endpoints require preview headers to be set, or enable
-additional features. Preview headers can be set on a per-request basis, e.g.
-
-```js
-octokit.request("POST /repos/:owner/:repo/pulls", {
- mediaType: {
- previews: ["shadow-cat"],
- },
- owner,
- repo,
- title: "My pull request",
- base: "master",
- head: "my-feature",
- draft: true,
-});
-```
-
-You can also set previews globally, by setting the `options.previews` option on the constructor. Example:
-
-```js
-const octokit = new Octokit({
- previews: ["shadow-cat"],
-});
-```
-
-
-
-
- options.request
-
-
- Object
-
-
-
-Set a default request timeout (`options.request.timeout`) or an [`http(s).Agent`](https://nodejs.org/api/http.html#http_class_http_agent) e.g. for proxy usage (Node only, `options.request.agent`).
-
-There are more `options.request.*` options, see [`@octokit/request` options](https://github.com/octokit/request.js#request). `options.request` can also be set on a per-request basis.
-
-
-
-
- options.timeZone
-
-
- String
-
-
-
-Sets the `Time-Zone` header which defines a timezone according to the [list of names from the Olson database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
-
-```js
-const octokit = new Octokit({
- timeZone: "America/Los_Angeles",
-});
-```
-
-The time zone header will determine the timezone used for generating the timestamp when creating commits. See [GitHub's Timezones documentation](https://developer.github.com/v3/#timezones).
-
-
-
-
- options.userAgent
-
-
- String
-
-
-
-A custom user agent string for your app or library. Example
-
-```js
-const octokit = new Octokit({
- userAgent: "my-app/v1.2.3",
-});
-```
-
-
-
-
-
-## Defaults
-
-You can create a new Octokit class with customized default options.
-
-```js
-const MyOctokit = Octokit.defaults({
- auth: "personal-access-token123",
- baseUrl: "https://github.acme-inc.com/api/v3",
- userAgent: "my-app/v1.2.3",
-});
-const octokit1 = new MyOctokit();
-const octokit2 = new MyOctokit();
-```
-
-## Authentication
-
-Authentication is optional for some REST API endpoints accessing public data, but is required for GraphQL queries. Using authentication also increases your [API rate limit](https://developer.github.com/v3/#rate-limiting).
-
-By default, Octokit authenticates using the [token authentication strategy](https://github.com/octokit/auth-token.js). Pass in a token using `options.auth`. It can be a personal access token, an OAuth token, an installation access token or a JSON Web Token for GitHub App authentication. The `Authorization` header will be set according to the type of token.
-
-```js
-import { Octokit } from "@octokit/core";
-
-const octokit = new Octokit({
- auth: "mypersonalaccesstoken123",
-});
-
-const { data } = await octokit.request("/user");
-```
-
-To use a different authentication strategy, set `options.authStrategy`. A set of officially supported authentication strategies can be retrieved from [`@octokit/auth`](https://github.com/octokit/auth-app.js#readme). Example
-
-```js
-import { Octokit } from "@octokit/core";
-import { createAppAuth } from "@octokit/auth-app";
-
-const appOctokit = new Octokit({
- authStrategy: createAppAuth,
- auth: {
- id: 123,
- privateKey: process.env.PRIVATE_KEY,
- },
-});
-
-const { data } = await appOctokit.request("/app");
-```
-
-The `.auth()` method returned by the current authentication strategy can be accessed at `octokit.auth()`. Example
-
-```js
-const { token } = await appOctokit.auth({
- type: "installation",
- installationId: 123,
-});
-```
-
-## Logging
-
-There are four built-in log methods
-
-1. `octokit.log.debug(message[, additionalInfo])`
-1. `octokit.log.info(message[, additionalInfo])`
-1. `octokit.log.warn(message[, additionalInfo])`
-1. `octokit.log.error(message[, additionalInfo])`
-
-They can be configured using the [`log` client option](client-options). By default, `octokit.log.debug()` and `octokit.log.info()` are no-ops, while the other two call `console.warn()` and `console.error()` respectively.
-
-This is useful if you build reusable [plugins](#plugins).
-
-If you would like to make the log level configurable using an environment variable or external option, we recommend the [console-log-level](https://github.com/watson/console-log-level) package. Example
-
-```js
-const octokit = new Octokit({
- log: require("console-log-level")({ level: "info" }),
-});
-```
-
-## Hooks
-
-You can customize Octokit's request lifecycle with hooks.
-
-```js
-octokit.hook.before("request", async (options) => {
- validate(options);
-});
-octokit.hook.after("request", async (response, options) => {
- console.log(`${options.method} ${options.url}: ${response.status}`);
-});
-octokit.hook.error("request", async (error, options) => {
- if (error.status === 304) {
- return findInCache(error.headers.etag);
- }
-
- throw error;
-});
-octokit.hook.wrap("request", async (request, options) => {
- // add logic before, after, catch errors or replace the request altogether
- return request(options);
-});
-```
-
-See [before-after-hook](https://github.com/gr2m/before-after-hook#readme) for more documentation on hooks.
-
-## Plugins
-
-Octokit’s functionality can be extended using plugins. The `Octokit.plugin()` method accepts a plugin (or many) and returns a new constructor.
-
-A plugin is a function which gets two arguments:
-
-1. the current instance
-2. the options passed to the constructor.
-
-In order to extend `octokit`'s API, the plugin must return an object with the new methods.
-
-```js
-// index.js
-const { Octokit } = require("@octokit/core")
-const MyOctokit = Octokit.plugin(
- require("./lib/my-plugin"),
- require("octokit-plugin-example")
-);
-
-const octokit = new MyOctokit({ greeting: "Moin moin" });
-octokit.helloWorld(); // logs "Moin moin, world!"
-octokit.request("GET /"); // logs "GET / - 200 in 123ms"
-
-// lib/my-plugin.js
-module.exports = (octokit, options = { greeting: "Hello" }) => {
- // hook into the request lifecycle
- octokit.hook.wrap("request", async (request, options) => {
- const time = Date.now();
- const response = await request(options);
- console.log(
- `${options.method} ${options.url} – ${response.status} in ${Date.now() -
- time}ms`
- );
- return response;
- });
-
- // add a custom method
- return {
- helloWorld: () => console.log(`${options.greeting}, world!`);
- }
-};
-```
-
-## Build your own Octokit with Plugins and Defaults
-
-You can build your own Octokit class with preset default options and plugins. In fact, this is mostly how the `@octokit/` modules work, such as [`@octokit/action`](https://github.com/octokit/action.js):
-
-```js
-const { Octokit } = require("@octokit/core");
-const MyActionOctokit = Octokit.plugin(
- require("@octokit/plugin-paginate"),
- require("@octokit/plugin-throttle"),
- require("@octokit/plugin-retry")
-).defaults({
- authStrategy: require("@octokit/auth-action"),
- userAgent: `my-octokit-action/v1.2.3`,
-});
-
-const octokit = new MyActionOctokit();
-const installations = await octokit.paginate("GET /app/installations");
-```
-
-## LICENSE
-
-[MIT](LICENSE)
diff --git a/node_modules/@octokit/core/dist-node/index.js b/node_modules/@octokit/core/dist-node/index.js
deleted file mode 100644
index 5b3bb74e3d..0000000000
--- a/node_modules/@octokit/core/dist-node/index.js
+++ /dev/null
@@ -1,175 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-var universalUserAgent = require('universal-user-agent');
-var beforeAfterHook = require('before-after-hook');
-var request = require('@octokit/request');
-var graphql = require('@octokit/graphql');
-var authToken = require('@octokit/auth-token');
-
-function _defineProperty(obj, key, value) {
- if (key in obj) {
- Object.defineProperty(obj, key, {
- value: value,
- enumerable: true,
- configurable: true,
- writable: true
- });
- } else {
- obj[key] = value;
- }
-
- return obj;
-}
-
-function ownKeys(object, enumerableOnly) {
- var keys = Object.keys(object);
-
- if (Object.getOwnPropertySymbols) {
- var symbols = Object.getOwnPropertySymbols(object);
- if (enumerableOnly) symbols = symbols.filter(function (sym) {
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
- });
- keys.push.apply(keys, symbols);
- }
-
- return keys;
-}
-
-function _objectSpread2(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i] != null ? arguments[i] : {};
-
- if (i % 2) {
- ownKeys(Object(source), true).forEach(function (key) {
- _defineProperty(target, key, source[key]);
- });
- } else if (Object.getOwnPropertyDescriptors) {
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
- } else {
- ownKeys(Object(source)).forEach(function (key) {
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
- });
- }
- }
-
- return target;
-}
-
-const VERSION = "2.5.4";
-
-class Octokit {
- constructor(options = {}) {
- const hook = new beforeAfterHook.Collection();
- const requestDefaults = {
- baseUrl: request.request.endpoint.DEFAULTS.baseUrl,
- headers: {},
- request: Object.assign({}, options.request, {
- hook: hook.bind(null, "request")
- }),
- mediaType: {
- previews: [],
- format: ""
- }
- }; // prepend default user agent with `options.userAgent` if set
-
- requestDefaults.headers["user-agent"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(" ");
-
- if (options.baseUrl) {
- requestDefaults.baseUrl = options.baseUrl;
- }
-
- if (options.previews) {
- requestDefaults.mediaType.previews = options.previews;
- }
-
- if (options.timeZone) {
- requestDefaults.headers["time-zone"] = options.timeZone;
- }
-
- this.request = request.request.defaults(requestDefaults);
- this.graphql = graphql.withCustomRequest(this.request).defaults(_objectSpread2(_objectSpread2({}, requestDefaults), {}, {
- baseUrl: requestDefaults.baseUrl.replace(/\/api\/v3$/, "/api")
- }));
- this.log = Object.assign({
- debug: () => {},
- info: () => {},
- warn: console.warn.bind(console),
- error: console.error.bind(console)
- }, options.log);
- this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance
- // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred.
- // (2) If only `options.auth` is set, use the default token authentication strategy.
- // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.
- // TODO: type `options.auth` based on `options.authStrategy`.
-
- if (!options.authStrategy) {
- if (!options.auth) {
- // (1)
- this.auth = async () => ({
- type: "unauthenticated"
- });
- } else {
- // (2)
- const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\_(ツ)_/¯
-
- hook.wrap("request", auth.hook);
- this.auth = auth;
- }
- } else {
- const auth = options.authStrategy(Object.assign({
- request: this.request
- }, options.auth)); // @ts-ignore ¯\_(ツ)_/¯
-
- hook.wrap("request", auth.hook);
- this.auth = auth;
- } // apply plugins
- // https://stackoverflow.com/a/16345172
-
-
- const classConstructor = this.constructor;
- classConstructor.plugins.forEach(plugin => {
- Object.assign(this, plugin(this, options));
- });
- }
-
- static defaults(defaults) {
- const OctokitWithDefaults = class extends this {
- constructor(...args) {
- const options = args[0] || {};
- super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? {
- userAgent: `${options.userAgent} ${defaults.userAgent}`
- } : null));
- }
-
- };
- return OctokitWithDefaults;
- }
- /**
- * Attach a plugin (or many) to your Octokit instance.
- *
- * @example
- * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)
- */
-
-
- static plugin(p1, ...p2) {
- var _a;
-
- if (p1 instanceof Array) {
- console.warn(["Passing an array of plugins to Octokit.plugin() has been deprecated.", "Instead of:", " Octokit.plugin([plugin1, plugin2, ...])", "Use:", " Octokit.plugin(plugin1, plugin2, ...)"].join("\n"));
- }
-
- const currentPlugins = this.plugins;
- let newPlugins = [...(p1 instanceof Array ? p1 : [p1]), ...p2];
- const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a);
- return NewOctokit;
- }
-
-}
-Octokit.VERSION = VERSION;
-Octokit.plugins = [];
-
-exports.Octokit = Octokit;
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/core/dist-node/index.js.map b/node_modules/@octokit/core/dist-node/index.js.map
deleted file mode 100644
index b7000caed7..0000000000
--- a/node_modules/@octokit/core/dist-node/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.5.4\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version\";\nexport class Octokit {\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n hook: hook.bind(null, \"request\"),\n }),\n mediaType: {\n previews: [],\n format: \"\",\n },\n };\n // prepend default user agent with `options.userAgent` if set\n requestDefaults.headers[\"user-agent\"] = [\n options.userAgent,\n `octokit-core.js/${VERSION} ${getUserAgent()}`,\n ]\n .filter(Boolean)\n .join(\" \");\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults({\n ...requestDefaults,\n baseUrl: requestDefaults.baseUrl.replace(/\\/api\\/v3$/, \"/api\"),\n });\n this.log = Object.assign({\n debug: () => { },\n info: () => { },\n warn: console.warn.bind(console),\n error: console.error.bind(console),\n }, options.log);\n this.hook = hook;\n // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\",\n });\n }\n else {\n // (2)\n const auth = createTokenAuth(options.auth);\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n }\n else {\n const auth = options.authStrategy(Object.assign({\n request: this.request,\n }, options.auth));\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n // apply plugins\n // https://stackoverflow.com/a/16345172\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach((plugin) => {\n Object.assign(this, plugin(this, options));\n });\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent\n ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`,\n }\n : null));\n }\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(p1, ...p2) {\n var _a;\n if (p1 instanceof Array) {\n console.warn([\n \"Passing an array of plugins to Octokit.plugin() has been deprecated.\",\n \"Instead of:\",\n \" Octokit.plugin([plugin1, plugin2, ...])\",\n \"Use:\",\n \" Octokit.plugin(plugin1, plugin2, ...)\",\n ].join(\"\\n\"));\n }\n const currentPlugins = this.plugins;\n let newPlugins = [\n ...(p1 instanceof Array\n ? p1\n : [p1]),\n ...p2,\n ];\n const NewOctokit = (_a = class extends this {\n },\n _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))),\n _a);\n return NewOctokit;\n }\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n"],"names":["VERSION","Octokit","constructor","options","hook","Collection","requestDefaults","baseUrl","request","endpoint","DEFAULTS","headers","Object","assign","bind","mediaType","previews","format","userAgent","getUserAgent","filter","Boolean","join","timeZone","defaults","graphql","withCustomRequest","replace","log","debug","info","warn","console","error","authStrategy","auth","type","createTokenAuth","wrap","classConstructor","plugins","forEach","plugin","OctokitWithDefaults","args","p1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,GAAG,CACb,IAAIL,EAAE,YAAYG,KAAd,GACEH,EADF,GAEE,CAACA,EAAD,CAFN,CADa,EAIb,GAAGC,EAJU,CAAjB;AAMA,UAAMK,UAAU,IAAIJ,EAAE,GAAG,cAAc,IAAd,CAAmB,EAAxB,EAEhBA,EAAE,CAACP,OAAH,GAAaS,cAAc,CAACG,MAAf,CAAsBF,UAAU,CAAC9B,MAAX,CAAmBsB,MAAD,IAAY,CAACO,cAAc,CAACI,QAAf,CAAwBX,MAAxB,CAA/B,CAAtB,CAFG,EAGhBK,EAHY,CAAhB;AAIA,WAAOI,UAAP;AACH;;AAvHgB;AAyHrBlD,OAAO,CAACD,OAAR,GAAkBA,OAAlB;AACAC,OAAO,CAACuC,OAAR,GAAkB,EAAlB;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/core/dist-src/index.js b/node_modules/@octokit/core/dist-src/index.js
deleted file mode 100644
index 6294e9671e..0000000000
--- a/node_modules/@octokit/core/dist-src/index.js
+++ /dev/null
@@ -1,129 +0,0 @@
-import { getUserAgent } from "universal-user-agent";
-import { Collection } from "before-after-hook";
-import { request } from "@octokit/request";
-import { withCustomRequest } from "@octokit/graphql";
-import { createTokenAuth } from "@octokit/auth-token";
-import { VERSION } from "./version";
-export class Octokit {
- constructor(options = {}) {
- const hook = new Collection();
- const requestDefaults = {
- baseUrl: request.endpoint.DEFAULTS.baseUrl,
- headers: {},
- request: Object.assign({}, options.request, {
- hook: hook.bind(null, "request"),
- }),
- mediaType: {
- previews: [],
- format: "",
- },
- };
- // prepend default user agent with `options.userAgent` if set
- requestDefaults.headers["user-agent"] = [
- options.userAgent,
- `octokit-core.js/${VERSION} ${getUserAgent()}`,
- ]
- .filter(Boolean)
- .join(" ");
- if (options.baseUrl) {
- requestDefaults.baseUrl = options.baseUrl;
- }
- if (options.previews) {
- requestDefaults.mediaType.previews = options.previews;
- }
- if (options.timeZone) {
- requestDefaults.headers["time-zone"] = options.timeZone;
- }
- this.request = request.defaults(requestDefaults);
- this.graphql = withCustomRequest(this.request).defaults({
- ...requestDefaults,
- baseUrl: requestDefaults.baseUrl.replace(/\/api\/v3$/, "/api"),
- });
- this.log = Object.assign({
- debug: () => { },
- info: () => { },
- warn: console.warn.bind(console),
- error: console.error.bind(console),
- }, options.log);
- this.hook = hook;
- // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance
- // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred.
- // (2) If only `options.auth` is set, use the default token authentication strategy.
- // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.
- // TODO: type `options.auth` based on `options.authStrategy`.
- if (!options.authStrategy) {
- if (!options.auth) {
- // (1)
- this.auth = async () => ({
- type: "unauthenticated",
- });
- }
- else {
- // (2)
- const auth = createTokenAuth(options.auth);
- // @ts-ignore ¯\_(ツ)_/¯
- hook.wrap("request", auth.hook);
- this.auth = auth;
- }
- }
- else {
- const auth = options.authStrategy(Object.assign({
- request: this.request,
- }, options.auth));
- // @ts-ignore ¯\_(ツ)_/¯
- hook.wrap("request", auth.hook);
- this.auth = auth;
- }
- // apply plugins
- // https://stackoverflow.com/a/16345172
- const classConstructor = this.constructor;
- classConstructor.plugins.forEach((plugin) => {
- Object.assign(this, plugin(this, options));
- });
- }
- static defaults(defaults) {
- const OctokitWithDefaults = class extends this {
- constructor(...args) {
- const options = args[0] || {};
- super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent
- ? {
- userAgent: `${options.userAgent} ${defaults.userAgent}`,
- }
- : null));
- }
- };
- return OctokitWithDefaults;
- }
- /**
- * Attach a plugin (or many) to your Octokit instance.
- *
- * @example
- * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)
- */
- static plugin(p1, ...p2) {
- var _a;
- if (p1 instanceof Array) {
- console.warn([
- "Passing an array of plugins to Octokit.plugin() has been deprecated.",
- "Instead of:",
- " Octokit.plugin([plugin1, plugin2, ...])",
- "Use:",
- " Octokit.plugin(plugin1, plugin2, ...)",
- ].join("\n"));
- }
- const currentPlugins = this.plugins;
- let newPlugins = [
- ...(p1 instanceof Array
- ? p1
- : [p1]),
- ...p2,
- ];
- const NewOctokit = (_a = class extends this {
- },
- _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))),
- _a);
- return NewOctokit;
- }
-}
-Octokit.VERSION = VERSION;
-Octokit.plugins = [];
diff --git a/node_modules/@octokit/core/dist-src/types.js b/node_modules/@octokit/core/dist-src/types.js
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/node_modules/@octokit/core/dist-src/version.js b/node_modules/@octokit/core/dist-src/version.js
deleted file mode 100644
index 84ad33c4eb..0000000000
--- a/node_modules/@octokit/core/dist-src/version.js
+++ /dev/null
@@ -1 +0,0 @@
-export const VERSION = "2.5.4";
diff --git a/node_modules/@octokit/core/dist-types/index.d.ts b/node_modules/@octokit/core/dist-types/index.d.ts
deleted file mode 100644
index 9bfa79ef57..0000000000
--- a/node_modules/@octokit/core/dist-types/index.d.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-import { HookCollection } from "before-after-hook";
-import { request } from "@octokit/request";
-import { graphql } from "@octokit/graphql";
-import { Constructor, OctokitOptions, OctokitPlugin, ReturnTypeOf, UnionToIntersection } from "./types";
-export declare class Octokit {
- static VERSION: string;
- static defaults>(this: S, defaults: OctokitOptions): {
- new (...args: any[]): {
- [x: string]: any;
- };
- } & S;
- static plugins: OctokitPlugin[];
- /**
- * Attach a plugin (or many) to your Octokit instance.
- *
- * @example
- * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)
- */
- static plugin & {
- plugins: any[];
- }, T1 extends OctokitPlugin | OctokitPlugin[], T2 extends OctokitPlugin[]>(this: S, p1: T1, ...p2: T2): {
- new (...args: any[]): {
- [x: string]: any;
- };
- plugins: any[];
- } & S & Constructor & ReturnTypeOf>>;
- constructor(options?: OctokitOptions);
- request: typeof request;
- graphql: typeof graphql;
- log: {
- debug: (message: string, additionalInfo?: object) => any;
- info: (message: string, additionalInfo?: object) => any;
- warn: (message: string, additionalInfo?: object) => any;
- error: (message: string, additionalInfo?: object) => any;
- [key: string]: any;
- };
- hook: HookCollection;
- auth: (...args: unknown[]) => Promise;
- [key: string]: any;
-}
diff --git a/node_modules/@octokit/core/dist-types/types.d.ts b/node_modules/@octokit/core/dist-types/types.d.ts
deleted file mode 100644
index 447d8c60d5..0000000000
--- a/node_modules/@octokit/core/dist-types/types.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import * as OctokitTypes from "@octokit/types";
-import { Octokit } from ".";
-export declare type RequestParameters = OctokitTypes.RequestParameters;
-export declare type OctokitOptions = {
- authStrategy?: any;
- auth?: any;
- request?: OctokitTypes.RequestRequestOptions;
- timeZone?: string;
- [option: string]: any;
-};
-export declare type Constructor = new (...args: any[]) => T;
-export declare type ReturnTypeOf = T extends AnyFunction ? ReturnType : T extends AnyFunction[] ? UnionToIntersection> : never;
-/**
- * @author https://stackoverflow.com/users/2887218/jcalz
- * @see https://stackoverflow.com/a/50375286/10325032
- */
-export declare type UnionToIntersection = (Union extends any ? (argument: Union) => void : never) extends (argument: infer Intersection) => void ? Intersection : never;
-declare type AnyFunction = (...args: any) => any;
-export declare type OctokitPlugin = (octokit: Octokit, options: OctokitOptions) => {
- [key: string]: any;
-} | void;
-export {};
diff --git a/node_modules/@octokit/core/dist-types/version.d.ts b/node_modules/@octokit/core/dist-types/version.d.ts
deleted file mode 100644
index 829817ca94..0000000000
--- a/node_modules/@octokit/core/dist-types/version.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const VERSION = "2.5.4";
diff --git a/node_modules/@octokit/core/dist-web/index.js b/node_modules/@octokit/core/dist-web/index.js
deleted file mode 100644
index 76e2e628e3..0000000000
--- a/node_modules/@octokit/core/dist-web/index.js
+++ /dev/null
@@ -1,134 +0,0 @@
-import { getUserAgent } from 'universal-user-agent';
-import { Collection } from 'before-after-hook';
-import { request } from '@octokit/request';
-import { withCustomRequest } from '@octokit/graphql';
-import { createTokenAuth } from '@octokit/auth-token';
-
-const VERSION = "2.5.4";
-
-class Octokit {
- constructor(options = {}) {
- const hook = new Collection();
- const requestDefaults = {
- baseUrl: request.endpoint.DEFAULTS.baseUrl,
- headers: {},
- request: Object.assign({}, options.request, {
- hook: hook.bind(null, "request"),
- }),
- mediaType: {
- previews: [],
- format: "",
- },
- };
- // prepend default user agent with `options.userAgent` if set
- requestDefaults.headers["user-agent"] = [
- options.userAgent,
- `octokit-core.js/${VERSION} ${getUserAgent()}`,
- ]
- .filter(Boolean)
- .join(" ");
- if (options.baseUrl) {
- requestDefaults.baseUrl = options.baseUrl;
- }
- if (options.previews) {
- requestDefaults.mediaType.previews = options.previews;
- }
- if (options.timeZone) {
- requestDefaults.headers["time-zone"] = options.timeZone;
- }
- this.request = request.defaults(requestDefaults);
- this.graphql = withCustomRequest(this.request).defaults({
- ...requestDefaults,
- baseUrl: requestDefaults.baseUrl.replace(/\/api\/v3$/, "/api"),
- });
- this.log = Object.assign({
- debug: () => { },
- info: () => { },
- warn: console.warn.bind(console),
- error: console.error.bind(console),
- }, options.log);
- this.hook = hook;
- // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance
- // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred.
- // (2) If only `options.auth` is set, use the default token authentication strategy.
- // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.
- // TODO: type `options.auth` based on `options.authStrategy`.
- if (!options.authStrategy) {
- if (!options.auth) {
- // (1)
- this.auth = async () => ({
- type: "unauthenticated",
- });
- }
- else {
- // (2)
- const auth = createTokenAuth(options.auth);
- // @ts-ignore ¯\_(ツ)_/¯
- hook.wrap("request", auth.hook);
- this.auth = auth;
- }
- }
- else {
- const auth = options.authStrategy(Object.assign({
- request: this.request,
- }, options.auth));
- // @ts-ignore ¯\_(ツ)_/¯
- hook.wrap("request", auth.hook);
- this.auth = auth;
- }
- // apply plugins
- // https://stackoverflow.com/a/16345172
- const classConstructor = this.constructor;
- classConstructor.plugins.forEach((plugin) => {
- Object.assign(this, plugin(this, options));
- });
- }
- static defaults(defaults) {
- const OctokitWithDefaults = class extends this {
- constructor(...args) {
- const options = args[0] || {};
- super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent
- ? {
- userAgent: `${options.userAgent} ${defaults.userAgent}`,
- }
- : null));
- }
- };
- return OctokitWithDefaults;
- }
- /**
- * Attach a plugin (or many) to your Octokit instance.
- *
- * @example
- * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)
- */
- static plugin(p1, ...p2) {
- var _a;
- if (p1 instanceof Array) {
- console.warn([
- "Passing an array of plugins to Octokit.plugin() has been deprecated.",
- "Instead of:",
- " Octokit.plugin([plugin1, plugin2, ...])",
- "Use:",
- " Octokit.plugin(plugin1, plugin2, ...)",
- ].join("\n"));
- }
- const currentPlugins = this.plugins;
- let newPlugins = [
- ...(p1 instanceof Array
- ? p1
- : [p1]),
- ...p2,
- ];
- const NewOctokit = (_a = class extends this {
- },
- _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))),
- _a);
- return NewOctokit;
- }
-}
-Octokit.VERSION = VERSION;
-Octokit.plugins = [];
-
-export { Octokit };
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/core/dist-web/index.js.map b/node_modules/@octokit/core/dist-web/index.js.map
deleted file mode 100644
index 54ea639860..0000000000
--- a/node_modules/@octokit/core/dist-web/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.5.4\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version\";\nexport class Octokit {\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n hook: hook.bind(null, \"request\"),\n }),\n mediaType: {\n previews: [],\n format: \"\",\n },\n };\n // prepend default user agent with `options.userAgent` if set\n requestDefaults.headers[\"user-agent\"] = [\n options.userAgent,\n `octokit-core.js/${VERSION} ${getUserAgent()}`,\n ]\n .filter(Boolean)\n .join(\" \");\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults({\n ...requestDefaults,\n baseUrl: requestDefaults.baseUrl.replace(/\\/api\\/v3$/, \"/api\"),\n });\n this.log = Object.assign({\n debug: () => { },\n info: () => { },\n warn: console.warn.bind(console),\n error: console.error.bind(console),\n }, options.log);\n this.hook = hook;\n // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\",\n });\n }\n else {\n // (2)\n const auth = createTokenAuth(options.auth);\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n }\n else {\n const auth = options.authStrategy(Object.assign({\n request: this.request,\n }, options.auth));\n // @ts-ignore ¯\\_(ツ)_/¯\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n // apply plugins\n // https://stackoverflow.com/a/16345172\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach((plugin) => {\n Object.assign(this, plugin(this, options));\n });\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent\n ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`,\n }\n : null));\n }\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(p1, ...p2) {\n var _a;\n if (p1 instanceof Array) {\n console.warn([\n \"Passing an array of plugins to Octokit.plugin() has been deprecated.\",\n \"Instead of:\",\n \" Octokit.plugin([plugin1, plugin2, ...])\",\n \"Use:\",\n \" Octokit.plugin(plugin1, plugin2, ...)\",\n ].join(\"\\n\"));\n }\n const currentPlugins = this.plugins;\n let newPlugins = [\n ...(p1 instanceof Array\n ? p1\n : [p1]),\n ...p2,\n ];\n const NewOctokit = (_a = class extends this {\n },\n _a.plugins = currentPlugins.concat(newPlugins.filter((plugin) => !currentPlugins.includes(plugin))),\n _a);\n return NewOctokit;\n }\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACMnC,MAAM,OAAO,CAAC;AACrB,IAAI,WAAW,CAAC,OAAO,GAAG,EAAE,EAAE;AAC9B,QAAQ,MAAM,IAAI,GAAG,IAAI,UAAU,EAAE,CAAC;AACtC,QAAQ,MAAM,eAAe,GAAG;AAChC,YAAY,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO;AACtD,YAAY,OAAO,EAAE,EAAE;AACvB,YAAY,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,OAAO,EAAE;AACxD,gBAAgB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC;AAChD,aAAa,CAAC;AACd,YAAY,SAAS,EAAE;AACvB,gBAAgB,QAAQ,EAAE,EAA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;AACV,QAAQ,MAAM,UAAU,IAAI,EAAE,GAAG,cAAc,IAAI,CAAC;AACpD,aAAa;AACb,YAAY,EAAE,CAAC,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/G,YAAY,EAAE,CAAC,CAAC;AAChB,QAAQ,OAAO,UAAU,CAAC;AAC1B,KAAK;AACL,CAAC;AACD,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AAC1B,OAAO,CAAC,OAAO,GAAG,EAAE,CAAC;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/core/package.json b/node_modules/@octokit/core/package.json
deleted file mode 100644
index bccf3d88d4..0000000000
--- a/node_modules/@octokit/core/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "name": "@octokit/core",
- "description": "Extendable client for GitHub's REST & GraphQL APIs",
- "version": "2.5.4",
- "license": "MIT",
- "files": [
- "dist-*/",
- "bin/"
- ],
- "pika": true,
- "sideEffects": false,
- "keywords": [
- "octokit",
- "github",
- "api",
- "sdk",
- "toolkit"
- ],
- "repository": "https://github.com/octokit/core.js",
- "dependencies": {
- "@octokit/auth-token": "^2.4.0",
- "@octokit/graphql": "^4.3.1",
- "@octokit/request": "^5.4.0",
- "@octokit/types": "^5.0.0",
- "before-after-hook": "^2.1.0",
- "universal-user-agent": "^5.0.0"
- },
- "devDependencies": {
- "@octokit/auth": "^2.0.0",
- "@pika/pack": "^0.5.0",
- "@pika/plugin-build-node": "^0.9.0",
- "@pika/plugin-build-web": "^0.9.0",
- "@pika/plugin-ts-standard-pkg": "^0.9.0",
- "@types/fetch-mock": "^7.3.1",
- "@types/jest": "^26.0.0",
- "@types/lolex": "^5.1.0",
- "@types/node": "^14.0.4",
- "@types/node-fetch": "^2.5.0",
- "fetch-mock": "^9.0.0",
- "http-proxy-agent": "^4.0.1",
- "jest": "^25.1.0",
- "lolex": "^6.0.0",
- "prettier": "^2.0.4",
- "proxy": "^1.0.1",
- "semantic-release": "^17.0.0",
- "semantic-release-plugin-update-version-in-files": "^1.0.0",
- "ts-jest": "^25.1.0",
- "typescript": "^3.5.3"
- },
- "publishConfig": {
- "access": "public"
- },
- "source": "dist-src/index.js",
- "types": "dist-types/index.d.ts",
- "main": "dist-node/index.js",
- "module": "dist-web/index.js"
-
-,"_resolved": "https://registry.npmjs.org/@octokit/core/-/core-2.5.4.tgz"
-,"_integrity": "sha512-HCp8yKQfTITYK+Nd09MHzAlP1v3Ii/oCohv0/TW9rhSLvzb98BOVs2QmVYuloE6a3l6LsfyGIwb6Pc4ycgWlIQ=="
-,"_from": "@octokit/core@2.5.4"
-}
\ No newline at end of file
diff --git a/node_modules/@octokit/endpoint/LICENSE b/node_modules/@octokit/endpoint/LICENSE
deleted file mode 100644
index af5366d0d0..0000000000
--- 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 ec54be2cf6..0000000000
--- 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)
-
-
-`@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(route, options)` or `endpoint(options)`](#endpointroute-options-or-endpointoptions)
- - [`endpoint.defaults()`](#endpointdefaults)
- - [`endpoint.DEFAULTS`](#endpointdefaults)
- - [`endpoint.merge(route, options)` or `endpoint.merge(options)`](#endpointmergeroute-options-or-endpointmergeoptions)
- - [`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 common 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 15e1ecdb7d..0000000000
--- a/node_modules/@octokit/endpoint/dist-node/index.js
+++ /dev/null
@@ -1,379 +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 isPlainObject = _interopDefault(require('is-plain-object'));
-var universalUserAgent = 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 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 = "6.0.3";
-
-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
diff --git a/node_modules/@octokit/endpoint/dist-node/index.js.map b/node_modules/@octokit/endpoint/dist-node/index.js.map
deleted file mode 100644
index 4b06727d0a..0000000000
--- a/node_modules/@octokit/endpoint/dist-node/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/util/lowercase-keys.js","../dist-src/util/merge-deep.js","../dist-src/merge.js","../dist-src/util/add-query-parameters.js","../dist-src/util/extract-url-variable-names.js","../dist-src/util/omit.js","../dist-src/util/url-template.js","../dist-src/parse.js","../dist-src/endpoint-with-defaults.js","../dist-src/with-defaults.js","../dist-src/version.js","../dist-src/defaults.js","../dist-src/index.js"],"sourcesContent":["export function lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n","import isPlainObject from \"is-plain-object\";\nexport function mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach((key) => {\n if (isPlainObject(options[key])) {\n if (!(key in defaults))\n Object.assign(result, { [key]: options[key] });\n else\n result[key] = mergeDeep(defaults[key], options[key]);\n }\n else {\n Object.assign(result, { [key]: options[key] });\n }\n });\n return result;\n}\n","import { lowercaseKeys } from \"./util/lowercase-keys\";\nimport { mergeDeep } from \"./util/merge-deep\";\nexport function merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? { method, url } : { url: method }, options);\n }\n else {\n options = Object.assign({}, route);\n }\n // lowercase header names before merging with defaults to avoid duplicates\n options.headers = lowercaseKeys(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options);\n // mediaType.previews arrays are merged, instead of overwritten\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews\n .filter((preview) => !mergedOptions.mediaType.previews.includes(preview))\n .concat(mergedOptions.mediaType.previews);\n }\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n","export function addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n if (names.length === 0) {\n return url;\n }\n return (url +\n separator +\n names\n .map((name) => {\n if (name === \"q\") {\n return (\"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\"));\n }\n return `${name}=${encodeURIComponent(parameters[name])}`;\n })\n .join(\"&\"));\n}\n","const urlVariableRegex = /\\{[^}]+\\}/g;\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\nexport function extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n if (!matches) {\n return [];\n }\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n","export function omit(object, keysToOmit) {\n return Object.keys(object)\n .filter((option) => !keysToOmit.includes(option))\n .reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n","// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str\n .split(/(%[0-9A-Fa-f]{2})/g)\n .map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n return part;\n })\n .join(\"\");\n}\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\nfunction encodeValue(operator, value, key) {\n value =\n operator === \"+\" || operator === \"#\"\n ? encodeReserved(value)\n : encodeUnreserved(value);\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n }\n else {\n return value;\n }\n}\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\nfunction getValues(context, operator, key, modifier) {\n var value = context[key], result = [];\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" ||\n typeof value === \"number\" ||\n typeof value === \"boolean\") {\n value = value.toString();\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n }\n else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n }\n else {\n const tmp = [];\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n }\n else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n }\n else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n }\n else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n }\n else if (value === \"\") {\n result.push(\"\");\n }\n }\n return result;\n}\nexport function parseUrl(template) {\n return {\n expand: expand.bind(null, template),\n };\n}\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n if (operator && operator !== \"+\") {\n var separator = \",\";\n if (operator === \"?\") {\n separator = \"&\";\n }\n else if (operator !== \"#\") {\n separator = operator;\n }\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n }\n else {\n return values.join(\",\");\n }\n }\n else {\n return encodeReserved(literal);\n }\n });\n}\n","import { addQueryParameters } from \"./util/add-query-parameters\";\nimport { extractUrlVariableNames } from \"./util/extract-url-variable-names\";\nimport { omit } from \"./util/omit\";\nimport { parseUrl } from \"./util/url-template\";\nexport function parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase();\n // replace :varname with {varname} to make it RFC 6570 compatible\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{+$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"mediaType\",\n ]);\n // extract variable names from URL to calculate remaining variables later\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n const omittedParameters = Object.keys(options)\n .filter((option) => urlVariableNames.includes(option))\n .concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequset = /application\\/octet-stream/i.test(headers.accept);\n if (!isBinaryRequset) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept\n .split(/,/)\n .map((preview) => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`))\n .join(\",\");\n }\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader\n .concat(options.mediaType.previews)\n .map((preview) => {\n const format = options.mediaType.format\n ? `.${options.mediaType.format}`\n : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n })\n .join(\",\");\n }\n }\n // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n }\n else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n }\n else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n }\n else {\n headers[\"content-length\"] = 0;\n }\n }\n }\n // default content-type for JSON if body is set\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n }\n // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n }\n // Only return body/request keys if present\n return Object.assign({ method, url, headers }, typeof body !== \"undefined\" ? { body } : null, options.request ? { request: options.request } : null);\n}\n","import { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n","import { endpointWithDefaults } from \"./endpoint-with-defaults\";\nimport { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse,\n });\n}\n","export const VERSION = \"6.0.3\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nconst userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;\n// DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\nexport const DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent,\n },\n mediaType: {\n format: \"\",\n previews: [],\n },\n};\n","import { withDefaults } from \"./with-defaults\";\nimport { DEFAULTS } from \"./defaults\";\nexport const endpoint = withDefaults(null, DEFAULTS);\n"],"names":["lowercaseKeys","object","Object","keys","reduce","newObj","key","toLowerCase","mergeDeep","defaults","options","result","assign","forEach","isPlainObject","merge","route","method","url","split","headers","mergedOptions","mediaType","previews","length","filter","preview","includes","concat","map","replace","addQueryParameters","parameters","separator","test","names","name","q","encodeURIComponent","join","urlVariableRegex","removeNonChars","variableName","extractUrlVariableNames","matches","match","a","b","omit","keysToOmit","option","obj","encodeReserved","str","part","encodeURI","encodeUnreserved","c","charCodeAt","toString","toUpperCase","encodeValue","operator","value","isDefined","undefined","isKeyOperator","getValues","context","modifier","substring","parseInt","push","Array","isArray","k","tmp","parseUrl","template","expand","bind","operators","_","expression","literal","values","indexOf","charAt","substr","variable","exec","parse","body","urlVariableNames","baseUrl","omittedParameters","remainingParameters","isBinaryRequset","accept","format","previewsFromAcceptHeader","data","request","endpointWithDefaults","withDefaults","oldDefaults","newDefaults","DEFAULTS","endpoint","VERSION","userAgent","getUserAgent"],"mappings":";;;;;;;;;AAAO,SAASA,aAAT,CAAuBC,MAAvB,EAA+B;AAClC,MAAI,CAACA,MAAL,EAAa;AACT,WAAO,EAAP;AACH;;AACD,SAAOC,MAAM,CAACC,IAAP,CAAYF,MAAZ,EAAoBG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;AAJ2B,GAAxB,CAAP;AAMH;;ACZM,MAAMkB,OAAO,GAAG,mBAAhB;;ACEP,MAAMC,SAAS,GAAI,uBAAsBD,OAAQ,IAAGE,+BAAY,EAAG,EAAnE;AAEA;;AACA,AAAO,MAAMJ,QAAQ,GAAG;AACpB1F,EAAAA,MAAM,EAAE,KADY;AAEpB6E,EAAAA,OAAO,EAAE,wBAFW;AAGpB1E,EAAAA,OAAO,EAAE;AACL8E,IAAAA,MAAM,EAAE,gCADH;AAEL,kBAAcY;AAFT,GAHW;AAOpBxF,EAAAA,SAAS,EAAE;AACP6E,IAAAA,MAAM,EAAE,EADD;AAEP5E,IAAAA,QAAQ,EAAE;AAFH;AAPS,CAAjB;;MCHMqF,QAAQ,GAAGJ,YAAY,CAAC,IAAD,EAAOG,QAAP,CAA7B;;;;"}
\ No newline at end of file
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 456e586ad1..0000000000
--- a/node_modules/@octokit/endpoint/dist-src/defaults.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import { getUserAgent } from "universal-user-agent";
-import { VERSION } from "./version";
-const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;
-// DEFAULTS has all properties set that EndpointOptions has, except url.
-// So we use RequestParameters and add method as additional required property.
-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 5763758faa..0000000000
--- 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/index.js b/node_modules/@octokit/endpoint/dist-src/index.js
deleted file mode 100644
index 599917f98f..0000000000
--- 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 d79ae65b65..0000000000
--- a/node_modules/@octokit/endpoint/dist-src/merge.js
+++ /dev/null
@@ -1,22 +0,0 @@
-import { lowercaseKeys } from "./util/lowercase-keys";
-import { mergeDeep } from "./util/merge-deep";
-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 = 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;
-}
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 91197c8372..0000000000
--- a/node_modules/@octokit/endpoint/dist-src/parse.js
+++ /dev/null
@@ -1,81 +0,0 @@
-import { addQueryParameters } from "./util/add-query-parameters";
-import { extractUrlVariableNames } from "./util/extract-url-variable-names";
-import { omit } from "./util/omit";
-import { parseUrl } from "./util/url-template";
-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 = 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);
-}
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 d26be314c0..0000000000
--- a/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js
+++ /dev/null
@@ -1,17 +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 3e75db2835..0000000000
--- 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 0780642558..0000000000
--- 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/merge-deep.js b/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js
deleted file mode 100644
index eca9a72b6a..0000000000
--- a/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js
+++ /dev/null
@@ -1,16 +0,0 @@
-import isPlainObject from "is-plain-object";
-export 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;
-}
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 62450310d2..0000000000
--- 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/util/url-template.js b/node_modules/@octokit/endpoint/dist-src/util/url-template.js
deleted file mode 100644
index 439b3feecf..0000000000
--- a/node_modules/@octokit/endpoint/dist-src/util/url-template.js
+++ /dev/null
@@ -1,164 +0,0 @@
-// 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;
-}
-export 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);
- }
- });
-}
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 38cea4357d..0000000000
--- a/node_modules/@octokit/endpoint/dist-src/version.js
+++ /dev/null
@@ -1 +0,0 @@
-export const VERSION = "6.0.3";
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 81baf6cfb2..0000000000
--- 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 30fcd20305..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/defaults.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { EndpointDefaults } from "@octokit/types";
-export declare const DEFAULTS: EndpointDefaults;
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 ff39e5e726..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { EndpointOptions, RequestParameters, Route } from "@octokit/types";
-import { DEFAULTS } from "./defaults";
-export declare function endpointWithDefaults(defaults: typeof DEFAULTS, route: Route | EndpointOptions, options?: RequestParameters): import("@octokit/types").RequestOptions;
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 1ede136671..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/index.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const endpoint: import("@octokit/types").EndpointInterface;
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 b75a15ec76..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/merge.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { EndpointDefaults, RequestParameters, Route } from "@octokit/types";
-export declare function merge(defaults: EndpointDefaults | null, route?: Route | RequestParameters, options?: RequestParameters): EndpointDefaults;
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 fbe2144062..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/parse.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { EndpointDefaults, RequestOptions } from "@octokit/types";
-export declare function parse(options: EndpointDefaults): RequestOptions;
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 4b192ac41d..0000000000
--- 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 93586d4db5..0000000000
--- 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 1daf307362..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export declare function lowercaseKeys(object?: {
- [key: string]: any;
-}): {
- [key: string]: any;
-};
diff --git a/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts b/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts
deleted file mode 100644
index 914411cf92..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare function mergeDeep(defaults: any, options: any): object;
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 06927d6bdf..0000000000
--- 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/util/url-template.d.ts b/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts
deleted file mode 100644
index 5d967cab3c..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export declare function parseUrl(template: string): {
- expand: (context: object) => string;
-};
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 af986fe4f5..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/version.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const VERSION = "6.0.3";
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 6f5afd1e0e..0000000000
--- a/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { EndpointInterface, RequestParameters, EndpointDefaults } from "@octokit/types";
-export declare function withDefaults(oldDefaults: EndpointDefaults | null, newDefaults: RequestParameters): EndpointInterface;
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 c0c2bc035f..0000000000
--- a/node_modules/@octokit/endpoint/dist-web/index.js
+++ /dev/null
@@ -1,369 +0,0 @@
-import isPlainObject from 'is-plain-object';
-import { getUserAgent } from 'universal-user-agent';
-
-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 = "6.0.3";
-
-const userAgent = `octokit-endpoint.js/${VERSION} ${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);
-
-export { endpoint };
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/endpoint/dist-web/index.js.map b/node_modules/@octokit/endpoint/dist-web/index.js.map
deleted file mode 100644
index 42a43e6ef8..0000000000
--- a/node_modules/@octokit/endpoint/dist-web/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/util/lowercase-keys.js","../dist-src/util/merge-deep.js","../dist-src/merge.js","../dist-src/util/add-query-parameters.js","../dist-src/util/extract-url-variable-names.js","../dist-src/util/omit.js","../dist-src/util/url-template.js","../dist-src/parse.js","../dist-src/endpoint-with-defaults.js","../dist-src/with-defaults.js","../dist-src/version.js","../dist-src/defaults.js","../dist-src/index.js"],"sourcesContent":["export function lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n","import isPlainObject from \"is-plain-object\";\nexport function mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach((key) => {\n if (isPlainObject(options[key])) {\n if (!(key in defaults))\n Object.assign(result, { [key]: options[key] });\n else\n result[key] = mergeDeep(defaults[key], options[key]);\n }\n else {\n Object.assign(result, { [key]: options[key] });\n }\n });\n return result;\n}\n","import { lowercaseKeys } from \"./util/lowercase-keys\";\nimport { mergeDeep } from \"./util/merge-deep\";\nexport function merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? { method, url } : { url: method }, options);\n }\n else {\n options = Object.assign({}, route);\n }\n // lowercase header names before merging with defaults to avoid duplicates\n options.headers = lowercaseKeys(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options);\n // mediaType.previews arrays are merged, instead of overwritten\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews\n .filter((preview) => !mergedOptions.mediaType.previews.includes(preview))\n .concat(mergedOptions.mediaType.previews);\n }\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n","export function addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n if (names.length === 0) {\n return url;\n }\n return (url +\n separator +\n names\n .map((name) => {\n if (name === \"q\") {\n return (\"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\"));\n }\n return `${name}=${encodeURIComponent(parameters[name])}`;\n })\n .join(\"&\"));\n}\n","const urlVariableRegex = /\\{[^}]+\\}/g;\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\nexport function extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n if (!matches) {\n return [];\n }\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n","export function omit(object, keysToOmit) {\n return Object.keys(object)\n .filter((option) => !keysToOmit.includes(option))\n .reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n","// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str\n .split(/(%[0-9A-Fa-f]{2})/g)\n .map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n return part;\n })\n .join(\"\");\n}\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\nfunction encodeValue(operator, value, key) {\n value =\n operator === \"+\" || operator === \"#\"\n ? encodeReserved(value)\n : encodeUnreserved(value);\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n }\n else {\n return value;\n }\n}\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\nfunction getValues(context, operator, key, modifier) {\n var value = context[key], result = [];\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" ||\n typeof value === \"number\" ||\n typeof value === \"boolean\") {\n value = value.toString();\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n }\n else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n }\n else {\n const tmp = [];\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n }\n else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n }\n else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n }\n else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n }\n else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n }\n else if (value === \"\") {\n result.push(\"\");\n }\n }\n return result;\n}\nexport function parseUrl(template) {\n return {\n expand: expand.bind(null, template),\n };\n}\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n if (operator && operator !== \"+\") {\n var separator = \",\";\n if (operator === \"?\") {\n separator = \"&\";\n }\n else if (operator !== \"#\") {\n separator = operator;\n }\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n }\n else {\n return values.join(\",\");\n }\n }\n else {\n return encodeReserved(literal);\n }\n });\n}\n","import { addQueryParameters } from \"./util/add-query-parameters\";\nimport { extractUrlVariableNames } from \"./util/extract-url-variable-names\";\nimport { omit } from \"./util/omit\";\nimport { parseUrl } from \"./util/url-template\";\nexport function parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase();\n // replace :varname with {varname} to make it RFC 6570 compatible\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{+$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"mediaType\",\n ]);\n // extract variable names from URL to calculate remaining variables later\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n const omittedParameters = Object.keys(options)\n .filter((option) => urlVariableNames.includes(option))\n .concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequset = /application\\/octet-stream/i.test(headers.accept);\n if (!isBinaryRequset) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept\n .split(/,/)\n .map((preview) => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`))\n .join(\",\");\n }\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader\n .concat(options.mediaType.previews)\n .map((preview) => {\n const format = options.mediaType.format\n ? `.${options.mediaType.format}`\n : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n })\n .join(\",\");\n }\n }\n // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n }\n else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n }\n else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n }\n else {\n headers[\"content-length\"] = 0;\n }\n }\n }\n // default content-type for JSON if body is set\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n }\n // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n }\n // Only return body/request keys if present\n return Object.assign({ method, url, headers }, typeof body !== \"undefined\" ? { body } : null, options.request ? { request: options.request } : null);\n}\n","import { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n","import { endpointWithDefaults } from \"./endpoint-with-defaults\";\nimport { merge } from \"./merge\";\nimport { parse } from \"./parse\";\nexport function withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse,\n });\n}\n","export const VERSION = \"6.0.3\";\n","import { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nconst userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;\n// DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\nexport const DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent,\n },\n mediaType: {\n format: \"\",\n previews: [],\n },\n};\n","import { withDefaults } from \"./with-defaults\";\nimport { DEFAULTS } from \"./defaults\";\nexport const endpoint = withDefaults(null, DEFAULTS);\n"],"names":[],"mappings":";;;AAAO,SAAS,aAAa,CAAC,MAAM,EAAE;AACtC,IAAI,IAAI,CAAC,MAAM,EAAE;AACjB,QAAQ,OAAO,EAAE,CAAC;AAClB,KAAK;AACL,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK;AACvD,QAAQ,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAChD,QAAQ,OAAO,MAAM,CAAC;AACtB,KAAK,EAAE,EAAE,CAAC,CAAC;AACX;;ACPO,SAAS,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE;AAC7C,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;AAC/C,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK;AAC1C,QAAQ,IAAI,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE;AACzC,YAAY,IAAI,EAAE,GAAG,IAAI,QAAQ,CAAC;AAClC,gBAAgB,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAC/D;AACA,gBAAgB,MAAM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AAW,EAAE;AACvD,IAAI,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AACrD,IAAI,MAAM,QAAQ,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC/D,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE;AACnC,QAAQ,QAAQ;AAChB,QAAQ,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACnD,QAAQ,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;AACzC,QAAQ,KAAK;AACb,KAAK,CAAC,CAAC;AACP,CAAC;;ACZM,MAAM,OAAO,GAAG,mBAAmB,CAAC;;ACE3C,MAAM,SAAS,GAAG,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC;AACrE;AACA;AACA,AAAO,MAAM,QAAQ,GAAG;AACxB,IAAI,MAAM,EAAE,KAAK;AACjB,IAAI,OAAO,EAAE,wBAAwB;AACrC,IAAI,OAAO,EAAE;AACb,QAAQ,MAAM,EAAE,gCAAgC;AAChD,QAAQ,YAAY,EAAE,SAAS;AAC/B,KAAK;AACL,IAAI,SAAS,EAAE;AACf,QAAQ,MAAM,EAAE,EAAE;AAClB,QAAQ,QAAQ,EAAE,EAAE;AACpB,KAAK;AACL,CAAC,CAAC;;ACdU,MAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/endpoint/package.json b/node_modules/@octokit/endpoint/package.json
deleted file mode 100644
index d58557bab3..0000000000
--- a/node_modules/@octokit/endpoint/package.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "name": "@octokit/endpoint",
- "description": "Turns REST API endpoints into generic request options",
- "version": "6.0.3",
- "license": "MIT",
- "files": [
- "dist-*/",
- "bin/"
- ],
- "pika": true,
- "sideEffects": false,
- "keywords": [
- "octokit",
- "github",
- "api",
- "rest"
- ],
- "homepage": "https://github.com/octokit/endpoint.js#readme",
- "bugs": {
- "url": "https://github.com/octokit/endpoint.js/issues"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/octokit/endpoint.js.git"
- },
- "dependencies": {
- "@octokit/types": "^5.0.0",
- "is-plain-object": "^3.0.0",
- "universal-user-agent": "^5.0.0"
- },
- "devDependencies": {
- "@pika/pack": "^0.5.0",
- "@pika/plugin-build-node": "^0.9.0",
- "@pika/plugin-build-web": "^0.9.0",
- "@pika/plugin-ts-standard-pkg": "^0.9.0",
- "@types/jest": "^26.0.0",
- "jest": "^26.0.1",
- "prettier": "2.0.5",
- "semantic-release": "^17.0.0",
- "semantic-release-plugin-update-version-in-files": "^1.0.0",
- "ts-jest": "^26.0.0",
- "typescript": "^3.4.5"
- },
- "publishConfig": {
- "access": "public"
- },
- "source": "dist-src/index.js",
- "types": "dist-types/index.d.ts",
- "main": "dist-node/index.js",
- "module": "dist-web/index.js"
-
-,"_resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.3.tgz"
-,"_integrity": "sha512-Y900+r0gIz+cWp6ytnkibbD95ucEzDSKzlEnaWS52hbCDNcCJYO5mRmWW7HRAnDc7am+N/5Lnd8MppSaTYx1Yg=="
-,"_from": "@octokit/endpoint@6.0.3"
-}
\ No newline at end of file
diff --git a/node_modules/@octokit/graphql/LICENSE b/node_modules/@octokit/graphql/LICENSE
deleted file mode 100644
index af5366d0d0..0000000000
--- 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 7900567368..0000000000
--- a/node_modules/@octokit/graphql/README.md
+++ /dev/null
@@ -1,380 +0,0 @@
-# graphql.js
-
-> GitHub GraphQL API client for browsers and Node
-
-[](https://www.npmjs.com/package/@octokit/graphql)
-[](https://github.com/octokit/graphql.js/actions?query=workflow%3ATest+branch%3Amaster)
-
-
-
-- [Usage](#usage)
- - [Send a simple query](#send-a-simple-query)
- - [Authentication](#authentication)
- - [Variables](#variables)
- - [Pass query together with headers and variables](#pass-query-together-with-headers-and-variables)
- - [Use with GitHub Enterprise](#use-with-github-enterprise)
- - [Use custom `@octokit/request` instance](#use-custom-octokitrequest-instance)
-- [Errors](#errors)
-- [Partial responses](#partial-responses)
-- [Writing tests](#writing-tests)
-- [License](#license)
-
-
-
-## Usage
-
-
-
-
-Browsers
-
-
-Load `@octokit/graphql` directly from [cdn.pika.dev](https://cdn.pika.dev)
-
-```html
-
-```
-
-
-
-Node
-
-
-Install with npm install @octokit/graphql
-
-```js
-const { graphql } = require("@octokit/graphql");
-// or: import { graphql } from "@octokit/graphql";
-```
-
-
-
-
-
-### Send a simple query
-
-```js
-const { repository } = await graphql(
- `
- {
- repository(owner: "octokit", name: "graphql.js") {
- issues(last: 3) {
- edges {
- node {
- title
- }
- }
- }
- }
- }
- `,
- {
- headers: {
- authorization: `token secret123`,
- },
- }
-);
-```
-
-### Authentication
-
-The simplest way to authenticate a request is to set the `Authorization` header, e.g. to a [personal access token](https://github.com/settings/tokens/).
-
-```js
-const graphqlWithAuth = graphql.defaults({
- headers: {
- authorization: `token secret123`,
- },
-});
-const { repository } = await graphqlWithAuth(`
- {
- repository(owner: "octokit", name: "graphql.js") {
- issues(last: 3) {
- edges {
- node {
- title
- }
- }
- }
- }
- }
-`);
-```
-
-For more complex authentication strategies such as GitHub Apps or Basic, we recommend the according authentication library exported by [`@octokit/auth`](https://github.com/octokit/auth.js).
-
-```js
-const { createAppAuth } = require("@octokit/auth-app");
-const auth = createAppAuth({
- id: process.env.APP_ID,
- privateKey: process.env.PRIVATE_KEY,
- installationId: 123,
-});
-const graphqlWithAuth = graphql.defaults({
- request: {
- hook: auth.hook,
- },
-});
-
-const { repository } = await graphqlWithAuth(
- `{
- repository(owner: "octokit", name: "graphql.js") {
- issues(last: 3) {
- edges {
- node {
- title
- }
- }
- }
- }
- }`
-);
-```
-
-### Variables
-
-⚠️ 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 { 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`
- }
- }
-})
-```
-
-### 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
-let { graphql } = require("@octokit/graphql");
-graphql = 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
- }
- }
- }
- }
- }
-`);
-```
-
-### Use custom `@octokit/request` instance
-
-```js
-const { request } = require("@octokit/request");
-const { withCustomRequest } = require("@octokit/graphql");
-
-let requestCounter = 0;
-const myRequest = request.defaults({
- headers: {
- authentication: "token secret123",
- },
- request: {
- hook(request, options) {
- requestCounter++;
- return request(options);
- },
- },
-});
-const myGraphql = withCustomRequest(myRequest);
-await request("/");
-await myGraphql(`
- {
- repository(owner: "acme-project", name: "acme-repo") {
- issues(last: 3) {
- edges {
- node {
- title
- }
- }
- }
- }
- }
-`);
-// requestCounter is now 2
-```
-
-## 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
-let { graphql } = require("@octokit/graphql");
-graphqlt = 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
-let { graphql } = require("@octokit/graphql");
-graphql = 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/dist-node/index.js b/node_modules/@octokit/graphql/dist-node/index.js
deleted file mode 100644
index 0112471b57..0000000000
--- a/node_modules/@octokit/graphql/dist-node/index.js
+++ /dev/null
@@ -1,85 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-var request = require('@octokit/request');
-var universalUserAgent = require('universal-user-agent');
-
-const VERSION = "4.5.1";
-
-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);
- }
- }
-
-}
-
-const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"];
-function graphql(request, query, options) {
- options = typeof query === "string" ? options = Object.assign({
- query
- }, options) : 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, {
- data: response.data
- });
- }
-
- return response.data.data;
- });
-}
-
-function withDefaults(request$1, newDefaults) {
- const newRequest = request$1.defaults(newDefaults);
-
- const newApi = (query, options) => {
- return graphql(newRequest, query, options);
- };
-
- return Object.assign(newApi, {
- defaults: withDefaults.bind(null, newRequest),
- endpoint: request.request.endpoint
- });
-}
-
-const graphql$1 = withDefaults(request.request, {
- headers: {
- "user-agent": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}`
- },
- method: "POST",
- url: "/graphql"
-});
-function withCustomRequest(customRequest) {
- return withDefaults(customRequest, {
- method: "POST",
- url: "/graphql"
- });
-}
-
-exports.graphql = graphql$1;
-exports.withCustomRequest = withCustomRequest;
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/graphql/dist-node/index.js.map b/node_modules/@octokit/graphql/dist-node/index.js.map
deleted file mode 100644
index 8f3bae38bf..0000000000
--- a/node_modules/@octokit/graphql/dist-node/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/error.js","../dist-src/graphql.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"4.5.1\";\n","export class GraphqlError extends Error {\n constructor(request, response) {\n const message = response.data.errors[0].message;\n super(message);\n Object.assign(this, response.data);\n this.name = \"GraphqlError\";\n this.request = request;\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n}\n","import { GraphqlError } from \"./error\";\nconst NON_VARIABLE_OPTIONS = [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"query\",\n \"mediaType\",\n];\nexport function graphql(request, query, options) {\n options =\n typeof query === \"string\"\n ? (options = Object.assign({ query }, options))\n : (options = query);\n const requestOptions = Object.keys(options).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = options[key];\n return result;\n }\n if (!result.variables) {\n result.variables = {};\n }\n result.variables[key] = options[key];\n return result;\n }, {});\n return request(requestOptions).then((response) => {\n if (response.data.errors) {\n throw new GraphqlError(requestOptions, {\n data: response.data,\n });\n }\n return response.data.data;\n });\n}\n","import { request as Request } from \"@octokit/request\";\nimport { graphql } from \"./graphql\";\nexport function withDefaults(request, newDefaults) {\n const newRequest = request.defaults(newDefaults);\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: Request.endpoint,\n });\n}\n","import { request } from \"@octokit/request\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport { withDefaults } from \"./with-defaults\";\nexport const graphql = withDefaults(request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${getUserAgent()}`,\n },\n method: \"POST\",\n url: \"/graphql\",\n});\nexport function withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\",\n });\n}\n"],"names":["VERSION","GraphqlError","Error","constructor","request","response","message","data","errors","Object","assign","name","captureStackTrace","NON_VARIABLE_OPTIONS","graphql","query","options","requestOptions","keys","reduce","result","key","includes","variables","then","withDefaults","newDefaults","newRequest","defaults","newApi","bind","endpoint","Request","headers","getUserAgent","method","url","withCustomRequest","customRequest"],"mappings":";;;;;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACAA,MAAMC,YAAN,SAA2BC,KAA3B,CAAiC;AACpCC,EAAAA,WAAW,CAACC,OAAD,EAAUC,QAAV,EAAoB;AAC3B,UAAMC,OAAO,GAAGD,QAAQ,CAACE,IAAT,CAAcC,MAAd,CAAqB,CAArB,EAAwBF,OAAxC;AACA,UAAMA,OAAN;AACAG,IAAAA,MAAM,CAACC,MAAP,CAAc,IAAd,EAAoBL,QAAQ,CAACE,IAA7B;AACA,SAAKI,IAAL,GAAY,cAAZ;AACA,SAAKP,OAAL,GAAeA,OAAf,CAL2B;;AAO3B;;AACA,QAAIF,KAAK,CAACU,iBAAV,EAA6B;AACzBV,MAAAA,KAAK,CAACU,iBAAN,CAAwB,IAAxB,EAA8B,KAAKT,WAAnC;AACH;AACJ;;AAZmC;;ACCxC,MAAMU,oBAAoB,GAAG,CACzB,QADyB,EAEzB,SAFyB,EAGzB,KAHyB,EAIzB,SAJyB,EAKzB,SALyB,EAMzB,OANyB,EAOzB,WAPyB,CAA7B;AASA,AAAO,SAASC,OAAT,CAAiBV,OAAjB,EAA0BW,KAA1B,EAAiCC,OAAjC,EAA0C;AAC7CA,EAAAA,OAAO,GACH,OAAOD,KAAP,KAAiB,QAAjB,GACOC,OAAO,GAAGP,MAAM,CAACC,MAAP,CAAc;AAAEK,IAAAA;AAAF,GAAd,EAAyBC,OAAzB,CADjB,GAEOA,OAAO,GAAGD,KAHrB;AAIA,QAAME,cAAc,GAAGR,MAAM,CAACS,IAAP,CAAYF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IH;;MCPYjB,SAAO,GAAGW,YAAY,CAACrB,eAAD,EAAU;AACzC6B,EAAAA,OAAO,EAAE;AACL,kBAAe,sBAAqBjC,OAAQ,IAAGkC,+BAAY,EAAG;AADzD,GADgC;AAIzCC,EAAAA,MAAM,EAAE,MAJiC;AAKzCC,EAAAA,GAAG,EAAE;AALoC,CAAV,CAA5B;AAOP,AAAO,SAASC,iBAAT,CAA2BC,aAA3B,EAA0C;AAC7C,SAAOb,YAAY,CAACa,aAAD,EAAgB;AAC/BH,IAAAA,MAAM,EAAE,MADuB;AAE/BC,IAAAA,GAAG,EAAE;AAF0B,GAAhB,CAAnB;AAIH;;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/graphql/dist-src/error.js b/node_modules/@octokit/graphql/dist-src/error.js
deleted file mode 100644
index 7662b91f16..0000000000
--- a/node_modules/@octokit/graphql/dist-src/error.js
+++ /dev/null
@@ -1,14 +0,0 @@
-export 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/dist-src/graphql.js b/node_modules/@octokit/graphql/dist-src/graphql.js
deleted file mode 100644
index 6df47f6bed..0000000000
--- a/node_modules/@octokit/graphql/dist-src/graphql.js
+++ /dev/null
@@ -1,35 +0,0 @@
-import { GraphqlError } from "./error";
-const NON_VARIABLE_OPTIONS = [
- "method",
- "baseUrl",
- "url",
- "headers",
- "request",
- "query",
- "mediaType",
-];
-export function graphql(request, query, options) {
- options =
- typeof query === "string"
- ? (options = Object.assign({ query }, options))
- : (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, {
- data: response.data,
- });
- }
- return response.data.data;
- });
-}
diff --git a/node_modules/@octokit/graphql/dist-src/index.js b/node_modules/@octokit/graphql/dist-src/index.js
deleted file mode 100644
index b202378499..0000000000
--- a/node_modules/@octokit/graphql/dist-src/index.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import { request } from "@octokit/request";
-import { getUserAgent } from "universal-user-agent";
-import { VERSION } from "./version";
-import { withDefaults } from "./with-defaults";
-export const graphql = withDefaults(request, {
- headers: {
- "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}`,
- },
- method: "POST",
- url: "/graphql",
-});
-export function withCustomRequest(customRequest) {
- return withDefaults(customRequest, {
- method: "POST",
- url: "/graphql",
- });
-}
diff --git a/node_modules/@octokit/graphql/dist-src/types.js b/node_modules/@octokit/graphql/dist-src/types.js
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/node_modules/@octokit/graphql/dist-src/version.js b/node_modules/@octokit/graphql/dist-src/version.js
deleted file mode 100644
index da5773a515..0000000000
--- a/node_modules/@octokit/graphql/dist-src/version.js
+++ /dev/null
@@ -1 +0,0 @@
-export const VERSION = "4.5.1";
diff --git a/node_modules/@octokit/graphql/dist-src/with-defaults.js b/node_modules/@octokit/graphql/dist-src/with-defaults.js
deleted file mode 100644
index 6ea309e3ab..0000000000
--- a/node_modules/@octokit/graphql/dist-src/with-defaults.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import { request as Request } from "@octokit/request";
-import { graphql } from "./graphql";
-export function withDefaults(request, newDefaults) {
- const newRequest = request.defaults(newDefaults);
- const newApi = (query, options) => {
- return graphql(newRequest, query, options);
- };
- return Object.assign(newApi, {
- defaults: withDefaults.bind(null, newRequest),
- endpoint: Request.endpoint,
- });
-}
diff --git a/node_modules/@octokit/graphql/dist-types/error.d.ts b/node_modules/@octokit/graphql/dist-types/error.d.ts
deleted file mode 100644
index 7eb7e0454a..0000000000
--- a/node_modules/@octokit/graphql/dist-types/error.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { GraphQlEndpointOptions, GraphQlQueryResponse } from "./types";
-export declare class GraphqlError extends Error {
- request: GraphQlEndpointOptions;
- constructor(request: GraphQlEndpointOptions, response: {
- data: Required>;
- });
-}
diff --git a/node_modules/@octokit/graphql/dist-types/graphql.d.ts b/node_modules/@octokit/graphql/dist-types/graphql.d.ts
deleted file mode 100644
index 2942b8b6ea..0000000000
--- a/node_modules/@octokit/graphql/dist-types/graphql.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { request as Request } from "@octokit/request";
-import { RequestParameters, GraphQlQueryResponseData } from "./types";
-export declare function graphql(request: typeof Request, query: string | RequestParameters, options?: RequestParameters): Promise;
diff --git a/node_modules/@octokit/graphql/dist-types/index.d.ts b/node_modules/@octokit/graphql/dist-types/index.d.ts
deleted file mode 100644
index 1878fd4112..0000000000
--- a/node_modules/@octokit/graphql/dist-types/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { request } from "@octokit/request";
-export declare const graphql: import("./types").graphql;
-export declare function withCustomRequest(customRequest: typeof request): import("./types").graphql;
diff --git a/node_modules/@octokit/graphql/dist-types/types.d.ts b/node_modules/@octokit/graphql/dist-types/types.d.ts
deleted file mode 100644
index ef60d9547b..0000000000
--- a/node_modules/@octokit/graphql/dist-types/types.d.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import { EndpointOptions, RequestParameters as RequestParametersType, EndpointInterface } from "@octokit/types";
-export declare type GraphQlEndpointOptions = EndpointOptions & {
- variables?: {
- [key: string]: unknown;
- };
-};
-export declare type RequestParameters = RequestParametersType;
-export declare type Query = string;
-export interface graphql {
- /**
- * Sends a GraphQL query request based on endpoint options
- * The GraphQL query must be specified in `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: RequestParameters): GraphQlResponse;
- /**
- * Sends a GraphQL query request based on endpoint options
- *
- * @param {string} query GraphQL query. Example: `'query { viewer { login } }'`.
- * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- (query: Query, parameters?: RequestParameters): GraphQlResponse;
- /**
- * Returns a new `endpoint` with updated route and parameters
- */
- defaults: (newDefaults: RequestParameters) => graphql;
- /**
- * Octokit endpoint API, see {@link https://github.com/octokit/endpoint.js|@octokit/endpoint}
- */
- endpoint: EndpointInterface;
-}
-export declare type GraphQlResponse = Promise;
-export declare type GraphQlQueryResponseData = {
- [key: string]: any;
-};
-export declare type GraphQlQueryResponse = {
- data: ResponseData;
- errors?: [{
- message: string;
- path: [string];
- extensions: {
- [key: string]: any;
- };
- locations: [{
- line: number;
- column: number;
- }];
- }];
-};
diff --git a/node_modules/@octokit/graphql/dist-types/version.d.ts b/node_modules/@octokit/graphql/dist-types/version.d.ts
deleted file mode 100644
index 345aa5e8ca..0000000000
--- a/node_modules/@octokit/graphql/dist-types/version.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const VERSION = "4.5.1";
diff --git a/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts b/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts
deleted file mode 100644
index 03edc32050..0000000000
--- a/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { request as Request } from "@octokit/request";
-import { graphql as ApiInterface, RequestParameters } from "./types";
-export declare function withDefaults(request: typeof Request, newDefaults: RequestParameters): ApiInterface;
diff --git a/node_modules/@octokit/graphql/dist-web/index.js b/node_modules/@octokit/graphql/dist-web/index.js
deleted file mode 100644
index 2c3697eff2..0000000000
--- a/node_modules/@octokit/graphql/dist-web/index.js
+++ /dev/null
@@ -1,82 +0,0 @@
-import { request } from '@octokit/request';
-import { getUserAgent } from 'universal-user-agent';
-
-const VERSION = "4.5.1";
-
-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);
- }
- }
-}
-
-const NON_VARIABLE_OPTIONS = [
- "method",
- "baseUrl",
- "url",
- "headers",
- "request",
- "query",
- "mediaType",
-];
-function graphql(request, query, options) {
- options =
- typeof query === "string"
- ? (options = Object.assign({ query }, options))
- : (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, {
- data: response.data,
- });
- }
- return response.data.data;
- });
-}
-
-function withDefaults(request$1, newDefaults) {
- const newRequest = request$1.defaults(newDefaults);
- const newApi = (query, options) => {
- return graphql(newRequest, query, options);
- };
- return Object.assign(newApi, {
- defaults: withDefaults.bind(null, newRequest),
- endpoint: request.endpoint,
- });
-}
-
-const graphql$1 = withDefaults(request, {
- headers: {
- "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}`,
- },
- method: "POST",
- url: "/graphql",
-});
-function withCustomRequest(customRequest) {
- return withDefaults(customRequest, {
- method: "POST",
- url: "/graphql",
- });
-}
-
-export { graphql$1 as graphql, withCustomRequest };
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/graphql/dist-web/index.js.map b/node_modules/@octokit/graphql/dist-web/index.js.map
deleted file mode 100644
index 06e697d604..0000000000
--- a/node_modules/@octokit/graphql/dist-web/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/error.js","../dist-src/graphql.js","../dist-src/with-defaults.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"4.5.1\";\n","export class GraphqlError extends Error {\n constructor(request, response) {\n const message = response.data.errors[0].message;\n super(message);\n Object.assign(this, response.data);\n this.name = \"GraphqlError\";\n this.request = request;\n // Maintains proper stack trace (only available on V8)\n /* istanbul ignore next */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n}\n","import { GraphqlError } from \"./error\";\nconst NON_VARIABLE_OPTIONS = [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"query\",\n \"mediaType\",\n];\nexport function graphql(request, query, options) {\n options =\n typeof query === \"string\"\n ? (options = Object.assign({ query }, options))\n : (options = query);\n const requestOptions = Object.keys(options).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = options[key];\n return result;\n }\n if (!result.variables) {\n result.variables = {};\n }\n result.variables[key] = options[key];\n return result;\n }, {});\n return request(requestOptions).then((response) => {\n if (response.data.errors) {\n throw new GraphqlError(requestOptions, {\n data: response.data,\n });\n }\n return response.data.data;\n });\n}\n","import { request as Request } from \"@octokit/request\";\nimport { graphql } from \"./graphql\";\nexport function withDefaults(request, newDefaults) {\n const newRequest = request.defaults(newDefaults);\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: Request.endpoint,\n });\n}\n","import { request } from \"@octokit/request\";\nimport { getUserAgent } from \"universal-user-agent\";\nimport { VERSION } from \"./version\";\nimport { withDefaults } from \"./with-defaults\";\nexport const graphql = withDefaults(request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${getUserAgent()}`,\n },\n method: \"POST\",\n url: \"/graphql\",\n});\nexport function withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\",\n });\n}\n"],"names":["request","Request","graphql"],"mappings":";;;AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACAnC,MAAM,YAAY,SAAS,KAAK,CAAC;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mB,EAAE,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;AACvE,KAAK;AACL,IAAI,MAAM,EAAE,MAAM;AAClB,IAAI,GAAG,EAAE,UAAU;AACnB,CAAC,CAAC,CAAC;AACH,AAAO,SAAS,iBAAiB,CAAC,aAAa,EAAE;AACjD,IAAI,OAAO,YAAY,CAAC,aAAa,EAAE;AACvC,QAAQ,MAAM,EAAE,MAAM;AACtB,QAAQ,GAAG,EAAE,UAAU;AACvB,KAAK,CAAC,CAAC;AACP,CAAC;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/graphql/package.json b/node_modules/@octokit/graphql/package.json
deleted file mode 100644
index 9a0da85377..0000000000
--- a/node_modules/@octokit/graphql/package.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "name": "@octokit/graphql",
- "description": "GitHub GraphQL API client for browsers and Node",
- "version": "4.5.1",
- "license": "MIT",
- "files": [
- "dist-*/",
- "bin/"
- ],
- "pika": true,
- "sideEffects": false,
- "keywords": [
- "octokit",
- "github",
- "api",
- "graphql"
- ],
- "homepage": "https://github.com/octokit/graphql.js#readme",
- "bugs": {
- "url": "https://github.com/octokit/graphql.js/issues"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/octokit/graphql.js.git"
- },
- "dependencies": {
- "@octokit/request": "^5.3.0",
- "@octokit/types": "^5.0.0",
- "universal-user-agent": "^5.0.0"
- },
- "devDependencies": {
- "@pika/pack": "^0.5.0",
- "@pika/plugin-build-node": "^0.9.0",
- "@pika/plugin-build-web": "^0.9.0",
- "@pika/plugin-ts-standard-pkg": "^0.9.0",
- "@types/fetch-mock": "^7.2.5",
- "@types/jest": "^26.0.0",
- "@types/node": "^14.0.4",
- "fetch-mock": "^9.0.0",
- "jest": "^25.1.0",
- "prettier": "^2.0.0",
- "semantic-release": "^17.0.0",
- "semantic-release-plugin-update-version-in-files": "^1.0.0",
- "ts-jest": "^25.1.0",
- "typescript": "^3.4.5"
- },
- "publishConfig": {
- "access": "public"
- },
- "source": "dist-src/index.js",
- "types": "dist-types/index.d.ts",
- "main": "dist-node/index.js",
- "module": "dist-web/index.js"
-
-,"_resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.1.tgz"
-,"_integrity": "sha512-qgMsROG9K2KxDs12CO3bySJaYoUu2aic90qpFrv7A8sEBzZ7UFGvdgPKiLw5gOPYEYbS0Xf8Tvf84tJutHPulQ=="
-,"_from": "@octokit/graphql@4.5.1"
-}
\ No newline at end of file
diff --git a/node_modules/@octokit/plugin-paginate-rest/LICENSE b/node_modules/@octokit/plugin-paginate-rest/LICENSE
deleted file mode 100644
index 57bee5f182..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-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 (including the next paragraph) 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/plugin-paginate-rest/README.md b/node_modules/@octokit/plugin-paginate-rest/README.md
deleted file mode 100644
index 3c3e2ae95c..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/README.md
+++ /dev/null
@@ -1,166 +0,0 @@
-# plugin-paginate-rest.js
-
-> Octokit plugin to paginate REST API endpoint responses
-
-[](https://www.npmjs.com/package/@octokit/plugin-paginate-rest)
-[](https://github.com/octokit/plugin-paginate-rest.js/actions?workflow=Test)
-
-## Usage
-
-
-
-
-Browsers
-
-
-Load `@octokit/plugin-paginate-rest` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.pika.dev](https://cdn.pika.dev)
-
-```html
-
-```
-
-
-
-Node
-
-
-Install with `npm install @octokit/core @octokit/plugin-paginate-rest`. Optionally replace `@octokit/core` with a core-compatible module
-
-```js
-const { Octokit } = require("@octokit/core");
-const { paginateRest } = require("@octokit/plugin-paginate-rest");
-```
-
-
-
-
-
-```js
-const MyOctokit = Octokit.plugin(paginateRest);
-const octokit = new MyOctokit({ auth: "secret123" });
-
-// See https://developer.github.com/v3/issues/#list-issues-for-a-repository
-const issues = await octokit.paginate("GET /repos/:owner/:repo/issues", {
- owner: "octocat",
- repo: "hello-world",
- since: "2010-10-01",
- per_page: 100,
-});
-```
-
-## `octokit.paginate()`
-
-The `paginateRest` plugin adds a new `octokit.paginate()` method which accepts the same parameters as [`octokit.request`](https://github.com/octokit/request.js#request). Only "List ..." endpoints such as [List issues for a repository](https://developer.github.com/v3/issues/#list-issues-for-a-repository) are supporting pagination. Their [response includes a Link header](https://developer.github.com/v3/issues/#response-1). For other endpoints, `octokit.paginate()` behaves the same as `octokit.request()`.
-
-The `per_page` parameter is usually defaulting to `30`, and can be set to up to `100`, which helps retrieving a big amount of data without hitting the rate limits too soon.
-
-An optional `mapFunction` can be passed to map each page response to a new value, usually an array with only the data you need. This can help to reduce memory usage, as only the relevant data has to be kept in memory until the pagination is complete.
-
-```js
-const issueTitles = await octokit.paginate(
- "GET /repos/:owner/:repo/issues",
- {
- owner: "octocat",
- repo: "hello-world",
- since: "2010-10-01",
- per_page: 100,
- },
- (response) => response.data.map((issue) => issue.title)
-);
-```
-
-The `mapFunction` gets a 2nd argument `done` which can be called to end the pagination early.
-
-```js
-const issues = await octokit.paginate(
- "GET /repos/:owner/:repo/issues",
- {
- owner: "octocat",
- repo: "hello-world",
- since: "2010-10-01",
- per_page: 100,
- },
- (response, done) => {
- if (response.data.find((issues) => issue.title.includes("something"))) {
- done();
- }
- return response.data;
- }
-);
-```
-
-Alternatively you can pass a `request` method as first argument. This is great when using in combination with [`@octokit/plugin-rest-endpoint-methods`](https://github.com/octokit/plugin-rest-endpoint-methods.js/):
-
-```js
-const issues = await octokit.paginate(octokit.issues.listForRepo, {
- owner: "octocat",
- repo: "hello-world",
- since: "2010-10-01",
- per_page: 100,
-});
-```
-
-## `octokit.paginate.iterator()`
-
-If your target runtime environments supports async iterators (such as most modern browsers and Node 10+), you can iterate through each response
-
-```js
-const parameters = {
- owner: "octocat",
- repo: "hello-world",
- since: "2010-10-01",
- per_page: 100,
-};
-for await (const response of octokit.paginate.iterator(
- "GET /repos/:owner/:repo/issues",
- parameters
-)) {
- // do whatever you want with each response, break out of the loop, etc.
- console.log(response.data.title);
-}
-```
-
-Alternatively you can pass a `request` method as first argument. This is great when using in combination with [`@octokit/plugin-rest-endpoint-methods`](https://github.com/octokit/plugin-rest-endpoint-methods.js/):
-
-```js
-const parameters = {
- owner: "octocat",
- repo: "hello-world",
- since: "2010-10-01",
- per_page: 100,
-};
-for await (const response of octokit.paginate.iterator(
- octokit.issues.listForRepo,
- parameters
-)) {
- // do whatever you want with each response, break out of the loop, etc.
- console.log(response.data.title);
-}
-```
-
-## How it works
-
-`octokit.paginate()` wraps `octokit.request()`. As long as a `rel="next"` link value is present in the response's `Link` header, it sends another request for that URL, and so on.
-
-Most of GitHub's paginating REST API endpoints return an array, but there are a few exceptions which return an object with a key that includes the items array. For example:
-
-- [Search repositories](https://developer.github.com/v3/search/#example) (key `items`)
-- [List check runs for a specific ref](https://developer.github.com/v3/checks/runs/#response-3) (key: `check_runs`)
-- [List check suites for a specific ref](https://developer.github.com/v3/checks/suites/#response-1) (key: `check_suites`)
-- [List repositories](https://developer.github.com/v3/apps/installations/#list-repositories) for an installation (key: `repositories`)
-- [List installations for a user](https://developer.github.com/v3/apps/installations/#response-1) (key `installations`)
-
-`octokit.paginate()` is working around these inconsistencies so you don't have to worry about it.
-
-If a response is lacking the `Link` header, `octokit.paginate()` still resolves with an array, even if the response returns a single object.
-
-## Contributing
-
-See [CONTRIBUTING.md](CONTRIBUTING.md)
-
-## License
-
-[MIT](LICENSE)
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js b/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js
deleted file mode 100644
index c2a8797aa6..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js
+++ /dev/null
@@ -1,130 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-const VERSION = "2.2.3";
-
-/**
- * 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.
- *
- * 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.
- *
- * We check if a "total_count" key is present in the response data, but also make sure that
- * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would
- * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref
- */
-function normalizePaginatedListResponse(response) {
- const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data);
- if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way
- // to retrieve the same information.
-
- 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];
- const data = response.data[namespaceKey];
- response.data = data;
-
- if (typeof incompleteResults !== "undefined") {
- response.data.incomplete_results = incompleteResults;
- }
-
- if (typeof repositorySelection !== "undefined") {
- response.data.repository_selection = repositorySelection;
- }
-
- response.data.total_count = totalCount;
- return response;
-}
-
-function iterator(octokit, route, parameters) {
- const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);
- const requestMethod = typeof route === "function" ? route : octokit.request;
- const method = options.method;
- const headers = options.headers;
- let url = options.url;
- return {
- [Symbol.asyncIterator]: () => ({
- next() {
- if (!url) {
- return Promise.resolve({
- done: true
- });
- }
-
- return requestMethod({
- method,
- url,
- headers
- }).then(normalizePaginatedListResponse).then(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
- };
- });
- }
-
- })
- };
-}
-
-function paginate(octokit, route, parameters, mapFn) {
- if (typeof parameters === "function") {
- mapFn = parameters;
- parameters = undefined;
- }
-
- return gather(octokit, [], iterator(octokit, route, parameters)[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);
- });
-}
-
-/**
- * @param octokit Octokit instance
- * @param options Options passed to Octokit constructor
- */
-
-function paginateRest(octokit) {
- return {
- paginate: Object.assign(paginate.bind(null, octokit), {
- iterator: iterator.bind(null, octokit)
- })
- };
-}
-paginateRest.VERSION = VERSION;
-
-exports.paginateRest = paginateRest;
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map b/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map
deleted file mode 100644
index 11f111b59c..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/normalize-paginated-list-response.js","../dist-src/iterator.js","../dist-src/paginate.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.2.3\";\n","/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nexport function normalizePaginatedListResponse(response) {\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization)\n return response;\n // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n response.data.total_count = totalCount;\n return response;\n}\n","import { normalizePaginatedListResponse } from \"./normalize-paginated-list-response\";\nexport function iterator(octokit, route, parameters) {\n const options = typeof route === \"function\"\n ? route.endpoint(parameters)\n : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n next() {\n if (!url) {\n return Promise.resolve({ done: true });\n }\n return requestMethod({ method, url, headers })\n .then(normalizePaginatedListResponse)\n .then((response) => {\n // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n url = ((response.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return { value: response };\n });\n },\n }),\n };\n}\n","import { iterator } from \"./iterator\";\nexport function paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then((result) => {\n if (result.done) {\n return results;\n }\n let earlyExit = false;\n function done() {\n earlyExit = true;\n }\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n if (earlyExit) {\n return results;\n }\n return gather(octokit, results, iterator, mapFn);\n });\n}\n","import { VERSION } from \"./version\";\nimport { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit),\n }),\n };\n}\npaginateRest.VERSION = VERSION;\n"],"names":["VERSION","normalizePaginatedListResponse","response","responseNeedsNormalization","data","incompleteResults","incomplete_results","repositorySelection","repository_selection","totalCount","total_count","namespaceKey","Object","keys","iterator","octokit","route","parameters","options","endpoint","request","requestMethod","method","headers","url","Symbol","asyncIterator","next","Promise","resolve","done","then","link","match","value","paginate","mapFn","undefined","gather","results","result","earlyExit","concat","paginateRest","assign","bind"],"mappings":";;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACAP;;;;;;;;;;;;;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KAAV,EAAiBC,UAAjB,CAAR,CAAqCQ,MAAM,CAACC,aAA5C,GAAd,EAA4EU,KAA5E,CAAb;AACH;;AACD,SAASE,MAAT,CAAgBvB,OAAhB,EAAyBwB,OAAzB,EAAkCzB,QAAlC,EAA4CsB,KAA5C,EAAmD;AAC/C,SAAOtB,QAAQ,CAACa,IAAT,GAAgBI,IAAhB,CAAsBS,MAAD,IAAY;AACpC,QAAIA,MAAM,CAACV,IAAX,EAAiB;AACb,aAAOS,OAAP;AACH;;AACD,QAAIE,SAAS,GAAG,KAAhB;;AACA,aAASX,IAAT,GAAgB;AACZW,MAAAA,SAAS,GAAG,IAAZ;AACH;;AACDF,IAAAA,OAAO,GAAGA,OAAO,CAACG,MAAR,CAAeN,KAAK,GAAGA,KAAK,CAACI,MAAM,CAACN,KAAR,EAAeJ,IAAf,CAAR,GAA+BU,MAAM,CAACN,KAAP,CAAa9B,IAAhE,CAAV;;AACA,QAAIqC,SAAJ,EAAe;AACX,aAAOF,OAAP;AACH;;AACD,WAAOD,MAAM,CAACvB,OAAD,EAAUwB,OAAV,EAAmBzB,QAAnB,EAA6BsB,KAA7B,CAAb;AACH,GAbM,CAAP;AAcH;;ACpBD;;;;;AAIA,AAAO,SAASO,YAAT,CAAsB5B,OAAtB,EAA+B;AAClC,SAAO;AACHoB,IAAAA,QAAQ,EAAEvB,MAAM,CAACgC,MAAP,CAAcT,QAAQ,CAACU,IAAT,CAAc,IAAd,EAAoB9B,OAApB,CAAd,EAA4C;AAClDD,MAAAA,QAAQ,EAAEA,QAAQ,CAAC+B,IAAT,CAAc,IAAd,EAAoB9B,OAApB;AADwC,KAA5C;AADP,GAAP;AAKH;AACD4B,YAAY,CAAC3C,OAAb,GAAuBA,OAAvB;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js
deleted file mode 100644
index ef1bdb02ab..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import { VERSION } from "./version";
-import { paginate } from "./paginate";
-import { iterator } from "./iterator";
-/**
- * @param octokit Octokit instance
- * @param options Options passed to Octokit constructor
- */
-export function paginateRest(octokit) {
- return {
- paginate: Object.assign(paginate.bind(null, octokit), {
- iterator: iterator.bind(null, octokit),
- }),
- };
-}
-paginateRest.VERSION = VERSION;
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js
deleted file mode 100644
index 092fabcdba..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js
+++ /dev/null
@@ -1,28 +0,0 @@
-import { normalizePaginatedListResponse } from "./normalize-paginated-list-response";
-export function iterator(octokit, route, parameters) {
- const options = typeof route === "function"
- ? route.endpoint(parameters)
- : octokit.request.endpoint(route, parameters);
- const requestMethod = typeof route === "function" ? route : octokit.request;
- const method = options.method;
- const headers = options.headers;
- let url = options.url;
- return {
- [Symbol.asyncIterator]: () => ({
- next() {
- if (!url) {
- return Promise.resolve({ done: true });
- }
- return requestMethod({ method, url, headers })
- .then(normalizePaginatedListResponse)
- .then((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 };
- });
- },
- }),
- };
-}
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js
deleted file mode 100644
index d29c6777cf..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * 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.
- *
- * 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.
- *
- * We check if a "total_count" key is present in the response data, but also make sure that
- * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would
- * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref
- */
-export function normalizePaginatedListResponse(response) {
- const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data);
- if (!responseNeedsNormalization)
- return response;
- // keep the additional properties intact as there is currently no other way
- // to retrieve the same information.
- 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];
- const data = response.data[namespaceKey];
- response.data = data;
- if (typeof incompleteResults !== "undefined") {
- response.data.incomplete_results = incompleteResults;
- }
- if (typeof repositorySelection !== "undefined") {
- response.data.repository_selection = repositorySelection;
- }
- response.data.total_count = totalCount;
- return response;
-}
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js
deleted file mode 100644
index 8d18a60f17..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import { iterator } from "./iterator";
-export function paginate(octokit, route, parameters, mapFn) {
- if (typeof parameters === "function") {
- mapFn = parameters;
- parameters = undefined;
- }
- return gather(octokit, [], iterator(octokit, route, parameters)[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);
- });
-}
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js b/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js
deleted file mode 100644
index e0ed0967ad..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js
+++ /dev/null
@@ -1 +0,0 @@
-export const VERSION = "2.2.3";
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts
deleted file mode 100644
index 7a15fe5edb..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts
+++ /dev/null
@@ -1,1197 +0,0 @@
-import { Endpoints } from "@octokit/types";
-export interface PaginatingEndpoints {
- /**
- * @see https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app
- */
- "GET /app/installations": {
- parameters: Endpoints["GET /app/installations"]["parameters"];
- response: Endpoints["GET /app/installations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/oauth_authorizations/#list-your-grants
- */
- "GET /applications/grants": {
- parameters: Endpoints["GET /applications/grants"]["parameters"];
- response: Endpoints["GET /applications/grants"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations
- */
- "GET /authorizations": {
- parameters: Endpoints["GET /authorizations"]["parameters"];
- response: Endpoints["GET /authorizations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/gists/#list-gists-for-the-authenticated-user
- */
- "GET /gists": {
- parameters: Endpoints["GET /gists"]["parameters"];
- response: Endpoints["GET /gists"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/gists/comments/#list-gist-comments
- */
- "GET /gists/:gist_id/comments": {
- parameters: Endpoints["GET /gists/:gist_id/comments"]["parameters"];
- response: Endpoints["GET /gists/:gist_id/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/gists/#list-gist-commits
- */
- "GET /gists/:gist_id/commits": {
- parameters: Endpoints["GET /gists/:gist_id/commits"]["parameters"];
- response: Endpoints["GET /gists/:gist_id/commits"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/gists/#list-gist-forks
- */
- "GET /gists/:gist_id/forks": {
- parameters: Endpoints["GET /gists/:gist_id/forks"]["parameters"];
- response: Endpoints["GET /gists/:gist_id/forks"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/gists/#list-public-gists
- */
- "GET /gists/public": {
- parameters: Endpoints["GET /gists/public"]["parameters"];
- response: Endpoints["GET /gists/public"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/gists/#list-starred-gists
- */
- "GET /gists/starred": {
- parameters: Endpoints["GET /gists/starred"]["parameters"];
- response: Endpoints["GET /gists/starred"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation
- */
- "GET /installation/repositories": {
- parameters: Endpoints["GET /installation/repositories"]["parameters"];
- response: Endpoints["GET /installation/repositories"]["response"] & {
- data: Endpoints["GET /installation/repositories"]["response"]["data"]["repositories"];
- };
- };
- /**
- * @see https://developer.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user
- */
- "GET /issues": {
- parameters: Endpoints["GET /issues"]["parameters"];
- response: Endpoints["GET /issues"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/apps/marketplace/#list-plans
- */
- "GET /marketplace_listing/plans": {
- parameters: Endpoints["GET /marketplace_listing/plans"]["parameters"];
- response: Endpoints["GET /marketplace_listing/plans"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan
- */
- "GET /marketplace_listing/plans/:plan_id/accounts": {
- parameters: Endpoints["GET /marketplace_listing/plans/:plan_id/accounts"]["parameters"];
- response: Endpoints["GET /marketplace_listing/plans/:plan_id/accounts"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/apps/marketplace/#list-plans-stubbed
- */
- "GET /marketplace_listing/stubbed/plans": {
- parameters: Endpoints["GET /marketplace_listing/stubbed/plans"]["parameters"];
- response: Endpoints["GET /marketplace_listing/stubbed/plans"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed
- */
- "GET /marketplace_listing/stubbed/plans/:plan_id/accounts": {
- parameters: Endpoints["GET /marketplace_listing/stubbed/plans/:plan_id/accounts"]["parameters"];
- response: Endpoints["GET /marketplace_listing/stubbed/plans/:plan_id/accounts"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user
- */
- "GET /notifications": {
- parameters: Endpoints["GET /notifications"]["parameters"];
- response: Endpoints["GET /notifications"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/#list-organizations
- */
- "GET /organizations": {
- parameters: Endpoints["GET /organizations"]["parameters"];
- response: Endpoints["GET /organizations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-an-organization
- */
- "GET /orgs/:org/actions/runners": {
- parameters: Endpoints["GET /orgs/:org/actions/runners"]["parameters"];
- response: Endpoints["GET /orgs/:org/actions/runners"]["response"] & {
- data: Endpoints["GET /orgs/:org/actions/runners"]["response"]["data"]["runners"];
- };
- };
- /**
- * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-an-organization
- */
- "GET /orgs/:org/actions/runners/downloads": {
- parameters: Endpoints["GET /orgs/:org/actions/runners/downloads"]["parameters"];
- response: Endpoints["GET /orgs/:org/actions/runners/downloads"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/actions/secrets/#list-organization-secrets
- */
- "GET /orgs/:org/actions/secrets": {
- parameters: Endpoints["GET /orgs/:org/actions/secrets"]["parameters"];
- response: Endpoints["GET /orgs/:org/actions/secrets"]["response"] & {
- data: Endpoints["GET /orgs/:org/actions/secrets"]["response"]["data"]["secrets"];
- };
- };
- /**
- * @see https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret
- */
- "GET /orgs/:org/actions/secrets/:secret_name/repositories": {
- parameters: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["parameters"];
- response: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["response"] & {
- data: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["response"]["data"]["repositories"];
- };
- };
- /**
- * @see https://developer.github.com/v3/orgs/blocking/#list-users-blocked-by-an-organization
- */
- "GET /orgs/:org/blocks": {
- parameters: Endpoints["GET /orgs/:org/blocks"]["parameters"];
- response: Endpoints["GET /orgs/:org/blocks"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization
- */
- "GET /orgs/:org/credential-authorizations": {
- parameters: Endpoints["GET /orgs/:org/credential-authorizations"]["parameters"];
- response: Endpoints["GET /orgs/:org/credential-authorizations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/hooks/#list-organization-webhooks
- */
- "GET /orgs/:org/hooks": {
- parameters: Endpoints["GET /orgs/:org/hooks"]["parameters"];
- response: Endpoints["GET /orgs/:org/hooks"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/#list-app-installations-for-an-organization
- */
- "GET /orgs/:org/installations": {
- parameters: Endpoints["GET /orgs/:org/installations"]["parameters"];
- response: Endpoints["GET /orgs/:org/installations"]["response"] & {
- data: Endpoints["GET /orgs/:org/installations"]["response"]["data"]["installations"];
- };
- };
- /**
- * @see https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations
- */
- "GET /orgs/:org/invitations": {
- parameters: Endpoints["GET /orgs/:org/invitations"]["parameters"];
- response: Endpoints["GET /orgs/:org/invitations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/members/#list-organization-invitation-teams
- */
- "GET /orgs/:org/invitations/:invitation_id/teams": {
- parameters: Endpoints["GET /orgs/:org/invitations/:invitation_id/teams"]["parameters"];
- response: Endpoints["GET /orgs/:org/invitations/:invitation_id/teams"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user
- */
- "GET /orgs/:org/issues": {
- parameters: Endpoints["GET /orgs/:org/issues"]["parameters"];
- response: Endpoints["GET /orgs/:org/issues"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/members/#list-organization-members
- */
- "GET /orgs/:org/members": {
- parameters: Endpoints["GET /orgs/:org/members"]["parameters"];
- response: Endpoints["GET /orgs/:org/members"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/migrations/orgs/#list-organization-migrations
- */
- "GET /orgs/:org/migrations": {
- parameters: Endpoints["GET /orgs/:org/migrations"]["parameters"];
- response: Endpoints["GET /orgs/:org/migrations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/migrations/orgs/#list-repositories-in-an-organization-migration
- */
- "GET /orgs/:org/migrations/:migration_id/repositories": {
- parameters: Endpoints["GET /orgs/:org/migrations/:migration_id/repositories"]["parameters"];
- response: Endpoints["GET /orgs/:org/migrations/:migration_id/repositories"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators-for-an-organization
- */
- "GET /orgs/:org/outside_collaborators": {
- parameters: Endpoints["GET /orgs/:org/outside_collaborators"]["parameters"];
- response: Endpoints["GET /orgs/:org/outside_collaborators"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/projects/#list-organization-projects
- */
- "GET /orgs/:org/projects": {
- parameters: Endpoints["GET /orgs/:org/projects"]["parameters"];
- response: Endpoints["GET /orgs/:org/projects"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/members/#list-public-organization-members
- */
- "GET /orgs/:org/public_members": {
- parameters: Endpoints["GET /orgs/:org/public_members"]["parameters"];
- response: Endpoints["GET /orgs/:org/public_members"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/#list-organization-repositories
- */
- "GET /orgs/:org/repos": {
- parameters: Endpoints["GET /orgs/:org/repos"]["parameters"];
- response: Endpoints["GET /orgs/:org/repos"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-an-organization
- */
- "GET /orgs/:org/team-sync/groups": {
- parameters: Endpoints["GET /orgs/:org/team-sync/groups"]["parameters"];
- response: Endpoints["GET /orgs/:org/team-sync/groups"]["response"] & {
- data: Endpoints["GET /orgs/:org/team-sync/groups"]["response"]["data"]["groups"];
- };
- };
- /**
- * @see https://developer.github.com/v3/teams/#list-teams
- */
- "GET /orgs/:org/teams": {
- parameters: Endpoints["GET /orgs/:org/teams"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/discussions/#list-discussions
- */
- "GET /orgs/:org/teams/:team_slug/discussions": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/discussions"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments
- */
- "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment
- */
- "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion
- */
- "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations
- */
- "GET /orgs/:org/teams/:team_slug/invitations": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/invitations"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/invitations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/members/#list-team-members
- */
- "GET /orgs/:org/teams/:team_slug/members": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/members"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/members"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/#list-team-projects
- */
- "GET /orgs/:org/teams/:team_slug/projects": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/projects"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/projects"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/#list-team-repositories
- */
- "GET /orgs/:org/teams/:team_slug/repos": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/repos"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/repos"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team
- */
- "GET /orgs/:org/teams/:team_slug/team-sync/group-mappings": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/team-sync/group-mappings"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/team-sync/group-mappings"]["response"] & {
- data: Endpoints["GET /orgs/:org/teams/:team_slug/team-sync/group-mappings"]["response"]["data"]["groups"];
- };
- };
- /**
- * @see https://developer.github.com/v3/teams/#list-child-teams
- */
- "GET /orgs/:org/teams/:team_slug/teams": {
- parameters: Endpoints["GET /orgs/:org/teams/:team_slug/teams"]["parameters"];
- response: Endpoints["GET /orgs/:org/teams/:team_slug/teams"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/projects/collaborators/#list-project-collaborators
- */
- "GET /projects/:project_id/collaborators": {
- parameters: Endpoints["GET /projects/:project_id/collaborators"]["parameters"];
- response: Endpoints["GET /projects/:project_id/collaborators"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/projects/columns/#list-project-columns
- */
- "GET /projects/:project_id/columns": {
- parameters: Endpoints["GET /projects/:project_id/columns"]["parameters"];
- response: Endpoints["GET /projects/:project_id/columns"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/projects/cards/#list-project-cards
- */
- "GET /projects/columns/:column_id/cards": {
- parameters: Endpoints["GET /projects/columns/:column_id/cards"]["parameters"];
- response: Endpoints["GET /projects/columns/:column_id/cards"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/actions/artifacts/#list-artifacts-for-a-repository
- */
- "GET /repos/:owner/:repo/actions/artifacts": {
- parameters: Endpoints["GET /repos/:owner/:repo/actions/artifacts"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/actions/artifacts"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/actions/artifacts"]["response"]["data"]["artifacts"];
- };
- };
- /**
- * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-a-repository
- */
- "GET /repos/:owner/:repo/actions/runners": {
- parameters: Endpoints["GET /repos/:owner/:repo/actions/runners"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/actions/runners"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/actions/runners"]["response"]["data"]["runners"];
- };
- };
- /**
- * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-a-repository
- */
- "GET /repos/:owner/:repo/actions/runners/downloads": {
- parameters: Endpoints["GET /repos/:owner/:repo/actions/runners/downloads"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/actions/runners/downloads"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs-for-a-repository
- */
- "GET /repos/:owner/:repo/actions/runs": {
- parameters: Endpoints["GET /repos/:owner/:repo/actions/runs"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/actions/runs"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/actions/runs"]["response"]["data"]["workflow_runs"];
- };
- };
- /**
- * @see https://developer.github.com/v3/actions/artifacts/#list-workflow-run-artifacts
- */
- "GET /repos/:owner/:repo/actions/runs/:run_id/artifacts": {
- parameters: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/artifacts"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/artifacts"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/artifacts"]["response"]["data"]["artifacts"];
- };
- };
- /**
- * @see https://developer.github.com/v3/actions/workflow-jobs/#list-jobs-for-a-workflow-run
- */
- "GET /repos/:owner/:repo/actions/runs/:run_id/jobs": {
- parameters: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/jobs"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/jobs"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/actions/runs/:run_id/jobs"]["response"]["data"]["jobs"];
- };
- };
- /**
- * @see https://developer.github.com/v3/actions/secrets/#list-repository-secrets
- */
- "GET /repos/:owner/:repo/actions/secrets": {
- parameters: Endpoints["GET /repos/:owner/:repo/actions/secrets"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/actions/secrets"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/actions/secrets"]["response"]["data"]["secrets"];
- };
- };
- /**
- * @see https://developer.github.com/v3/actions/workflows/#list-repository-workflows
- */
- "GET /repos/:owner/:repo/actions/workflows": {
- parameters: Endpoints["GET /repos/:owner/:repo/actions/workflows"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/actions/workflows"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/actions/workflows"]["response"]["data"]["workflows"];
- };
- };
- /**
- * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs
- */
- "GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs": {
- parameters: Endpoints["GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs"]["response"]["data"]["workflow_runs"];
- };
- };
- /**
- * @see https://developer.github.com/v3/issues/assignees/#list-assignees
- */
- "GET /repos/:owner/:repo/assignees": {
- parameters: Endpoints["GET /repos/:owner/:repo/assignees"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/assignees"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/branches/#list-branches
- */
- "GET /repos/:owner/:repo/branches": {
- parameters: Endpoints["GET /repos/:owner/:repo/branches"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/branches"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/checks/runs/#list-check-run-annotations
- */
- "GET /repos/:owner/:repo/check-runs/:check_run_id/annotations": {
- parameters: Endpoints["GET /repos/:owner/:repo/check-runs/:check_run_id/annotations"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/check-runs/:check_run_id/annotations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/checks/runs/#list-check-runs-in-a-check-suite
- */
- "GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs": {
- parameters: Endpoints["GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs"]["response"]["data"]["check_runs"];
- };
- };
- /**
- * @see https://developer.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository
- */
- "GET /repos/:owner/:repo/code-scanning/alerts": {
- parameters: Endpoints["GET /repos/:owner/:repo/code-scanning/alerts"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/code-scanning/alerts"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators
- */
- "GET /repos/:owner/:repo/collaborators": {
- parameters: Endpoints["GET /repos/:owner/:repo/collaborators"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/collaborators"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository
- */
- "GET /repos/:owner/:repo/comments": {
- parameters: Endpoints["GET /repos/:owner/:repo/comments"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment
- */
- "GET /repos/:owner/:repo/comments/:comment_id/reactions": {
- parameters: Endpoints["GET /repos/:owner/:repo/comments/:comment_id/reactions"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/comments/:comment_id/reactions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/commits/#list-commits
- */
- "GET /repos/:owner/:repo/commits": {
- parameters: Endpoints["GET /repos/:owner/:repo/commits"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/commits"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/commits/#list-branches-for-head-commit
- */
- "GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head": {
- parameters: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/comments/#list-commit-comments
- */
- "GET /repos/:owner/:repo/commits/:commit_sha/comments": {
- parameters: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/comments"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-a-commit
- */
- "GET /repos/:owner/:repo/commits/:commit_sha/pulls": {
- parameters: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/pulls"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/commits/:commit_sha/pulls"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-git-reference
- */
- "GET /repos/:owner/:repo/commits/:ref/check-runs": {
- parameters: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-runs"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-runs"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-runs"]["response"]["data"]["check_runs"];
- };
- };
- /**
- * @see https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-git-reference
- */
- "GET /repos/:owner/:repo/commits/:ref/check-suites": {
- parameters: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-suites"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-suites"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/commits/:ref/check-suites"]["response"]["data"]["check_suites"];
- };
- };
- /**
- * @see https://developer.github.com/v3/repos/statuses/#list-commit-statuses-for-a-reference
- */
- "GET /repos/:owner/:repo/commits/:ref/statuses": {
- parameters: Endpoints["GET /repos/:owner/:repo/commits/:ref/statuses"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/commits/:ref/statuses"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/#list-repository-contributors
- */
- "GET /repos/:owner/:repo/contributors": {
- parameters: Endpoints["GET /repos/:owner/:repo/contributors"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/contributors"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/deployments/#list-deployments
- */
- "GET /repos/:owner/:repo/deployments": {
- parameters: Endpoints["GET /repos/:owner/:repo/deployments"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/deployments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/deployments/#list-deployment-statuses
- */
- "GET /repos/:owner/:repo/deployments/:deployment_id/statuses": {
- parameters: Endpoints["GET /repos/:owner/:repo/deployments/:deployment_id/statuses"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/deployments/:deployment_id/statuses"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/forks/#list-forks
- */
- "GET /repos/:owner/:repo/forks": {
- parameters: Endpoints["GET /repos/:owner/:repo/forks"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/forks"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/git/refs/#list-matching-references
- */
- "GET /repos/:owner/:repo/git/matching-refs/:ref": {
- parameters: Endpoints["GET /repos/:owner/:repo/git/matching-refs/:ref"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/git/matching-refs/:ref"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/hooks/#list-repository-webhooks
- */
- "GET /repos/:owner/:repo/hooks": {
- parameters: Endpoints["GET /repos/:owner/:repo/hooks"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/hooks"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations
- */
- "GET /repos/:owner/:repo/invitations": {
- parameters: Endpoints["GET /repos/:owner/:repo/invitations"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/invitations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/#list-repository-issues
- */
- "GET /repos/:owner/:repo/issues": {
- parameters: Endpoints["GET /repos/:owner/:repo/issues"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/issues"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/comments/#list-issue-comments
- */
- "GET /repos/:owner/:repo/issues/:issue_number/comments": {
- parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/comments"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/events/#list-issue-events
- */
- "GET /repos/:owner/:repo/issues/:issue_number/events": {
- parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/events"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/events"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/labels/#list-labels-for-an-issue
- */
- "GET /repos/:owner/:repo/issues/:issue_number/labels": {
- parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/labels"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/labels"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue
- */
- "GET /repos/:owner/:repo/issues/:issue_number/reactions": {
- parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/reactions"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/reactions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/timeline/#list-timeline-events-for-an-issue
- */
- "GET /repos/:owner/:repo/issues/:issue_number/timeline": {
- parameters: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/timeline"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/issues/:issue_number/timeline"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/comments/#list-issue-comments-for-a-repository
- */
- "GET /repos/:owner/:repo/issues/comments": {
- parameters: Endpoints["GET /repos/:owner/:repo/issues/comments"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/issues/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment
- */
- "GET /repos/:owner/:repo/issues/comments/:comment_id/reactions": {
- parameters: Endpoints["GET /repos/:owner/:repo/issues/comments/:comment_id/reactions"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/issues/comments/:comment_id/reactions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/events/#list-issue-events-for-a-repository
- */
- "GET /repos/:owner/:repo/issues/events": {
- parameters: Endpoints["GET /repos/:owner/:repo/issues/events"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/issues/events"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/keys/#list-deploy-keys
- */
- "GET /repos/:owner/:repo/keys": {
- parameters: Endpoints["GET /repos/:owner/:repo/keys"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/keys"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/labels/#list-labels-for-a-repository
- */
- "GET /repos/:owner/:repo/labels": {
- parameters: Endpoints["GET /repos/:owner/:repo/labels"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/labels"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/#list-repository-languages
- */
- "GET /repos/:owner/:repo/languages": {
- parameters: Endpoints["GET /repos/:owner/:repo/languages"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/languages"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/milestones/#list-milestones
- */
- "GET /repos/:owner/:repo/milestones": {
- parameters: Endpoints["GET /repos/:owner/:repo/milestones"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/milestones"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/issues/labels/#list-labels-for-issues-in-a-milestone
- */
- "GET /repos/:owner/:repo/milestones/:milestone_number/labels": {
- parameters: Endpoints["GET /repos/:owner/:repo/milestones/:milestone_number/labels"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/milestones/:milestone_number/labels"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user
- */
- "GET /repos/:owner/:repo/notifications": {
- parameters: Endpoints["GET /repos/:owner/:repo/notifications"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/notifications"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/pages/#list-github-pages-builds
- */
- "GET /repos/:owner/:repo/pages/builds": {
- parameters: Endpoints["GET /repos/:owner/:repo/pages/builds"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pages/builds"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/projects/#list-repository-projects
- */
- "GET /repos/:owner/:repo/projects": {
- parameters: Endpoints["GET /repos/:owner/:repo/projects"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/projects"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/pulls/#list-pull-requests
- */
- "GET /repos/:owner/:repo/pulls": {
- parameters: Endpoints["GET /repos/:owner/:repo/pulls"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pulls"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-on-a-pull-request
- */
- "GET /repos/:owner/:repo/pulls/:pull_number/comments": {
- parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/comments"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request
- */
- "GET /repos/:owner/:repo/pulls/:pull_number/commits": {
- parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/commits"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/commits"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/pulls/#list-pull-requests-files
- */
- "GET /repos/:owner/:repo/pulls/:pull_number/files": {
- parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/files"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/files"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/pulls/review_requests/#list-requested-reviewers-for-a-pull-request
- */
- "GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": {
- parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"] & {
- data: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers"]["response"]["data"]["users"];
- };
- };
- /**
- * @see https://developer.github.com/v3/pulls/reviews/#list-reviews-for-a-pull-request
- */
- "GET /repos/:owner/:repo/pulls/:pull_number/reviews": {
- parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/pulls/reviews/#list-comments-for-a-pull-request-review
- */
- "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments": {
- parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-in-a-repository
- */
- "GET /repos/:owner/:repo/pulls/comments": {
- parameters: Endpoints["GET /repos/:owner/:repo/pulls/comments"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pulls/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment
- */
- "GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions": {
- parameters: Endpoints["GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/releases/#list-releases
- */
- "GET /repos/:owner/:repo/releases": {
- parameters: Endpoints["GET /repos/:owner/:repo/releases"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/releases"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/releases/#list-release-assets
- */
- "GET /repos/:owner/:repo/releases/:release_id/assets": {
- parameters: Endpoints["GET /repos/:owner/:repo/releases/:release_id/assets"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/releases/:release_id/assets"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/activity/starring/#list-stargazers
- */
- "GET /repos/:owner/:repo/stargazers": {
- parameters: Endpoints["GET /repos/:owner/:repo/stargazers"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/stargazers"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/activity/watching/#list-watchers
- */
- "GET /repos/:owner/:repo/subscribers": {
- parameters: Endpoints["GET /repos/:owner/:repo/subscribers"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/subscribers"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/#list-repository-tags
- */
- "GET /repos/:owner/:repo/tags": {
- parameters: Endpoints["GET /repos/:owner/:repo/tags"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/tags"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/#list-repository-teams
- */
- "GET /repos/:owner/:repo/teams": {
- parameters: Endpoints["GET /repos/:owner/:repo/teams"]["parameters"];
- response: Endpoints["GET /repos/:owner/:repo/teams"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/#list-public-repositories
- */
- "GET /repositories": {
- parameters: Endpoints["GET /repositories"]["parameters"];
- response: Endpoints["GET /repositories"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/scim/#list-scim-provisioned-identities
- */
- "GET /scim/v2/organizations/:org/Users": {
- parameters: Endpoints["GET /scim/v2/organizations/:org/Users"]["parameters"];
- response: Endpoints["GET /scim/v2/organizations/:org/Users"]["response"] & {
- data: Endpoints["GET /scim/v2/organizations/:org/Users"]["response"]["data"]["schemas"];
- };
- };
- /**
- * @see https://developer.github.com/v3/search/#search-code
- */
- "GET /search/code": {
- parameters: Endpoints["GET /search/code"]["parameters"];
- response: Endpoints["GET /search/code"]["response"] & {
- data: Endpoints["GET /search/code"]["response"]["data"]["items"];
- };
- };
- /**
- * @see https://developer.github.com/v3/search/#search-commits
- */
- "GET /search/commits": {
- parameters: Endpoints["GET /search/commits"]["parameters"];
- response: Endpoints["GET /search/commits"]["response"] & {
- data: Endpoints["GET /search/commits"]["response"]["data"]["items"];
- };
- };
- /**
- * @see https://developer.github.com/v3/search/#search-issues-and-pull-requests
- */
- "GET /search/issues": {
- parameters: Endpoints["GET /search/issues"]["parameters"];
- response: Endpoints["GET /search/issues"]["response"] & {
- data: Endpoints["GET /search/issues"]["response"]["data"]["items"];
- };
- };
- /**
- * @see https://developer.github.com/v3/search/#search-labels
- */
- "GET /search/labels": {
- parameters: Endpoints["GET /search/labels"]["parameters"];
- response: Endpoints["GET /search/labels"]["response"] & {
- data: Endpoints["GET /search/labels"]["response"]["data"]["items"];
- };
- };
- /**
- * @see https://developer.github.com/v3/search/#search-repositories
- */
- "GET /search/repositories": {
- parameters: Endpoints["GET /search/repositories"]["parameters"];
- response: Endpoints["GET /search/repositories"]["response"] & {
- data: Endpoints["GET /search/repositories"]["response"]["data"]["items"];
- };
- };
- /**
- * @see https://developer.github.com/v3/search/#search-topics
- */
- "GET /search/topics": {
- parameters: Endpoints["GET /search/topics"]["parameters"];
- response: Endpoints["GET /search/topics"]["response"] & {
- data: Endpoints["GET /search/topics"]["response"]["data"]["items"];
- };
- };
- /**
- * @see https://developer.github.com/v3/search/#search-users
- */
- "GET /search/users": {
- parameters: Endpoints["GET /search/users"]["parameters"];
- response: Endpoints["GET /search/users"]["response"] & {
- data: Endpoints["GET /search/users"]["response"]["data"]["items"];
- };
- };
- /**
- * @see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy
- */
- "GET /teams/:team_id/discussions": {
- parameters: Endpoints["GET /teams/:team_id/discussions"]["parameters"];
- response: Endpoints["GET /teams/:team_id/discussions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments-legacy
- */
- "GET /teams/:team_id/discussions/:discussion_number/comments": {
- parameters: Endpoints["GET /teams/:team_id/discussions/:discussion_number/comments"]["parameters"];
- response: Endpoints["GET /teams/:team_id/discussions/:discussion_number/comments"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy
- */
- "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": {
- parameters: Endpoints["GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"]["parameters"];
- response: Endpoints["GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy
- */
- "GET /teams/:team_id/discussions/:discussion_number/reactions": {
- parameters: Endpoints["GET /teams/:team_id/discussions/:discussion_number/reactions"]["parameters"];
- response: Endpoints["GET /teams/:team_id/discussions/:discussion_number/reactions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy
- */
- "GET /teams/:team_id/invitations": {
- parameters: Endpoints["GET /teams/:team_id/invitations"]["parameters"];
- response: Endpoints["GET /teams/:team_id/invitations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/members/#list-team-members-legacy
- */
- "GET /teams/:team_id/members": {
- parameters: Endpoints["GET /teams/:team_id/members"]["parameters"];
- response: Endpoints["GET /teams/:team_id/members"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/#list-team-projects-legacy
- */
- "GET /teams/:team_id/projects": {
- parameters: Endpoints["GET /teams/:team_id/projects"]["parameters"];
- response: Endpoints["GET /teams/:team_id/projects"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/#list-team-repositories-legacy
- */
- "GET /teams/:team_id/repos": {
- parameters: Endpoints["GET /teams/:team_id/repos"]["parameters"];
- response: Endpoints["GET /teams/:team_id/repos"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team-legacy
- */
- "GET /teams/:team_id/team-sync/group-mappings": {
- parameters: Endpoints["GET /teams/:team_id/team-sync/group-mappings"]["parameters"];
- response: Endpoints["GET /teams/:team_id/team-sync/group-mappings"]["response"] & {
- data: Endpoints["GET /teams/:team_id/team-sync/group-mappings"]["response"]["data"]["groups"];
- };
- };
- /**
- * @see https://developer.github.com/v3/teams/#list-child-teams-legacy
- */
- "GET /teams/:team_id/teams": {
- parameters: Endpoints["GET /teams/:team_id/teams"]["parameters"];
- response: Endpoints["GET /teams/:team_id/teams"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration
- */
- "GET /user/:migration_id/repositories": {
- parameters: Endpoints["GET /user/:migration_id/repositories"]["parameters"];
- response: Endpoints["GET /user/:migration_id/repositories"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user
- */
- "GET /user/blocks": {
- parameters: Endpoints["GET /user/blocks"]["parameters"];
- response: Endpoints["GET /user/blocks"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/emails/#list-email-addresses-for-the-authenticated-user
- */
- "GET /user/emails": {
- parameters: Endpoints["GET /user/emails"]["parameters"];
- response: Endpoints["GET /user/emails"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/followers/#list-followers-of-the-authenticated-user
- */
- "GET /user/followers": {
- parameters: Endpoints["GET /user/followers"]["parameters"];
- response: Endpoints["GET /user/followers"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/followers/#list-the-people-the-authenticated-user-follows
- */
- "GET /user/following": {
- parameters: Endpoints["GET /user/following"]["parameters"];
- response: Endpoints["GET /user/following"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-the-authenticated-user
- */
- "GET /user/gpg_keys": {
- parameters: Endpoints["GET /user/gpg_keys"]["parameters"];
- response: Endpoints["GET /user/gpg_keys"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token
- */
- "GET /user/installations": {
- parameters: Endpoints["GET /user/installations"]["parameters"];
- response: Endpoints["GET /user/installations"]["response"] & {
- data: Endpoints["GET /user/installations"]["response"]["data"]["installations"];
- };
- };
- /**
- * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token
- */
- "GET /user/installations/:installation_id/repositories": {
- parameters: Endpoints["GET /user/installations/:installation_id/repositories"]["parameters"];
- response: Endpoints["GET /user/installations/:installation_id/repositories"]["response"] & {
- data: Endpoints["GET /user/installations/:installation_id/repositories"]["response"]["data"]["repositories"];
- };
- };
- /**
- * @see https://developer.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user
- */
- "GET /user/issues": {
- parameters: Endpoints["GET /user/issues"]["parameters"];
- response: Endpoints["GET /user/issues"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/keys/#list-public-ssh-keys-for-the-authenticated-user
- */
- "GET /user/keys": {
- parameters: Endpoints["GET /user/keys"]["parameters"];
- response: Endpoints["GET /user/keys"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user
- */
- "GET /user/marketplace_purchases": {
- parameters: Endpoints["GET /user/marketplace_purchases"]["parameters"];
- response: Endpoints["GET /user/marketplace_purchases"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user-stubbed
- */
- "GET /user/marketplace_purchases/stubbed": {
- parameters: Endpoints["GET /user/marketplace_purchases/stubbed"]["parameters"];
- response: Endpoints["GET /user/marketplace_purchases/stubbed"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/members/#list-organization-memberships-for-the-authenticated-user
- */
- "GET /user/memberships/orgs": {
- parameters: Endpoints["GET /user/memberships/orgs"]["parameters"];
- response: Endpoints["GET /user/memberships/orgs"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/migrations/users/#list-user-migrations
- */
- "GET /user/migrations": {
- parameters: Endpoints["GET /user/migrations"]["parameters"];
- response: Endpoints["GET /user/migrations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user
- */
- "GET /user/orgs": {
- parameters: Endpoints["GET /user/orgs"]["parameters"];
- response: Endpoints["GET /user/orgs"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/emails/#list-public-email-addresses-for-the-authenticated-user
- */
- "GET /user/public_emails": {
- parameters: Endpoints["GET /user/public_emails"]["parameters"];
- response: Endpoints["GET /user/public_emails"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations-for-the-authenticated-user
- */
- "GET /user/repository_invitations": {
- parameters: Endpoints["GET /user/repository_invitations"]["parameters"];
- response: Endpoints["GET /user/repository_invitations"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user
- */
- "GET /user/starred": {
- parameters: Endpoints["GET /user/starred"]["parameters"];
- response: Endpoints["GET /user/starred"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user
- */
- "GET /user/subscriptions": {
- parameters: Endpoints["GET /user/subscriptions"]["parameters"];
- response: Endpoints["GET /user/subscriptions"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/teams/#list-teams-for-the-authenticated-user
- */
- "GET /user/teams": {
- parameters: Endpoints["GET /user/teams"]["parameters"];
- response: Endpoints["GET /user/teams"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/#list-users
- */
- "GET /users": {
- parameters: Endpoints["GET /users"]["parameters"];
- response: Endpoints["GET /users"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/followers/#list-followers-of-a-user
- */
- "GET /users/:username/followers": {
- parameters: Endpoints["GET /users/:username/followers"]["parameters"];
- response: Endpoints["GET /users/:username/followers"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/followers/#list-the-people-a-user-follows
- */
- "GET /users/:username/following": {
- parameters: Endpoints["GET /users/:username/following"]["parameters"];
- response: Endpoints["GET /users/:username/following"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/gists/#list-gists-for-a-user
- */
- "GET /users/:username/gists": {
- parameters: Endpoints["GET /users/:username/gists"]["parameters"];
- response: Endpoints["GET /users/:username/gists"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-a-user
- */
- "GET /users/:username/gpg_keys": {
- parameters: Endpoints["GET /users/:username/gpg_keys"]["parameters"];
- response: Endpoints["GET /users/:username/gpg_keys"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user
- */
- "GET /users/:username/keys": {
- parameters: Endpoints["GET /users/:username/keys"]["parameters"];
- response: Endpoints["GET /users/:username/keys"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/orgs/#list-organizations-for-a-user
- */
- "GET /users/:username/orgs": {
- parameters: Endpoints["GET /users/:username/orgs"]["parameters"];
- response: Endpoints["GET /users/:username/orgs"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/projects/#list-user-projects
- */
- "GET /users/:username/projects": {
- parameters: Endpoints["GET /users/:username/projects"]["parameters"];
- response: Endpoints["GET /users/:username/projects"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-a-user
- */
- "GET /users/:username/starred": {
- parameters: Endpoints["GET /users/:username/starred"]["parameters"];
- response: Endpoints["GET /users/:username/starred"]["response"];
- };
- /**
- * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-a-user
- */
- "GET /users/:username/subscriptions": {
- parameters: Endpoints["GET /users/:username/subscriptions"]["parameters"];
- response: Endpoints["GET /users/:username/subscriptions"]["response"];
- };
-}
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts
deleted file mode 100644
index 64f9c46b16..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { PaginateInterface } from "./types";
-export { PaginateInterface } from "./types";
-import { Octokit } from "@octokit/core";
-/**
- * @param octokit Octokit instance
- * @param options Options passed to Octokit constructor
- */
-export declare function paginateRest(octokit: Octokit): {
- paginate: PaginateInterface;
-};
-export declare namespace paginateRest {
- var VERSION: string;
-}
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts
deleted file mode 100644
index 4df3cce7e6..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { Octokit } from "@octokit/core";
-import { RequestInterface, OctokitResponse, RequestParameters, Route } from "./types";
-export declare function iterator(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters): {
- [Symbol.asyncIterator]: () => {
- next(): Promise<{
- done: boolean;
- }> | Promise<{
- value: OctokitResponse;
- }>;
- };
-};
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts
deleted file mode 100644
index f948a78f49..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * 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.
- *
- * 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.
- *
- * We check if a "total_count" key is present in the response data, but also make sure that
- * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would
- * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref
- */
-import { OctokitResponse } from "./types";
-export declare function normalizePaginatedListResponse(response: OctokitResponse): OctokitResponse;
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts
deleted file mode 100644
index 774c604149..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { Octokit } from "@octokit/core";
-import { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types";
-export declare function paginate(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters, mapFn?: MapFunction): Promise>;
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts
deleted file mode 100644
index d4a239ec65..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts
+++ /dev/null
@@ -1,123 +0,0 @@
-import * as OctokitTypes from "@octokit/types";
-export { EndpointOptions, RequestInterface, OctokitResponse, RequestParameters, Route, } from "@octokit/types";
-import { PaginatingEndpoints } from "./generated/paginating-endpoints";
-declare type KnownKeys = Extract<{
- [K in keyof T]: string extends K ? never : number extends K ? never : K;
-} extends {
- [_ in keyof T]: infer U;
-} ? U : never, keyof T>;
-declare type KeysMatching = {
- [K in keyof T]: T[K] extends V ? K : never;
-}[keyof T];
-declare type KnownKeysMatching = KeysMatching>, V>;
-declare type GetResultsType = T extends {
- data: any[];
-} ? T["data"] : T extends {
- data: object;
-} ? T["data"][KnownKeysMatching] : never;
-declare type NormalizeResponse = T & {
- data: GetResultsType;
-};
-export interface MapFunction {
- (response: OctokitTypes.OctokitResponse>, done: () => void): R[];
-}
-export declare type PaginationResults = T[];
-export interface PaginateInterface {
- /**
- * Paginate a request using endpoint options and map each response to a custom array
- *
- * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- * @param {function} mapFn Optional method to map each response to a custom array
- */
- (options: OctokitTypes.EndpointOptions, mapFn: MapFunction): Promise>;
- /**
- * Paginate a request using 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: OctokitTypes.EndpointOptions): Promise>;
- /**
- * Paginate a request using a known endpoint route string and map each response to a custom array
- *
- * @param {string} route Request method + URL. Example: `'GET /orgs/:org'`
- * @param {function} mapFn Optional method to map each response to a custom array
- */
- (route: R, mapFn: (response: PaginatingEndpoints[R]["response"], done: () => void) => MR): Promise;
- /**
- * Paginate a request using a known endpoint route string and parameters, and map each response to a custom array
- *
- * @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`.
- * @param {function} mapFn Optional method to map each response to a custom array
- */
- (route: R, parameters: PaginatingEndpoints[R]["parameters"], mapFn: (response: PaginatingEndpoints[R]["response"], done: () => void) => MR): Promise;
- /**
- * Paginate a request using an known endpoint route string
- *
- * @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: R, parameters?: PaginatingEndpoints[R]["parameters"]): Promise;
- /**
- * Paginate a request using an unknown endpoint route string
- *
- * @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: R, parameters?: R extends keyof PaginatingEndpoints ? PaginatingEndpoints[R]["parameters"] : OctokitTypes.RequestParameters): Promise;
- /**
- * Paginate a request using an endpoint method and a map function
- *
- * @param {string} request Request method (`octokit.request` or `@octokit/request`)
- * @param {function} mapFn? Optional method to map each response to a custom array
- */
- (request: R, mapFn: (response: NormalizeResponse>, done: () => void) => MR): Promise;
- /**
- * Paginate a request using an endpoint method, parameters, and a map function
- *
- * @param {string} request Request method (`octokit.request` or `@octokit/request`)
- * @param {object} parameters URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- * @param {function} mapFn? Optional method to map each response to a custom array
- */
- (request: R, parameters: Parameters[0], mapFn: (response: NormalizeResponse>, done?: () => void) => MR): Promise;
- /**
- * Paginate a request using an endpoint method and parameters
- *
- * @param {string} request Request method (`octokit.request` or `@octokit/request`)
- * @param {object} parameters? URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- (request: R, parameters?: Parameters[0]): Promise>["data"]>;
- iterator: {
- /**
- * Get an async iterator to paginate a request using endpoint options
- *
- * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of
- * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- (EndpointOptions: OctokitTypes.EndpointOptions): AsyncIterableIterator>>;
- /**
- * Get an async iterator to paginate a request using a known endpoint route string and optional parameters
- *
- * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of
- * @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: R, parameters?: PaginatingEndpoints[R]["parameters"]): AsyncIterableIterator>;
- /**
- * Get an async iterator to paginate a request using an unknown endpoint route string and optional parameters
- *
- * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of
- * @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: R, parameters?: R extends keyof PaginatingEndpoints ? PaginatingEndpoints[R]["parameters"] : OctokitTypes.RequestParameters): AsyncIterableIterator>>;
- /**
- * Get an async iterator to paginate a request using a request method and optional parameters
- *
- * @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of
- * @param {string} request `@octokit/request` or `octokit.request` method
- * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`.
- */
- (request: R, parameters?: Parameters[0]): AsyncIterableIterator>>;
- };
-}
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts b/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts
deleted file mode 100644
index 72d2e82f7d..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const VERSION = "2.2.3";
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js b/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js
deleted file mode 100644
index dd26629b45..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js
+++ /dev/null
@@ -1,110 +0,0 @@
-const VERSION = "2.2.3";
-
-/**
- * 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.
- *
- * 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.
- *
- * We check if a "total_count" key is present in the response data, but also make sure that
- * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would
- * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref
- */
-function normalizePaginatedListResponse(response) {
- const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data);
- if (!responseNeedsNormalization)
- return response;
- // keep the additional properties intact as there is currently no other way
- // to retrieve the same information.
- 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];
- const data = response.data[namespaceKey];
- response.data = data;
- if (typeof incompleteResults !== "undefined") {
- response.data.incomplete_results = incompleteResults;
- }
- if (typeof repositorySelection !== "undefined") {
- response.data.repository_selection = repositorySelection;
- }
- response.data.total_count = totalCount;
- return response;
-}
-
-function iterator(octokit, route, parameters) {
- const options = typeof route === "function"
- ? route.endpoint(parameters)
- : octokit.request.endpoint(route, parameters);
- const requestMethod = typeof route === "function" ? route : octokit.request;
- const method = options.method;
- const headers = options.headers;
- let url = options.url;
- return {
- [Symbol.asyncIterator]: () => ({
- next() {
- if (!url) {
- return Promise.resolve({ done: true });
- }
- return requestMethod({ method, url, headers })
- .then(normalizePaginatedListResponse)
- .then((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 };
- });
- },
- }),
- };
-}
-
-function paginate(octokit, route, parameters, mapFn) {
- if (typeof parameters === "function") {
- mapFn = parameters;
- parameters = undefined;
- }
- return gather(octokit, [], iterator(octokit, route, parameters)[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);
- });
-}
-
-/**
- * @param octokit Octokit instance
- * @param options Options passed to Octokit constructor
- */
-function paginateRest(octokit) {
- return {
- paginate: Object.assign(paginate.bind(null, octokit), {
- iterator: iterator.bind(null, octokit),
- }),
- };
-}
-paginateRest.VERSION = VERSION;
-
-export { paginateRest };
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map b/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map
deleted file mode 100644
index f732a7d4df..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/normalize-paginated-list-response.js","../dist-src/iterator.js","../dist-src/paginate.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"2.2.3\";\n","/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nexport function normalizePaginatedListResponse(response) {\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization)\n return response;\n // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n response.data.total_count = totalCount;\n return response;\n}\n","import { normalizePaginatedListResponse } from \"./normalize-paginated-list-response\";\nexport function iterator(octokit, route, parameters) {\n const options = typeof route === \"function\"\n ? route.endpoint(parameters)\n : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n next() {\n if (!url) {\n return Promise.resolve({ done: true });\n }\n return requestMethod({ method, url, headers })\n .then(normalizePaginatedListResponse)\n .then((response) => {\n // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n url = ((response.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return { value: response };\n });\n },\n }),\n };\n}\n","import { iterator } from \"./iterator\";\nexport function paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then((result) => {\n if (result.done) {\n return results;\n }\n let earlyExit = false;\n function done() {\n earlyExit = true;\n }\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n if (earlyExit) {\n return results;\n }\n return gather(octokit, results, iterator, mapFn);\n });\n}\n","import { VERSION } from \"./version\";\nimport { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit),\n }),\n };\n}\npaginateRest.VERSION = VERSION;\n"],"names":[],"mappings":"AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACA1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,SAAS,8BAA8B,CAAC,QAAQ,EAAE;AACzD,IAAI,MAAM,0BAA0B,GAAG,aAAa,IAAI,QAAQ,CAAC,IAAI,IAAI,EAAE,KAAK,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;AACnG,IAAI,IAAI,CAAC,0BAA0B;AACnC,QAAQ,OAAO,QAAQ,CAAC;AACxB;AACA;AACA,IAAI,MAAM,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC;AAC/D,IAAI,MAAM,mBAAmB,GAAG,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC;AACnE,IAAI,MAAM,UAAU,GAA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EAAE,KAAK,EAAE;AACnD,IAAI,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK;AAC5C,QAAQ,IAAI,MAAM,CAAC,IAAI,EAAE;AACzB,YAAY,OAAO,OAAO,CAAC;AAC3B,SAAS;AACT,QAAQ,IAAI,SAAS,GAAG,KAAK,CAAC;AAC9B,QAAQ,SAAS,IAAI,GAAG;AACxB,YAAY,SAAS,GAAG,IAAI,CAAC;AAC7B,SAAS;AACT,QAAQ,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACxF,QAAQ,IAAI,SAAS,EAAE;AACvB,YAAY,OAAO,OAAO,CAAC;AAC3B,SAAS;AACT,QAAQ,OAAO,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;AACzD,KAAK,CAAC,CAAC;AACP,CAAC;;ACpBD;AACA;AACA;AACA;AACA,AAAO,SAAS,YAAY,CAAC,OAAO,EAAE;AACtC,IAAI,OAAO;AACX,QAAQ,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE;AAC9D,YAAY,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC;AAClD,SAAS,CAAC;AACV,KAAK,CAAC;AACN,CAAC;AACD,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/plugin-paginate-rest/package.json b/node_modules/@octokit/plugin-paginate-rest/package.json
deleted file mode 100644
index 6ca2e6964a..0000000000
--- a/node_modules/@octokit/plugin-paginate-rest/package.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "name": "@octokit/plugin-paginate-rest",
- "description": "Octokit plugin to paginate REST API endpoint responses",
- "version": "2.2.3",
- "license": "MIT",
- "files": [
- "dist-*/",
- "bin/"
- ],
- "pika": true,
- "sideEffects": false,
- "keywords": [
- "github",
- "api",
- "sdk",
- "toolkit"
- ],
- "repository": "https://github.com/octokit/plugin-paginate-rest.js",
- "dependencies": {
- "@octokit/types": "^5.0.0"
- },
- "devDependencies": {
- "@octokit/core": "^3.0.0",
- "@octokit/plugin-rest-endpoint-methods": "^4.0.0",
- "@pika/pack": "^0.5.0",
- "@pika/plugin-build-node": "^0.9.0",
- "@pika/plugin-build-web": "^0.9.0",
- "@pika/plugin-ts-standard-pkg": "^0.9.0",
- "@types/fetch-mock": "^7.3.1",
- "@types/jest": "^26.0.0",
- "@types/node": "^14.0.4",
- "fetch-mock": "^9.0.0",
- "jest": "^26.0.1",
- "npm-run-all": "^4.1.5",
- "prettier": "^2.0.4",
- "semantic-release": "^17.0.0",
- "semantic-release-plugin-update-version-in-files": "^1.0.0",
- "ts-jest": "^26.0.0",
- "typescript": "^3.7.2"
- },
- "publishConfig": {
- "access": "public"
- },
- "source": "dist-src/index.js",
- "types": "dist-types/index.d.ts",
- "main": "dist-node/index.js",
- "module": "dist-web/index.js"
-
-,"_resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.3.tgz"
-,"_integrity": "sha512-eKTs91wXnJH8Yicwa30jz6DF50kAh7vkcqCQ9D7/tvBAP5KKkg6I2nNof8Mp/65G0Arjsb4QcOJcIEQY+rK1Rg=="
-,"_from": "@octokit/plugin-paginate-rest@2.2.3"
-}
\ No newline at end of file
diff --git a/node_modules/@octokit/plugin-request-log/LICENSE b/node_modules/@octokit/plugin-request-log/LICENSE
deleted file mode 100644
index d7d59275c3..0000000000
--- a/node_modules/@octokit/plugin-request-log/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-MIT License Copyright (c) 2020 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 (including the next paragraph) 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/plugin-request-log/README.md b/node_modules/@octokit/plugin-request-log/README.md
deleted file mode 100644
index 151886b3a9..0000000000
--- a/node_modules/@octokit/plugin-request-log/README.md
+++ /dev/null
@@ -1,70 +0,0 @@
-# plugin-request-log.js
-
-> Log all requests and request errors
-
-[](https://www.npmjs.com/package/@octokit/plugin-request-log)
-[](https://github.com/octokit/plugin-request-log.js/actions?workflow=Test)
-[](https://greenkeeper.io/)
-
-## Usage
-
-
-
-
-Browsers
-
-
-Load `@octokit/plugin-request-log` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.pika.dev](https://cdn.pika.dev)
-
-```html
-
-```
-
-
-
-Node
-
-
-Install with `npm install @octokit/core @octokit/plugin-request-log`. Optionally replace `@octokit/core` with a core-compatible module
-
-```js
-const { Octokit } = require("@octokit/core");
-const { requestLog } = require("@octokit/plugin-request-log");
-```
-
-
-
-
-
-```js
-const MyOctokit = Octokit.plugin(requestLog);
-const octokit = new MyOctokit({ auth: "secret123" });
-
-octokit.request("GET /");
-// logs "GET / - 200 in 123ms
-
-octokit.request("GET /oops");
-// logs "GET / - 404 in 123ms
-```
-
-In order to log all request options, the `log.debug` option needs to be set. We recommend the [console-log-level](https://github.com/watson/console-log-level) package for a configurable log level
-
-```js
-const octokit = new MyOctokit({
- log: require("console-log-level")({
- auth: "secret123",
- level: "info"
- })
-});
-```
-
-## Contributing
-
-See [CONTRIBUTING.md](CONTRIBUTING.md)
-
-## License
-
-[MIT](LICENSE)
diff --git a/node_modules/@octokit/plugin-request-log/dist-node/index.js b/node_modules/@octokit/plugin-request-log/dist-node/index.js
deleted file mode 100644
index 83c09ef99b..0000000000
--- a/node_modules/@octokit/plugin-request-log/dist-node/index.js
+++ /dev/null
@@ -1,30 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-const VERSION = "1.0.0";
-
-/**
- * @param octokit Octokit instance
- * @param options Options passed to Octokit constructor
- */
-
-function requestLog(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;
- });
- });
-}
-requestLog.VERSION = VERSION;
-
-exports.requestLog = requestLog;
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/plugin-request-log/dist-node/index.js.map b/node_modules/@octokit/plugin-request-log/dist-node/index.js.map
deleted file mode 100644
index 3d13ca222e..0000000000
--- a/node_modules/@octokit/plugin-request-log/dist-node/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"1.0.0\";\n","import { VERSION } from \"./version\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function requestLog(octokit) {\n octokit.hook.wrap(\"request\", (request, options) => {\n octokit.log.debug(\"request\", options);\n const start = Date.now();\n const requestOptions = octokit.request.endpoint.parse(options);\n const path = requestOptions.url.replace(options.baseUrl, \"\");\n return request(options)\n .then(response => {\n octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`);\n return response;\n })\n .catch(error => {\n octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() -\n start}ms`);\n throw error;\n });\n });\n}\nrequestLog.VERSION = VERSION;\n"],"names":["VERSION","requestLog","octokit","hook","wrap","request","options","log","debug","start","Date","now","requestOptions","endpoint","parse","path","url","replace","baseUrl","then","response","info","method","status","catch","error"],"mappings":";;;;AAAO,MAAMA,OAAO,GAAG,mBAAhB;;ACCP;;;;;AAIA,AAAO,SAASC,UAAT,CAAoBC,OAApB,EAA6B;AAChCA,EAAAA,OAAO,CAACC,IAAR,CAAaC,IAAb,CAAkB,SAAlB,EAA6B,CAACC,OAAD,EAAUC,OAAV,KAAsB;AAC/CJ,IAAAA,OAAO,CAACK,GAAR,CAAYC,KAAZ,CAAkB,SAAlB,EAA6BF,OAA7B;AACA,UAAMG,KAAK,GAAGC,IAAI,CAACC,GAAL,EAAd;AACA,UAAMC,cAAc,GAAGV,OAAO,CAACG,OAAR,CAAgBQ,QAAhB,CAAyBC,KAAzB,CAA+BR,OAA/B,CAAvB;AACA,UAAMS,IAAI,GAAGH,cAAc,CAACI,GAAf,CAAmBC,OAAnB,CAA2BX,OAAO,CAACY,OAAnC,EAA4C,EAA5C,CAAb;AACA,WAAOb,OAAO,CAACC,OAAD,CAAP,CACFa,IADE,CACGC,QAAQ,IAAI;AAClBlB,MAAAA,OAAO,CAACK,GAAR,CAAYc,IAAZ,CAAkB,GAAET,cAAc,CAACU,MAAO,IAAGP,IAAK,MAAKK,QAAQ,CAACG,MAAO,OAAMb,IAAI,CAACC,GAAL,KAAaF,KAAM,IAAhG;AACA,aAAOW,QAAP;AACH,KAJM,EAKFI,KALE,CAKIC,KAAK,IAAI;AAChBvB,MAAAA,OAAO,CAACK,GAAR,CAAYc,IAAZ,CAAkB,GAAET,cAAc,CAACU,MAAO,IAAGP,IAAK,MAAKU,KAAK,CAACF,MAAO,OAAMb,IAAI,CAACC,GAAL,KACtEF,KAAM,IADV;AAEA,YAAMgB,KAAN;AACH,KATM,CAAP;AAUH,GAfD;AAgBH;AACDxB,UAAU,CAACD,OAAX,GAAqBA,OAArB;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/plugin-request-log/dist-src/index.js b/node_modules/@octokit/plugin-request-log/dist-src/index.js
deleted file mode 100644
index aa849220d9..0000000000
--- a/node_modules/@octokit/plugin-request-log/dist-src/index.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import { VERSION } from "./version";
-/**
- * @param octokit Octokit instance
- * @param options Options passed to Octokit constructor
- */
-export function requestLog(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;
- });
- });
-}
-requestLog.VERSION = VERSION;
diff --git a/node_modules/@octokit/plugin-request-log/dist-src/version.js b/node_modules/@octokit/plugin-request-log/dist-src/version.js
deleted file mode 100644
index aa2575bab8..0000000000
--- a/node_modules/@octokit/plugin-request-log/dist-src/version.js
+++ /dev/null
@@ -1 +0,0 @@
-export const VERSION = "1.0.0";
diff --git a/node_modules/@octokit/plugin-request-log/dist-types/index.d.ts b/node_modules/@octokit/plugin-request-log/dist-types/index.d.ts
deleted file mode 100644
index 5c28712b9c..0000000000
--- a/node_modules/@octokit/plugin-request-log/dist-types/index.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Octokit } from "@octokit/core";
-/**
- * @param octokit Octokit instance
- * @param options Options passed to Octokit constructor
- */
-export declare function requestLog(octokit: Octokit): void;
-export declare namespace requestLog {
- var VERSION: string;
-}
diff --git a/node_modules/@octokit/plugin-request-log/dist-types/version.d.ts b/node_modules/@octokit/plugin-request-log/dist-types/version.d.ts
deleted file mode 100644
index 5743c2ab51..0000000000
--- a/node_modules/@octokit/plugin-request-log/dist-types/version.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const VERSION = "1.0.0";
diff --git a/node_modules/@octokit/plugin-request-log/dist-web/index.js b/node_modules/@octokit/plugin-request-log/dist-web/index.js
deleted file mode 100644
index 9c06f702fa..0000000000
--- a/node_modules/@octokit/plugin-request-log/dist-web/index.js
+++ /dev/null
@@ -1,28 +0,0 @@
-const VERSION = "1.0.0";
-
-/**
- * @param octokit Octokit instance
- * @param options Options passed to Octokit constructor
- */
-function requestLog(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;
- });
- });
-}
-requestLog.VERSION = VERSION;
-
-export { requestLog };
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/plugin-request-log/dist-web/index.js.map b/node_modules/@octokit/plugin-request-log/dist-web/index.js.map
deleted file mode 100644
index 59145b1dc7..0000000000
--- a/node_modules/@octokit/plugin-request-log/dist-web/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"1.0.0\";\n","import { VERSION } from \"./version\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function requestLog(octokit) {\n octokit.hook.wrap(\"request\", (request, options) => {\n octokit.log.debug(\"request\", options);\n const start = Date.now();\n const requestOptions = octokit.request.endpoint.parse(options);\n const path = requestOptions.url.replace(options.baseUrl, \"\");\n return request(options)\n .then(response => {\n octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`);\n return response;\n })\n .catch(error => {\n octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() -\n start}ms`);\n throw error;\n });\n });\n}\nrequestLog.VERSION = VERSION;\n"],"names":[],"mappings":"AAAO,MAAM,OAAO,GAAG,mBAAmB;;ACC1C;AACA;AACA;AACA;AACA,AAAO,SAAS,UAAU,CAAC,OAAO,EAAE;AACpC,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK;AACvD,QAAQ,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AAC9C,QAAQ,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;AACjC,QAAQ,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AACvE,QAAQ,MAAM,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;AACrE,QAAQ,OAAO,OAAO,CAAC,OAAO,CAAC;AAC/B,aAAa,IAAI,CAAC,QAAQ,IAAI;AAC9B,YAAY,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;AACjH,YAAY,OAAO,QAAQ,CAAC;AAC5B,SAAS,CAAC;AACV,aAAa,KAAK,CAAC,KAAK,IAAI;AAC5B,YAAY,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE;AAChG,gBAAgB,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;AAC3B,YAAY,MAAM,KAAK,CAAC;AACxB,SAAS,CAAC,CAAC;AACX,KAAK,CAAC,CAAC;AACP,CAAC;AACD,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/plugin-request-log/package.json b/node_modules/@octokit/plugin-request-log/package.json
deleted file mode 100644
index dde789f3cd..0000000000
--- a/node_modules/@octokit/plugin-request-log/package.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "name": "@octokit/plugin-request-log",
- "description": "Log all requests and request errors",
- "version": "1.0.0",
- "license": "MIT",
- "files": [
- "dist-*/",
- "bin/"
- ],
- "pika": true,
- "sideEffects": false,
- "keywords": [
- "github",
- "api",
- "sdk",
- "toolkit"
- ],
- "repository": "https://github.com/octokit/plugin-request-log.js",
- "dependencies": {},
- "devDependencies": {
- "@octokit/core": "^2.1.2",
- "@pika/pack": "^0.5.0",
- "@pika/plugin-build-node": "^0.8.1",
- "@pika/plugin-build-web": "^0.8.1",
- "@pika/plugin-ts-standard-pkg": "^0.8.1",
- "@types/fetch-mock": "^7.3.2",
- "@types/jest": "^24.0.25",
- "@types/node": "^13.1.6",
- "fetch-mock": "^8.3.1",
- "jest": "^24.9.0",
- "prettier": "^1.19.1",
- "semantic-release": "^16.0.1",
- "semantic-release-plugin-update-version-in-files": "^1.0.0",
- "ts-jest": "^24.3.0",
- "typescript": "^3.7.4"
- },
- "publishConfig": {
- "access": "public"
- },
- "source": "dist-src/index.js",
- "types": "dist-types/index.d.ts",
- "main": "dist-node/index.js",
- "module": "dist-web/index.js"
-
-,"_resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.0.tgz"
-,"_integrity": "sha512-ywoxP68aOT3zHCLgWZgwUJatiENeHE7xJzYjfz8WI0goynp96wETBF+d95b8g/uL4QmS6owPVlaxiz3wyMAzcw=="
-,"_from": "@octokit/plugin-request-log@1.0.0"
-}
\ No newline at end of file
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE b/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE
deleted file mode 100644
index 57bee5f182..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-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 (including the next paragraph) 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/plugin-rest-endpoint-methods/README.md b/node_modules/@octokit/plugin-rest-endpoint-methods/README.md
deleted file mode 100644
index 5168abfb36..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/README.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# plugin-rest-endpoint-methods.js
-
-> Octokit plugin adding one method for all of api.github.com REST API endpoints
-
-[](https://www.npmjs.com/package/@octokit/plugin-rest-endpoint-methods)
-[](https://github.com/octokit/plugin-rest-endpoint-methods.js/actions?workflow=Test)
-
-## Usage
-
-
-
-
-Browsers
-
-
-Load `@octokit/plugin-rest-endpoint-methods` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.pika.dev](https://cdn.pika.dev)
-
-```html
-
-```
-
-
-
-Node
-
-
-Install with `npm install @octokit/core @octokit/plugin-rest-endpoint-methods`. Optionally replace `@octokit/core` with a compatible module
-
-```js
-const { Octokit } = require("@octokit/core");
-const {
- restEndpointMethods,
-} = require("@octokit/plugin-rest-endpoint-methods");
-```
-
-
-
-
-
-```js
-const MyOctokit = Octokit.plugin(restEndpointMethods);
-const octokit = new MyOctokit({ auth: "secret123" });
-
-// https://developer.github.com/v3/users/#get-the-authenticated-user
-octokit.users.getAuthenticated();
-```
-
-There is one method for each REST API endpoint documented at [https://developer.github.com/v3](https://developer.github.com/v3). All endpoint methods are documented in the [docs/](docs/) folder, e.g. [docs/users/getAuthenticated.md](docs/users/getAuthenticated.md)
-
-## TypeScript
-
-Parameter and response types for all endpoint methods exported as `{ RestEndpointMethodTypes }`.
-
-Example
-
-```ts
-import { RestEndpointMethodTypes } from "@octokit/rest-endpoint-methods";
-
-type UpdateLabelParameters = RestEndpointMethodTypes["issues"]["updateLabel"]["parameters"];
-type UpdateLabelResponse = RestEndpointMethodTypes["issues"]["updateLabel"]["response"];
-```
-
-## Contributing
-
-See [CONTRIBUTING.md](CONTRIBUTING.md)
-
-## License
-
-[MIT](LICENSE)
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js
deleted file mode 100644
index 22dd15aed2..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js
+++ /dev/null
@@ -1,1751 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-const Endpoints = {
- actions: {
- addSelectedRepoToOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],
- cancelWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],
- createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"],
- createOrUpdateRepoSecret: ["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, {
- renamedParameters: {
- name: "secret_name"
- }
- }],
- createOrUpdateSecretForRepo: ["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, {
- renamed: ["actions", "createOrUpdateRepoSecret"],
- renamedParameters: {
- name: "secret_name"
- }
- }],
- createRegistrationToken: ["POST /repos/{owner}/{repo}/actions/runners/registration-token", {}, {
- renamed: ["actions", "createRegistrationTokenForRepo"]
- }],
- createRegistrationTokenForOrg: ["POST /orgs/{org}/actions/runners/registration-token"],
- createRegistrationTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/registration-token"],
- createRemoveToken: ["POST /repos/{owner}/{repo}/actions/runners/remove-token", {}, {
- renamed: ["actions", "createRemoveTokenForRepo"]
- }],
- createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"],
- createRemoveTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/remove-token"],
- deleteArtifact: ["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],
- deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"],
- deleteRepoSecret: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, {
- renamedParameters: {
- name: "secret_name"
- }
- }],
- deleteSecretFromRepo: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, {
- renamed: ["actions", "deleteRepoSecret"],
- renamedParameters: {
- name: "secret_name"
- }
- }],
- deleteSelfHostedRunnerFromOrg: ["DELETE /orgs/{org}/actions/runners/{runner_id}"],
- deleteSelfHostedRunnerFromRepo: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],
- deleteWorkflowRunLogs: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],
- downloadArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],
- downloadJobLogsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],
- downloadWorkflowJobLogs: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", {}, {
- renamed: ["actions", "downloadJobLogsForWorkflowRun"]
- }],
- downloadWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],
- getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],
- getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],
- getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"],
- getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"],
- getPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key", {}, {
- renamed: ["actions", "getRepoPublicKey"]
- }],
- getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"],
- getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, {
- renamedParameters: {
- name: "secret_name"
- }
- }],
- getSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, {
- renamed: ["actions", "getRepoSecret"],
- renamedParameters: {
- name: "secret_name"
- }
- }],
- getSelfHostedRunner: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}", {}, {
- renamed: ["actions", "getSelfHostedRunnerForRepo"]
- }],
- getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"],
- getSelfHostedRunnerForRepo: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],
- getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],
- getWorkflowJob: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}", {}, {
- renamed: ["actions", "getJobForWorkflowRun"]
- }],
- getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],
- getWorkflowRunUsage: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],
- getWorkflowUsage: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],
- listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"],
- listDownloadsForSelfHostedRunnerApplication: ["GET /repos/{owner}/{repo}/actions/runners/downloads", {}, {
- renamed: ["actions", "listRunnerApplicationsForRepo"]
- }],
- listJobsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],
- listOrgSecrets: ["GET /orgs/{org}/actions/secrets"],
- listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"],
- listRepoWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/runs", {}, {
- renamed: ["actions", "listWorkflowRunsForRepo"]
- }],
- listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"],
- listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"],
- listRunnerApplicationsForRepo: ["GET /repos/{owner}/{repo}/actions/runners/downloads"],
- listSecretsForRepo: ["GET /repos/{owner}/{repo}/actions/secrets", {}, {
- renamed: ["actions", "listRepoSecrets"]
- }],
- listSelectedReposForOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],
- listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"],
- listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"],
- listWorkflowJobLogs: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs", {}, {
- renamed: ["actions", "downloadWorkflowJobLogs"]
- }],
- listWorkflowRunArtifacts: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],
- listWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs", {}, {
- renamed: ["actions", "downloadWorkflowRunLogs"]
- }],
- listWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],
- listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"],
- reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],
- removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],
- removeSelfHostedRunner: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", {}, {
- renamed: ["actions", "deleteSelfHostedRunnerFromRepo"]
- }],
- setSelectedReposForOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"]
- },
- activity: {
- checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"],
- checkStarringRepo: ["GET /user/starred/{owner}/{repo}", {}, {
- renamed: ["activity", "checkRepoIsStarredByAuthenticatedUser"]
- }],
- deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"],
- deleteThreadSubscription: ["DELETE /notifications/threads/{thread_id}/subscription"],
- getFeeds: ["GET /feeds"],
- getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"],
- getThread: ["GET /notifications/threads/{thread_id}"],
- getThreadSubscription: ["PUT /notifications", {}, {
- renamed: ["activity", "getThreadSubscriptionForAuthenticatedUser"]
- }],
- getThreadSubscriptionForAuthenticatedUser: ["GET /notifications/threads/{thread_id}/subscription"],
- listEventsForAuthenticatedUser: ["GET /users/{username}/events"],
- listEventsForOrg: ["GET /users/{username}/events/orgs/{org}", {}, {
- renamed: ["activity", "listOrgEventsForAuthenticatedUser"]
- }],
- listEventsForUser: ["GET /users/{username}/events", {}, {
- renamed: ["activity", "listEventsForAuthenticatedUser"]
- }],
- listFeeds: ["GET /feeds", {}, {
- renamed: ["activity", "getFeeds"]
- }],
- listNotifications: ["GET /notifications", {}, {
- renamed: ["activity", "listNotificationsForAuthenticatedUser"]
- }],
- listNotificationsForAuthenticatedUser: ["GET /notifications"],
- listNotificationsForRepo: ["GET /repos/{owner}/{repo}/notifications", {}, {
- renamed: ["activity", "listRepoNotificationsForAuthenticatedUser"]
- }],
- listOrgEventsForAuthenticatedUser: ["GET /users/{username}/events/orgs/{org}"],
- listPublicEvents: ["GET /events"],
- listPublicEventsForOrg: ["GET /orgs/{org}/events", {}, {
- renamed: ["activity", "listPublicOrgEvents"]
- }],
- listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"],
- listPublicEventsForUser: ["GET /users/{username}/events/public"],
- listPublicOrgEvents: ["GET /orgs/{org}/events"],
- listReceivedEventsForUser: ["GET /users/{username}/received_events"],
- listReceivedPublicEventsForUser: ["GET /users/{username}/received_events/public"],
- listRepoEvents: ["GET /repos/{owner}/{repo}/events"],
- listRepoNotificationsForAuthenticatedUser: ["GET /repos/{owner}/{repo}/notifications"],
- listReposStarredByAuthenticatedUser: ["GET /user/starred"],
- listReposStarredByUser: ["GET /users/{username}/starred"],
- listReposWatchedByUser: ["GET /users/{username}/subscriptions"],
- listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"],
- listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"],
- listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"],
- markAsRead: ["PUT /notifications", {}, {
- renamed: ["activity", "markNotificationsAsRead"]
- }],
- markNotificationsAsRead: ["PUT /notifications"],
- markNotificationsAsReadForRepo: ["PUT /repos/{owner}/{repo}/notifications", {}, {
- renamed: ["activity", "markRepoNotificationsAsRead"]
- }],
- markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"],
- markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"],
- setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"],
- setThreadSubscription: ["PUT /notifications/threads/{thread_id}/subscription"],
- starRepo: ["PUT /user/starred/{owner}/{repo}", {}, {
- renamed: ["activity", "starRepoForAuthenticatedUser"]
- }],
- starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"],
- unstarRepo: ["DELETE /user/starred/{owner}/{repo}", {}, {
- renamed: ["activity", "unstarRepoForAuthenticatedUser"]
- }],
- unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"]
- },
- apps: {
- addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- checkAccountIsAssociatedWithAny: ["GET /marketplace_listing/accounts/{account_id}", {}, {
- renamed: ["apps", "getSubscriptionPlanForAccount"]
- }],
- checkAccountIsAssociatedWithAnyStubbed: ["GET /marketplace_listing/stubbed/accounts/{account_id}", {}, {
- renamed: ["apps", "getSubscriptionPlanForAccountStubbed"]
- }],
- checkToken: ["POST /applications/{client_id}/token"],
- createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", {
- mediaType: {
- previews: ["corsair"]
- }
- }],
- createFromManifest: ["POST /app-manifests/{code}/conversions"],
- createInstallationAccessToken: ["POST /app/installations/{installation_id}/access_tokens", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- createInstallationToken: ["POST /app/installations/{installation_id}/access_tokens", {
- mediaType: {
- previews: ["machine-man"]
- }
- }, {
- renamed: ["apps", "createInstallationAccessToken"]
- }],
- deleteAuthorization: ["DELETE /applications/{client_id}/grant"],
- deleteInstallation: ["DELETE /app/installations/{installation_id}", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- deleteToken: ["DELETE /applications/{client_id}/token"],
- getAuthenticated: ["GET /app", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- getBySlug: ["GET /apps/{app_slug}", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- getInstallation: ["GET /app/installations/{installation_id}", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- getOrgInstallation: ["GET /orgs/{org}/installation", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- getRepoInstallation: ["GET /repos/{owner}/{repo}/installation", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- getSubscriptionPlanForAccount: ["GET /marketplace_listing/accounts/{account_id}"],
- getSubscriptionPlanForAccountStubbed: ["GET /marketplace_listing/stubbed/accounts/{account_id}"],
- getUserInstallation: ["GET /users/{username}/installation", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"],
- listAccountsForPlanStubbed: ["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],
- listAccountsUserOrOrgOnPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts", {}, {
- renamed: ["apps", "listAccountsForPlan"]
- }],
- listAccountsUserOrOrgOnPlanStubbed: ["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", {}, {
- renamed: ["apps", "listAccountsForPlanStubbed"]
- }],
- listInstallationReposForAuthenticatedUser: ["GET /user/installations/{installation_id}/repositories", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- listInstallations: ["GET /app/installations", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- listInstallationsForAuthenticatedUser: ["GET /user/installations", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- listMarketplacePurchasesForAuthenticatedUser: ["GET /user/marketplace_purchases", {}, {
- renamed: ["apps", "listSubscriptionsForAuthenticatedUser"]
- }],
- listMarketplacePurchasesForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed", {}, {
- renamed: ["apps", "listSubscriptionsForAuthenticatedUserStubbed"]
- }],
- listPlans: ["GET /marketplace_listing/plans"],
- listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"],
- listRepos: ["GET /installation/repositories", {
- mediaType: {
- previews: ["machine-man"]
- }
- }, {
- renamed: ["apps", "listReposAccessibleToInstallation"]
- }],
- listReposAccessibleToInstallation: ["GET /installation/repositories", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"],
- listSubscriptionsForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed"],
- removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- resetToken: ["PATCH /applications/{client_id}/token"],
- revokeInstallationAccessToken: ["DELETE /installation/token"],
- revokeInstallationToken: ["DELETE /installation/token", {}, {
- renamed: ["apps", "revokeInstallationAccessToken"]
- }],
- suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"],
- unsuspendInstallation: ["DELETE /app/installations/{installation_id}/suspended"]
- },
- checks: {
- create: ["POST /repos/{owner}/{repo}/check-runs", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- createSuite: ["POST /repos/{owner}/{repo}/check-suites", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- listAnnotations: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- listForSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- rerequestSuite: ["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- setSuitesPreferences: ["PATCH /repos/{owner}/{repo}/check-suites/preferences", {
- mediaType: {
- previews: ["antiope"]
- }
- }],
- update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}", {
- mediaType: {
- previews: ["antiope"]
- }
- }]
- },
- codeScanning: {
- getAlert: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}"],
- listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"]
- },
- codesOfConduct: {
- getAllCodesOfConduct: ["GET /codes_of_conduct", {
- mediaType: {
- previews: ["scarlet-witch"]
- }
- }],
- getConductCode: ["GET /codes_of_conduct/{key}", {
- mediaType: {
- previews: ["scarlet-witch"]
- }
- }],
- getForRepo: ["GET /repos/{owner}/{repo}/community/code_of_conduct", {
- mediaType: {
- previews: ["scarlet-witch"]
- }
- }],
- listConductCodes: ["GET /codes_of_conduct", {
- mediaType: {
- previews: ["scarlet-witch"]
- }
- }, {
- renamed: ["codesOfConduct", "getAllCodesOfConduct"]
- }]
- },
- emojis: {
- get: ["GET /emojis"]
- },
- gists: {
- checkIsStarred: ["GET /gists/{gist_id}/star"],
- create: ["POST /gists"],
- createComment: ["POST /gists/{gist_id}/comments"],
- delete: ["DELETE /gists/{gist_id}"],
- deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"],
- fork: ["POST /gists/{gist_id}/forks"],
- get: ["GET /gists/{gist_id}"],
- getComment: ["GET /gists/{gist_id}/comments/{comment_id}"],
- getRevision: ["GET /gists/{gist_id}/{sha}"],
- list: ["GET /gists"],
- listComments: ["GET /gists/{gist_id}/comments"],
- listCommits: ["GET /gists/{gist_id}/commits"],
- listForUser: ["GET /users/{username}/gists"],
- listForks: ["GET /gists/{gist_id}/forks"],
- listPublic: ["GET /gists/public"],
- listPublicForUser: ["GET /users/{username}/gists", {}, {
- renamed: ["gists", "listForUser"]
- }],
- listStarred: ["GET /gists/starred"],
- star: ["PUT /gists/{gist_id}/star"],
- unstar: ["DELETE /gists/{gist_id}/star"],
- update: ["PATCH /gists/{gist_id}"],
- updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"]
- },
- git: {
- createBlob: ["POST /repos/{owner}/{repo}/git/blobs"],
- createCommit: ["POST /repos/{owner}/{repo}/git/commits"],
- createRef: ["POST /repos/{owner}/{repo}/git/refs"],
- createTag: ["POST /repos/{owner}/{repo}/git/tags"],
- createTree: ["POST /repos/{owner}/{repo}/git/trees"],
- deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],
- getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],
- getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],
- getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"],
- getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],
- getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],
- listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],
- updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]
- },
- gitignore: {
- getAllTemplates: ["GET /gitignore/templates"],
- getTemplate: ["GET /gitignore/templates/{name}"],
- listTemplates: ["GET /gitignore/templates", {}, {
- renamed: ["gitignore", "getAllTemplates"]
- }]
- },
- interactions: {
- addOrUpdateRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits", {
- mediaType: {
- previews: ["sombra"]
- }
- }, {
- renamed: ["interactions", "setRestrictionsForOrg"]
- }],
- addOrUpdateRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits", {
- mediaType: {
- previews: ["sombra"]
- }
- }, {
- renamed: ["interactions", "setRestrictionsForRepo"]
- }],
- getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits", {
- mediaType: {
- previews: ["sombra"]
- }
- }],
- getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits", {
- mediaType: {
- previews: ["sombra"]
- }
- }],
- removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits", {
- mediaType: {
- previews: ["sombra"]
- }
- }],
- removeRestrictionsForRepo: ["DELETE /repos/{owner}/{repo}/interaction-limits", {
- mediaType: {
- previews: ["sombra"]
- }
- }],
- setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits", {
- mediaType: {
- previews: ["sombra"]
- }
- }],
- setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits", {
- mediaType: {
- previews: ["sombra"]
- }
- }]
- },
- issues: {
- addAssignees: ["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],
- addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],
- checkAssignee: ["GET /repos/{owner}/{repo}/assignees/{assignee}", {}, {
- renamed: ["issues", "checkUserCanBeAssigned"]
- }],
- checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"],
- create: ["POST /repos/{owner}/{repo}/issues"],
- createComment: ["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],
- createLabel: ["POST /repos/{owner}/{repo}/labels"],
- createMilestone: ["POST /repos/{owner}/{repo}/milestones"],
- deleteComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],
- deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"],
- deleteMilestone: ["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],
- get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"],
- getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],
- getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"],
- getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"],
- getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],
- list: ["GET /issues"],
- listAssignees: ["GET /repos/{owner}/{repo}/assignees"],
- listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],
- listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"],
- listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],
- listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"],
- listEventsForTimeline: ["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", {
- mediaType: {
- previews: ["mockingbird"]
- }
- }],
- listForAuthenticatedUser: ["GET /user/issues"],
- listForOrg: ["GET /orgs/{org}/issues"],
- listForRepo: ["GET /repos/{owner}/{repo}/issues"],
- listLabelsForMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],
- listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"],
- listLabelsOnIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],
- listMilestones: ["GET /repos/{owner}/{repo}/milestones"],
- listMilestonesForRepo: ["GET /repos/{owner}/{repo}/milestones", {}, {
- renamed: ["issues", "listMilestones"]
- }],
- lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],
- removeAllLabels: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],
- removeAssignees: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],
- removeLabel: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],
- removeLabels: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels", {}, {
- renamed: ["issues", "removeAllLabels"]
- }],
- replaceAllLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels", {}, {
- renamed: ["issues", "setLabels"]
- }],
- replaceLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels", {}, {
- renamed: ["issues", "replaceAllLabels"]
- }],
- setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],
- unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],
- update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],
- updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],
- updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"],
- updateMilestone: ["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]
- },
- licenses: {
- get: ["GET /licenses/{license}"],
- getAllCommonlyUsed: ["GET /licenses"],
- getForRepo: ["GET /repos/{owner}/{repo}/license"],
- listCommonlyUsed: ["GET /licenses", {}, {
- renamed: ["licenses", "getAllCommonlyUsed"]
- }]
- },
- markdown: {
- render: ["POST /markdown"],
- renderRaw: ["POST /markdown/raw", {
- headers: {
- "content-type": "text/plain; charset=utf-8"
- }
- }]
- },
- meta: {
- get: ["GET /meta"]
- },
- migrations: {
- cancelImport: ["DELETE /repos/{owner}/{repo}/import"],
- deleteArchiveForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/archive", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- deleteArchiveForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/archive", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- downloadArchiveForOrg: ["GET /orgs/{org}/migrations/{migration_id}/archive", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- getArchiveForAuthenticatedUser: ["GET /user/migrations/{migration_id}/archive", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"],
- getImportProgress: ["GET /repos/{owner}/{repo}/import", {}, {
- renamed: ["migrations", "getImportStatus"]
- }],
- getImportStatus: ["GET /repos/{owner}/{repo}/import"],
- getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"],
- getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- listForAuthenticatedUser: ["GET /user/migrations", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- listForOrg: ["GET /orgs/{org}/migrations", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- listReposForUser: ["GET /user/{migration_id}/repositories", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],
- setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"],
- startForAuthenticatedUser: ["POST /user/migrations"],
- startForOrg: ["POST /orgs/{org}/migrations"],
- startImport: ["PUT /repos/{owner}/{repo}/import"],
- unlockRepoForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- unlockRepoForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", {
- mediaType: {
- previews: ["wyandotte"]
- }
- }],
- updateImport: ["PATCH /repos/{owner}/{repo}/import"]
- },
- orgs: {
- addOrUpdateMembership: ["PUT /orgs/{org}/memberships/{username}", {}, {
- renamed: ["orgs", "setMembershipForUser"]
- }],
- blockUser: ["PUT /orgs/{org}/blocks/{username}"],
- checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"],
- checkMembership: ["GET /orgs/{org}/members/{username}", {}, {
- renamed: ["orgs", "checkMembershipForUser"]
- }],
- checkMembershipForUser: ["GET /orgs/{org}/members/{username}"],
- checkPublicMembership: ["GET /orgs/{org}/public_members/{username}", {}, {
- renamed: ["orgs", "checkPublicMembershipForUser"]
- }],
- checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"],
- concealMembership: ["DELETE /orgs/{org}/public_members/{username}", {}, {
- renamed: ["orgs", "removePublicMembershipForAuthenticatedUser"]
- }],
- convertMemberToOutsideCollaborator: ["PUT /orgs/{org}/outside_collaborators/{username}"],
- createHook: ["POST /orgs/{org}/hooks", {}, {
- renamed: ["orgs", "createWebhook"]
- }],
- createInvitation: ["POST /orgs/{org}/invitations"],
- createWebhook: ["POST /orgs/{org}/hooks"],
- deleteHook: ["DELETE /orgs/{org}/hooks/{hook_id}", {}, {
- renamed: ["orgs", "deleteWebhook"]
- }],
- deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
- get: ["GET /orgs/{org}"],
- getHook: ["GET /orgs/{org}/hooks/{hook_id}", {}, {
- renamed: ["orgs", "getWebhook"]
- }],
- getMembership: ["GET /orgs/{org}/memberships/{username}", {}, {
- renamed: ["orgs", "getMembershipForUser"]
- }],
- getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"],
- getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"],
- getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"],
- list: ["GET /organizations"],
- listAppInstallations: ["GET /orgs/{org}/installations", {
- mediaType: {
- previews: ["machine-man"]
- }
- }],
- listBlockedUsers: ["GET /orgs/{org}/blocks"],
- listForAuthenticatedUser: ["GET /user/orgs"],
- listForUser: ["GET /users/{username}/orgs"],
- listHooks: ["GET /orgs/{org}/hooks", {}, {
- renamed: ["orgs", "listWebhooks"]
- }],
- listInstallations: ["GET /orgs/{org}/installations", {
- mediaType: {
- previews: ["machine-man"]
- }
- }, {
- renamed: ["orgs", "listAppInstallations"]
- }],
- listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"],
- listMembers: ["GET /orgs/{org}/members"],
- listMemberships: ["GET /user/memberships/orgs", {}, {
- renamed: ["orgs", "listMembershipsForAuthenticatedUser"]
- }],
- listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"],
- listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"],
- listPendingInvitations: ["GET /orgs/{org}/invitations"],
- listPublicMembers: ["GET /orgs/{org}/public_members"],
- listWebhooks: ["GET /orgs/{org}/hooks"],
- pingHook: ["POST /orgs/{org}/hooks/{hook_id}/pings", {}, {
- renamed: ["orgs", "pingWebhook"]
- }],
- pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"],
- publicizeMembership: ["PUT /orgs/{org}/public_members/{username}", {}, {
- renamed: ["orgs", "setPublicMembershipForAuthenticatedUser"]
- }],
- removeMember: ["DELETE /orgs/{org}/members/{username}"],
- removeMembership: ["DELETE /orgs/{org}/memberships/{username}", {}, {
- renamed: ["orgs", "removeMembershipForUser"]
- }],
- removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"],
- removeOutsideCollaborator: ["DELETE /orgs/{org}/outside_collaborators/{username}"],
- removePublicMembershipForAuthenticatedUser: ["DELETE /orgs/{org}/public_members/{username}"],
- setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"],
- setPublicMembershipForAuthenticatedUser: ["PUT /orgs/{org}/public_members/{username}"],
- unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
- update: ["PATCH /orgs/{org}"],
- updateHook: ["PATCH /orgs/{org}/hooks/{hook_id}", {}, {
- renamed: ["orgs", "updateWebhook"]
- }],
- updateMembership: ["PATCH /user/memberships/orgs/{org}", {}, {
- renamed: ["orgs", "updateMembershipForAuthenticatedUser"]
- }],
- updateMembershipForAuthenticatedUser: ["PATCH /user/memberships/orgs/{org}"],
- updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"]
- },
- projects: {
- addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- createCard: ["POST /projects/columns/{column_id}/cards", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- createColumn: ["POST /projects/{project_id}/columns", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- createForAuthenticatedUser: ["POST /user/projects", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- createForOrg: ["POST /orgs/{org}/projects", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- createForRepo: ["POST /repos/{owner}/{repo}/projects", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- delete: ["DELETE /projects/{project_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- deleteCard: ["DELETE /projects/columns/cards/{card_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- deleteColumn: ["DELETE /projects/columns/{column_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- get: ["GET /projects/{project_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- getCard: ["GET /projects/columns/cards/{card_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- getColumn: ["GET /projects/columns/{column_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- getPermissionForUser: ["GET /projects/{project_id}/collaborators/{username}/permission", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- listCards: ["GET /projects/columns/{column_id}/cards", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- listCollaborators: ["GET /projects/{project_id}/collaborators", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- listColumns: ["GET /projects/{project_id}/columns", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- listForOrg: ["GET /orgs/{org}/projects", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- listForRepo: ["GET /repos/{owner}/{repo}/projects", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- listForUser: ["GET /users/{username}/projects", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- moveCard: ["POST /projects/columns/cards/{card_id}/moves", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- moveColumn: ["POST /projects/columns/{column_id}/moves", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- removeCollaborator: ["DELETE /projects/{project_id}/collaborators/{username}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- reviewUserPermissionLevel: ["GET /projects/{project_id}/collaborators/{username}/permission", {
- mediaType: {
- previews: ["inertia"]
- }
- }, {
- renamed: ["projects", "getPermissionForUser"]
- }],
- update: ["PATCH /projects/{project_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- updateCard: ["PATCH /projects/columns/cards/{card_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- updateColumn: ["PATCH /projects/columns/{column_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }]
- },
- pulls: {
- checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
- create: ["POST /repos/{owner}/{repo}/pulls"],
- createComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments", {}, {
- renamed: ["pulls", "createReviewComment"]
- }],
- createReplyForReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],
- createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],
- createReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],
- createReviewCommentReply: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", {}, {
- renamed: ["pulls", "createReplyForReviewComment"]
- }],
- createReviewRequest: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", {}, {
- renamed: ["pulls", "requestReviewers"]
- }],
- deleteComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}", {}, {
- renamed: ["pulls", "deleteReviewComment"]
- }],
- deletePendingReview: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],
- deleteReviewComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],
- deleteReviewRequest: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", {}, {
- renamed: ["pulls", "removeRequestedReviewers"]
- }],
- dismissReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],
- get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"],
- getComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}", {}, {
- renamed: ["pulls", "getReviewComment"]
- }],
- getCommentsForReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", {}, {
- renamed: ["pulls", "listCommentsForReview"]
- }],
- getReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],
- getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],
- list: ["GET /repos/{owner}/{repo}/pulls"],
- listComments: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", {}, {
- renamed: ["pulls", "listReviewComments"]
- }],
- listCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments", {}, {
- renamed: ["pulls", "listReviewCommentsForRepo"]
- }],
- listCommentsForReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],
- listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],
- listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],
- listRequestedReviewers: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],
- listReviewComments: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],
- listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"],
- listReviewRequests: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", {}, {
- renamed: ["pulls", "listRequestedReviewers"]
- }],
- listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],
- merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
- removeRequestedReviewers: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],
- requestReviewers: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],
- submitReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],
- update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],
- updateBranch: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", {
- mediaType: {
- previews: ["lydian"]
- }
- }],
- updateComment: ["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}", {}, {
- renamed: ["pulls", "updateReviewComment"]
- }],
- updateReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],
- updateReviewComment: ["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]
- },
- rateLimit: {
- get: ["GET /rate_limit"]
- },
- reactions: {
- createForCommitComment: ["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- createForIssue: ["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- createForIssueComment: ["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- createForPullRequestReviewComment: ["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- createForTeamDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- createForTeamDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- delete: ["DELETE /reactions/{reaction_id}", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }, {
- renamed: ["reactions", "deleteLegacy"]
- }],
- deleteForCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- deleteForIssue: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- deleteForIssueComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- deleteForPullRequestComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- deleteForTeamDiscussion: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- deleteForTeamDiscussionComment: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- deleteLegacy: ["DELETE /reactions/{reaction_id}", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }, {
- deprecated: "octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy"
- }],
- listForCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- listForIssueComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- listForPullRequestReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- listForTeamDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }],
- listForTeamDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", {
- mediaType: {
- previews: ["squirrel-girl"]
- }
- }]
- },
- repos: {
- acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"],
- addAppAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, {
- mapToData: "apps"
- }],
- addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"],
- addDeployKey: ["POST /repos/{owner}/{repo}/keys", {}, {
- renamed: ["repos", "createDeployKey"]
- }],
- addProtectedBranchAdminEnforcement: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", {}, {
- renamed: ["repos", "setAdminBranchProtection"]
- }],
- addProtectedBranchAppRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, {
- mapToData: "apps",
- renamed: ["repos", "addAppAccessRestrictions"]
- }],
- addProtectedBranchRequiredSignatures: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", {
- mediaType: {
- previews: ["zzzax"]
- }
- }, {
- renamed: ["repos", "createCommitSignatureProtection"]
- }],
- addProtectedBranchRequiredStatusChecksContexts: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, {
- mapToData: "contexts",
- renamed: ["repos", "addStatusCheckContexts"]
- }],
- addProtectedBranchTeamRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, {
- mapToData: "teams",
- renamed: ["repos", "addTeamAccessRestrictions"]
- }],
- addProtectedBranchUserRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, {
- mapToData: "users",
- renamed: ["repos", "addUserAccessRestrictions"]
- }],
- addStatusCheckContexts: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, {
- mapToData: "contexts"
- }],
- addTeamAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, {
- mapToData: "teams"
- }],
- addUserAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, {
- mapToData: "users"
- }],
- checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"],
- checkVulnerabilityAlerts: ["GET /repos/{owner}/{repo}/vulnerability-alerts", {
- mediaType: {
- previews: ["dorian"]
- }
- }],
- compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"],
- createCommitComment: ["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],
- createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", {
- mediaType: {
- previews: ["zzzax"]
- }
- }],
- createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"],
- createDeployKey: ["POST /repos/{owner}/{repo}/keys"],
- createDeployment: ["POST /repos/{owner}/{repo}/deployments"],
- createDeploymentStatus: ["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],
- createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"],
- createForAuthenticatedUser: ["POST /user/repos"],
- createFork: ["POST /repos/{owner}/{repo}/forks"],
- createHook: ["POST /repos/{owner}/{repo}/hooks", {}, {
- renamed: ["repos", "createWebhook"]
- }],
- createInOrg: ["POST /orgs/{org}/repos"],
- createOrUpdateFile: ["PUT /repos/{owner}/{repo}/contents/{path}", {}, {
- renamed: ["repos", "createOrUpdateFileContents"]
- }],
- createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"],
- createPagesSite: ["POST /repos/{owner}/{repo}/pages", {
- mediaType: {
- previews: ["switcheroo"]
- }
- }],
- createRelease: ["POST /repos/{owner}/{repo}/releases"],
- createStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}", {}, {
- renamed: ["repos", "createCommitStatus"]
- }],
- createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate", {
- mediaType: {
- previews: ["baptiste"]
- }
- }],
- createWebhook: ["POST /repos/{owner}/{repo}/hooks"],
- declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"],
- delete: ["DELETE /repos/{owner}/{repo}"],
- deleteAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],
- deleteAdminBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],
- deleteBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],
- deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],
- deleteCommitSignatureProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", {
- mediaType: {
- previews: ["zzzax"]
- }
- }],
- deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"],
- deleteDeployment: ["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],
- deleteDownload: ["DELETE /repos/{owner}/{repo}/downloads/{download_id}"],
- deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"],
- deleteHook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}", {}, {
- renamed: ["repos", "deleteWebhook"]
- }],
- deleteInvitation: ["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],
- deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages", {
- mediaType: {
- previews: ["switcheroo"]
- }
- }],
- deletePullRequestReviewProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],
- deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"],
- deleteReleaseAsset: ["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],
- deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],
- disableAutomatedSecurityFixes: ["DELETE /repos/{owner}/{repo}/automated-security-fixes", {
- mediaType: {
- previews: ["london"]
- }
- }],
- disablePagesSite: ["DELETE /repos/{owner}/{repo}/pages", {
- mediaType: {
- previews: ["switcheroo"]
- }
- }, {
- renamed: ["repos", "deletePagesSite"]
- }],
- disableVulnerabilityAlerts: ["DELETE /repos/{owner}/{repo}/vulnerability-alerts", {
- mediaType: {
- previews: ["dorian"]
- }
- }],
- downloadArchive: ["GET /repos/{owner}/{repo}/{archive_format}/{ref}"],
- enableAutomatedSecurityFixes: ["PUT /repos/{owner}/{repo}/automated-security-fixes", {
- mediaType: {
- previews: ["london"]
- }
- }],
- enablePagesSite: ["POST /repos/{owner}/{repo}/pages", {
- mediaType: {
- previews: ["switcheroo"]
- }
- }, {
- renamed: ["repos", "createPagesSite"]
- }],
- enableVulnerabilityAlerts: ["PUT /repos/{owner}/{repo}/vulnerability-alerts", {
- mediaType: {
- previews: ["dorian"]
- }
- }],
- get: ["GET /repos/{owner}/{repo}"],
- getAccessRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],
- getAdminBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],
- getAllStatusCheckContexts: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],
- getAllTopics: ["GET /repos/{owner}/{repo}/topics", {
- mediaType: {
- previews: ["mercy"]
- }
- }],
- getAppsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],
- getArchiveLink: ["GET /repos/{owner}/{repo}/{archive_format}/{ref}", {}, {
- renamed: ["repos", "downloadArchive"]
- }],
- getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"],
- getBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection"],
- getClones: ["GET /repos/{owner}/{repo}/traffic/clones"],
- getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"],
- getCollaboratorPermissionLevel: ["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],
- getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"],
- getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"],
- getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"],
- getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"],
- getCommitSignatureProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", {
- mediaType: {
- previews: ["zzzax"]
- }
- }],
- getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"],
- getContent: ["GET /repos/{owner}/{repo}/contents/{path}"],
- getContents: ["GET /repos/{owner}/{repo}/contents/{path}", {}, {
- renamed: ["repos", "getContent"]
- }],
- getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"],
- getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"],
- getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],
- getDeploymentStatus: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],
- getDownload: ["GET /repos/{owner}/{repo}/downloads/{download_id}"],
- getHook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}", {}, {
- renamed: ["repos", "getWebhook"]
- }],
- getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"],
- getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"],
- getPages: ["GET /repos/{owner}/{repo}/pages"],
- getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],
- getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"],
- getProtectedBranchAdminEnforcement: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", {}, {
- renamed: ["repos", "getAdminBranchProtection"]
- }],
- getProtectedBranchPullRequestReviewEnforcement: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", {}, {
- renamed: ["repos", "getPullRequestReviewProtection"]
- }],
- getProtectedBranchRequiredSignatures: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", {
- mediaType: {
- previews: ["zzzax"]
- }
- }, {
- renamed: ["repos", "getCommitSignatureProtection"]
- }],
- getProtectedBranchRequiredStatusChecks: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", {}, {
- renamed: ["repos", "getStatusChecksProtection"]
- }],
- getProtectedBranchRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", {}, {
- renamed: ["repos", "getAccessRestrictions"]
- }],
- getPullRequestReviewProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],
- getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"],
- getReadme: ["GET /repos/{owner}/{repo}/readme"],
- getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"],
- getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],
- getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"],
- getStatusChecksProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],
- getTeamsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],
- getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"],
- getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"],
- getUsersWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],
- getViews: ["GET /repos/{owner}/{repo}/traffic/views"],
- getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"],
- list: ["GET /user/repos", {}, {
- renamed: ["repos", "listForAuthenticatedUser"]
- }],
- listAssetsForRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}/assets", {}, {
- renamed: ["repos", "listReleaseAssets"]
- }],
- listBranches: ["GET /repos/{owner}/{repo}/branches"],
- listBranchesForHeadCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", {
- mediaType: {
- previews: ["groot"]
- }
- }],
- listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"],
- listCommentsForCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],
- listCommitComments: ["GET /repos/{owner}/{repo}/comments", {}, {
- renamed: ["repos", "listCommitCommentsForRepo"]
- }],
- listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"],
- listCommitStatusesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],
- listCommits: ["GET /repos/{owner}/{repo}/commits"],
- listContributors: ["GET /repos/{owner}/{repo}/contributors"],
- listDeployKeys: ["GET /repos/{owner}/{repo}/keys"],
- listDeploymentStatuses: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],
- listDeployments: ["GET /repos/{owner}/{repo}/deployments"],
- listDownloads: ["GET /repos/{owner}/{repo}/downloads"],
- listForAuthenticatedUser: ["GET /user/repos"],
- listForOrg: ["GET /orgs/{org}/repos"],
- listForUser: ["GET /users/{username}/repos"],
- listForks: ["GET /repos/{owner}/{repo}/forks"],
- listHooks: ["GET /repos/{owner}/{repo}/hooks", {}, {
- renamed: ["repos", "listWebhooks"]
- }],
- listInvitations: ["GET /repos/{owner}/{repo}/invitations"],
- listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"],
- listLanguages: ["GET /repos/{owner}/{repo}/languages"],
- listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"],
- listProtectedBranchRequiredStatusChecksContexts: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, {
- renamed: ["repos", "getAllStatusCheckContexts"]
- }],
- listPublic: ["GET /repositories"],
- listPullRequestsAssociatedWithCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", {
- mediaType: {
- previews: ["groot"]
- }
- }],
- listReleaseAssets: ["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],
- listReleases: ["GET /repos/{owner}/{repo}/releases"],
- listStatusesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/statuses", {}, {
- renamed: ["repos", "listCommitStatusesForRef"]
- }],
- listTags: ["GET /repos/{owner}/{repo}/tags"],
- listTeams: ["GET /repos/{owner}/{repo}/teams"],
- listTopics: ["GET /repos/{owner}/{repo}/topics", {
- mediaType: {
- previews: ["mercy"]
- }
- }, {
- renamed: ["repos", "getAllTopics"]
- }],
- listWebhooks: ["GET /repos/{owner}/{repo}/hooks"],
- merge: ["POST /repos/{owner}/{repo}/merges"],
- pingHook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings", {}, {
- renamed: ["repos", "pingWebhook"]
- }],
- pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],
- removeAppAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, {
- mapToData: "apps"
- }],
- removeBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection", {}, {
- renamed: ["repos", "deleteBranchProtection"]
- }],
- removeCollaborator: ["DELETE /repos/{owner}/{repo}/collaborators/{username}"],
- removeDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}", {}, {
- renamed: ["repos", "deleteDeployKey"]
- }],
- removeProtectedBranchAdminEnforcement: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", {}, {
- renamed: ["repos", "deleteAdminBranchProtection"]
- }],
- removeProtectedBranchAppRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, {
- mapToData: "apps",
- renamed: ["repos", "removeAppAccessRestrictions"]
- }],
- removeProtectedBranchPullRequestReviewEnforcement: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", {}, {
- renamed: ["repos", "deletePullRequestReviewProtection"]
- }],
- removeProtectedBranchRequiredSignatures: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", {
- mediaType: {
- previews: ["zzzax"]
- }
- }, {
- renamed: ["repos", "deleteCommitSignatureProtection"]
- }],
- removeProtectedBranchRequiredStatusChecks: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", {}, {
- renamed: ["repos", "removeStatusChecksProtection"]
- }],
- removeProtectedBranchRequiredStatusChecksContexts: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, {
- mapToData: "contexts",
- renamed: ["repos", "removeStatusCheckContexts"]
- }],
- removeProtectedBranchRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions", {}, {
- renamed: ["repos", "deleteAccessRestrictions"]
- }],
- removeProtectedBranchTeamRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, {
- mapToData: "teams",
- renamed: ["repos", "removeTeamAccessRestrictions"]
- }],
- removeProtectedBranchUserRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, {
- mapToData: "users",
- renamed: ["repos", "removeUserAccessRestrictions"]
- }],
- removeStatusCheckContexts: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, {
- mapToData: "contexts"
- }],
- removeStatusCheckProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],
- removeTeamAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, {
- mapToData: "teams"
- }],
- removeUserAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, {
- mapToData: "users"
- }],
- replaceAllTopics: ["PUT /repos/{owner}/{repo}/topics", {
- mediaType: {
- previews: ["mercy"]
- }
- }],
- replaceProtectedBranchAppRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, {
- mapToData: "apps",
- renamed: ["repos", "setAppAccessRestrictions"]
- }],
- replaceProtectedBranchRequiredStatusChecksContexts: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, {
- mapToData: "contexts",
- renamed: ["repos", "setStatusCheckContexts"]
- }],
- replaceProtectedBranchTeamRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, {
- mapToData: "teams",
- renamed: ["repos", "setTeamAccessRestrictions"]
- }],
- replaceProtectedBranchUserRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, {
- mapToData: "users",
- renamed: ["repos", "setUserAccessRestrictions"]
- }],
- replaceTopics: ["PUT /repos/{owner}/{repo}/topics", {
- mediaType: {
- previews: ["mercy"]
- }
- }, {
- renamed: ["repos", "replaceAllTopics"]
- }],
- requestPageBuild: ["POST /repos/{owner}/{repo}/pages/builds", {}, {
- renamed: ["repos", "requestPagesBuild"]
- }],
- requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"],
- retrieveCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile", {}, {
- renamed: ["repos", "getCommunityProfileMetrics"]
- }],
- setAdminBranchProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],
- setAppAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, {
- mapToData: "apps"
- }],
- setStatusCheckContexts: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, {
- mapToData: "contexts"
- }],
- setTeamAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, {
- mapToData: "teams"
- }],
- setUserAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, {
- mapToData: "users"
- }],
- testPushHook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests", {}, {
- renamed: ["repos", "testPushWebhook"]
- }],
- testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],
- transfer: ["POST /repos/{owner}/{repo}/transfer"],
- update: ["PATCH /repos/{owner}/{repo}"],
- updateBranchProtection: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],
- updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],
- updateHook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}", {}, {
- renamed: ["repos", "updateWebhook"]
- }],
- updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"],
- updateInvitation: ["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],
- updateProtectedBranchPullRequestReviewEnforcement: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", {}, {
- renamed: ["repos", "updatePullRequestReviewProtection"]
- }],
- updateProtectedBranchRequiredStatusChecks: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", {}, {
- renamed: ["repos", "updateStatusChecksProtection"]
- }],
- updatePullRequestReviewProtection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],
- updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"],
- updateReleaseAsset: ["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],
- updateStatusCheckPotection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],
- updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],
- uploadReleaseAsset: ["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", {
- baseUrl: "https://uploads.github.com"
- }]
- },
- search: {
- code: ["GET /search/code"],
- commits: ["GET /search/commits", {
- mediaType: {
- previews: ["cloak"]
- }
- }],
- issuesAndPullRequests: ["GET /search/issues"],
- labels: ["GET /search/labels"],
- repos: ["GET /search/repositories"],
- topics: ["GET /search/topics"],
- users: ["GET /search/users"]
- },
- teams: {
- addOrUpdateMembershipForUserInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],
- addOrUpdateMembershipInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}", {}, {
- renamed: ["teams", "addOrUpdateMembershipForUserInOrg"]
- }],
- addOrUpdateProjectInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }, {
- renamed: ["teams", "addOrUpdateProjectPermissionsInOrg"]
- }],
- addOrUpdateProjectPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- addOrUpdateRepoInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", {}, {
- renamed: ["teams", "addOrUpdateRepoPermissionsInOrg"]
- }],
- addOrUpdateRepoPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],
- checkManagesRepoInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", {}, {
- renamed: ["teams", "checkPermissionsForRepoInOrg"]
- }],
- checkPermissionsForProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- checkPermissionsForRepoInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],
- create: ["POST /orgs/{org}/teams"],
- createDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],
- createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"],
- deleteDiscussionCommentInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],
- deleteDiscussionInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],
- deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"],
- getByName: ["GET /orgs/{org}/teams/{team_slug}"],
- getDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],
- getDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],
- getMembershipForUserInOrg: ["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],
- getMembershipInOrg: ["GET /orgs/{org}/teams/{team_slug}/memberships/{username}", {}, {
- renamed: ["teams", "getMembershipForUserInOrg"]
- }],
- list: ["GET /orgs/{org}/teams"],
- listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"],
- listDiscussionCommentsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],
- listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"],
- listForAuthenticatedUser: ["GET /user/teams"],
- listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"],
- listPendingInvitationsInOrg: ["GET /orgs/{org}/teams/{team_slug}/invitations"],
- listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects", {
- mediaType: {
- previews: ["inertia"]
- }
- }],
- listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"],
- removeMembershipForUserInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],
- removeMembershipInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}", {}, {
- renamed: ["teams", "removeMembershipForUserInOrg"]
- }],
- removeProjectInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],
- removeRepoInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],
- reviewProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", {
- mediaType: {
- previews: ["inertia"]
- }
- }, {
- renamed: ["teams", "checkPermissionsForProjectInOrg"]
- }],
- updateDiscussionCommentInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],
- updateDiscussionInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],
- updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"]
- },
- users: {
- addEmailForAuthenticated: ["POST /user/emails"],
- addEmails: ["POST /user/emails", {}, {
- renamed: ["users", "addEmailsForAuthenticated"]
- }],
- block: ["PUT /user/blocks/{username}"],
- checkBlocked: ["GET /user/blocks/{username}"],
- checkFollowing: ["GET /user/following/{username}", {}, {
- renamed: ["users", "checkPersonIsFollowedByAuthenticated"]
- }],
- checkFollowingForUser: ["GET /users/{username}/following/{target_user}"],
- checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"],
- createGpgKey: ["POST /user/gpg_keys", {}, {
- renamed: ["users", "createGpgKeyForAuthenticated"]
- }],
- createGpgKeyForAuthenticated: ["POST /user/gpg_keys"],
- createPublicKey: ["POST /user/keys", {}, {
- renamed: ["users", "createPublicSshKeyForAuthenticated"]
- }],
- createPublicSshKeyForAuthenticated: ["POST /user/keys"],
- deleteEmailForAuthenticated: ["DELETE /user/emails"],
- deleteEmails: ["DELETE /user/emails", {}, {
- renamed: ["users", "deleteEmailsForAuthenticated"]
- }],
- deleteGpgKey: ["DELETE /user/gpg_keys/{gpg_key_id}", {}, {
- renamed: ["users", "deleteGpgKeyForAuthenticated"]
- }],
- deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"],
- deletePublicKey: ["DELETE /user/keys/{key_id}", {}, {
- renamed: ["users", "deletePublicSshKeyForAuthenticated"]
- }],
- deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"],
- follow: ["PUT /user/following/{username}"],
- getAuthenticated: ["GET /user"],
- getByUsername: ["GET /users/{username}"],
- getContextForUser: ["GET /users/{username}/hovercard"],
- getGpgKey: ["GET /user/gpg_keys/{gpg_key_id}", {}, {
- renamed: ["users", "getGpgKeyForAuthenticated"]
- }],
- getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"],
- getPublicKey: ["GET /user/keys/{key_id}", {}, {
- renamed: ["users", "getPublicSshKeyForAuthenticated"]
- }],
- getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"],
- list: ["GET /users"],
- listBlocked: ["GET /user/blocks", {}, {
- renamed: ["users", "listBlockedByAuthenticated"]
- }],
- listBlockedByAuthenticated: ["GET /user/blocks"],
- listEmails: ["GET /user/emails", {}, {
- renamed: ["users", "listEmailsForAuthenticated"]
- }],
- listEmailsForAuthenticated: ["GET /user/emails"],
- listFollowedByAuthenticated: ["GET /user/following"],
- listFollowersForAuthenticatedUser: ["GET /user/followers"],
- listFollowersForUser: ["GET /users/{username}/followers"],
- listFollowingForAuthenticatedUser: ["GET /user/following", {}, {
- renamed: ["users", "listFollowedByAuthenticated"]
- }],
- listFollowingForUser: ["GET /users/{username}/following"],
- listGpgKeys: ["GET /user/gpg_keys", {}, {
- renamed: ["users", "listGpgKeysForAuthenticated"]
- }],
- listGpgKeysForAuthenticated: ["GET /user/gpg_keys"],
- listGpgKeysForUser: ["GET /users/{username}/gpg_keys"],
- listPublicEmails: ["GET /user/public_emails", {}, {
- renamed: ["users", "listPublicEmailsForAuthenticatedUser"]
- }],
- listPublicEmailsForAuthenticated: ["GET /user/public_emails"],
- listPublicKeys: ["GET /user/keys", {}, {
- renamed: ["users", "listPublicSshKeysForAuthenticated"]
- }],
- listPublicKeysForUser: ["GET /users/{username}/keys"],
- listPublicSshKeysForAuthenticated: ["GET /user/keys"],
- setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"],
- togglePrimaryEmailVisibility: ["PATCH /user/email/visibility", {}, {
- renamed: ["users", "setPrimaryEmailVisibilityForAuthenticated"]
- }],
- unblock: ["DELETE /user/blocks/{username}"],
- unfollow: ["DELETE /user/following/{username}"],
- updateAuthenticated: ["PATCH /user"]
- }
-};
-
-const VERSION = "3.17.0";
-
-function endpointsToMethods(octokit, endpointsMap) {
- const newMethods = {};
-
- for (const [scope, endpoints] of Object.entries(endpointsMap)) {
- for (const [methodName, endpoint] of Object.entries(endpoints)) {
- const [route, defaults, decorations] = endpoint;
- const [method, url] = route.split(/ /);
- const endpointDefaults = Object.assign({
- method,
- url
- }, defaults);
-
- if (!newMethods[scope]) {
- newMethods[scope] = {};
- }
-
- const scopeMethods = newMethods[scope];
-
- if (decorations) {
- scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);
- continue;
- }
-
- scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);
- }
- }
-
- return newMethods;
-}
-
-function decorate(octokit, scope, methodName, defaults, decorations) {
- const requestWithDefaults = octokit.request.defaults(defaults);
-
- function withDecorations(...args) {
- // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488
- let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData`
-
- if (decorations.mapToData) {
- options = Object.assign({}, options, {
- data: options[decorations.mapToData],
- [decorations.mapToData]: undefined
- });
- return requestWithDefaults(options);
- } // NOTE: there are currently no deprecations. But we keep the code
- // below for future reference
-
-
- if (decorations.renamed) {
- const [newScope, newMethodName] = decorations.renamed;
- octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);
- }
-
- if (decorations.deprecated) {
- octokit.log.warn(decorations.deprecated);
- }
-
- if (decorations.renamedParameters) {
- // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488
- const options = requestWithDefaults.endpoint.merge(...args);
-
- for (const [name, alias] of Object.entries(decorations.renamedParameters)) {
- // There is currently no deprecated parameter that is optional,
- // so we never hit the else branch below at this point.
-
- /* istanbul ignore else */
- if (name in options) {
- octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`);
-
- if (!(alias in options)) {
- options[alias] = options[name];
- }
-
- delete options[name];
- }
- }
-
- return requestWithDefaults(options);
- } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488
-
-
- return requestWithDefaults(...args);
- }
-
- return Object.assign(withDecorations, requestWithDefaults);
-}
-
-/**
- * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary
- * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is
- * done, we will remove the registerEndpoints methods and return the methods
- * directly as with the other plugins. At that point we will also remove the
- * legacy workarounds and deprecations.
- *
- * See the plan at
- * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1
- */
-
-function restEndpointMethods(octokit) {
- return endpointsToMethods(octokit, Endpoints);
-}
-restEndpointMethods.VERSION = VERSION;
-
-exports.restEndpointMethods = restEndpointMethods;
-//# sourceMappingURL=index.js.map
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map
deleted file mode 100644
index ef0b4556b5..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../dist-src/generated/endpoints.js","../dist-src/version.js","../dist-src/endpoints-to-methods.js","../dist-src/index.js"],"sourcesContent":["const Endpoints = {\n actions: {\n addSelectedRepoToOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n cancelWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\",\n ],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n createOrUpdateSecretForRepo: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"createOrUpdateRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n createRegistrationToken: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n {},\n { renamed: [\"actions\", \"createRegistrationTokenForRepo\"] },\n ],\n createRegistrationTokenForOrg: [\n \"POST /orgs/{org}/actions/runners/registration-token\",\n ],\n createRegistrationTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n ],\n createRemoveToken: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n {},\n { renamed: [\"actions\", \"createRemoveTokenForRepo\"] },\n ],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n ],\n deleteArtifact: [\n \"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\",\n ],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n deleteSecretFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"deleteRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n deleteSelfHostedRunnerFromOrg: [\n \"DELETE /orgs/{org}/actions/runners/{runner_id}\",\n ],\n deleteSelfHostedRunnerFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n deleteWorkflowRunLogs: [\n \"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n downloadArtifact: [\n \"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\",\n ],\n downloadJobLogsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n ],\n downloadWorkflowJobLogs: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n {},\n { renamed: [\"actions\", \"downloadJobLogsForWorkflowRun\"] },\n ],\n downloadWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPublicKey: [\n \"GET /repos/{owner}/{repo}/actions/secrets/public-key\",\n {},\n { renamed: [\"actions\", \"getRepoPublicKey\"] },\n ],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\n \"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n getSecret: [\n \"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"getRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n getSelfHostedRunner: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n {},\n { renamed: [\"actions\", \"getSelfHostedRunnerForRepo\"] },\n ],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowJob: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\",\n {},\n { renamed: [\"actions\", \"getJobForWorkflowRun\"] },\n ],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunUsage: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\",\n ],\n getWorkflowUsage: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\",\n ],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listDownloadsForSelfHostedRunnerApplication: [\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n {},\n { renamed: [\"actions\", \"listRunnerApplicationsForRepo\"] },\n ],\n listJobsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n ],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflowRuns: [\n \"GET /repos/{owner}/{repo}/actions/runs\",\n {},\n { renamed: [\"actions\", \"listWorkflowRunsForRepo\"] },\n ],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\",\n ],\n listSecretsForRepo: [\n \"GET /repos/{owner}/{repo}/actions/secrets\",\n {},\n { renamed: [\"actions\", \"listRepoSecrets\"] },\n ],\n listSelectedReposForOrgSecret: [\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowJobLogs: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n {},\n { renamed: [\"actions\", \"downloadWorkflowJobLogs\"] },\n ],\n listWorkflowRunArtifacts: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n ],\n listWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n {},\n { renamed: [\"actions\", \"downloadWorkflowRunLogs\"] },\n ],\n listWorkflowRuns: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n ],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n reRunWorkflow: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun\"],\n removeSelectedRepoFromOrgSecret: [\n \"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n removeSelfHostedRunner: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n {},\n { renamed: [\"actions\", \"deleteSelfHostedRunnerFromRepo\"] },\n ],\n setSelectedReposForOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n ],\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n checkStarringRepo: [\n \"GET /user/starred/{owner}/{repo}\",\n {},\n { renamed: [\"activity\", \"checkRepoIsStarredByAuthenticatedUser\"] },\n ],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\n \"DELETE /notifications/threads/{thread_id}/subscription\",\n ],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscription: [\n \"PUT /notifications\",\n {},\n { renamed: [\"activity\", \"getThreadSubscriptionForAuthenticatedUser\"] },\n ],\n getThreadSubscriptionForAuthenticatedUser: [\n \"GET /notifications/threads/{thread_id}/subscription\",\n ],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listEventsForOrg: [\n \"GET /users/{username}/events/orgs/{org}\",\n {},\n { renamed: [\"activity\", \"listOrgEventsForAuthenticatedUser\"] },\n ],\n listEventsForUser: [\n \"GET /users/{username}/events\",\n {},\n { renamed: [\"activity\", \"listEventsForAuthenticatedUser\"] },\n ],\n listFeeds: [\"GET /feeds\", {}, { renamed: [\"activity\", \"getFeeds\"] }],\n listNotifications: [\n \"GET /notifications\",\n {},\n { renamed: [\"activity\", \"listNotificationsForAuthenticatedUser\"] },\n ],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listNotificationsForRepo: [\n \"GET /repos/{owner}/{repo}/notifications\",\n {},\n { renamed: [\"activity\", \"listRepoNotificationsForAuthenticatedUser\"] },\n ],\n listOrgEventsForAuthenticatedUser: [\n \"GET /users/{username}/events/orgs/{org}\",\n ],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForOrg: [\n \"GET /orgs/{org}/events\",\n {},\n { renamed: [\"activity\", \"listPublicOrgEvents\"] },\n ],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\n \"GET /users/{username}/received_events/public\",\n ],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/notifications\",\n ],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markAsRead: [\n \"PUT /notifications\",\n {},\n { renamed: [\"activity\", \"markNotificationsAsRead\"] },\n ],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markNotificationsAsReadForRepo: [\n \"PUT /repos/{owner}/{repo}/notifications\",\n {},\n { renamed: [\"activity\", \"markRepoNotificationsAsRead\"] },\n ],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\n \"PUT /notifications/threads/{thread_id}/subscription\",\n ],\n starRepo: [\n \"PUT /user/starred/{owner}/{repo}\",\n {},\n { renamed: [\"activity\", \"starRepoForAuthenticatedUser\"] },\n ],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepo: [\n \"DELETE /user/starred/{owner}/{repo}\",\n {},\n { renamed: [\"activity\", \"unstarRepoForAuthenticatedUser\"] },\n ],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"],\n },\n apps: {\n addRepoToInstallation: [\n \"PUT /user/installations/{installation_id}/repositories/{repository_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n checkAccountIsAssociatedWithAny: [\n \"GET /marketplace_listing/accounts/{account_id}\",\n {},\n { renamed: [\"apps\", \"getSubscriptionPlanForAccount\"] },\n ],\n checkAccountIsAssociatedWithAnyStubbed: [\n \"GET /marketplace_listing/stubbed/accounts/{account_id}\",\n {},\n { renamed: [\"apps\", \"getSubscriptionPlanForAccountStubbed\"] },\n ],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createContentAttachment: [\n \"POST /content_references/{content_reference_id}/attachments\",\n { mediaType: { previews: [\"corsair\"] } },\n ],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\n \"POST /app/installations/{installation_id}/access_tokens\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n createInstallationToken: [\n \"POST /app/installations/{installation_id}/access_tokens\",\n { mediaType: { previews: [\"machine-man\"] } },\n { renamed: [\"apps\", \"createInstallationAccessToken\"] },\n ],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\n \"DELETE /app/installations/{installation_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\n \"GET /app\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getBySlug: [\n \"GET /apps/{app_slug}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getInstallation: [\n \"GET /app/installations/{installation_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getOrgInstallation: [\n \"GET /orgs/{org}/installation\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getRepoInstallation: [\n \"GET /repos/{owner}/{repo}/installation\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n getSubscriptionPlanForAccount: [\n \"GET /marketplace_listing/accounts/{account_id}\",\n ],\n getSubscriptionPlanForAccountStubbed: [\n \"GET /marketplace_listing/stubbed/accounts/{account_id}\",\n ],\n getUserInstallation: [\n \"GET /users/{username}/installation\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n ],\n listAccountsUserOrOrgOnPlan: [\n \"GET /marketplace_listing/plans/{plan_id}/accounts\",\n {},\n { renamed: [\"apps\", \"listAccountsForPlan\"] },\n ],\n listAccountsUserOrOrgOnPlanStubbed: [\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n {},\n { renamed: [\"apps\", \"listAccountsForPlanStubbed\"] },\n ],\n listInstallationReposForAuthenticatedUser: [\n \"GET /user/installations/{installation_id}/repositories\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listInstallations: [\n \"GET /app/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listInstallationsForAuthenticatedUser: [\n \"GET /user/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listMarketplacePurchasesForAuthenticatedUser: [\n \"GET /user/marketplace_purchases\",\n {},\n { renamed: [\"apps\", \"listSubscriptionsForAuthenticatedUser\"] },\n ],\n listMarketplacePurchasesForAuthenticatedUserStubbed: [\n \"GET /user/marketplace_purchases/stubbed\",\n {},\n { renamed: [\"apps\", \"listSubscriptionsForAuthenticatedUserStubbed\"] },\n ],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listRepos: [\n \"GET /installation/repositories\",\n { mediaType: { previews: [\"machine-man\"] } },\n { renamed: [\"apps\", \"listReposAccessibleToInstallation\"] },\n ],\n listReposAccessibleToInstallation: [\n \"GET /installation/repositories\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\n \"GET /user/marketplace_purchases/stubbed\",\n ],\n removeRepoFromInstallation: [\n \"DELETE /user/installations/{installation_id}/repositories/{repository_id}\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n revokeInstallationToken: [\n \"DELETE /installation/token\",\n {},\n { renamed: [\"apps\", \"revokeInstallationAccessToken\"] },\n ],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\n \"DELETE /app/installations/{installation_id}/suspended\",\n ],\n },\n checks: {\n create: [\n \"POST /repos/{owner}/{repo}/check-runs\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n createSuite: [\n \"POST /repos/{owner}/{repo}/check-suites\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n get: [\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n getSuite: [\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listAnnotations: [\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listForSuite: [\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n listSuitesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n rerequestSuite: [\n \"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n setSuitesPreferences: [\n \"PATCH /repos/{owner}/{repo}/check-suites/preferences\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n update: [\n \"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\",\n { mediaType: { previews: [\"antiope\"] } },\n ],\n },\n codeScanning: {\n getAlert: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\n \"GET /codes_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n getConductCode: [\n \"GET /codes_of_conduct/{key}\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n getForRepo: [\n \"GET /repos/{owner}/{repo}/community/code_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n ],\n listConductCodes: [\n \"GET /codes_of_conduct\",\n { mediaType: { previews: [\"scarlet-witch\"] } },\n { renamed: [\"codesOfConduct\", \"getAllCodesOfConduct\"] },\n ],\n },\n emojis: { get: [\"GET /emojis\"] },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listPublicForUser: [\n \"GET /users/{username}/gists\",\n {},\n { renamed: [\"gists\", \"listForUser\"] },\n ],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"],\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"],\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"],\n listTemplates: [\n \"GET /gitignore/templates\",\n {},\n { renamed: [\"gitignore\", \"getAllTemplates\"] },\n ],\n },\n interactions: {\n addOrUpdateRestrictionsForOrg: [\n \"PUT /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n { renamed: [\"interactions\", \"setRestrictionsForOrg\"] },\n ],\n addOrUpdateRestrictionsForRepo: [\n \"PUT /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n { renamed: [\"interactions\", \"setRestrictionsForRepo\"] },\n ],\n getRestrictionsForOrg: [\n \"GET /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n getRestrictionsForRepo: [\n \"GET /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n removeRestrictionsForOrg: [\n \"DELETE /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n removeRestrictionsForRepo: [\n \"DELETE /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n setRestrictionsForOrg: [\n \"PUT /orgs/{org}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n setRestrictionsForRepo: [\n \"PUT /repos/{owner}/{repo}/interaction-limits\",\n { mediaType: { previews: [\"sombra\"] } },\n ],\n },\n issues: {\n addAssignees: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkAssignee: [\n \"GET /repos/{owner}/{repo}/assignees/{assignee}\",\n {},\n { renamed: [\"issues\", \"checkUserCanBeAssigned\"] },\n ],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n ],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\",\n ],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\n \"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n { mediaType: { previews: [\"mockingbird\"] } },\n ],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n ],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n listMilestonesForRepo: [\n \"GET /repos/{owner}/{repo}/milestones\",\n {},\n { renamed: [\"issues\", \"listMilestones\"] },\n ],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n ],\n removeAssignees: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\",\n ],\n removeLabel: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\",\n ],\n removeLabels: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n {},\n { renamed: [\"issues\", \"removeAllLabels\"] },\n ],\n replaceAllLabels: [\n \"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n {},\n { renamed: [\"issues\", \"setLabels\"] },\n ],\n replaceLabels: [\n \"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n {},\n { renamed: [\"issues\", \"replaceAllLabels\"] },\n ],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\n \"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\",\n ],\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"],\n listCommonlyUsed: [\n \"GET /licenses\",\n {},\n { renamed: [\"licenses\", \"getAllCommonlyUsed\"] },\n ],\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\n \"POST /markdown/raw\",\n { headers: { \"content-type\": \"text/plain; charset=utf-8\" } },\n ],\n },\n meta: { get: [\"GET /meta\"] },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n deleteArchiveForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n downloadArchiveForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getArchiveForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}/archive\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportProgress: [\n \"GET /repos/{owner}/{repo}/import\",\n {},\n { renamed: [\"migrations\", \"getImportStatus\"] },\n ],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n getStatusForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForAuthenticatedUser: [\n \"GET /user/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/migrations\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n listReposForUser: [\n \"GET /user/{migration_id}/repositories\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n unlockRepoForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\",\n { mediaType: { previews: [\"wyandotte\"] } },\n ],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"],\n },\n orgs: {\n addOrUpdateMembership: [\n \"PUT /orgs/{org}/memberships/{username}\",\n {},\n { renamed: [\"orgs\", \"setMembershipForUser\"] },\n ],\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembership: [\n \"GET /orgs/{org}/members/{username}\",\n {},\n { renamed: [\"orgs\", \"checkMembershipForUser\"] },\n ],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembership: [\n \"GET /orgs/{org}/public_members/{username}\",\n {},\n { renamed: [\"orgs\", \"checkPublicMembershipForUser\"] },\n ],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n concealMembership: [\n \"DELETE /orgs/{org}/public_members/{username}\",\n {},\n { renamed: [\"orgs\", \"removePublicMembershipForAuthenticatedUser\"] },\n ],\n convertMemberToOutsideCollaborator: [\n \"PUT /orgs/{org}/outside_collaborators/{username}\",\n ],\n createHook: [\n \"POST /orgs/{org}/hooks\",\n {},\n { renamed: [\"orgs\", \"createWebhook\"] },\n ],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteHook: [\n \"DELETE /orgs/{org}/hooks/{hook_id}\",\n {},\n { renamed: [\"orgs\", \"deleteWebhook\"] },\n ],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getHook: [\n \"GET /orgs/{org}/hooks/{hook_id}\",\n {},\n { renamed: [\"orgs\", \"getWebhook\"] },\n ],\n getMembership: [\n \"GET /orgs/{org}/memberships/{username}\",\n {},\n { renamed: [\"orgs\", \"getMembershipForUser\"] },\n ],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n list: [\"GET /organizations\"],\n listAppInstallations: [\n \"GET /orgs/{org}/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n ],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listHooks: [\n \"GET /orgs/{org}/hooks\",\n {},\n { renamed: [\"orgs\", \"listWebhooks\"] },\n ],\n listInstallations: [\n \"GET /orgs/{org}/installations\",\n { mediaType: { previews: [\"machine-man\"] } },\n { renamed: [\"orgs\", \"listAppInstallations\"] },\n ],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMemberships: [\n \"GET /user/memberships/orgs\",\n {},\n { renamed: [\"orgs\", \"listMembershipsForAuthenticatedUser\"] },\n ],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingHook: [\n \"POST /orgs/{org}/hooks/{hook_id}/pings\",\n {},\n { renamed: [\"orgs\", \"pingWebhook\"] },\n ],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n publicizeMembership: [\n \"PUT /orgs/{org}/public_members/{username}\",\n {},\n { renamed: [\"orgs\", \"setPublicMembershipForAuthenticatedUser\"] },\n ],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembership: [\n \"DELETE /orgs/{org}/memberships/{username}\",\n {},\n { renamed: [\"orgs\", \"removeMembershipForUser\"] },\n ],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\n \"DELETE /orgs/{org}/outside_collaborators/{username}\",\n ],\n removePublicMembershipForAuthenticatedUser: [\n \"DELETE /orgs/{org}/public_members/{username}\",\n ],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\n \"PUT /orgs/{org}/public_members/{username}\",\n ],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateHook: [\n \"PATCH /orgs/{org}/hooks/{hook_id}\",\n {},\n { renamed: [\"orgs\", \"updateWebhook\"] },\n ],\n updateMembership: [\n \"PATCH /user/memberships/orgs/{org}\",\n {},\n { renamed: [\"orgs\", \"updateMembershipForAuthenticatedUser\"] },\n ],\n updateMembershipForAuthenticatedUser: [\n \"PATCH /user/memberships/orgs/{org}\",\n ],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n },\n projects: {\n addCollaborator: [\n \"PUT /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createCard: [\n \"POST /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createColumn: [\n \"POST /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForAuthenticatedUser: [\n \"POST /user/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForOrg: [\n \"POST /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n createForRepo: [\n \"POST /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n delete: [\n \"DELETE /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteCard: [\n \"DELETE /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n deleteColumn: [\n \"DELETE /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n get: [\n \"GET /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getCard: [\n \"GET /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getColumn: [\n \"GET /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n getPermissionForUser: [\n \"GET /projects/{project_id}/collaborators/{username}/permission\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCards: [\n \"GET /projects/columns/{column_id}/cards\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listCollaborators: [\n \"GET /projects/{project_id}/collaborators\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listColumns: [\n \"GET /projects/{project_id}/columns\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForOrg: [\n \"GET /orgs/{org}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForRepo: [\n \"GET /repos/{owner}/{repo}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listForUser: [\n \"GET /users/{username}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveCard: [\n \"POST /projects/columns/cards/{card_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n moveColumn: [\n \"POST /projects/columns/{column_id}/moves\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n removeCollaborator: [\n \"DELETE /projects/{project_id}/collaborators/{username}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n reviewUserPermissionLevel: [\n \"GET /projects/{project_id}/collaborators/{username}/permission\",\n { mediaType: { previews: [\"inertia\"] } },\n { renamed: [\"projects\", \"getPermissionForUser\"] },\n ],\n update: [\n \"PATCH /projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateCard: [\n \"PATCH /projects/columns/cards/{card_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n updateColumn: [\n \"PATCH /projects/columns/{column_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n {},\n { renamed: [\"pulls\", \"createReviewComment\"] },\n ],\n createReplyForReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\",\n ],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n createReviewCommentReply: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\",\n {},\n { renamed: [\"pulls\", \"createReplyForReviewComment\"] },\n ],\n createReviewRequest: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n {},\n { renamed: [\"pulls\", \"requestReviewers\"] },\n ],\n deleteComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n {},\n { renamed: [\"pulls\", \"deleteReviewComment\"] },\n ],\n deletePendingReview: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n deleteReviewComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n deleteReviewRequest: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n {},\n { renamed: [\"pulls\", \"removeRequestedReviewers\"] },\n ],\n dismissReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\",\n ],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getComment: [\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n {},\n { renamed: [\"pulls\", \"getReviewComment\"] },\n ],\n getCommentsForReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n {},\n { renamed: [\"pulls\", \"listCommentsForReview\"] },\n ],\n getReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listComments: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n {},\n { renamed: [\"pulls\", \"listReviewComments\"] },\n ],\n listCommentsForRepo: [\n \"GET /repos/{owner}/{repo}/pulls/comments\",\n {},\n { renamed: [\"pulls\", \"listReviewCommentsForRepo\"] },\n ],\n listCommentsForReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n listReviewComments: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n ],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviewRequests: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n {},\n { renamed: [\"pulls\", \"listRequestedReviewers\"] },\n ],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n requestReviewers: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\",\n ],\n submitReview: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\",\n ],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\",\n { mediaType: { previews: [\"lydian\"] } },\n ],\n updateComment: [\n \"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n {},\n { renamed: [\"pulls\", \"updateReviewComment\"] },\n ],\n updateReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\",\n ],\n updateReviewComment: [\n \"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\",\n ],\n },\n rateLimit: { get: [\"GET /rate_limit\"] },\n reactions: {\n createForCommitComment: [\n \"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssue: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForIssueComment: [\n \"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForPullRequestReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n createForTeamDiscussionInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n delete: [\n \"DELETE /reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n { renamed: [\"reactions\", \"deleteLegacy\"] },\n ],\n deleteForCommitComment: [\n \"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssue: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForIssueComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForPullRequestComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussion: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteForTeamDiscussionComment: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n deleteLegacy: [\n \"DELETE /reactions/{reaction_id}\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n {\n deprecated: \"octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy\",\n },\n ],\n listForCommitComment: [\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForIssueComment: [\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForPullRequestReviewComment: [\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n listForTeamDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n { mediaType: { previews: [\"squirrel-girl\"] } },\n ],\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addDeployKey: [\n \"POST /repos/{owner}/{repo}/keys\",\n {},\n { renamed: [\"repos\", \"createDeployKey\"] },\n ],\n addProtectedBranchAdminEnforcement: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n {},\n { renamed: [\"repos\", \"setAdminBranchProtection\"] },\n ],\n addProtectedBranchAppRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\", renamed: [\"repos\", \"addAppAccessRestrictions\"] },\n ],\n addProtectedBranchRequiredSignatures: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n { renamed: [\"repos\", \"createCommitSignatureProtection\"] },\n ],\n addProtectedBranchRequiredStatusChecksContexts: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\", renamed: [\"repos\", \"addStatusCheckContexts\"] },\n ],\n addProtectedBranchTeamRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\", renamed: [\"repos\", \"addTeamAccessRestrictions\"] },\n ],\n addProtectedBranchUserRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\", renamed: [\"repos\", \"addUserAccessRestrictions\"] },\n ],\n addStatusCheckContexts: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n addTeamAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n addUserAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\n \"GET /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n createCommitComment: [\n \"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n createCommitSignatureProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\n \"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createHook: [\n \"POST /repos/{owner}/{repo}/hooks\",\n {},\n { renamed: [\"repos\", \"createWebhook\"] },\n ],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateFile: [\n \"PUT /repos/{owner}/{repo}/contents/{path}\",\n {},\n { renamed: [\"repos\", \"createOrUpdateFileContents\"] },\n ],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\n \"POST /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createStatus: [\n \"POST /repos/{owner}/{repo}/statuses/{sha}\",\n {},\n { renamed: [\"repos\", \"createCommitStatus\"] },\n ],\n createUsingTemplate: [\n \"POST /repos/{template_owner}/{template_repo}/generate\",\n { mediaType: { previews: [\"baptiste\"] } },\n ],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n deleteAdminBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n deleteBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\n \"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\",\n ],\n deleteDownload: [\"DELETE /repos/{owner}/{repo}/downloads/{download_id}\"],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteHook: [\n \"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\",\n {},\n { renamed: [\"repos\", \"deleteWebhook\"] },\n ],\n deleteInvitation: [\n \"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n deletePagesSite: [\n \"DELETE /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n ],\n deletePullRequestReviewProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\n \"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\n \"DELETE /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n disablePagesSite: [\n \"DELETE /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n { renamed: [\"repos\", \"deletePagesSite\"] },\n ],\n disableVulnerabilityAlerts: [\n \"DELETE /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n downloadArchive: [\"GET /repos/{owner}/{repo}/{archive_format}/{ref}\"],\n enableAutomatedSecurityFixes: [\n \"PUT /repos/{owner}/{repo}/automated-security-fixes\",\n { mediaType: { previews: [\"london\"] } },\n ],\n enablePagesSite: [\n \"POST /repos/{owner}/{repo}/pages\",\n { mediaType: { previews: [\"switcheroo\"] } },\n { renamed: [\"repos\", \"createPagesSite\"] },\n ],\n enableVulnerabilityAlerts: [\n \"PUT /repos/{owner}/{repo}/vulnerability-alerts\",\n { mediaType: { previews: [\"dorian\"] } },\n ],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n ],\n getAdminBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n getAllStatusCheckContexts: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n ],\n getAllTopics: [\n \"GET /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n getAppsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n ],\n getArchiveLink: [\n \"GET /repos/{owner}/{repo}/{archive_format}/{ref}\",\n {},\n { renamed: [\"repos\", \"downloadArchive\"] },\n ],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\n \"GET /repos/{owner}/{repo}/collaborators/{username}/permission\",\n ],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n ],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContents: [\n \"GET /repos/{owner}/{repo}/contents/{path}\",\n {},\n { renamed: [\"repos\", \"getContent\"] },\n ],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\",\n ],\n getDownload: [\"GET /repos/{owner}/{repo}/downloads/{download_id}\"],\n getHook: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}\",\n {},\n { renamed: [\"repos\", \"getWebhook\"] },\n ],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getProtectedBranchAdminEnforcement: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n {},\n { renamed: [\"repos\", \"getAdminBranchProtection\"] },\n ],\n getProtectedBranchPullRequestReviewEnforcement: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n {},\n { renamed: [\"repos\", \"getPullRequestReviewProtection\"] },\n ],\n getProtectedBranchRequiredSignatures: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n { renamed: [\"repos\", \"getCommitSignatureProtection\"] },\n ],\n getProtectedBranchRequiredStatusChecks: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"getStatusChecksProtection\"] },\n ],\n getProtectedBranchRestrictions: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n {},\n { renamed: [\"repos\", \"getAccessRestrictions\"] },\n ],\n getPullRequestReviewProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n getTeamsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n ],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n ],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n list: [\n \"GET /user/repos\",\n {},\n { renamed: [\"repos\", \"listForAuthenticatedUser\"] },\n ],\n listAssetsForRelease: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n {},\n { renamed: [\"repos\", \"listReleaseAssets\"] },\n ],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n ],\n listCommitComments: [\n \"GET /repos/{owner}/{repo}/comments\",\n {},\n { renamed: [\"repos\", \"listCommitCommentsForRepo\"] },\n ],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n ],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listDownloads: [\"GET /repos/{owner}/{repo}/downloads\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listHooks: [\n \"GET /repos/{owner}/{repo}/hooks\",\n {},\n { renamed: [\"repos\", \"listWebhooks\"] },\n ],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listProtectedBranchRequiredStatusChecksContexts: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { renamed: [\"repos\", \"getAllStatusCheckContexts\"] },\n ],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n { mediaType: { previews: [\"groot\"] } },\n ],\n listReleaseAssets: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n ],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listStatusesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n {},\n { renamed: [\"repos\", \"listCommitStatusesForRef\"] },\n ],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listTopics: [\n \"GET /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n { renamed: [\"repos\", \"getAllTopics\"] },\n ],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n pingHook: [\n \"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\",\n {},\n { renamed: [\"repos\", \"pingWebhook\"] },\n ],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n removeAppAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n removeBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\",\n {},\n { renamed: [\"repos\", \"deleteBranchProtection\"] },\n ],\n removeCollaborator: [\n \"DELETE /repos/{owner}/{repo}/collaborators/{username}\",\n ],\n removeDeployKey: [\n \"DELETE /repos/{owner}/{repo}/keys/{key_id}\",\n {},\n { renamed: [\"repos\", \"deleteDeployKey\"] },\n ],\n removeProtectedBranchAdminEnforcement: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n {},\n { renamed: [\"repos\", \"deleteAdminBranchProtection\"] },\n ],\n removeProtectedBranchAppRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\", renamed: [\"repos\", \"removeAppAccessRestrictions\"] },\n ],\n removeProtectedBranchPullRequestReviewEnforcement: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n {},\n { renamed: [\"repos\", \"deletePullRequestReviewProtection\"] },\n ],\n removeProtectedBranchRequiredSignatures: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\",\n { mediaType: { previews: [\"zzzax\"] } },\n { renamed: [\"repos\", \"deleteCommitSignatureProtection\"] },\n ],\n removeProtectedBranchRequiredStatusChecks: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"removeStatusChecksProtection\"] },\n ],\n removeProtectedBranchRequiredStatusChecksContexts: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n {\n mapToData: \"contexts\",\n renamed: [\"repos\", \"removeStatusCheckContexts\"],\n },\n ],\n removeProtectedBranchRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\",\n {},\n { renamed: [\"repos\", \"deleteAccessRestrictions\"] },\n ],\n removeProtectedBranchTeamRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n {\n mapToData: \"teams\",\n renamed: [\"repos\", \"removeTeamAccessRestrictions\"],\n },\n ],\n removeProtectedBranchUserRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n {\n mapToData: \"users\",\n renamed: [\"repos\", \"removeUserAccessRestrictions\"],\n },\n ],\n removeStatusCheckContexts: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n removeStatusCheckProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n removeTeamAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n removeUserAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n replaceAllTopics: [\n \"PUT /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n ],\n replaceProtectedBranchAppRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\", renamed: [\"repos\", \"setAppAccessRestrictions\"] },\n ],\n replaceProtectedBranchRequiredStatusChecksContexts: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\", renamed: [\"repos\", \"setStatusCheckContexts\"] },\n ],\n replaceProtectedBranchTeamRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\", renamed: [\"repos\", \"setTeamAccessRestrictions\"] },\n ],\n replaceProtectedBranchUserRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\", renamed: [\"repos\", \"setUserAccessRestrictions\"] },\n ],\n replaceTopics: [\n \"PUT /repos/{owner}/{repo}/topics\",\n { mediaType: { previews: [\"mercy\"] } },\n { renamed: [\"repos\", \"replaceAllTopics\"] },\n ],\n requestPageBuild: [\n \"POST /repos/{owner}/{repo}/pages/builds\",\n {},\n { renamed: [\"repos\", \"requestPagesBuild\"] },\n ],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n retrieveCommunityProfileMetrics: [\n \"GET /repos/{owner}/{repo}/community/profile\",\n {},\n { renamed: [\"repos\", \"getCommunityProfileMetrics\"] },\n ],\n setAdminBranchProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\",\n ],\n setAppAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" },\n ],\n setStatusCheckContexts: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" },\n ],\n setTeamAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" },\n ],\n setUserAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" },\n ],\n testPushHook: [\n \"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\",\n {},\n { renamed: [\"repos\", \"testPushWebhook\"] },\n ],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection\",\n ],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateHook: [\n \"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\",\n {},\n { renamed: [\"repos\", \"updateWebhook\"] },\n ],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\n \"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\",\n ],\n updateProtectedBranchPullRequestReviewEnforcement: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n {},\n { renamed: [\"repos\", \"updatePullRequestReviewProtection\"] },\n ],\n updateProtectedBranchRequiredStatusChecks: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"updateStatusChecksProtection\"] },\n ],\n updatePullRequestReviewProtection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\",\n ],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\n \"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\",\n ],\n updateStatusCheckPotection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n ],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n uploadReleaseAsset: [\n \"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\",\n { baseUrl: \"https://uploads.github.com\" },\n ],\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\", { mediaType: { previews: [\"cloak\"] } }],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\"],\n users: [\"GET /search/users\"],\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n addOrUpdateMembershipInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n {},\n { renamed: [\"teams\", \"addOrUpdateMembershipForUserInOrg\"] },\n ],\n addOrUpdateProjectInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n { renamed: [\"teams\", \"addOrUpdateProjectPermissionsInOrg\"] },\n ],\n addOrUpdateProjectPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n addOrUpdateRepoInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n {},\n { renamed: [\"teams\", \"addOrUpdateRepoPermissionsInOrg\"] },\n ],\n addOrUpdateRepoPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n checkManagesRepoInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n {},\n { renamed: [\"teams\", \"checkPermissionsForRepoInOrg\"] },\n ],\n checkPermissionsForProjectInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n checkPermissionsForRepoInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n deleteDiscussionInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n getDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n getMembershipForUserInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n getMembershipInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n {},\n { renamed: [\"teams\", \"getMembershipForUserInOrg\"] },\n ],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n ],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n ],\n listProjectsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n { mediaType: { previews: [\"inertia\"] } },\n ],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n ],\n removeMembershipInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\",\n {},\n { renamed: [\"teams\", \"removeMembershipForUserInOrg\"] },\n ],\n removeProjectInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n ],\n removeRepoInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\",\n ],\n reviewProjectInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\",\n { mediaType: { previews: [\"inertia\"] } },\n { renamed: [\"teams\", \"checkPermissionsForProjectInOrg\"] },\n ],\n updateDiscussionCommentInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\",\n ],\n updateDiscussionInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\",\n ],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"],\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\"],\n addEmails: [\n \"POST /user/emails\",\n {},\n { renamed: [\"users\", \"addEmailsForAuthenticated\"] },\n ],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowing: [\n \"GET /user/following/{username}\",\n {},\n { renamed: [\"users\", \"checkPersonIsFollowedByAuthenticated\"] },\n ],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKey: [\n \"POST /user/gpg_keys\",\n {},\n { renamed: [\"users\", \"createGpgKeyForAuthenticated\"] },\n ],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\"],\n createPublicKey: [\n \"POST /user/keys\",\n {},\n { renamed: [\"users\", \"createPublicSshKeyForAuthenticated\"] },\n ],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\"],\n deleteEmails: [\n \"DELETE /user/emails\",\n {},\n { renamed: [\"users\", \"deleteEmailsForAuthenticated\"] },\n ],\n deleteGpgKey: [\n \"DELETE /user/gpg_keys/{gpg_key_id}\",\n {},\n { renamed: [\"users\", \"deleteGpgKeyForAuthenticated\"] },\n ],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicKey: [\n \"DELETE /user/keys/{key_id}\",\n {},\n { renamed: [\"users\", \"deletePublicSshKeyForAuthenticated\"] },\n ],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKey: [\n \"GET /user/gpg_keys/{gpg_key_id}\",\n {},\n { renamed: [\"users\", \"getGpgKeyForAuthenticated\"] },\n ],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicKey: [\n \"GET /user/keys/{key_id}\",\n {},\n { renamed: [\"users\", \"getPublicSshKeyForAuthenticated\"] },\n ],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlocked: [\n \"GET /user/blocks\",\n {},\n { renamed: [\"users\", \"listBlockedByAuthenticated\"] },\n ],\n listBlockedByAuthenticated: [\"GET /user/blocks\"],\n listEmails: [\n \"GET /user/emails\",\n {},\n { renamed: [\"users\", \"listEmailsForAuthenticated\"] },\n ],\n listEmailsForAuthenticated: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForAuthenticatedUser: [\n \"GET /user/following\",\n {},\n { renamed: [\"users\", \"listFollowedByAuthenticated\"] },\n ],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeys: [\n \"GET /user/gpg_keys\",\n {},\n { renamed: [\"users\", \"listGpgKeysForAuthenticated\"] },\n ],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmails: [\n \"GET /user/public_emails\",\n {},\n { renamed: [\"users\", \"listPublicEmailsForAuthenticatedUser\"] },\n ],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\"],\n listPublicKeys: [\n \"GET /user/keys\",\n {},\n { renamed: [\"users\", \"listPublicSshKeysForAuthenticated\"] },\n ],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\"],\n togglePrimaryEmailVisibility: [\n \"PATCH /user/email/visibility\",\n {},\n { renamed: [\"users\", \"setPrimaryEmailVisibilityForAuthenticated\"] },\n ],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"],\n },\n};\nexport default Endpoints;\n","export const VERSION = \"3.17.0\";\n","export function endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({ method, url }, defaults);\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n const scopeMethods = newMethods[scope];\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n return newMethods;\n}\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args);\n // There are currently no other decorations than `.mapToData`\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined,\n });\n return requestWithDefaults(options);\n }\n // NOTE: there are currently no deprecations. But we keep the code\n // below for future reference\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n // There is currently no deprecated parameter that is optional,\n // so we never hit the else branch below at this point.\n /* istanbul ignore else */\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n delete options[name];\n }\n }\n return requestWithDefaults(options);\n }\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n return requestWithDefaults(...args);\n }\n return Object.assign(withDecorations, requestWithDefaults);\n}\n","import ENDPOINTS from \"./generated/endpoints\";\nimport { VERSION } from \"./version\";\nimport { endpointsToMethods } from \"./endpoints-to-methods\";\n/**\n * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary\n * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is\n * done, we will remove the registerEndpoints methods and return the methods\n * directly as with the other plugins. At that point we will also remove the\n * legacy workarounds and deprecations.\n *\n * See the plan at\n * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1\n */\nexport function restEndpointMethods(octokit) {\n return endpointsToMethods(octokit, ENDPOINTS);\n}\nrestEndpointMethods.VERSION = VERSION;\n"],"names":["Endpoints","actions","addSelectedRepoToOrgSecret","cancelWorkflowRun","createOrUpdateOrgSecret","createOrUpdateRepoSecret","renamedParameters","name","createOrUpdateSecretForRepo","renamed","createRegistrationToken","createRegistrationTokenForOrg","createRegistrationTokenForRepo","createRemoveToken","createRemoveTokenForOrg","createRemoveTokenForRepo","deleteArtifact","deleteOrgSecret","deleteRepoSecret","deleteSecretFromRepo","deleteSelfHostedRunnerFromOrg","deleteSelfHostedRunnerFromRepo","deleteWorkflowRunLogs","downloadArtifact","downloadJobLogsForWorkflowRun","downloadWorkflowJobLogs","downloadWorkflowRunLogs","getArtifact","getJobForWorkflowRun","getOrgPublicKey","getOrgSecret","getPublicKey","getRepoPublicKey","getRepoSecret","getSecret","getSelfHostedRunner","getSelfHostedRunnerForOrg","getSelfHostedRunnerForRepo","getWorkflow","getWorkflowJob","getWorkflowRun","getWorkflowRunUsage","getWorkflowUsage","listArtifactsForRepo","listDownloadsForSelfHostedRunnerApplication","listJobsForWorkflowRun","listOrgSecrets","listRepoSecrets","listRepoWorkflowRuns","listRepoWorkflows","listRunnerApplicationsForOrg","listRunnerApplicationsForRepo","listSecretsForRepo","listSelectedReposForOrgSecret","listSelfHostedRunnersForOrg","listSelfHostedRunnersForRepo","listWorkflowJobLogs","listWorkflowRunArtifacts","listWorkflowRunLogs","listWorkflowRuns","listWorkflowRunsForRepo","reRunWorkflow","removeSelectedRepoFromOrgSecret","removeSelfHostedRunner","setSelectedReposForOrgSecret","activity","checkRepoIsStarredByAuthenticatedUser","checkStarringRepo","deleteRepoSubscription","deleteThreadSubscription","getFeeds","getRepoSubscription","getThread","getThreadSubscription","getThreadSubscriptionForAuthenticatedUser","listEventsForAuthenticatedUser","listEventsForOrg","listEventsForUser","listFeeds","listNotifications","listNotificationsForAuthenticatedUser","listNotificationsForRepo","listOrgEventsForAuthenticatedUser","listPublicEvents","listPublicEventsForOrg","listPublicEventsForRepoNetwork","listPublicEventsForUser","listPublicOrgEvents","listReceivedEventsForUser","listReceivedPublicEventsForUser","listRepoEvents","listRepoNotificationsForAuthenticatedUser","listReposStarredByAuthenticatedUser","listReposStarredByUser","listReposWatchedByUser","listStargazersForRepo","listWatchedReposForAuthenticatedUser","listWatchersForRepo","markAsRead","markNotificationsAsRead","markNotificationsAsReadForRepo","markRepoNotificationsAsRead","markThreadAsRead","setRepoSubscription","setThreadSubscription","starRepo","starRepoForAuthenticatedUser","unstarRepo","unstarRepoForAuthenticatedUser","apps","addRepoToInstallation","mediaType","previews","checkAccountIsAssociatedWithAny","checkAccountIsAssociatedWithAnyStubbed","checkToken","createContentAttachment","createFromManifest","createInstallationAccessToken","createInstallationToken","deleteAuthorization","deleteInstallation","deleteToken","getAuthenticated","getBySlug","getInstallation","getOrgInstallation","getRepoInstallation","getSubscriptionPlanForAccount","getSubscriptionPlanForAccountStubbed","getUserInstallation","listAccountsForPlan","listAccountsForPlanStubbed","listAccountsUserOrOrgOnPlan","listAccountsUserOrOrgOnPlanStubbed","listInstallationReposForAuthenticatedUser","listInstallations","listInstallationsForAuthenticatedUser","listMarketplacePurchasesForAuthenticatedUser","listMarketplacePurchasesForAuthenticatedUserStubbed","listPlans","listPlansStubbed","listRepos","listReposAccessibleToInstallation","listSubscriptionsForAuthenticatedUser","listSubscriptionsForAuthenticatedUserStubbed","removeRepoFromInstallation","resetToken","revokeInstallationAccessToken","revokeInstallationToken","suspendInstallation","unsuspendInstallation","checks","create","createSuite","get","getSuite","listAnnotations","listForRef","listForSuite","listSuitesForRef","rerequestSuite","setSuitesPreferences","update","codeScanning","getAlert","listAlertsForRepo","codesOfConduct","getAllCodesOfConduct","getConductCode","getForRepo","listConductCodes","emojis","gists","checkIsStarred","createComment","delete","deleteComment","fork","getComment","getRevision","list","listComments","listCommits","listForUser","listForks","listPublic","listPublicForUser","listStarred","star","unstar","updateComment","git","createBlob","createCommit","createRef","createTag","createTree","deleteRef","getBlob","getCommit","getRef","getTag","getTree","listMatchingRefs","updateRef","gitignore","getAllTemplates","getTemplate","listTemplates","interactions","addOrUpdateRestrictionsForOrg","addOrUpdateRestrictionsForRepo","getRestrictionsForOrg","getRestrictionsForRepo","removeRestrictionsForOrg","removeRestrictionsForRepo","setRestrictionsForOrg","setRestrictionsForRepo","issues","addAssignees","addLabels","checkAssignee","checkUserCanBeAssigned","createLabel","createMilestone","deleteLabel","deleteMilestone","getEvent","getLabel","getMilestone","listAssignees","listCommentsForRepo","listEvents","listEventsForRepo","listEventsForTimeline","listForAuthenticatedUser","listForOrg","listForRepo","listLabelsForMilestone","listLabelsForRepo","listLabelsOnIssue","listMilestones","listMilestonesForRepo","lock","removeAllLabels","removeAssignees","removeLabel","removeLabels","replaceAllLabels","replaceLabels","setLabels","unlock","updateLabel","updateMilestone","licenses","getAllCommonlyUsed","listCommonlyUsed","markdown","render","renderRaw","headers","meta","migrations","cancelImport","deleteArchiveForAuthenticatedUser","deleteArchiveForOrg","downloadArchiveForOrg","getArchiveForAuthenticatedUser","getCommitAuthors","getImportProgress","getImportStatus","getLargeFiles","getStatusForAuthenticatedUser","getStatusForOrg","listReposForOrg","listReposForUser","mapCommitAuthor","setLfsPreference","startForAuthenticatedUser","startForOrg","startImport","unlockRepoForAuthenticatedUser","unlockRepoForOrg","updateImport","orgs","addOrUpdateMembership","blockUser","checkBlockedUser","checkMembership","checkMembershipForUser","checkPublicMembership","checkPublicMembershipForUser","concealMembership","convertMemberToOutsideCollaborator","createHook","createInvitation","createWebhook","deleteHook","deleteWebhook","getHook","getMembership","getMembershipForAuthenticatedUser","getMembershipForUser","getWebhook","listAppInstallations","listBlockedUsers","listHooks","listInvitationTeams","listMembers","listMemberships","listMembershipsForAuthenticatedUser","listOutsideCollaborators","listPendingInvitations","listPublicMembers","listWebhooks","pingHook","pingWebhook","publicizeMembership","removeMember","removeMembership","removeMembershipForUser","removeOutsideCollaborator","removePublicMembershipForAuthenticatedUser","setMembershipForUser","setPublicMembershipForAuthenticatedUser","unblockUser","updateHook","updateMembership","updateMembershipForAuthenticatedUser","updateWebhook","projects","addCollaborator","createCard","createColumn","createForAuthenticatedUser","createForOrg","createForRepo","deleteCard","deleteColumn","getCard","getColumn","getPermissionForUser","listCards","listCollaborators","listColumns","moveCard","moveColumn","removeCollaborator","reviewUserPermissionLevel","updateCard","updateColumn","pulls","checkIfMerged","createReplyForReviewComment","createReview","createReviewComment","createReviewCommentReply","createReviewRequest","deletePendingReview","deleteReviewComment","deleteReviewRequest","dismissReview","getCommentsForReview","getReview","getReviewComment","listCommentsForReview","listFiles","listRequestedReviewers","listReviewComments","listReviewCommentsForRepo","listReviewRequests","listReviews","merge","removeRequestedReviewers","requestReviewers","submitReview","updateBranch","updateReview","updateReviewComment","rateLimit","reactions","createForCommitComment","createForIssue","createForIssueComment","createForPullRequestReviewComment","createForTeamDiscussionCommentInOrg","createForTeamDiscussionInOrg","deleteForCommitComment","deleteForIssue","deleteForIssueComment","deleteForPullRequestComment","deleteForTeamDiscussion","deleteForTeamDiscussionComment","deleteLegacy","deprecated","listForCommitComment","listForIssue","listForIssueComment","listForPullRequestReviewComment","listForTeamDiscussionCommentInOrg","listForTeamDiscussionInOrg","repos","acceptInvitation","addAppAccessRestrictions","mapToData","addDeployKey","addProtectedBranchAdminEnforcement","addProtectedBranchAppRestrictions","addProtectedBranchRequiredSignatures","addProtectedBranchRequiredStatusChecksContexts","addProtectedBranchTeamRestrictions","addProtectedBranchUserRestrictions","addStatusCheckContexts","addTeamAccessRestrictions","addUserAccessRestrictions","checkCollaborator","checkVulnerabilityAlerts","compareCommits","createCommitComment","createCommitSignatureProtection","createCommitStatus","createDeployKey","createDeployment","createDeploymentStatus","createDispatchEvent","createFork","createInOrg","createOrUpdateFile","createOrUpdateFileContents","createPagesSite","createRelease","createStatus","createUsingTemplate","declineInvitation","deleteAccessRestrictions","deleteAdminBranchProtection","deleteBranchProtection","deleteCommitComment","deleteCommitSignatureProtection","deleteDeployKey","deleteDeployment","deleteDownload","deleteFile","deleteInvitation","deletePagesSite","deletePullRequestReviewProtection","deleteRelease","deleteReleaseAsset","disableAutomatedSecurityFixes","disablePagesSite","disableVulnerabilityAlerts","downloadArchive","enableAutomatedSecurityFixes","enablePagesSite","enableVulnerabilityAlerts","getAccessRestrictions","getAdminBranchProtection","getAllStatusCheckContexts","getAllTopics","getAppsWithAccessToProtectedBranch","getArchiveLink","getBranch","getBranchProtection","getClones","getCodeFrequencyStats","getCollaboratorPermissionLevel","getCombinedStatusForRef","getCommitActivityStats","getCommitComment","getCommitSignatureProtection","getCommunityProfileMetrics","getContent","getContents","getContributorsStats","getDeployKey","getDeployment","getDeploymentStatus","getDownload","getLatestPagesBuild","getLatestRelease","getPages","getPagesBuild","getParticipationStats","getProtectedBranchAdminEnforcement","getProtectedBranchPullRequestReviewEnforcement","getProtectedBranchRequiredSignatures","getProtectedBranchRequiredStatusChecks","getProtectedBranchRestrictions","getPullRequestReviewProtection","getPunchCardStats","getReadme","getRelease","getReleaseAsset","getReleaseByTag","getStatusChecksProtection","getTeamsWithAccessToProtectedBranch","getTopPaths","getTopReferrers","getUsersWithAccessToProtectedBranch","getViews","listAssetsForRelease","listBranches","listBranchesForHeadCommit","listCommentsForCommit","listCommitComments","listCommitCommentsForRepo","listCommitStatusesForRef","listContributors","listDeployKeys","listDeploymentStatuses","listDeployments","listDownloads","listInvitations","listInvitationsForAuthenticatedUser","listLanguages","listPagesBuilds","listProtectedBranchRequiredStatusChecksContexts","listPullRequestsAssociatedWithCommit","listReleaseAssets","listReleases","listStatusesForRef","listTags","listTeams","listTopics","removeAppAccessRestrictions","removeBranchProtection","removeDeployKey","removeProtectedBranchAdminEnforcement","removeProtectedBranchAppRestrictions","removeProtectedBranchPullRequestReviewEnforcement","removeProtectedBranchRequiredSignatures","removeProtectedBranchRequiredStatusChecks","removeProtectedBranchRequiredStatusChecksContexts","removeProtectedBranchRestrictions","removeProtectedBranchTeamRestrictions","removeProtectedBranchUserRestrictions","removeStatusCheckContexts","removeStatusCheckProtection","removeTeamAccessRestrictions","removeUserAccessRestrictions","replaceAllTopics","replaceProtectedBranchAppRestrictions","replaceProtectedBranchRequiredStatusChecksContexts","replaceProtectedBranchTeamRestrictions","replaceProtectedBranchUserRestrictions","replaceTopics","requestPageBuild","requestPagesBuild","retrieveCommunityProfileMetrics","setAdminBranchProtection","setAppAccessRestrictions","setStatusCheckContexts","setTeamAccessRestrictions","setUserAccessRestrictions","testPushHook","testPushWebhook","transfer","updateBranchProtection","updateCommitComment","updateInformationAboutPagesSite","updateInvitation","updateProtectedBranchPullRequestReviewEnforcement","updateProtectedBranchRequiredStatusChecks","updatePullRequestReviewProtection","updateRelease","updateReleaseAsset","updateStatusCheckPotection","uploadReleaseAsset","baseUrl","search","code","commits","issuesAndPullRequests","labels","topics","users","teams","addOrUpdateMembershipForUserInOrg","addOrUpdateMembershipInOrg","addOrUpdateProjectInOrg","addOrUpdateProjectPermissionsInOrg","addOrUpdateRepoInOrg","addOrUpdateRepoPermissionsInOrg","checkManagesRepoInOrg","checkPermissionsForProjectInOrg","checkPermissionsForRepoInOrg","createDiscussionCommentInOrg","createDiscussionInOrg","deleteDiscussionCommentInOrg","deleteDiscussionInOrg","deleteInOrg","getByName","getDiscussionCommentInOrg","getDiscussionInOrg","getMembershipForUserInOrg","getMembershipInOrg","listChildInOrg","listDiscussionCommentsInOrg","listDiscussionsInOrg","listMembersInOrg","listPendingInvitationsInOrg","listProjectsInOrg","listReposInOrg","removeMembershipForUserInOrg","removeMembershipInOrg","removeProjectInOrg","removeRepoInOrg","reviewProjectInOrg","updateDiscussionCommentInOrg","updateDiscussionInOrg","updateInOrg","addEmailForAuthenticated","addEmails","block","checkBlocked","checkFollowing","checkFollowingForUser","checkPersonIsFollowedByAuthenticated","createGpgKey","createGpgKeyForAuthenticated","createPublicKey","createPublicSshKeyForAuthenticated","deleteEmailForAuthenticated","deleteEmails","deleteGpgKey","deleteGpgKeyForAuthenticated","deletePublicKey","deletePublicSshKeyForAuthenticated","follow","getByUsername","getContextForUser","getGpgKey","getGpgKeyForAuthenticated","getPublicSshKeyForAuthenticated","listBlocked","listBlockedByAuthenticated","listEmails","listEmailsForAuthenticated","listFollowedByAuthenticated","listFollowersForAuthenticatedUser","listFollowersForUser","listFollowingForAuthenticatedUser","listFollowingForUser","listGpgKeys","listGpgKeysForAuthenticated","listGpgKeysForUser","listPublicEmails","listPublicEmailsForAuthenticated","listPublicKeys","listPublicKeysForUser","listPublicSshKeysForAuthenticated","setPrimaryEmailVisibilityForAuthenticated","togglePrimaryEmailVisibility","unblock","unfollow","updateAuthenticated","VERSION","endpointsToMethods","octokit","endpointsMap","newMethods","scope","endpoints","Object","entries","methodName","endpoint","route","defaults","decorations","method","url","split","endpointDefaults","assign","scopeMethods","decorate","request","requestWithDefaults","withDecorations","args","options","data","undefined","newScope","newMethodName","log","warn","alias","restEndpointMethods","ENDPOINTS"],"mappings":";;;;AAAA,MAAMA,SAAS,GAAG;AACdC,EAAAA,OAAO,EAAE;AACLC,IAAAA,0BAA0B,EAAE,CACxB,4EADwB,CADvB;AAILC,IAAAA,iBAAiB,EAAE,CACf,yDADe,CAJd;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A1B;AACH,KApC6B;;;AAsC9B,WAAOH,mBAAmB,CAAC,GAAGE,IAAJ,CAA1B;AACH;;AACD,SAAOjB,MAAM,CAACW,MAAP,CAAcK,eAAd,EAA+BD,mBAA/B,CAAP;AACH;;AC5DD;;;;;;;;;;;AAUA,AAAO,SAASW,mBAAT,CAA6B/B,OAA7B,EAAsC;AACzC,SAAOD,kBAAkB,CAACC,OAAD,EAAUgC,SAAV,CAAzB;AACH;AACDD,mBAAmB,CAACjC,OAApB,GAA8BA,OAA9B;;;;"}
\ No newline at end of file
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js
deleted file mode 100644
index 0dfc07fdb5..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js
+++ /dev/null
@@ -1,64 +0,0 @@
-export function endpointsToMethods(octokit, endpointsMap) {
- const newMethods = {};
- for (const [scope, endpoints] of Object.entries(endpointsMap)) {
- for (const [methodName, endpoint] of Object.entries(endpoints)) {
- const [route, defaults, decorations] = endpoint;
- const [method, url] = route.split(/ /);
- const endpointDefaults = Object.assign({ method, url }, defaults);
- if (!newMethods[scope]) {
- newMethods[scope] = {};
- }
- const scopeMethods = newMethods[scope];
- if (decorations) {
- scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);
- continue;
- }
- scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);
- }
- }
- return newMethods;
-}
-function decorate(octokit, scope, methodName, defaults, decorations) {
- const requestWithDefaults = octokit.request.defaults(defaults);
- function withDecorations(...args) {
- // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488
- let options = requestWithDefaults.endpoint.merge(...args);
- // There are currently no other decorations than `.mapToData`
- if (decorations.mapToData) {
- options = Object.assign({}, options, {
- data: options[decorations.mapToData],
- [decorations.mapToData]: undefined,
- });
- return requestWithDefaults(options);
- }
- // NOTE: there are currently no deprecations. But we keep the code
- // below for future reference
- if (decorations.renamed) {
- const [newScope, newMethodName] = decorations.renamed;
- octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);
- }
- if (decorations.deprecated) {
- octokit.log.warn(decorations.deprecated);
- }
- if (decorations.renamedParameters) {
- // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488
- const options = requestWithDefaults.endpoint.merge(...args);
- for (const [name, alias] of Object.entries(decorations.renamedParameters)) {
- // There is currently no deprecated parameter that is optional,
- // so we never hit the else branch below at this point.
- /* istanbul ignore else */
- if (name in options) {
- octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`);
- if (!(alias in options)) {
- options[alias] = options[name];
- }
- delete options[name];
- }
- }
- return requestWithDefaults(options);
- }
- // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488
- return requestWithDefaults(...args);
- }
- return Object.assign(withDecorations, requestWithDefaults);
-}
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js
deleted file mode 100644
index 48e6a0a421..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js
+++ /dev/null
@@ -1,1991 +0,0 @@
-const Endpoints = {
- actions: {
- addSelectedRepoToOrgSecret: [
- "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}",
- ],
- cancelWorkflowRun: [
- "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel",
- ],
- createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"],
- createOrUpdateRepoSecret: [
- "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}",
- {},
- { renamedParameters: { name: "secret_name" } },
- ],
- createOrUpdateSecretForRepo: [
- "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}",
- {},
- {
- renamed: ["actions", "createOrUpdateRepoSecret"],
- renamedParameters: { name: "secret_name" },
- },
- ],
- createRegistrationToken: [
- "POST /repos/{owner}/{repo}/actions/runners/registration-token",
- {},
- { renamed: ["actions", "createRegistrationTokenForRepo"] },
- ],
- createRegistrationTokenForOrg: [
- "POST /orgs/{org}/actions/runners/registration-token",
- ],
- createRegistrationTokenForRepo: [
- "POST /repos/{owner}/{repo}/actions/runners/registration-token",
- ],
- createRemoveToken: [
- "POST /repos/{owner}/{repo}/actions/runners/remove-token",
- {},
- { renamed: ["actions", "createRemoveTokenForRepo"] },
- ],
- createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"],
- createRemoveTokenForRepo: [
- "POST /repos/{owner}/{repo}/actions/runners/remove-token",
- ],
- deleteArtifact: [
- "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}",
- ],
- deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"],
- deleteRepoSecret: [
- "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}",
- {},
- { renamedParameters: { name: "secret_name" } },
- ],
- deleteSecretFromRepo: [
- "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}",
- {},
- {
- renamed: ["actions", "deleteRepoSecret"],
- renamedParameters: { name: "secret_name" },
- },
- ],
- deleteSelfHostedRunnerFromOrg: [
- "DELETE /orgs/{org}/actions/runners/{runner_id}",
- ],
- deleteSelfHostedRunnerFromRepo: [
- "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}",
- ],
- deleteWorkflowRunLogs: [
- "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs",
- ],
- downloadArtifact: [
- "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}",
- ],
- downloadJobLogsForWorkflowRun: [
- "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs",
- ],
- downloadWorkflowJobLogs: [
- "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs",
- {},
- { renamed: ["actions", "downloadJobLogsForWorkflowRun"] },
- ],
- downloadWorkflowRunLogs: [
- "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs",
- ],
- getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],
- getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],
- getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"],
- getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"],
- getPublicKey: [
- "GET /repos/{owner}/{repo}/actions/secrets/public-key",
- {},
- { renamed: ["actions", "getRepoPublicKey"] },
- ],
- getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"],
- getRepoSecret: [
- "GET /repos/{owner}/{repo}/actions/secrets/{secret_name}",
- {},
- { renamedParameters: { name: "secret_name" } },
- ],
- getSecret: [
- "GET /repos/{owner}/{repo}/actions/secrets/{secret_name}",
- {},
- {
- renamed: ["actions", "getRepoSecret"],
- renamedParameters: { name: "secret_name" },
- },
- ],
- getSelfHostedRunner: [
- "GET /repos/{owner}/{repo}/actions/runners/{runner_id}",
- {},
- { renamed: ["actions", "getSelfHostedRunnerForRepo"] },
- ],
- getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"],
- getSelfHostedRunnerForRepo: [
- "GET /repos/{owner}/{repo}/actions/runners/{runner_id}",
- ],
- getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],
- getWorkflowJob: [
- "GET /repos/{owner}/{repo}/actions/jobs/{job_id}",
- {},
- { renamed: ["actions", "getJobForWorkflowRun"] },
- ],
- getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],
- getWorkflowRunUsage: [
- "GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing",
- ],
- getWorkflowUsage: [
- "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing",
- ],
- listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"],
- listDownloadsForSelfHostedRunnerApplication: [
- "GET /repos/{owner}/{repo}/actions/runners/downloads",
- {},
- { renamed: ["actions", "listRunnerApplicationsForRepo"] },
- ],
- listJobsForWorkflowRun: [
- "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs",
- ],
- listOrgSecrets: ["GET /orgs/{org}/actions/secrets"],
- listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"],
- listRepoWorkflowRuns: [
- "GET /repos/{owner}/{repo}/actions/runs",
- {},
- { renamed: ["actions", "listWorkflowRunsForRepo"] },
- ],
- listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"],
- listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"],
- listRunnerApplicationsForRepo: [
- "GET /repos/{owner}/{repo}/actions/runners/downloads",
- ],
- listSecretsForRepo: [
- "GET /repos/{owner}/{repo}/actions/secrets",
- {},
- { renamed: ["actions", "listRepoSecrets"] },
- ],
- listSelectedReposForOrgSecret: [
- "GET /orgs/{org}/actions/secrets/{secret_name}/repositories",
- ],
- listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"],
- listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"],
- listWorkflowJobLogs: [
- "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs",
- {},
- { renamed: ["actions", "downloadWorkflowJobLogs"] },
- ],
- listWorkflowRunArtifacts: [
- "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",
- ],
- listWorkflowRunLogs: [
- "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs",
- {},
- { renamed: ["actions", "downloadWorkflowRunLogs"] },
- ],
- listWorkflowRuns: [
- "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs",
- ],
- listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"],
- reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],
- removeSelectedRepoFromOrgSecret: [
- "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}",
- ],
- removeSelfHostedRunner: [
- "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}",
- {},
- { renamed: ["actions", "deleteSelfHostedRunnerFromRepo"] },
- ],
- setSelectedReposForOrgSecret: [
- "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories",
- ],
- },
- activity: {
- checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"],
- checkStarringRepo: [
- "GET /user/starred/{owner}/{repo}",
- {},
- { renamed: ["activity", "checkRepoIsStarredByAuthenticatedUser"] },
- ],
- deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"],
- deleteThreadSubscription: [
- "DELETE /notifications/threads/{thread_id}/subscription",
- ],
- getFeeds: ["GET /feeds"],
- getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"],
- getThread: ["GET /notifications/threads/{thread_id}"],
- getThreadSubscription: [
- "PUT /notifications",
- {},
- { renamed: ["activity", "getThreadSubscriptionForAuthenticatedUser"] },
- ],
- getThreadSubscriptionForAuthenticatedUser: [
- "GET /notifications/threads/{thread_id}/subscription",
- ],
- listEventsForAuthenticatedUser: ["GET /users/{username}/events"],
- listEventsForOrg: [
- "GET /users/{username}/events/orgs/{org}",
- {},
- { renamed: ["activity", "listOrgEventsForAuthenticatedUser"] },
- ],
- listEventsForUser: [
- "GET /users/{username}/events",
- {},
- { renamed: ["activity", "listEventsForAuthenticatedUser"] },
- ],
- listFeeds: ["GET /feeds", {}, { renamed: ["activity", "getFeeds"] }],
- listNotifications: [
- "GET /notifications",
- {},
- { renamed: ["activity", "listNotificationsForAuthenticatedUser"] },
- ],
- listNotificationsForAuthenticatedUser: ["GET /notifications"],
- listNotificationsForRepo: [
- "GET /repos/{owner}/{repo}/notifications",
- {},
- { renamed: ["activity", "listRepoNotificationsForAuthenticatedUser"] },
- ],
- listOrgEventsForAuthenticatedUser: [
- "GET /users/{username}/events/orgs/{org}",
- ],
- listPublicEvents: ["GET /events"],
- listPublicEventsForOrg: [
- "GET /orgs/{org}/events",
- {},
- { renamed: ["activity", "listPublicOrgEvents"] },
- ],
- listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"],
- listPublicEventsForUser: ["GET /users/{username}/events/public"],
- listPublicOrgEvents: ["GET /orgs/{org}/events"],
- listReceivedEventsForUser: ["GET /users/{username}/received_events"],
- listReceivedPublicEventsForUser: [
- "GET /users/{username}/received_events/public",
- ],
- listRepoEvents: ["GET /repos/{owner}/{repo}/events"],
- listRepoNotificationsForAuthenticatedUser: [
- "GET /repos/{owner}/{repo}/notifications",
- ],
- listReposStarredByAuthenticatedUser: ["GET /user/starred"],
- listReposStarredByUser: ["GET /users/{username}/starred"],
- listReposWatchedByUser: ["GET /users/{username}/subscriptions"],
- listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"],
- listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"],
- listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"],
- markAsRead: [
- "PUT /notifications",
- {},
- { renamed: ["activity", "markNotificationsAsRead"] },
- ],
- markNotificationsAsRead: ["PUT /notifications"],
- markNotificationsAsReadForRepo: [
- "PUT /repos/{owner}/{repo}/notifications",
- {},
- { renamed: ["activity", "markRepoNotificationsAsRead"] },
- ],
- markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"],
- markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"],
- setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"],
- setThreadSubscription: [
- "PUT /notifications/threads/{thread_id}/subscription",
- ],
- starRepo: [
- "PUT /user/starred/{owner}/{repo}",
- {},
- { renamed: ["activity", "starRepoForAuthenticatedUser"] },
- ],
- starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"],
- unstarRepo: [
- "DELETE /user/starred/{owner}/{repo}",
- {},
- { renamed: ["activity", "unstarRepoForAuthenticatedUser"] },
- ],
- unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"],
- },
- apps: {
- addRepoToInstallation: [
- "PUT /user/installations/{installation_id}/repositories/{repository_id}",
- { mediaType: { previews: ["machine-man"] } },
- ],
- checkAccountIsAssociatedWithAny: [
- "GET /marketplace_listing/accounts/{account_id}",
- {},
- { renamed: ["apps", "getSubscriptionPlanForAccount"] },
- ],
- checkAccountIsAssociatedWithAnyStubbed: [
- "GET /marketplace_listing/stubbed/accounts/{account_id}",
- {},
- { renamed: ["apps", "getSubscriptionPlanForAccountStubbed"] },
- ],
- checkToken: ["POST /applications/{client_id}/token"],
- createContentAttachment: [
- "POST /content_references/{content_reference_id}/attachments",
- { mediaType: { previews: ["corsair"] } },
- ],
- createFromManifest: ["POST /app-manifests/{code}/conversions"],
- createInstallationAccessToken: [
- "POST /app/installations/{installation_id}/access_tokens",
- { mediaType: { previews: ["machine-man"] } },
- ],
- createInstallationToken: [
- "POST /app/installations/{installation_id}/access_tokens",
- { mediaType: { previews: ["machine-man"] } },
- { renamed: ["apps", "createInstallationAccessToken"] },
- ],
- deleteAuthorization: ["DELETE /applications/{client_id}/grant"],
- deleteInstallation: [
- "DELETE /app/installations/{installation_id}",
- { mediaType: { previews: ["machine-man"] } },
- ],
- deleteToken: ["DELETE /applications/{client_id}/token"],
- getAuthenticated: [
- "GET /app",
- { mediaType: { previews: ["machine-man"] } },
- ],
- getBySlug: [
- "GET /apps/{app_slug}",
- { mediaType: { previews: ["machine-man"] } },
- ],
- getInstallation: [
- "GET /app/installations/{installation_id}",
- { mediaType: { previews: ["machine-man"] } },
- ],
- getOrgInstallation: [
- "GET /orgs/{org}/installation",
- { mediaType: { previews: ["machine-man"] } },
- ],
- getRepoInstallation: [
- "GET /repos/{owner}/{repo}/installation",
- { mediaType: { previews: ["machine-man"] } },
- ],
- getSubscriptionPlanForAccount: [
- "GET /marketplace_listing/accounts/{account_id}",
- ],
- getSubscriptionPlanForAccountStubbed: [
- "GET /marketplace_listing/stubbed/accounts/{account_id}",
- ],
- getUserInstallation: [
- "GET /users/{username}/installation",
- { mediaType: { previews: ["machine-man"] } },
- ],
- listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"],
- listAccountsForPlanStubbed: [
- "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts",
- ],
- listAccountsUserOrOrgOnPlan: [
- "GET /marketplace_listing/plans/{plan_id}/accounts",
- {},
- { renamed: ["apps", "listAccountsForPlan"] },
- ],
- listAccountsUserOrOrgOnPlanStubbed: [
- "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts",
- {},
- { renamed: ["apps", "listAccountsForPlanStubbed"] },
- ],
- listInstallationReposForAuthenticatedUser: [
- "GET /user/installations/{installation_id}/repositories",
- { mediaType: { previews: ["machine-man"] } },
- ],
- listInstallations: [
- "GET /app/installations",
- { mediaType: { previews: ["machine-man"] } },
- ],
- listInstallationsForAuthenticatedUser: [
- "GET /user/installations",
- { mediaType: { previews: ["machine-man"] } },
- ],
- listMarketplacePurchasesForAuthenticatedUser: [
- "GET /user/marketplace_purchases",
- {},
- { renamed: ["apps", "listSubscriptionsForAuthenticatedUser"] },
- ],
- listMarketplacePurchasesForAuthenticatedUserStubbed: [
- "GET /user/marketplace_purchases/stubbed",
- {},
- { renamed: ["apps", "listSubscriptionsForAuthenticatedUserStubbed"] },
- ],
- listPlans: ["GET /marketplace_listing/plans"],
- listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"],
- listRepos: [
- "GET /installation/repositories",
- { mediaType: { previews: ["machine-man"] } },
- { renamed: ["apps", "listReposAccessibleToInstallation"] },
- ],
- listReposAccessibleToInstallation: [
- "GET /installation/repositories",
- { mediaType: { previews: ["machine-man"] } },
- ],
- listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"],
- listSubscriptionsForAuthenticatedUserStubbed: [
- "GET /user/marketplace_purchases/stubbed",
- ],
- removeRepoFromInstallation: [
- "DELETE /user/installations/{installation_id}/repositories/{repository_id}",
- { mediaType: { previews: ["machine-man"] } },
- ],
- resetToken: ["PATCH /applications/{client_id}/token"],
- revokeInstallationAccessToken: ["DELETE /installation/token"],
- revokeInstallationToken: [
- "DELETE /installation/token",
- {},
- { renamed: ["apps", "revokeInstallationAccessToken"] },
- ],
- suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"],
- unsuspendInstallation: [
- "DELETE /app/installations/{installation_id}/suspended",
- ],
- },
- checks: {
- create: [
- "POST /repos/{owner}/{repo}/check-runs",
- { mediaType: { previews: ["antiope"] } },
- ],
- createSuite: [
- "POST /repos/{owner}/{repo}/check-suites",
- { mediaType: { previews: ["antiope"] } },
- ],
- get: [
- "GET /repos/{owner}/{repo}/check-runs/{check_run_id}",
- { mediaType: { previews: ["antiope"] } },
- ],
- getSuite: [
- "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}",
- { mediaType: { previews: ["antiope"] } },
- ],
- listAnnotations: [
- "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",
- { mediaType: { previews: ["antiope"] } },
- ],
- listForRef: [
- "GET /repos/{owner}/{repo}/commits/{ref}/check-runs",
- { mediaType: { previews: ["antiope"] } },
- ],
- listForSuite: [
- "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs",
- { mediaType: { previews: ["antiope"] } },
- ],
- listSuitesForRef: [
- "GET /repos/{owner}/{repo}/commits/{ref}/check-suites",
- { mediaType: { previews: ["antiope"] } },
- ],
- rerequestSuite: [
- "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest",
- { mediaType: { previews: ["antiope"] } },
- ],
- setSuitesPreferences: [
- "PATCH /repos/{owner}/{repo}/check-suites/preferences",
- { mediaType: { previews: ["antiope"] } },
- ],
- update: [
- "PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}",
- { mediaType: { previews: ["antiope"] } },
- ],
- },
- codeScanning: {
- getAlert: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}"],
- listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"],
- },
- codesOfConduct: {
- getAllCodesOfConduct: [
- "GET /codes_of_conduct",
- { mediaType: { previews: ["scarlet-witch"] } },
- ],
- getConductCode: [
- "GET /codes_of_conduct/{key}",
- { mediaType: { previews: ["scarlet-witch"] } },
- ],
- getForRepo: [
- "GET /repos/{owner}/{repo}/community/code_of_conduct",
- { mediaType: { previews: ["scarlet-witch"] } },
- ],
- listConductCodes: [
- "GET /codes_of_conduct",
- { mediaType: { previews: ["scarlet-witch"] } },
- { renamed: ["codesOfConduct", "getAllCodesOfConduct"] },
- ],
- },
- emojis: { get: ["GET /emojis"] },
- gists: {
- checkIsStarred: ["GET /gists/{gist_id}/star"],
- create: ["POST /gists"],
- createComment: ["POST /gists/{gist_id}/comments"],
- delete: ["DELETE /gists/{gist_id}"],
- deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"],
- fork: ["POST /gists/{gist_id}/forks"],
- get: ["GET /gists/{gist_id}"],
- getComment: ["GET /gists/{gist_id}/comments/{comment_id}"],
- getRevision: ["GET /gists/{gist_id}/{sha}"],
- list: ["GET /gists"],
- listComments: ["GET /gists/{gist_id}/comments"],
- listCommits: ["GET /gists/{gist_id}/commits"],
- listForUser: ["GET /users/{username}/gists"],
- listForks: ["GET /gists/{gist_id}/forks"],
- listPublic: ["GET /gists/public"],
- listPublicForUser: [
- "GET /users/{username}/gists",
- {},
- { renamed: ["gists", "listForUser"] },
- ],
- listStarred: ["GET /gists/starred"],
- star: ["PUT /gists/{gist_id}/star"],
- unstar: ["DELETE /gists/{gist_id}/star"],
- update: ["PATCH /gists/{gist_id}"],
- updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"],
- },
- git: {
- createBlob: ["POST /repos/{owner}/{repo}/git/blobs"],
- createCommit: ["POST /repos/{owner}/{repo}/git/commits"],
- createRef: ["POST /repos/{owner}/{repo}/git/refs"],
- createTag: ["POST /repos/{owner}/{repo}/git/tags"],
- createTree: ["POST /repos/{owner}/{repo}/git/trees"],
- deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],
- getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],
- getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],
- getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"],
- getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],
- getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],
- listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],
- updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"],
- },
- gitignore: {
- getAllTemplates: ["GET /gitignore/templates"],
- getTemplate: ["GET /gitignore/templates/{name}"],
- listTemplates: [
- "GET /gitignore/templates",
- {},
- { renamed: ["gitignore", "getAllTemplates"] },
- ],
- },
- interactions: {
- addOrUpdateRestrictionsForOrg: [
- "PUT /orgs/{org}/interaction-limits",
- { mediaType: { previews: ["sombra"] } },
- { renamed: ["interactions", "setRestrictionsForOrg"] },
- ],
- addOrUpdateRestrictionsForRepo: [
- "PUT /repos/{owner}/{repo}/interaction-limits",
- { mediaType: { previews: ["sombra"] } },
- { renamed: ["interactions", "setRestrictionsForRepo"] },
- ],
- getRestrictionsForOrg: [
- "GET /orgs/{org}/interaction-limits",
- { mediaType: { previews: ["sombra"] } },
- ],
- getRestrictionsForRepo: [
- "GET /repos/{owner}/{repo}/interaction-limits",
- { mediaType: { previews: ["sombra"] } },
- ],
- removeRestrictionsForOrg: [
- "DELETE /orgs/{org}/interaction-limits",
- { mediaType: { previews: ["sombra"] } },
- ],
- removeRestrictionsForRepo: [
- "DELETE /repos/{owner}/{repo}/interaction-limits",
- { mediaType: { previews: ["sombra"] } },
- ],
- setRestrictionsForOrg: [
- "PUT /orgs/{org}/interaction-limits",
- { mediaType: { previews: ["sombra"] } },
- ],
- setRestrictionsForRepo: [
- "PUT /repos/{owner}/{repo}/interaction-limits",
- { mediaType: { previews: ["sombra"] } },
- ],
- },
- issues: {
- addAssignees: [
- "POST /repos/{owner}/{repo}/issues/{issue_number}/assignees",
- ],
- addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],
- checkAssignee: [
- "GET /repos/{owner}/{repo}/assignees/{assignee}",
- {},
- { renamed: ["issues", "checkUserCanBeAssigned"] },
- ],
- checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"],
- create: ["POST /repos/{owner}/{repo}/issues"],
- createComment: [
- "POST /repos/{owner}/{repo}/issues/{issue_number}/comments",
- ],
- createLabel: ["POST /repos/{owner}/{repo}/labels"],
- createMilestone: ["POST /repos/{owner}/{repo}/milestones"],
- deleteComment: [
- "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}",
- ],
- deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"],
- deleteMilestone: [
- "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}",
- ],
- get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"],
- getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],
- getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"],
- getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"],
- getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],
- list: ["GET /issues"],
- listAssignees: ["GET /repos/{owner}/{repo}/assignees"],
- listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],
- listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"],
- listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],
- listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"],
- listEventsForTimeline: [
- "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline",
- { mediaType: { previews: ["mockingbird"] } },
- ],
- listForAuthenticatedUser: ["GET /user/issues"],
- listForOrg: ["GET /orgs/{org}/issues"],
- listForRepo: ["GET /repos/{owner}/{repo}/issues"],
- listLabelsForMilestone: [
- "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels",
- ],
- listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"],
- listLabelsOnIssue: [
- "GET /repos/{owner}/{repo}/issues/{issue_number}/labels",
- ],
- listMilestones: ["GET /repos/{owner}/{repo}/milestones"],
- listMilestonesForRepo: [
- "GET /repos/{owner}/{repo}/milestones",
- {},
- { renamed: ["issues", "listMilestones"] },
- ],
- lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],
- removeAllLabels: [
- "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels",
- ],
- removeAssignees: [
- "DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees",
- ],
- removeLabel: [
- "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}",
- ],
- removeLabels: [
- "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels",
- {},
- { renamed: ["issues", "removeAllLabels"] },
- ],
- replaceAllLabels: [
- "PUT /repos/{owner}/{repo}/issues/{issue_number}/labels",
- {},
- { renamed: ["issues", "setLabels"] },
- ],
- replaceLabels: [
- "PUT /repos/{owner}/{repo}/issues/{issue_number}/labels",
- {},
- { renamed: ["issues", "replaceAllLabels"] },
- ],
- setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],
- unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],
- update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],
- updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],
- updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"],
- updateMilestone: [
- "PATCH /repos/{owner}/{repo}/milestones/{milestone_number}",
- ],
- },
- licenses: {
- get: ["GET /licenses/{license}"],
- getAllCommonlyUsed: ["GET /licenses"],
- getForRepo: ["GET /repos/{owner}/{repo}/license"],
- listCommonlyUsed: [
- "GET /licenses",
- {},
- { renamed: ["licenses", "getAllCommonlyUsed"] },
- ],
- },
- markdown: {
- render: ["POST /markdown"],
- renderRaw: [
- "POST /markdown/raw",
- { headers: { "content-type": "text/plain; charset=utf-8" } },
- ],
- },
- meta: { get: ["GET /meta"] },
- migrations: {
- cancelImport: ["DELETE /repos/{owner}/{repo}/import"],
- deleteArchiveForAuthenticatedUser: [
- "DELETE /user/migrations/{migration_id}/archive",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- deleteArchiveForOrg: [
- "DELETE /orgs/{org}/migrations/{migration_id}/archive",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- downloadArchiveForOrg: [
- "GET /orgs/{org}/migrations/{migration_id}/archive",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- getArchiveForAuthenticatedUser: [
- "GET /user/migrations/{migration_id}/archive",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"],
- getImportProgress: [
- "GET /repos/{owner}/{repo}/import",
- {},
- { renamed: ["migrations", "getImportStatus"] },
- ],
- getImportStatus: ["GET /repos/{owner}/{repo}/import"],
- getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"],
- getStatusForAuthenticatedUser: [
- "GET /user/migrations/{migration_id}",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- getStatusForOrg: [
- "GET /orgs/{org}/migrations/{migration_id}",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- listForAuthenticatedUser: [
- "GET /user/migrations",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- listForOrg: [
- "GET /orgs/{org}/migrations",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- listReposForOrg: [
- "GET /orgs/{org}/migrations/{migration_id}/repositories",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- listReposForUser: [
- "GET /user/{migration_id}/repositories",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],
- setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"],
- startForAuthenticatedUser: ["POST /user/migrations"],
- startForOrg: ["POST /orgs/{org}/migrations"],
- startImport: ["PUT /repos/{owner}/{repo}/import"],
- unlockRepoForAuthenticatedUser: [
- "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- unlockRepoForOrg: [
- "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock",
- { mediaType: { previews: ["wyandotte"] } },
- ],
- updateImport: ["PATCH /repos/{owner}/{repo}/import"],
- },
- orgs: {
- addOrUpdateMembership: [
- "PUT /orgs/{org}/memberships/{username}",
- {},
- { renamed: ["orgs", "setMembershipForUser"] },
- ],
- blockUser: ["PUT /orgs/{org}/blocks/{username}"],
- checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"],
- checkMembership: [
- "GET /orgs/{org}/members/{username}",
- {},
- { renamed: ["orgs", "checkMembershipForUser"] },
- ],
- checkMembershipForUser: ["GET /orgs/{org}/members/{username}"],
- checkPublicMembership: [
- "GET /orgs/{org}/public_members/{username}",
- {},
- { renamed: ["orgs", "checkPublicMembershipForUser"] },
- ],
- checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"],
- concealMembership: [
- "DELETE /orgs/{org}/public_members/{username}",
- {},
- { renamed: ["orgs", "removePublicMembershipForAuthenticatedUser"] },
- ],
- convertMemberToOutsideCollaborator: [
- "PUT /orgs/{org}/outside_collaborators/{username}",
- ],
- createHook: [
- "POST /orgs/{org}/hooks",
- {},
- { renamed: ["orgs", "createWebhook"] },
- ],
- createInvitation: ["POST /orgs/{org}/invitations"],
- createWebhook: ["POST /orgs/{org}/hooks"],
- deleteHook: [
- "DELETE /orgs/{org}/hooks/{hook_id}",
- {},
- { renamed: ["orgs", "deleteWebhook"] },
- ],
- deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
- get: ["GET /orgs/{org}"],
- getHook: [
- "GET /orgs/{org}/hooks/{hook_id}",
- {},
- { renamed: ["orgs", "getWebhook"] },
- ],
- getMembership: [
- "GET /orgs/{org}/memberships/{username}",
- {},
- { renamed: ["orgs", "getMembershipForUser"] },
- ],
- getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"],
- getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"],
- getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"],
- list: ["GET /organizations"],
- listAppInstallations: [
- "GET /orgs/{org}/installations",
- { mediaType: { previews: ["machine-man"] } },
- ],
- listBlockedUsers: ["GET /orgs/{org}/blocks"],
- listForAuthenticatedUser: ["GET /user/orgs"],
- listForUser: ["GET /users/{username}/orgs"],
- listHooks: [
- "GET /orgs/{org}/hooks",
- {},
- { renamed: ["orgs", "listWebhooks"] },
- ],
- listInstallations: [
- "GET /orgs/{org}/installations",
- { mediaType: { previews: ["machine-man"] } },
- { renamed: ["orgs", "listAppInstallations"] },
- ],
- listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"],
- listMembers: ["GET /orgs/{org}/members"],
- listMemberships: [
- "GET /user/memberships/orgs",
- {},
- { renamed: ["orgs", "listMembershipsForAuthenticatedUser"] },
- ],
- listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"],
- listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"],
- listPendingInvitations: ["GET /orgs/{org}/invitations"],
- listPublicMembers: ["GET /orgs/{org}/public_members"],
- listWebhooks: ["GET /orgs/{org}/hooks"],
- pingHook: [
- "POST /orgs/{org}/hooks/{hook_id}/pings",
- {},
- { renamed: ["orgs", "pingWebhook"] },
- ],
- pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"],
- publicizeMembership: [
- "PUT /orgs/{org}/public_members/{username}",
- {},
- { renamed: ["orgs", "setPublicMembershipForAuthenticatedUser"] },
- ],
- removeMember: ["DELETE /orgs/{org}/members/{username}"],
- removeMembership: [
- "DELETE /orgs/{org}/memberships/{username}",
- {},
- { renamed: ["orgs", "removeMembershipForUser"] },
- ],
- removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"],
- removeOutsideCollaborator: [
- "DELETE /orgs/{org}/outside_collaborators/{username}",
- ],
- removePublicMembershipForAuthenticatedUser: [
- "DELETE /orgs/{org}/public_members/{username}",
- ],
- setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"],
- setPublicMembershipForAuthenticatedUser: [
- "PUT /orgs/{org}/public_members/{username}",
- ],
- unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
- update: ["PATCH /orgs/{org}"],
- updateHook: [
- "PATCH /orgs/{org}/hooks/{hook_id}",
- {},
- { renamed: ["orgs", "updateWebhook"] },
- ],
- updateMembership: [
- "PATCH /user/memberships/orgs/{org}",
- {},
- { renamed: ["orgs", "updateMembershipForAuthenticatedUser"] },
- ],
- updateMembershipForAuthenticatedUser: [
- "PATCH /user/memberships/orgs/{org}",
- ],
- updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"],
- },
- projects: {
- addCollaborator: [
- "PUT /projects/{project_id}/collaborators/{username}",
- { mediaType: { previews: ["inertia"] } },
- ],
- createCard: [
- "POST /projects/columns/{column_id}/cards",
- { mediaType: { previews: ["inertia"] } },
- ],
- createColumn: [
- "POST /projects/{project_id}/columns",
- { mediaType: { previews: ["inertia"] } },
- ],
- createForAuthenticatedUser: [
- "POST /user/projects",
- { mediaType: { previews: ["inertia"] } },
- ],
- createForOrg: [
- "POST /orgs/{org}/projects",
- { mediaType: { previews: ["inertia"] } },
- ],
- createForRepo: [
- "POST /repos/{owner}/{repo}/projects",
- { mediaType: { previews: ["inertia"] } },
- ],
- delete: [
- "DELETE /projects/{project_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- deleteCard: [
- "DELETE /projects/columns/cards/{card_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- deleteColumn: [
- "DELETE /projects/columns/{column_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- get: [
- "GET /projects/{project_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- getCard: [
- "GET /projects/columns/cards/{card_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- getColumn: [
- "GET /projects/columns/{column_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- getPermissionForUser: [
- "GET /projects/{project_id}/collaborators/{username}/permission",
- { mediaType: { previews: ["inertia"] } },
- ],
- listCards: [
- "GET /projects/columns/{column_id}/cards",
- { mediaType: { previews: ["inertia"] } },
- ],
- listCollaborators: [
- "GET /projects/{project_id}/collaborators",
- { mediaType: { previews: ["inertia"] } },
- ],
- listColumns: [
- "GET /projects/{project_id}/columns",
- { mediaType: { previews: ["inertia"] } },
- ],
- listForOrg: [
- "GET /orgs/{org}/projects",
- { mediaType: { previews: ["inertia"] } },
- ],
- listForRepo: [
- "GET /repos/{owner}/{repo}/projects",
- { mediaType: { previews: ["inertia"] } },
- ],
- listForUser: [
- "GET /users/{username}/projects",
- { mediaType: { previews: ["inertia"] } },
- ],
- moveCard: [
- "POST /projects/columns/cards/{card_id}/moves",
- { mediaType: { previews: ["inertia"] } },
- ],
- moveColumn: [
- "POST /projects/columns/{column_id}/moves",
- { mediaType: { previews: ["inertia"] } },
- ],
- removeCollaborator: [
- "DELETE /projects/{project_id}/collaborators/{username}",
- { mediaType: { previews: ["inertia"] } },
- ],
- reviewUserPermissionLevel: [
- "GET /projects/{project_id}/collaborators/{username}/permission",
- { mediaType: { previews: ["inertia"] } },
- { renamed: ["projects", "getPermissionForUser"] },
- ],
- update: [
- "PATCH /projects/{project_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- updateCard: [
- "PATCH /projects/columns/cards/{card_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- updateColumn: [
- "PATCH /projects/columns/{column_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- },
- pulls: {
- checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
- create: ["POST /repos/{owner}/{repo}/pulls"],
- createComment: [
- "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments",
- {},
- { renamed: ["pulls", "createReviewComment"] },
- ],
- createReplyForReviewComment: [
- "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies",
- ],
- createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],
- createReviewComment: [
- "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments",
- ],
- createReviewCommentReply: [
- "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies",
- {},
- { renamed: ["pulls", "createReplyForReviewComment"] },
- ],
- createReviewRequest: [
- "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers",
- {},
- { renamed: ["pulls", "requestReviewers"] },
- ],
- deleteComment: [
- "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}",
- {},
- { renamed: ["pulls", "deleteReviewComment"] },
- ],
- deletePendingReview: [
- "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}",
- ],
- deleteReviewComment: [
- "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}",
- ],
- deleteReviewRequest: [
- "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers",
- {},
- { renamed: ["pulls", "removeRequestedReviewers"] },
- ],
- dismissReview: [
- "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals",
- ],
- get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"],
- getComment: [
- "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}",
- {},
- { renamed: ["pulls", "getReviewComment"] },
- ],
- getCommentsForReview: [
- "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments",
- {},
- { renamed: ["pulls", "listCommentsForReview"] },
- ],
- getReview: [
- "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}",
- ],
- getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],
- list: ["GET /repos/{owner}/{repo}/pulls"],
- listComments: [
- "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments",
- {},
- { renamed: ["pulls", "listReviewComments"] },
- ],
- listCommentsForRepo: [
- "GET /repos/{owner}/{repo}/pulls/comments",
- {},
- { renamed: ["pulls", "listReviewCommentsForRepo"] },
- ],
- listCommentsForReview: [
- "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments",
- ],
- listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],
- listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],
- listRequestedReviewers: [
- "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers",
- ],
- listReviewComments: [
- "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments",
- ],
- listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"],
- listReviewRequests: [
- "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers",
- {},
- { renamed: ["pulls", "listRequestedReviewers"] },
- ],
- listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],
- merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
- removeRequestedReviewers: [
- "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers",
- ],
- requestReviewers: [
- "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers",
- ],
- submitReview: [
- "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events",
- ],
- update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],
- updateBranch: [
- "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch",
- { mediaType: { previews: ["lydian"] } },
- ],
- updateComment: [
- "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}",
- {},
- { renamed: ["pulls", "updateReviewComment"] },
- ],
- updateReview: [
- "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}",
- ],
- updateReviewComment: [
- "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}",
- ],
- },
- rateLimit: { get: ["GET /rate_limit"] },
- reactions: {
- createForCommitComment: [
- "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- createForIssue: [
- "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- createForIssueComment: [
- "POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- createForPullRequestReviewComment: [
- "POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- createForTeamDiscussionCommentInOrg: [
- "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- createForTeamDiscussionInOrg: [
- "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- delete: [
- "DELETE /reactions/{reaction_id}",
- { mediaType: { previews: ["squirrel-girl"] } },
- { renamed: ["reactions", "deleteLegacy"] },
- ],
- deleteForCommitComment: [
- "DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- deleteForIssue: [
- "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- deleteForIssueComment: [
- "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- deleteForPullRequestComment: [
- "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- deleteForTeamDiscussion: [
- "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- deleteForTeamDiscussionComment: [
- "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- deleteLegacy: [
- "DELETE /reactions/{reaction_id}",
- { mediaType: { previews: ["squirrel-girl"] } },
- {
- deprecated: "octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy",
- },
- ],
- listForCommitComment: [
- "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- listForIssue: [
- "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- listForIssueComment: [
- "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- listForPullRequestReviewComment: [
- "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- listForTeamDiscussionCommentInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- listForTeamDiscussionInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",
- { mediaType: { previews: ["squirrel-girl"] } },
- ],
- },
- repos: {
- acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"],
- addAppAccessRestrictions: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
- {},
- { mapToData: "apps" },
- ],
- addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"],
- addDeployKey: [
- "POST /repos/{owner}/{repo}/keys",
- {},
- { renamed: ["repos", "createDeployKey"] },
- ],
- addProtectedBranchAdminEnforcement: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins",
- {},
- { renamed: ["repos", "setAdminBranchProtection"] },
- ],
- addProtectedBranchAppRestrictions: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
- {},
- { mapToData: "apps", renamed: ["repos", "addAppAccessRestrictions"] },
- ],
- addProtectedBranchRequiredSignatures: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",
- { mediaType: { previews: ["zzzax"] } },
- { renamed: ["repos", "createCommitSignatureProtection"] },
- ],
- addProtectedBranchRequiredStatusChecksContexts: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
- {},
- { mapToData: "contexts", renamed: ["repos", "addStatusCheckContexts"] },
- ],
- addProtectedBranchTeamRestrictions: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
- {},
- { mapToData: "teams", renamed: ["repos", "addTeamAccessRestrictions"] },
- ],
- addProtectedBranchUserRestrictions: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
- {},
- { mapToData: "users", renamed: ["repos", "addUserAccessRestrictions"] },
- ],
- addStatusCheckContexts: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
- {},
- { mapToData: "contexts" },
- ],
- addTeamAccessRestrictions: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
- {},
- { mapToData: "teams" },
- ],
- addUserAccessRestrictions: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
- {},
- { mapToData: "users" },
- ],
- checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"],
- checkVulnerabilityAlerts: [
- "GET /repos/{owner}/{repo}/vulnerability-alerts",
- { mediaType: { previews: ["dorian"] } },
- ],
- compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"],
- createCommitComment: [
- "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments",
- ],
- createCommitSignatureProtection: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",
- { mediaType: { previews: ["zzzax"] } },
- ],
- createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"],
- createDeployKey: ["POST /repos/{owner}/{repo}/keys"],
- createDeployment: ["POST /repos/{owner}/{repo}/deployments"],
- createDeploymentStatus: [
- "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses",
- ],
- createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"],
- createForAuthenticatedUser: ["POST /user/repos"],
- createFork: ["POST /repos/{owner}/{repo}/forks"],
- createHook: [
- "POST /repos/{owner}/{repo}/hooks",
- {},
- { renamed: ["repos", "createWebhook"] },
- ],
- createInOrg: ["POST /orgs/{org}/repos"],
- createOrUpdateFile: [
- "PUT /repos/{owner}/{repo}/contents/{path}",
- {},
- { renamed: ["repos", "createOrUpdateFileContents"] },
- ],
- createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"],
- createPagesSite: [
- "POST /repos/{owner}/{repo}/pages",
- { mediaType: { previews: ["switcheroo"] } },
- ],
- createRelease: ["POST /repos/{owner}/{repo}/releases"],
- createStatus: [
- "POST /repos/{owner}/{repo}/statuses/{sha}",
- {},
- { renamed: ["repos", "createCommitStatus"] },
- ],
- createUsingTemplate: [
- "POST /repos/{template_owner}/{template_repo}/generate",
- { mediaType: { previews: ["baptiste"] } },
- ],
- createWebhook: ["POST /repos/{owner}/{repo}/hooks"],
- declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"],
- delete: ["DELETE /repos/{owner}/{repo}"],
- deleteAccessRestrictions: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions",
- ],
- deleteAdminBranchProtection: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins",
- ],
- deleteBranchProtection: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection",
- ],
- deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],
- deleteCommitSignatureProtection: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",
- { mediaType: { previews: ["zzzax"] } },
- ],
- deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"],
- deleteDeployment: [
- "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}",
- ],
- deleteDownload: ["DELETE /repos/{owner}/{repo}/downloads/{download_id}"],
- deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"],
- deleteHook: [
- "DELETE /repos/{owner}/{repo}/hooks/{hook_id}",
- {},
- { renamed: ["repos", "deleteWebhook"] },
- ],
- deleteInvitation: [
- "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}",
- ],
- deletePagesSite: [
- "DELETE /repos/{owner}/{repo}/pages",
- { mediaType: { previews: ["switcheroo"] } },
- ],
- deletePullRequestReviewProtection: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews",
- ],
- deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"],
- deleteReleaseAsset: [
- "DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}",
- ],
- deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],
- disableAutomatedSecurityFixes: [
- "DELETE /repos/{owner}/{repo}/automated-security-fixes",
- { mediaType: { previews: ["london"] } },
- ],
- disablePagesSite: [
- "DELETE /repos/{owner}/{repo}/pages",
- { mediaType: { previews: ["switcheroo"] } },
- { renamed: ["repos", "deletePagesSite"] },
- ],
- disableVulnerabilityAlerts: [
- "DELETE /repos/{owner}/{repo}/vulnerability-alerts",
- { mediaType: { previews: ["dorian"] } },
- ],
- downloadArchive: ["GET /repos/{owner}/{repo}/{archive_format}/{ref}"],
- enableAutomatedSecurityFixes: [
- "PUT /repos/{owner}/{repo}/automated-security-fixes",
- { mediaType: { previews: ["london"] } },
- ],
- enablePagesSite: [
- "POST /repos/{owner}/{repo}/pages",
- { mediaType: { previews: ["switcheroo"] } },
- { renamed: ["repos", "createPagesSite"] },
- ],
- enableVulnerabilityAlerts: [
- "PUT /repos/{owner}/{repo}/vulnerability-alerts",
- { mediaType: { previews: ["dorian"] } },
- ],
- get: ["GET /repos/{owner}/{repo}"],
- getAccessRestrictions: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions",
- ],
- getAdminBranchProtection: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins",
- ],
- getAllStatusCheckContexts: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
- ],
- getAllTopics: [
- "GET /repos/{owner}/{repo}/topics",
- { mediaType: { previews: ["mercy"] } },
- ],
- getAppsWithAccessToProtectedBranch: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
- ],
- getArchiveLink: [
- "GET /repos/{owner}/{repo}/{archive_format}/{ref}",
- {},
- { renamed: ["repos", "downloadArchive"] },
- ],
- getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"],
- getBranchProtection: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection",
- ],
- getClones: ["GET /repos/{owner}/{repo}/traffic/clones"],
- getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"],
- getCollaboratorPermissionLevel: [
- "GET /repos/{owner}/{repo}/collaborators/{username}/permission",
- ],
- getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"],
- getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"],
- getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"],
- getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"],
- getCommitSignatureProtection: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",
- { mediaType: { previews: ["zzzax"] } },
- ],
- getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"],
- getContent: ["GET /repos/{owner}/{repo}/contents/{path}"],
- getContents: [
- "GET /repos/{owner}/{repo}/contents/{path}",
- {},
- { renamed: ["repos", "getContent"] },
- ],
- getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"],
- getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"],
- getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],
- getDeploymentStatus: [
- "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}",
- ],
- getDownload: ["GET /repos/{owner}/{repo}/downloads/{download_id}"],
- getHook: [
- "GET /repos/{owner}/{repo}/hooks/{hook_id}",
- {},
- { renamed: ["repos", "getWebhook"] },
- ],
- getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"],
- getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"],
- getPages: ["GET /repos/{owner}/{repo}/pages"],
- getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],
- getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"],
- getProtectedBranchAdminEnforcement: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins",
- {},
- { renamed: ["repos", "getAdminBranchProtection"] },
- ],
- getProtectedBranchPullRequestReviewEnforcement: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews",
- {},
- { renamed: ["repos", "getPullRequestReviewProtection"] },
- ],
- getProtectedBranchRequiredSignatures: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",
- { mediaType: { previews: ["zzzax"] } },
- { renamed: ["repos", "getCommitSignatureProtection"] },
- ],
- getProtectedBranchRequiredStatusChecks: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
- {},
- { renamed: ["repos", "getStatusChecksProtection"] },
- ],
- getProtectedBranchRestrictions: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions",
- {},
- { renamed: ["repos", "getAccessRestrictions"] },
- ],
- getPullRequestReviewProtection: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews",
- ],
- getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"],
- getReadme: ["GET /repos/{owner}/{repo}/readme"],
- getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"],
- getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],
- getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"],
- getStatusChecksProtection: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
- ],
- getTeamsWithAccessToProtectedBranch: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
- ],
- getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"],
- getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"],
- getUsersWithAccessToProtectedBranch: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
- ],
- getViews: ["GET /repos/{owner}/{repo}/traffic/views"],
- getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"],
- list: [
- "GET /user/repos",
- {},
- { renamed: ["repos", "listForAuthenticatedUser"] },
- ],
- listAssetsForRelease: [
- "GET /repos/{owner}/{repo}/releases/{release_id}/assets",
- {},
- { renamed: ["repos", "listReleaseAssets"] },
- ],
- listBranches: ["GET /repos/{owner}/{repo}/branches"],
- listBranchesForHeadCommit: [
- "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head",
- { mediaType: { previews: ["groot"] } },
- ],
- listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"],
- listCommentsForCommit: [
- "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments",
- ],
- listCommitComments: [
- "GET /repos/{owner}/{repo}/comments",
- {},
- { renamed: ["repos", "listCommitCommentsForRepo"] },
- ],
- listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"],
- listCommitStatusesForRef: [
- "GET /repos/{owner}/{repo}/commits/{ref}/statuses",
- ],
- listCommits: ["GET /repos/{owner}/{repo}/commits"],
- listContributors: ["GET /repos/{owner}/{repo}/contributors"],
- listDeployKeys: ["GET /repos/{owner}/{repo}/keys"],
- listDeploymentStatuses: [
- "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses",
- ],
- listDeployments: ["GET /repos/{owner}/{repo}/deployments"],
- listDownloads: ["GET /repos/{owner}/{repo}/downloads"],
- listForAuthenticatedUser: ["GET /user/repos"],
- listForOrg: ["GET /orgs/{org}/repos"],
- listForUser: ["GET /users/{username}/repos"],
- listForks: ["GET /repos/{owner}/{repo}/forks"],
- listHooks: [
- "GET /repos/{owner}/{repo}/hooks",
- {},
- { renamed: ["repos", "listWebhooks"] },
- ],
- listInvitations: ["GET /repos/{owner}/{repo}/invitations"],
- listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"],
- listLanguages: ["GET /repos/{owner}/{repo}/languages"],
- listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"],
- listProtectedBranchRequiredStatusChecksContexts: [
- "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
- {},
- { renamed: ["repos", "getAllStatusCheckContexts"] },
- ],
- listPublic: ["GET /repositories"],
- listPullRequestsAssociatedWithCommit: [
- "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls",
- { mediaType: { previews: ["groot"] } },
- ],
- listReleaseAssets: [
- "GET /repos/{owner}/{repo}/releases/{release_id}/assets",
- ],
- listReleases: ["GET /repos/{owner}/{repo}/releases"],
- listStatusesForRef: [
- "GET /repos/{owner}/{repo}/commits/{ref}/statuses",
- {},
- { renamed: ["repos", "listCommitStatusesForRef"] },
- ],
- listTags: ["GET /repos/{owner}/{repo}/tags"],
- listTeams: ["GET /repos/{owner}/{repo}/teams"],
- listTopics: [
- "GET /repos/{owner}/{repo}/topics",
- { mediaType: { previews: ["mercy"] } },
- { renamed: ["repos", "getAllTopics"] },
- ],
- listWebhooks: ["GET /repos/{owner}/{repo}/hooks"],
- merge: ["POST /repos/{owner}/{repo}/merges"],
- pingHook: [
- "POST /repos/{owner}/{repo}/hooks/{hook_id}/pings",
- {},
- { renamed: ["repos", "pingWebhook"] },
- ],
- pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],
- removeAppAccessRestrictions: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
- {},
- { mapToData: "apps" },
- ],
- removeBranchProtection: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection",
- {},
- { renamed: ["repos", "deleteBranchProtection"] },
- ],
- removeCollaborator: [
- "DELETE /repos/{owner}/{repo}/collaborators/{username}",
- ],
- removeDeployKey: [
- "DELETE /repos/{owner}/{repo}/keys/{key_id}",
- {},
- { renamed: ["repos", "deleteDeployKey"] },
- ],
- removeProtectedBranchAdminEnforcement: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins",
- {},
- { renamed: ["repos", "deleteAdminBranchProtection"] },
- ],
- removeProtectedBranchAppRestrictions: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
- {},
- { mapToData: "apps", renamed: ["repos", "removeAppAccessRestrictions"] },
- ],
- removeProtectedBranchPullRequestReviewEnforcement: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews",
- {},
- { renamed: ["repos", "deletePullRequestReviewProtection"] },
- ],
- removeProtectedBranchRequiredSignatures: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",
- { mediaType: { previews: ["zzzax"] } },
- { renamed: ["repos", "deleteCommitSignatureProtection"] },
- ],
- removeProtectedBranchRequiredStatusChecks: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
- {},
- { renamed: ["repos", "removeStatusChecksProtection"] },
- ],
- removeProtectedBranchRequiredStatusChecksContexts: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
- {},
- {
- mapToData: "contexts",
- renamed: ["repos", "removeStatusCheckContexts"],
- },
- ],
- removeProtectedBranchRestrictions: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions",
- {},
- { renamed: ["repos", "deleteAccessRestrictions"] },
- ],
- removeProtectedBranchTeamRestrictions: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
- {},
- {
- mapToData: "teams",
- renamed: ["repos", "removeTeamAccessRestrictions"],
- },
- ],
- removeProtectedBranchUserRestrictions: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
- {},
- {
- mapToData: "users",
- renamed: ["repos", "removeUserAccessRestrictions"],
- },
- ],
- removeStatusCheckContexts: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
- {},
- { mapToData: "contexts" },
- ],
- removeStatusCheckProtection: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
- ],
- removeTeamAccessRestrictions: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
- {},
- { mapToData: "teams" },
- ],
- removeUserAccessRestrictions: [
- "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
- {},
- { mapToData: "users" },
- ],
- replaceAllTopics: [
- "PUT /repos/{owner}/{repo}/topics",
- { mediaType: { previews: ["mercy"] } },
- ],
- replaceProtectedBranchAppRestrictions: [
- "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
- {},
- { mapToData: "apps", renamed: ["repos", "setAppAccessRestrictions"] },
- ],
- replaceProtectedBranchRequiredStatusChecksContexts: [
- "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
- {},
- { mapToData: "contexts", renamed: ["repos", "setStatusCheckContexts"] },
- ],
- replaceProtectedBranchTeamRestrictions: [
- "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
- {},
- { mapToData: "teams", renamed: ["repos", "setTeamAccessRestrictions"] },
- ],
- replaceProtectedBranchUserRestrictions: [
- "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
- {},
- { mapToData: "users", renamed: ["repos", "setUserAccessRestrictions"] },
- ],
- replaceTopics: [
- "PUT /repos/{owner}/{repo}/topics",
- { mediaType: { previews: ["mercy"] } },
- { renamed: ["repos", "replaceAllTopics"] },
- ],
- requestPageBuild: [
- "POST /repos/{owner}/{repo}/pages/builds",
- {},
- { renamed: ["repos", "requestPagesBuild"] },
- ],
- requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"],
- retrieveCommunityProfileMetrics: [
- "GET /repos/{owner}/{repo}/community/profile",
- {},
- { renamed: ["repos", "getCommunityProfileMetrics"] },
- ],
- setAdminBranchProtection: [
- "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins",
- ],
- setAppAccessRestrictions: [
- "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
- {},
- { mapToData: "apps" },
- ],
- setStatusCheckContexts: [
- "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
- {},
- { mapToData: "contexts" },
- ],
- setTeamAccessRestrictions: [
- "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
- {},
- { mapToData: "teams" },
- ],
- setUserAccessRestrictions: [
- "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
- {},
- { mapToData: "users" },
- ],
- testPushHook: [
- "POST /repos/{owner}/{repo}/hooks/{hook_id}/tests",
- {},
- { renamed: ["repos", "testPushWebhook"] },
- ],
- testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],
- transfer: ["POST /repos/{owner}/{repo}/transfer"],
- update: ["PATCH /repos/{owner}/{repo}"],
- updateBranchProtection: [
- "PUT /repos/{owner}/{repo}/branches/{branch}/protection",
- ],
- updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],
- updateHook: [
- "PATCH /repos/{owner}/{repo}/hooks/{hook_id}",
- {},
- { renamed: ["repos", "updateWebhook"] },
- ],
- updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"],
- updateInvitation: [
- "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}",
- ],
- updateProtectedBranchPullRequestReviewEnforcement: [
- "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews",
- {},
- { renamed: ["repos", "updatePullRequestReviewProtection"] },
- ],
- updateProtectedBranchRequiredStatusChecks: [
- "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
- {},
- { renamed: ["repos", "updateStatusChecksProtection"] },
- ],
- updatePullRequestReviewProtection: [
- "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews",
- ],
- updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"],
- updateReleaseAsset: [
- "PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}",
- ],
- updateStatusCheckPotection: [
- "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
- ],
- updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],
- uploadReleaseAsset: [
- "POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",
- { baseUrl: "https://uploads.github.com" },
- ],
- },
- search: {
- code: ["GET /search/code"],
- commits: ["GET /search/commits", { mediaType: { previews: ["cloak"] } }],
- issuesAndPullRequests: ["GET /search/issues"],
- labels: ["GET /search/labels"],
- repos: ["GET /search/repositories"],
- topics: ["GET /search/topics"],
- users: ["GET /search/users"],
- },
- teams: {
- addOrUpdateMembershipForUserInOrg: [
- "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}",
- ],
- addOrUpdateMembershipInOrg: [
- "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}",
- {},
- { renamed: ["teams", "addOrUpdateMembershipForUserInOrg"] },
- ],
- addOrUpdateProjectInOrg: [
- "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}",
- { mediaType: { previews: ["inertia"] } },
- { renamed: ["teams", "addOrUpdateProjectPermissionsInOrg"] },
- ],
- addOrUpdateProjectPermissionsInOrg: [
- "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- addOrUpdateRepoInOrg: [
- "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}",
- {},
- { renamed: ["teams", "addOrUpdateRepoPermissionsInOrg"] },
- ],
- addOrUpdateRepoPermissionsInOrg: [
- "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}",
- ],
- checkManagesRepoInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}",
- {},
- { renamed: ["teams", "checkPermissionsForRepoInOrg"] },
- ],
- checkPermissionsForProjectInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}",
- { mediaType: { previews: ["inertia"] } },
- ],
- checkPermissionsForRepoInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}",
- ],
- create: ["POST /orgs/{org}/teams"],
- createDiscussionCommentInOrg: [
- "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments",
- ],
- createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"],
- deleteDiscussionCommentInOrg: [
- "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}",
- ],
- deleteDiscussionInOrg: [
- "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}",
- ],
- deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"],
- getByName: ["GET /orgs/{org}/teams/{team_slug}"],
- getDiscussionCommentInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}",
- ],
- getDiscussionInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}",
- ],
- getMembershipForUserInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/memberships/{username}",
- ],
- getMembershipInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/memberships/{username}",
- {},
- { renamed: ["teams", "getMembershipForUserInOrg"] },
- ],
- list: ["GET /orgs/{org}/teams"],
- listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"],
- listDiscussionCommentsInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments",
- ],
- listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"],
- listForAuthenticatedUser: ["GET /user/teams"],
- listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"],
- listPendingInvitationsInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/invitations",
- ],
- listProjectsInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/projects",
- { mediaType: { previews: ["inertia"] } },
- ],
- listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"],
- removeMembershipForUserInOrg: [
- "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}",
- ],
- removeMembershipInOrg: [
- "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}",
- {},
- { renamed: ["teams", "removeMembershipForUserInOrg"] },
- ],
- removeProjectInOrg: [
- "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}",
- ],
- removeRepoInOrg: [
- "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}",
- ],
- reviewProjectInOrg: [
- "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}",
- { mediaType: { previews: ["inertia"] } },
- { renamed: ["teams", "checkPermissionsForProjectInOrg"] },
- ],
- updateDiscussionCommentInOrg: [
- "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}",
- ],
- updateDiscussionInOrg: [
- "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}",
- ],
- updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"],
- },
- users: {
- addEmailForAuthenticated: ["POST /user/emails"],
- addEmails: [
- "POST /user/emails",
- {},
- { renamed: ["users", "addEmailsForAuthenticated"] },
- ],
- block: ["PUT /user/blocks/{username}"],
- checkBlocked: ["GET /user/blocks/{username}"],
- checkFollowing: [
- "GET /user/following/{username}",
- {},
- { renamed: ["users", "checkPersonIsFollowedByAuthenticated"] },
- ],
- checkFollowingForUser: ["GET /users/{username}/following/{target_user}"],
- checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"],
- createGpgKey: [
- "POST /user/gpg_keys",
- {},
- { renamed: ["users", "createGpgKeyForAuthenticated"] },
- ],
- createGpgKeyForAuthenticated: ["POST /user/gpg_keys"],
- createPublicKey: [
- "POST /user/keys",
- {},
- { renamed: ["users", "createPublicSshKeyForAuthenticated"] },
- ],
- createPublicSshKeyForAuthenticated: ["POST /user/keys"],
- deleteEmailForAuthenticated: ["DELETE /user/emails"],
- deleteEmails: [
- "DELETE /user/emails",
- {},
- { renamed: ["users", "deleteEmailsForAuthenticated"] },
- ],
- deleteGpgKey: [
- "DELETE /user/gpg_keys/{gpg_key_id}",
- {},
- { renamed: ["users", "deleteGpgKeyForAuthenticated"] },
- ],
- deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"],
- deletePublicKey: [
- "DELETE /user/keys/{key_id}",
- {},
- { renamed: ["users", "deletePublicSshKeyForAuthenticated"] },
- ],
- deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"],
- follow: ["PUT /user/following/{username}"],
- getAuthenticated: ["GET /user"],
- getByUsername: ["GET /users/{username}"],
- getContextForUser: ["GET /users/{username}/hovercard"],
- getGpgKey: [
- "GET /user/gpg_keys/{gpg_key_id}",
- {},
- { renamed: ["users", "getGpgKeyForAuthenticated"] },
- ],
- getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"],
- getPublicKey: [
- "GET /user/keys/{key_id}",
- {},
- { renamed: ["users", "getPublicSshKeyForAuthenticated"] },
- ],
- getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"],
- list: ["GET /users"],
- listBlocked: [
- "GET /user/blocks",
- {},
- { renamed: ["users", "listBlockedByAuthenticated"] },
- ],
- listBlockedByAuthenticated: ["GET /user/blocks"],
- listEmails: [
- "GET /user/emails",
- {},
- { renamed: ["users", "listEmailsForAuthenticated"] },
- ],
- listEmailsForAuthenticated: ["GET /user/emails"],
- listFollowedByAuthenticated: ["GET /user/following"],
- listFollowersForAuthenticatedUser: ["GET /user/followers"],
- listFollowersForUser: ["GET /users/{username}/followers"],
- listFollowingForAuthenticatedUser: [
- "GET /user/following",
- {},
- { renamed: ["users", "listFollowedByAuthenticated"] },
- ],
- listFollowingForUser: ["GET /users/{username}/following"],
- listGpgKeys: [
- "GET /user/gpg_keys",
- {},
- { renamed: ["users", "listGpgKeysForAuthenticated"] },
- ],
- listGpgKeysForAuthenticated: ["GET /user/gpg_keys"],
- listGpgKeysForUser: ["GET /users/{username}/gpg_keys"],
- listPublicEmails: [
- "GET /user/public_emails",
- {},
- { renamed: ["users", "listPublicEmailsForAuthenticatedUser"] },
- ],
- listPublicEmailsForAuthenticated: ["GET /user/public_emails"],
- listPublicKeys: [
- "GET /user/keys",
- {},
- { renamed: ["users", "listPublicSshKeysForAuthenticated"] },
- ],
- listPublicKeysForUser: ["GET /users/{username}/keys"],
- listPublicSshKeysForAuthenticated: ["GET /user/keys"],
- setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"],
- togglePrimaryEmailVisibility: [
- "PATCH /user/email/visibility",
- {},
- { renamed: ["users", "setPrimaryEmailVisibilityForAuthenticated"] },
- ],
- unblock: ["DELETE /user/blocks/{username}"],
- unfollow: ["DELETE /user/following/{username}"],
- updateAuthenticated: ["PATCH /user"],
- },
-};
-export default Endpoints;
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js
deleted file mode 100644
index 0535b19eba..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import ENDPOINTS from "./generated/endpoints";
-import { VERSION } from "./version";
-import { endpointsToMethods } from "./endpoints-to-methods";
-/**
- * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary
- * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is
- * done, we will remove the registerEndpoints methods and return the methods
- * directly as with the other plugins. At that point we will also remove the
- * legacy workarounds and deprecations.
- *
- * See the plan at
- * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1
- */
-export function restEndpointMethods(octokit) {
- return endpointsToMethods(octokit, ENDPOINTS);
-}
-restEndpointMethods.VERSION = VERSION;
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js
deleted file mode 100644
index 293d8f5dfc..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js
+++ /dev/null
@@ -1 +0,0 @@
-export const VERSION = "3.17.0";
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts
deleted file mode 100644
index 2a97a4b4eb..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { Octokit } from "@octokit/core";
-import { EndpointsDefaultsAndDecorations } from "./types";
-import { RestEndpointMethods } from "./generated/method-types";
-export declare function endpointsToMethods(octokit: Octokit, endpointsMap: EndpointsDefaultsAndDecorations): RestEndpointMethods;
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts
deleted file mode 100644
index a3c1d92ad3..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { EndpointsDefaultsAndDecorations } from "../types";
-declare const Endpoints: EndpointsDefaultsAndDecorations;
-export default Endpoints;
diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts b/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts
deleted file mode 100644
index c1c7bb17f0..0000000000
--- a/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts
+++ /dev/null
@@ -1,8304 +0,0 @@
-import { EndpointInterface, RequestInterface } from "@octokit/types";
-import { RestEndpointMethodTypes } from "./parameters-and-response-types";
-export declare type RestEndpointMethods = {
- actions: {
- /**
- * Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
- */
- addSelectedRepoToOrgSecret: {
- (params?: RestEndpointMethodTypes["actions"]["addSelectedRepoToOrgSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
- */
- cancelWorkflowRun: {
- (params?: RestEndpointMethodTypes["actions"]["cancelWorkflowRun"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Creates or updates an organization secret with an encrypted value. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
- *
- * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.
- *
- *
- *
- * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.
- *
- *
- *
- * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.
- *
- *
- *
- * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.
- */
- createOrUpdateOrgSecret: {
- (params?: RestEndpointMethodTypes["actions"]["createOrUpdateOrgSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Creates or updates a repository secret with an encrypted value. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- *
- * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.
- *
- *
- *
- * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.
- *
- *
- *
- * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.
- *
- *
- *
- * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.
- */
- createOrUpdateRepoSecret: {
- (params?: RestEndpointMethodTypes["actions"]["createOrUpdateRepoSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Creates or updates a repository secret with an encrypted value. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- *
- * Encrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.
- *
- *
- *
- * Encrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.
- *
- *
- *
- * Encrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.
- *
- *
- *
- * Encrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.
- * @deprecated octokit.actions.createOrUpdateSecretForRepo() has been renamed to octokit.actions.createOrUpdateRepoSecret() (2020-05-14)
- */
- createOrUpdateSecretForRepo: {
- (params?: RestEndpointMethodTypes["actions"]["createOrUpdateSecretForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate using an access token with the `repo` scope to use this endpoint.
- *
- * Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.
- * @deprecated octokit.actions.createRegistrationToken() has been renamed to octokit.actions.createRegistrationTokenForRepo() (2020-04-22)
- */
- createRegistrationToken: {
- (params?: RestEndpointMethodTypes["actions"]["createRegistrationToken"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change.
- *
- * Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
- *
- * Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.
- */
- createRegistrationTokenForOrg: {
- (params?: RestEndpointMethodTypes["actions"]["createRegistrationTokenForOrg"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate using an access token with the `repo` scope to use this endpoint.
- *
- * Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.
- */
- createRegistrationTokenForRepo: {
- (params?: RestEndpointMethodTypes["actions"]["createRegistrationTokenForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. You must authenticate using an access token with the `repo` scope to use this endpoint.
- *
- * Remove your self-hosted runner from a repository, replacing TOKEN with the remove token provided by this endpoint.
- * @deprecated octokit.actions.createRemoveToken() has been renamed to octokit.actions.createRemoveTokenForRepo() (2020-04-22)
- */
- createRemoveToken: {
- (params?: RestEndpointMethodTypes["actions"]["createRemoveToken"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change.
- *
- * Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
- *
- * To remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this endpoint.
- */
- createRemoveTokenForOrg: {
- (params?: RestEndpointMethodTypes["actions"]["createRemoveTokenForOrg"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. You must authenticate using an access token with the `repo` scope to use this endpoint.
- *
- * Remove your self-hosted runner from a repository, replacing TOKEN with the remove token provided by this endpoint.
- */
- createRemoveTokenForRepo: {
- (params?: RestEndpointMethodTypes["actions"]["createRemoveTokenForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
- */
- deleteArtifact: {
- (params?: RestEndpointMethodTypes["actions"]["deleteArtifact"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
- */
- deleteOrgSecret: {
- (params?: RestEndpointMethodTypes["actions"]["deleteOrgSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- */
- deleteRepoSecret: {
- (params?: RestEndpointMethodTypes["actions"]["deleteRepoSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- * @deprecated octokit.actions.deleteSecretFromRepo() has been renamed to octokit.actions.deleteRepoSecret() (2020-05-14)
- */
- deleteSecretFromRepo: {
- (params?: RestEndpointMethodTypes["actions"]["deleteSecretFromRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change.
- *
- * Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
- */
- deleteSelfHostedRunnerFromOrg: {
- (params?: RestEndpointMethodTypes["actions"]["deleteSelfHostedRunnerFromOrg"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. You must authenticate using an access token with the `repo` scope to use this endpoint.
- */
- deleteSelfHostedRunnerFromRepo: {
- (params?: RestEndpointMethodTypes["actions"]["deleteSelfHostedRunnerFromRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
- */
- deleteWorkflowRunLogs: {
- (params?: RestEndpointMethodTypes["actions"]["deleteWorkflowRunLogs"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- *
- * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag.
- */
- downloadArtifact: {
- (params?: RestEndpointMethodTypes["actions"]["downloadArtifact"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- *
- * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag.
- */
- downloadJobLogsForWorkflowRun: {
- (params?: RestEndpointMethodTypes["actions"]["downloadJobLogsForWorkflowRun"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- *
- * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag.
- * @deprecated octokit.actions.downloadWorkflowJobLogs() has been renamed to octokit.actions.downloadJobLogsForWorkflowRun() (2020-06-04)
- */
- downloadWorkflowJobLogs: {
- (params?: RestEndpointMethodTypes["actions"]["downloadWorkflowJobLogs"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- *
- * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag.
- */
- downloadWorkflowRunLogs: {
- (params?: RestEndpointMethodTypes["actions"]["downloadWorkflowRunLogs"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- getArtifact: {
- (params?: RestEndpointMethodTypes["actions"]["getArtifact"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- getJobForWorkflowRun: {
- (params?: RestEndpointMethodTypes["actions"]["getJobForWorkflowRun"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
- */
- getOrgPublicKey: {
- (params?: RestEndpointMethodTypes["actions"]["getOrgPublicKey"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
- */
- getOrgSecret: {
- (params?: RestEndpointMethodTypes["actions"]["getOrgSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- * @deprecated octokit.actions.getPublicKey() has been renamed to octokit.actions.getRepoPublicKey() (2020-05-14)
- */
- getPublicKey: {
- (params?: RestEndpointMethodTypes["actions"]["getPublicKey"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- */
- getRepoPublicKey: {
- (params?: RestEndpointMethodTypes["actions"]["getRepoPublicKey"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- */
- getRepoSecret: {
- (params?: RestEndpointMethodTypes["actions"]["getRepoSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- * @deprecated octokit.actions.getSecret() has been renamed to octokit.actions.getRepoSecret() (2020-05-14)
- */
- getSecret: {
- (params?: RestEndpointMethodTypes["actions"]["getSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a specific self-hosted runner. You must authenticate using an access token with the `repo` scope to use this endpoint.
- * @deprecated octokit.actions.getSelfHostedRunner() has been renamed to octokit.actions.getSelfHostedRunnerForRepo() (2020-04-22)
- */
- getSelfHostedRunner: {
- (params?: RestEndpointMethodTypes["actions"]["getSelfHostedRunner"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change.
- *
- * Gets a specific self-hosted runner for an organization. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
- */
- getSelfHostedRunnerForOrg: {
- (params?: RestEndpointMethodTypes["actions"]["getSelfHostedRunnerForOrg"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a specific self-hosted runner. You must authenticate using an access token with the `repo` scope to use this endpoint.
- */
- getSelfHostedRunnerForRepo: {
- (params?: RestEndpointMethodTypes["actions"]["getSelfHostedRunnerForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a specific workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- getWorkflow: {
- (params?: RestEndpointMethodTypes["actions"]["getWorkflow"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- * @deprecated octokit.actions.getWorkflowJob() has been renamed to octokit.actions.getJobForWorkflowRun() (2020-06-04)
- */
- getWorkflowJob: {
- (params?: RestEndpointMethodTypes["actions"]["getWorkflowJob"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- getWorkflowRun: {
- (params?: RestEndpointMethodTypes["actions"]["getWorkflowRun"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Warning:** This GitHub Actions usage endpoint is currently in public beta and subject to change. For more information, see "[GitHub Actions API workflow usage](https://developer.github.com/changes/2020-05-15-actions-api-workflow-usage)."
- *
- * Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)" in the GitHub Help documentation.
- *
- * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- getWorkflowRunUsage: {
- (params?: RestEndpointMethodTypes["actions"]["getWorkflowRunUsage"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Warning:** This GitHub Actions usage endpoint is currently in public beta and subject to change. For more information, see "[GitHub Actions API workflow usage](https://developer.github.com/changes/2020-05-15-actions-api-workflow-usage)."
- *
- * Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)" in the GitHub Help documentation.
- *
- * You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- getWorkflowUsage: {
- (params?: RestEndpointMethodTypes["actions"]["getWorkflowUsage"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- listArtifactsForRepo: {
- (params?: RestEndpointMethodTypes["actions"]["listArtifactsForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists binaries for the runner application that you can download and run. You must authenticate using an access token with the `repo` scope to use this endpoint.
- * @deprecated octokit.actions.listDownloadsForSelfHostedRunnerApplication() has been renamed to octokit.actions.listRunnerApplicationsForRepo() (2020-04-22)
- */
- listDownloadsForSelfHostedRunnerApplication: {
- (params?: RestEndpointMethodTypes["actions"]["listDownloadsForSelfHostedRunnerApplication"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).
- */
- listJobsForWorkflowRun: {
- (params?: RestEndpointMethodTypes["actions"]["listJobsForWorkflowRun"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
- */
- listOrgSecrets: {
- (params?: RestEndpointMethodTypes["actions"]["listOrgSecrets"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- */
- listRepoSecrets: {
- (params?: RestEndpointMethodTypes["actions"]["listRepoSecrets"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).
- *
- * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- * @deprecated octokit.actions.listRepoWorkflowRuns() has been renamed to octokit.actions.listWorkflowRunsForRepo() (2020-06-04)
- */
- listRepoWorkflowRuns: {
- (params?: RestEndpointMethodTypes["actions"]["listRepoWorkflowRuns"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- listRepoWorkflows: {
- (params?: RestEndpointMethodTypes["actions"]["listRepoWorkflows"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change.
- *
- * Lists binaries for the runner application that you can download and run. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
- */
- listRunnerApplicationsForOrg: {
- (params?: RestEndpointMethodTypes["actions"]["listRunnerApplicationsForOrg"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists binaries for the runner application that you can download and run. You must authenticate using an access token with the `repo` scope to use this endpoint.
- */
- listRunnerApplicationsForRepo: {
- (params?: RestEndpointMethodTypes["actions"]["listRunnerApplicationsForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.
- * @deprecated octokit.actions.listSecretsForRepo() has been renamed to octokit.actions.listRepoSecrets() (2020-05-14)
- */
- listSecretsForRepo: {
- (params?: RestEndpointMethodTypes["actions"]["listSecretsForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
- */
- listSelectedReposForOrgSecret: {
- (params?: RestEndpointMethodTypes["actions"]["listSelectedReposForOrgSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Warning:** The self-hosted runners API for organizations is currently in public beta and subject to change.
- *
- * Lists all self-hosted runners for an organization. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
- */
- listSelfHostedRunnersForOrg: {
- (params?: RestEndpointMethodTypes["actions"]["listSelfHostedRunnersForOrg"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all self-hosted runners for a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.
- */
- listSelfHostedRunnersForRepo: {
- (params?: RestEndpointMethodTypes["actions"]["listSelfHostedRunnersForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- *
- * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag.
- * @deprecated octokit.actions.listWorkflowJobLogs() has been renamed to octokit.actions.downloadWorkflowJobLogs() (2020-05-04)
- */
- listWorkflowJobLogs: {
- (params?: RestEndpointMethodTypes["actions"]["listWorkflowJobLogs"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- listWorkflowRunArtifacts: {
- (params?: RestEndpointMethodTypes["actions"]["listWorkflowRunArtifacts"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- *
- * Call this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag.
- * @deprecated octokit.actions.listWorkflowRunLogs() has been renamed to octokit.actions.downloadWorkflowRunLogs() (2020-05-04)
- */
- listWorkflowRunLogs: {
- (params?: RestEndpointMethodTypes["actions"]["listWorkflowRunLogs"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * List all workflow runs for a workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).
- *
- * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.
- */
- listWorkflowRuns: {
- (params?: RestEndpointMethodTypes["actions"]["listWorkflowRuns"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).
- *
- * Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
- */
- listWorkflowRunsForRepo: {
- (params?: RestEndpointMethodTypes["actions"]["listWorkflowRunsForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.
- */
- reRunWorkflow: {
- (params?: RestEndpointMethodTypes["actions"]["reRunWorkflow"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
- */
- removeSelectedRepoFromOrgSecret: {
- (params?: RestEndpointMethodTypes["actions"]["removeSelectedRepoFromOrgSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. You must authenticate using an access token with the `repo` scope to use this endpoint.
- * @deprecated octokit.actions.removeSelfHostedRunner() has been renamed to octokit.actions.deleteSelfHostedRunnerFromRepo() (2020-04-22)
- */
- removeSelfHostedRunner: {
- (params?: RestEndpointMethodTypes["actions"]["removeSelfHostedRunner"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
- */
- setSelectedReposForOrgSecret: {
- (params?: RestEndpointMethodTypes["actions"]["setSelectedReposForOrgSecret"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- };
- activity: {
- checkRepoIsStarredByAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["checkRepoIsStarredByAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * @deprecated octokit.activity.checkStarringRepo() has been renamed to octokit.activity.checkRepoIsStarredByAuthenticatedUser() (2020-03-25)
- */
- checkStarringRepo: {
- (params?: RestEndpointMethodTypes["activity"]["checkStarringRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/v3/activity/watching/#set-a-repository-subscription).
- */
- deleteRepoSubscription: {
- (params?: RestEndpointMethodTypes["activity"]["deleteRepoSubscription"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://developer.github.com/v3/activity/notifications/#set-a-thread-subscription) endpoint and set `ignore` to `true`.
- */
- deleteThreadSubscription: {
- (params?: RestEndpointMethodTypes["activity"]["deleteThreadSubscription"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:
- *
- * * **Timeline**: The GitHub global public timeline
- * * **User**: The public timeline for any user, using [URI template](https://developer.github.com/v3/#hypermedia)
- * * **Current user public**: The public timeline for the authenticated user
- * * **Current user**: The private timeline for the authenticated user
- * * **Current user actor**: The private timeline for activity created by the authenticated user
- * * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.
- * * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.
- *
- * **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.
- */
- getFeeds: {
- (params?: RestEndpointMethodTypes["activity"]["getFeeds"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- getRepoSubscription: {
- (params?: RestEndpointMethodTypes["activity"]["getRepoSubscription"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- getThread: {
- (params?: RestEndpointMethodTypes["activity"]["getThread"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.
- * @deprecated octokit.activity.getThreadSubscription() has been renamed to octokit.activity.getThreadSubscriptionForAuthenticatedUser() (2020-03-25)
- */
- getThreadSubscription: {
- (params?: RestEndpointMethodTypes["activity"]["getThreadSubscription"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/v3/activity/watching/#get-a-repository-subscription).
- *
- * Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.
- */
- getThreadSubscriptionForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["getThreadSubscriptionForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
- */
- listEventsForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["listEventsForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * This is the user's organization dashboard. You must be authenticated as the user to view this.
- * @deprecated octokit.activity.listEventsForOrg() has been renamed to octokit.activity.listOrgEventsForAuthenticatedUser() (2020-03-25)
- */
- listEventsForOrg: {
- (params?: RestEndpointMethodTypes["activity"]["listEventsForOrg"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
- * @deprecated octokit.activity.listEventsForUser() has been renamed to octokit.activity.listEventsForAuthenticatedUser() (2020-03-25)
- */
- listEventsForUser: {
- (params?: RestEndpointMethodTypes["activity"]["listEventsForUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:
- *
- * * **Timeline**: The GitHub global public timeline
- * * **User**: The public timeline for any user, using [URI template](https://developer.github.com/v3/#hypermedia)
- * * **Current user public**: The public timeline for the authenticated user
- * * **Current user**: The private timeline for the authenticated user
- * * **Current user actor**: The private timeline for activity created by the authenticated user
- * * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.
- * * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.
- *
- * **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.
- * @deprecated octokit.activity.listFeeds() has been renamed to octokit.activity.getFeeds() (2020-03-25)
- */
- listFeeds: {
- (params?: RestEndpointMethodTypes["activity"]["listFeeds"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * List all notifications for the current user, sorted by most recently updated.
- *
- * The following example uses the `since` parameter to list notifications that have been updated after the specified time.
- * @deprecated octokit.activity.listNotifications() has been renamed to octokit.activity.listNotificationsForAuthenticatedUser() (2020-03-25)
- */
- listNotifications: {
- (params?: RestEndpointMethodTypes["activity"]["listNotifications"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * List all notifications for the current user, sorted by most recently updated.
- *
- * The following example uses the `since` parameter to list notifications that have been updated after the specified time.
- */
- listNotificationsForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["listNotificationsForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * List all notifications for the current user.
- * @deprecated octokit.activity.listNotificationsForRepo() has been renamed to octokit.activity.listRepoNotificationsForAuthenticatedUser() (2020-03-25)
- */
- listNotificationsForRepo: {
- (params?: RestEndpointMethodTypes["activity"]["listNotificationsForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * This is the user's organization dashboard. You must be authenticated as the user to view this.
- */
- listOrgEventsForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["listOrgEventsForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.
- */
- listPublicEvents: {
- (params?: RestEndpointMethodTypes["activity"]["listPublicEvents"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * @deprecated octokit.activity.listPublicEventsForOrg() has been renamed to octokit.activity.listPublicOrgEvents() (2020-03-25)
- */
- listPublicEventsForOrg: {
- (params?: RestEndpointMethodTypes["activity"]["listPublicEventsForOrg"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- listPublicEventsForRepoNetwork: {
- (params?: RestEndpointMethodTypes["activity"]["listPublicEventsForRepoNetwork"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- listPublicEventsForUser: {
- (params?: RestEndpointMethodTypes["activity"]["listPublicEventsForUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- listPublicOrgEvents: {
- (params?: RestEndpointMethodTypes["activity"]["listPublicOrgEvents"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
- */
- listReceivedEventsForUser: {
- (params?: RestEndpointMethodTypes["activity"]["listReceivedEventsForUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- listReceivedPublicEventsForUser: {
- (params?: RestEndpointMethodTypes["activity"]["listReceivedPublicEventsForUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- listRepoEvents: {
- (params?: RestEndpointMethodTypes["activity"]["listRepoEvents"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * List all notifications for the current user.
- */
- listRepoNotificationsForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["listRepoNotificationsForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists repositories the authenticated user has starred.
- *
- * You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:
- */
- listReposStarredByAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["listReposStarredByAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists repositories a user has starred.
- *
- * You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:
- */
- listReposStarredByUser: {
- (params?: RestEndpointMethodTypes["activity"]["listReposStarredByUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists repositories a user is watching.
- */
- listReposWatchedByUser: {
- (params?: RestEndpointMethodTypes["activity"]["listReposWatchedByUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists the people that have starred the repository.
- *
- * You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:
- */
- listStargazersForRepo: {
- (params?: RestEndpointMethodTypes["activity"]["listStargazersForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists repositories the authenticated user is watching.
- */
- listWatchedReposForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["listWatchedReposForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists the people watching the specified repository.
- */
- listWatchersForRepo: {
- (params?: RestEndpointMethodTypes["activity"]["listWatchersForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.
- * @deprecated octokit.activity.markAsRead() has been renamed to octokit.activity.markNotificationsAsRead() (2020-03-25)
- */
- markAsRead: {
- (params?: RestEndpointMethodTypes["activity"]["markAsRead"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Marks all notifications as "read" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.
- */
- markNotificationsAsRead: {
- (params?: RestEndpointMethodTypes["activity"]["markNotificationsAsRead"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Marks all notifications in a repository as "read" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.
- * @deprecated octokit.activity.markNotificationsAsReadForRepo() has been renamed to octokit.activity.markRepoNotificationsAsRead() (2020-03-25)
- */
- markNotificationsAsReadForRepo: {
- (params?: RestEndpointMethodTypes["activity"]["markNotificationsAsReadForRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Marks all notifications in a repository as "read" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.
- */
- markRepoNotificationsAsRead: {
- (params?: RestEndpointMethodTypes["activity"]["markRepoNotificationsAsRead"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- markThreadAsRead: {
- (params?: RestEndpointMethodTypes["activity"]["markThreadAsRead"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/v3/activity/watching/#delete-a-repository-subscription) completely.
- */
- setRepoSubscription: {
- (params?: RestEndpointMethodTypes["activity"]["setRepoSubscription"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.
- *
- * You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.
- *
- * Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription) endpoint.
- */
- setThreadSubscription: {
- (params?: RestEndpointMethodTypes["activity"]["setThreadSubscription"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)."
- * @deprecated octokit.activity.starRepo() has been renamed to octokit.activity.starRepoForAuthenticatedUser() (2020-03-25)
- */
- starRepo: {
- (params?: RestEndpointMethodTypes["activity"]["starRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)."
- */
- starRepoForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["starRepoForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * @deprecated octokit.activity.unstarRepo() has been renamed to octokit.activity.unstarRepoForAuthenticatedUser() (2020-03-25)
- */
- unstarRepo: {
- (params?: RestEndpointMethodTypes["activity"]["unstarRepo"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- unstarRepoForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["activity"]["unstarRepoForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- };
- apps: {
- /**
- * Add a single repository to an installation. The authenticated user must have admin access to the repository.
- *
- * You must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint.
- */
- addRepoToInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["addRepoToInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- * @deprecated octokit.apps.checkAccountIsAssociatedWithAny() has been renamed to octokit.apps.getSubscriptionPlanForAccount() (2020-03-08)
- */
- checkAccountIsAssociatedWithAny: {
- (params?: RestEndpointMethodTypes["apps"]["checkAccountIsAssociatedWithAny"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- * @deprecated octokit.apps.checkAccountIsAssociatedWithAnyStubbed() has been renamed to octokit.apps.getSubscriptionPlanForAccountStubbed() (2020-03-08)
- */
- checkAccountIsAssociatedWithAnyStubbed: {
- (params?: RestEndpointMethodTypes["apps"]["checkAccountIsAssociatedWithAnyStubbed"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.
- */
- checkToken: {
- (params?: RestEndpointMethodTypes["apps"]["checkToken"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/webhooks/event-payloads/#content_reference) to create an attachment.
- *
- * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://developer.github.com/apps/using-content-attachments/)" for details about content attachments.
- *
- * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
- *
- * This example creates a content attachment for the domain `https://errors.ai/`.
- */
- createContentAttachment: {
- (params?: RestEndpointMethodTypes["apps"]["createContentAttachment"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.
- */
- createFromManifest: {
- (params?: RestEndpointMethodTypes["apps"]["createFromManifest"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- *
- * This example grants the token "Read and write" permission to `issues` and "Read" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.
- */
- createInstallationAccessToken: {
- (params?: RestEndpointMethodTypes["apps"]["createInstallationAccessToken"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- *
- * This example grants the token "Read and write" permission to `issues` and "Read" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.
- * @deprecated octokit.apps.createInstallationToken() has been renamed to octokit.apps.createInstallationAccessToken() (2020-06-04)
- */
- createInstallationToken: {
- (params?: RestEndpointMethodTypes["apps"]["createInstallationToken"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
- *
- * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).
- */
- deleteAuthorization: {
- (params?: RestEndpointMethodTypes["apps"]["deleteAuthorization"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/v3/apps/#suspend-an-app-installation)" endpoint.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- */
- deleteInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["deleteInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.
- */
- deleteToken: {
- (params?: RestEndpointMethodTypes["apps"]["deleteToken"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app)" endpoint.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- */
- getAuthenticated: {
- (params?: RestEndpointMethodTypes["apps"]["getAuthenticated"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
- *
- * If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
- */
- getBySlug: {
- (params?: RestEndpointMethodTypes["apps"]["getBySlug"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- */
- getInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["getInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Enables an authenticated GitHub App to find the organization's installation information.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- */
- getOrgInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["getOrgInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- */
- getRepoInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["getRepoInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- */
- getSubscriptionPlanForAccount: {
- (params?: RestEndpointMethodTypes["apps"]["getSubscriptionPlanForAccount"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- */
- getSubscriptionPlanForAccountStubbed: {
- (params?: RestEndpointMethodTypes["apps"]["getSubscriptionPlanForAccountStubbed"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Enables an authenticated GitHub App to find the user’s installation information.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- */
- getUserInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["getUserInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- */
- listAccountsForPlan: {
- (params?: RestEndpointMethodTypes["apps"]["listAccountsForPlan"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- */
- listAccountsForPlanStubbed: {
- (params?: RestEndpointMethodTypes["apps"]["listAccountsForPlanStubbed"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- * @deprecated octokit.apps.listAccountsUserOrOrgOnPlan() has been renamed to octokit.apps.listAccountsForPlan() (2020-03-04)
- */
- listAccountsUserOrOrgOnPlan: {
- (params?: RestEndpointMethodTypes["apps"]["listAccountsUserOrOrgOnPlan"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- * @deprecated octokit.apps.listAccountsUserOrOrgOnPlanStubbed() has been renamed to octokit.apps.listAccountsForPlanStubbed() (2020-03-04)
- */
- listAccountsUserOrOrgOnPlanStubbed: {
- (params?: RestEndpointMethodTypes["apps"]["listAccountsUserOrOrgOnPlanStubbed"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.
- *
- * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
- *
- * You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.
- *
- * The access the user has to each repository is included in the hash under the `permissions` key.
- */
- listInstallationReposForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["apps"]["listInstallationReposForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- *
- * The permissions the installation has are included under the `permissions` key.
- */
- listInstallations: {
- (params?: RestEndpointMethodTypes["apps"]["listInstallations"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.
- *
- * You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.
- *
- * The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
- *
- * You can find the permissions for the installation under the `permissions` key.
- */
- listInstallationsForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["apps"]["listInstallationsForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).
- * @deprecated octokit.apps.listMarketplacePurchasesForAuthenticatedUser() has been renamed to octokit.apps.listSubscriptionsForAuthenticatedUser() (2020-03-08)
- */
- listMarketplacePurchasesForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["apps"]["listMarketplacePurchasesForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).
- * @deprecated octokit.apps.listMarketplacePurchasesForAuthenticatedUserStubbed() has been renamed to octokit.apps.listSubscriptionsForAuthenticatedUserStubbed() (2020-03-08)
- */
- listMarketplacePurchasesForAuthenticatedUserStubbed: {
- (params?: RestEndpointMethodTypes["apps"]["listMarketplacePurchasesForAuthenticatedUserStubbed"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all plans that are part of your GitHub Marketplace listing.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- */
- listPlans: {
- (params?: RestEndpointMethodTypes["apps"]["listPlans"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists all plans that are part of your GitHub Marketplace listing.
- *
- * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
- */
- listPlansStubbed: {
- (params?: RestEndpointMethodTypes["apps"]["listPlansStubbed"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * List repositories that an app installation can access.
- *
- * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
- * @deprecated octokit.apps.listRepos() has been renamed to octokit.apps.listReposAccessibleToInstallation() (2020-06-04)
- */
- listRepos: {
- (params?: RestEndpointMethodTypes["apps"]["listRepos"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * List repositories that an app installation can access.
- *
- * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
- */
- listReposAccessibleToInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["listReposAccessibleToInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).
- */
- listSubscriptionsForAuthenticatedUser: {
- (params?: RestEndpointMethodTypes["apps"]["listSubscriptionsForAuthenticatedUser"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).
- */
- listSubscriptionsForAuthenticatedUserStubbed: {
- (params?: RestEndpointMethodTypes["apps"]["listSubscriptionsForAuthenticatedUserStubbed"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Remove a single repository from an installation. The authenticated user must have admin access to the repository.
- *
- * You must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint.
- */
- removeRepoFromInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["removeRepoFromInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
- */
- resetToken: {
- (params?: RestEndpointMethodTypes["apps"]["resetToken"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Revokes the installation token you're using to authenticate as an installation and access this endpoint.
- *
- * Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app)" endpoint.
- *
- * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
- */
- revokeInstallationAccessToken: {
- (params?: RestEndpointMethodTypes["apps"]["revokeInstallationAccessToken"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Revokes the installation token you're using to authenticate as an installation and access this endpoint.
- *
- * Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app)" endpoint.
- *
- * You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
- * @deprecated octokit.apps.revokeInstallationToken() has been renamed to octokit.apps.revokeInstallationAccessToken() (2020-06-04)
- */
- revokeInstallationToken: {
- (params?: RestEndpointMethodTypes["apps"]["revokeInstallationToken"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see "[Suspending a GitHub App installation](https://developer.github.com/apps/managing-github-apps/suspending-a-github-app-installation/)."
- *
- * Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
- *
- * To suspend a GitHub App, you must be an account owner or have admin permissions in the repository or organization where the app is installed.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- */
- suspendInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["suspendInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see "[Suspending a GitHub App installation](https://developer.github.com/apps/managing-github-apps/suspending-a-github-app-installation/)."
- *
- * Removes a GitHub App installation suspension.
- *
- * To unsuspend a GitHub App, you must be an account owner or have admin permissions in the repository or organization where the app is installed and suspended.
- *
- * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
- */
- unsuspendInstallation: {
- (params?: RestEndpointMethodTypes["apps"]["unsuspendInstallation"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- };
- checks: {
- /**
- * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
- *
- * Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
- */
- create: {
- (params?: RestEndpointMethodTypes["checks"]["create"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
- *
- * By default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites)". Your GitHub App must have the `checks:write` permission to create check suites.
- */
- createSuite: {
- (params?: RestEndpointMethodTypes["checks"]["createSuite"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
- *
- * Gets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.
- */
- get: {
- (params?: RestEndpointMethodTypes["checks"]["get"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
- *
- * Gets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.
- */
- getSuite: {
- (params?: RestEndpointMethodTypes["checks"]["getSuite"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.
- */
- listAnnotations: {
- (params?: RestEndpointMethodTypes["checks"]["listAnnotations"]["parameters"]): Promise;
- defaults: RequestInterface["defaults"];
- endpoint: EndpointInterface<{
- url: string;
- }>;
- };
- /**
- * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
- *
- * Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.
- */
- listForRef: {
- (params?: RestEndpointMethodTypes["checks"]["listForRef"]["parameters"]): Promise