Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit fa4f6cc

Browse files
author
Jared Weakly
committed
Update dependencies
1 parent 6d69175 commit fa4f6cc

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

setup/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,30 @@
2121
"author": "GitHub",
2222
"license": "MIT",
2323
"dependencies": {
24-
"@actions/core": "^1.2.4",
24+
"@actions/core": "^1.2.6",
2525
"@actions/exec": "^1.0.4",
26-
"@actions/glob": "^0.1.0",
26+
"@actions/glob": "^0.1.1",
2727
"@actions/io": "^1.0.2",
28-
"@actions/tool-cache": "^1.5.5",
29-
"js-yaml": "^3.14.0"
28+
"@actions/tool-cache": "^1.6.1",
29+
"js-yaml": "^3.14.1"
3030
},
3131
"devDependencies": {
32-
"@types/jest": "^25.2.3",
33-
"@types/js-yaml": "^3.12.4",
34-
"@types/node": "^14.0.11",
35-
"@typescript-eslint/parser": "^3.1.0",
36-
"@typescript-eslint/eslint-plugin": "^3.1.0",
32+
"@types/jest": "^26.0.19",
33+
"@types/js-yaml": "^3.12.5",
34+
"@types/node": "^14.14.13",
35+
"@typescript-eslint/parser": "^4.9.1",
36+
"@typescript-eslint/eslint-plugin": "^4.9.1",
3737
"@zeit/ncc": "^0.22.3",
38-
"eslint": "^7.1.0",
39-
"eslint-plugin-github": "^4.0.1",
40-
"eslint-plugin-jest": "^23.13.2",
41-
"husky": "^4.2.5",
42-
"jest": "^26.0.1",
43-
"jest-circus": "^26.0.1",
44-
"lint-staged": "^10.2.9",
45-
"prettier": "^2.0.5",
46-
"ts-jest": "^26.1.0",
47-
"typescript": "^3.9.5"
38+
"eslint": "^7.15.0",
39+
"eslint-plugin-github": "^4.1.1",
40+
"eslint-plugin-jest": "^24.1.3",
41+
"husky": "^4.3.5",
42+
"jest": "^26.6.3",
43+
"jest-circus": "^26.6.3",
44+
"lint-staged": "^10.5.3",
45+
"prettier": "^2.2.1",
46+
"ts-jest": "^26.4.4",
47+
"typescript": "^4.1.3"
4848
},
4949
"husky": {
5050
"hooks": {

setup/src/opts.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ type Version = {version: string; supported: string[]};
2323
export type Defaults = Record<Tool, Version>;
2424

2525
export function getDefaults(): Defaults {
26-
const inpts = safeLoad(
26+
const inpts = (safeLoad(
2727
readFileSync(join(__dirname, '..', 'action.yml'), 'utf8')
28-
).inputs;
28+
// The action.yml file structure is statically known.
29+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
30+
) as any).inputs;
2931

3032
const mkVersion = (v: string, vs: string[]): Version => ({
3133
version: resolve(inpts[v].default, vs),

0 commit comments

Comments
 (0)