@octokit/rest              ^19.0.11  →  ^19.0.13
 @types/node                 ^20.3.0  →   ^20.4.0
 @typescript-eslint/parser   ^5.59.9  →   ^5.61.0
 eslint                      ^8.42.0  →   ^8.44.0
 eslint-plugin-jest          ^27.2.1  →   ^27.2.2
 jest                        ^29.5.0  →   ^29.6.1
 jest-circus                 ^29.5.0  →   ^29.6.1
 prettier                      2.8.8  →     3.0.0
 ts-jest                     ^29.1.0  →   ^29.1.1
 typescript                   ^5.1.3  →    ^5.1.6
 ```
This commit is contained in:
Mike Penz
2023-07-07 08:14:04 +00:00
committed by GitHub
parent 3fe2c7f8b9
commit ea9a74b697
7 changed files with 26911 additions and 9609 deletions
Generated Vendored
+24104 -8732
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1019 -833
View File
File diff suppressed because it is too large Load Diff
+11 -10
View File
@@ -35,22 +35,23 @@
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"@actions/github": "^5.1.1", "@actions/github": "^5.1.1",
"@octokit/rest": "^19.0.11", "@octokit/rest": "^19.0.13",
"github-pr-collector": "file:pr-collector" "github-pr-collector": "file:pr-collector"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^29.5.2", "@types/jest": "^29.5.2",
"@types/node": "^20.3.0", "@types/node": "^20.4.0",
"@typescript-eslint/parser": "^5.59.9", "@typescript-eslint/parser": "^5.61.0",
"@vercel/ncc": "^0.36.1", "@vercel/ncc": "^0.36.1",
"eslint": "^8.42.0", "eslint": "^8.44.0",
"eslint-plugin-github": "^4.8.0", "eslint-plugin-github": "^4.8.0",
"eslint-plugin-jest": "^27.2.1", "eslint-plugin-jest": "^27.2.2",
"jest": "^29.5.0", "eslint-plugin-prettier": "^5.0.0-alpha.1",
"jest-circus": "^29.5.0", "jest": "^29.6.1",
"jest-circus": "^29.6.1",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"prettier": "2.8.8", "prettier": "3.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.1",
"typescript": "^5.1.3" "typescript": "^5.1.6"
} }
} }
+1765 -26
View File
File diff suppressed because it is too large Load Diff
+7 -6
View File
@@ -1,6 +1,6 @@
{ {
"name": "pr-collector", "name": "pr-collector",
"version": "v1.0.2", "version": "v1.0.3",
"description": "Library to fetch GitHub pull request between 2 tags/sha1 hashes.", "description": "Library to fetch GitHub pull request between 2 tags/sha1 hashes.",
"main": "lib/prCollector.js", "main": "lib/prCollector.js",
"types": "lib/prCollector.d.ts", "types": "lib/prCollector.d.ts",
@@ -30,17 +30,18 @@
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"@actions/github": "^5.1.1", "@actions/github": "^5.1.1",
"@octokit/rest": "^19.0.11", "@octokit/rest": "^19.0.13",
"https-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.0",
"moment": "^2.29.4", "moment": "^2.29.4",
"semver": "^7.5.1" "semver": "^7.5.3"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.3.0", "@types/node": "^20.4.0",
"@types/semver": "^7.5.0", "@types/semver": "^7.5.0",
"@vercel/ncc": "^0.36.1", "@vercel/ncc": "^0.36.1",
"eslint-plugin-prettier": "^5.0.0-alpha.1",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"prettier": "2.8.8", "prettier": "3.0.0",
"typescript": "^5.1.3" "typescript": "^5.1.6"
} }
} }
+4 -1
View File
@@ -71,7 +71,10 @@ type PullsListData = RestEndpointMethodTypes['pulls']['list']['response']['data'
type PullReviewsData = RestEndpointMethodTypes['pulls']['listReviews']['response']['data'] type PullReviewsData = RestEndpointMethodTypes['pulls']['listReviews']['response']['data']
export class PullRequests { export class PullRequests {
constructor(private octokit: Octokit, private commits: Commits) {} constructor(
private octokit: Octokit,
private commits: Commits
) {}
async getSingle(owner: string, repo: string, prNumber: number): Promise<PullRequestInfo | null> { async getSingle(owner: string, repo: string, prNumber: number): Promise<PullRequestInfo | null> {
try { try {