deps: update devDependencies (#558)

This commit is contained in:
Shohei Ueda 2021-01-06 00:34:54 +09:00 committed by GitHub
parent 1fd941c40a
commit 4b77300e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 598 additions and 417 deletions

View File

@ -10,7 +10,7 @@ beforeEach(() => {
process.stdout.write = jest.fn();
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const doc: any = yaml.safeLoad(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
const doc: any = yaml.load(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
Object.keys(doc.inputs).forEach(name => {
const envVar = `INPUT_${name.replace(/ /g, '_').toUpperCase()}`;
process.env[envVar] = doc.inputs[name]['default'];
@ -19,7 +19,7 @@ beforeEach(() => {
afterEach(() => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const doc: any = yaml.safeLoad(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
const doc: any = yaml.load(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
Object.keys(doc.inputs).forEach(name => {
const envVar = `INPUT_${name.replace(/ /g, '_').toUpperCase()}`;
console.debug(`delete ${envVar}\t${process.env[envVar]}`);

995
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -66,20 +66,20 @@
"@types/jest": "^26.0.19",
"@types/js-yaml": "^3.12.5",
"@types/node": "~12",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"@vercel/ncc": "^0.26.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"@vercel/ncc": "^0.26.1",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.6",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"js-yaml": "^3.14.1",
"js-yaml": "^4.0.0",
"lint-staged": "^10.5.3",
"prettier": "2.2.1",
"standard-version": "^9.0.0",
"standard-version": "^9.1.0",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
}