Update all direct dependencies

* use node v16
* upgrade typescript to v4.5.5
* upgrade actions/github to v5
* use vercel/ncc v0.33.3
This commit is contained in:
Sergey Vilgelm 2022-02-24 10:27:43 -08:00
parent 423fbafafc
commit 80eee61974
No known key found for this signature in database
GPG key ID: 08D0E2FF778887E6
8 changed files with 66935 additions and 68738 deletions

1
.nvmrc Normal file
View file

@ -0,0 +1 @@
v16

View file

@ -29,7 +29,7 @@ inputs:
default: false
required: true
runs:
using: "node12"
using: "node16"
main: "dist/run/index.js"
post: "dist/post_run/index.js"
branding:

66926
dist/post_run/index.js vendored

File diff suppressed because one or more lines are too long

66926
dist/run/index.js vendored

File diff suppressed because one or more lines are too long

1795
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -25,26 +25,24 @@
"license": "MIT",
"dependencies": {
"@actions/cache": "^1.0.9",
"@actions/core": "^1.5.0",
"@actions/core": "^1.6.0",
"@actions/exec": "^1.1.0",
"@actions/github": "^4.0.0",
"@actions/github": "^5.0.0",
"@actions/tool-cache": "^1.7.1",
"@types/semver": "^7.3.9",
"@types/tmp": "^0.2.3",
"tmp": "^0.2.1"
},
"devDependencies": {
"@types/node": "^17.0.19",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@zeit/ncc": "^0.22.3",
"eslint": "^7.32.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vercel/ncc": "^0.33.3",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"prettier": "^2.5.1",
"typescript": "^4.3.5"
"typescript": "^4.5.5"
}
}

View file

@ -41,7 +41,7 @@ async function fetchPatch(): Promise<string> {
const octokit = github.getOctokit(core.getInput(`github-token`, { required: true }))
let patch: string
try {
const patchResp = await octokit.pulls.get({
const patchResp = await octokit.rest.pulls.get({
owner: ctx.repo.owner,
repo: ctx.repo.repo,
[`pull_number`]: pull.number,

View file

@ -8,7 +8,8 @@
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"tsBuildInfoFile": ".tsbuildinfo",
"incremental": true
"incremental": true,
"useUnknownInCatchVariables": false
},
"exclude": ["node_modules", "**/*.test.ts"]
}
}