Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump octokit from 3.2.1 to 4.0.2 #79

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,122 changes: 810 additions & 312 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -13,6 +13,6 @@
},
"dependencies": {
"@octokit/webhooks": "^12.1.2",
"octokit": "^3.2.1"
"octokit": "^4.0.2"
}
}

Unchanged files with check annotations Beta

import { APIGatewayEvent, APIGatewayProxyResult } from "aws-lambda";
import { SpawnSyncReturns, execSync } from "child_process";
import { writeFileSync } from "fs";
import { App } from "octokit";

Check failure on line 6 in src/index.ts

GitHub Actions / typescript

The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("octokit")' call instead.
import { safeOctokitRequest, verifyFiles } from "./utils";
import { RestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.js";
import { EmitterWebhookEvent } from "@octokit/webhooks";
import { RequestError } from "octokit";

Check failure on line 3 in src/utils.ts

GitHub Actions / typescript

The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("octokit")' call instead.
function camelCaseToSentenceCase(str: string) {
return str.replace(