Update Probot and other dependencies

This commit is contained in:
Maciej Pędzich 2024-09-03 20:16:20 +02:00
parent daff508183
commit b56a25e762
Signed by: maciejpedzich
GPG Key ID: CE4A303D84882F0D
3 changed files with 1186 additions and 4056 deletions

View File

@ -236,7 +236,7 @@ const appFn: ApplicationFunction = (app: Probot, { getRouter }) => {
if (urlFilenameEntries.length > 0) { if (urlFilenameEntries.length > 0) {
successText = ''; successText = '';
const forkPageUrl = payload.pull_request.head.repo.html_url; const forkPageUrl = payload.pull_request.head.repo?.html_url;
const httpsDirUrl = `${forkPageUrl}/tree/main/playlists/registry/https:`; const httpsDirUrl = `${forkPageUrl}/tree/main/playlists/registry/https:`;
const baseCreateUrl = `${forkPageUrl}/new/main/playlists/registry/FOO`; const baseCreateUrl = `${forkPageUrl}/new/main/playlists/registry/FOO`;

5234
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
}, },
"homepage": "https://github.com/maciejpedzich/mackorone-playlist-pr-bot#readme", "homepage": "https://github.com/maciejpedzich/mackorone-playlist-pr-bot#readme",
"dependencies": { "dependencies": {
"metadata-scraper": "^0.2.60", "metadata-scraper": "^0.2.61",
"probot": "^12.3.3", "probot": "^13.3.7",
"promise-throttle-all": "^1.1.1" "promise-throttle-all": "^1.1.1"
}, },
"engines": { "engines": {
@ -27,6 +27,6 @@
"devDependencies": { "devDependencies": {
"@types/node": "^20.14.11", "@types/node": "^20.14.11",
"ts-node-dev": "^2.0.0", "ts-node-dev": "^2.0.0",
"typescript": "^4.8.3" "typescript": "^5.5.4"
} }
} }