Skip to content

Commit 80eee61

Browse files
committed
Update all direct dependencies
* use node v16 * upgrade typescript to v4.5.5 * upgrade actions/github to v5 * use vercel/ncc v0.33.3
1 parent 423fbaf commit 80eee61

File tree

8 files changed

+127555
-129358
lines changed

8 files changed

+127555
-129358
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v16

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ inputs:
2929
default: false
3030
required: true
3131
runs:
32-
using: "node12"
32+
using: "node16"
3333
main: "dist/run/index.js"
3434
post: "dist/post_run/index.js"
3535
branding:

dist/post_run/index.js

Lines changed: 63446 additions & 64102 deletions
Large diffs are not rendered by default.

dist/run/index.js

Lines changed: 63461 additions & 64117 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 635 additions & 1126 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,24 @@
2525
"license": "MIT",
2626
"dependencies": {
2727
"@actions/cache": "^1.0.9",
28-
"@actions/core": "^1.5.0",
28+
"@actions/core": "^1.6.0",
2929
"@actions/exec": "^1.1.0",
30-
"@actions/github": "^4.0.0",
30+
"@actions/github": "^5.0.0",
3131
"@actions/tool-cache": "^1.7.1",
3232
"@types/semver": "^7.3.9",
3333
"@types/tmp": "^0.2.3",
3434
"tmp": "^0.2.1"
3535
},
3636
"devDependencies": {
37-
"@types/node": "^17.0.19",
38-
"@types/uuid": "^8.3.4",
39-
"@typescript-eslint/eslint-plugin": "^4.33.0",
40-
"@typescript-eslint/parser": "^4.33.0",
41-
"@zeit/ncc": "^0.22.3",
42-
"eslint": "^7.32.0",
37+
"@typescript-eslint/eslint-plugin": "^5.12.1",
38+
"@typescript-eslint/parser": "^5.12.1",
39+
"@vercel/ncc": "^0.33.3",
40+
"eslint": "^8.9.0",
4341
"eslint-config-prettier": "^8.4.0",
4442
"eslint-plugin-import": "^2.25.4",
4543
"eslint-plugin-prettier": "^4.0.0",
4644
"eslint-plugin-simple-import-sort": "^7.0.0",
4745
"prettier": "^2.5.1",
48-
"typescript": "^4.3.5"
46+
"typescript": "^4.5.5"
4947
}
5048
}

src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function fetchPatch(): Promise<string> {
4141
const octokit = github.getOctokit(core.getInput(`github-token`, { required: true }))
4242
let patch: string
4343
try {
44-
const patchResp = await octokit.pulls.get({
44+
const patchResp = await octokit.rest.pulls.get({
4545
owner: ctx.repo.owner,
4646
repo: ctx.repo.repo,
4747
[`pull_number`]: pull.number,

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
99
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
1010
"tsBuildInfoFile": ".tsbuildinfo",
11-
"incremental": true
11+
"incremental": true,
12+
"useUnknownInCatchVariables": false
1213
},
1314
"exclude": ["node_modules", "**/*.test.ts"]
14-
}
15+
}

0 commit comments

Comments
 (0)