From 10dc65a913f06b0fe0debd429a4d965c7741eaa3 Mon Sep 17 00:00:00 2001 From: "anh.pham" Date: Tue, 10 May 2022 22:19:40 +0200 Subject: [PATCH] build(devs-dep): upgrade deps --- .husky/_/husky.sh | 11 ++++++++--- package.json | 4 ++-- yarn.lock | 40 ++++++++++++++++++++++++++-------------- 3 files changed, 36 insertions(+), 19 deletions(-) diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh index 6809ccca28..cec959a6b9 100644 --- a/.husky/_/husky.sh +++ b/.husky/_/husky.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh if [ -z "$husky_skip_init" ]; then debug () { if [ "$HUSKY_DEBUG" = "1" ]; then @@ -6,7 +6,7 @@ if [ -z "$husky_skip_init" ]; then fi } - readonly hook_name="$(basename "$0")" + readonly hook_name="$(basename -- "$0")" debug "starting $hook_name..." if [ "$HUSKY" = "0" ]; then @@ -19,7 +19,8 @@ if [ -z "$husky_skip_init" ]; then . ~/.huskyrc fi - export readonly husky_skip_init=1 + readonly husky_skip_init=1 + export husky_skip_init sh -e "$0" "$@" exitCode="$?" @@ -27,5 +28,9 @@ if [ -z "$husky_skip_init" ]; then echo "husky - $hook_name hook exited with code $exitCode (error)" fi + if [ $exitCode = 127 ]; then + echo "husky - command not found in PATH=$PATH" + fi + exit $exitCode fi diff --git a/package.json b/package.json index a5baa45193..bb4047abd6 100644 --- a/package.json +++ b/package.json @@ -77,8 +77,8 @@ "@types/jest": "^27.4.1", "@types/node": "^16.11.33", "@types/semver": "^7.3.9", - "@typescript-eslint/eslint-plugin": "^5.22.0", - "@typescript-eslint/parser": "^5.22.0", + "@typescript-eslint/eslint-plugin": "^5.23.0", + "@typescript-eslint/parser": "^5.23.0", "chalk": "^4.1.2", "conventional-changelog-cli": "^2.2.2", "cross-env": "^7.0.3", diff --git a/yarn.lock b/yarn.lock index ce43e3671e..4c4dea3fea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2018,14 +2018,14 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^5.22.0": - version "5.22.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.22.0.tgz#7b52a0de2e664044f28b36419210aea4ab619e2a" - integrity sha512-YCiy5PUzpAeOPGQ7VSGDEY2NeYUV1B0swde2e0HzokRsHBYjSdF6DZ51OuRZxVPHx0032lXGLvOMls91D8FXlg== +"@typescript-eslint/eslint-plugin@^5.23.0": + version "5.23.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.23.0.tgz#bc4cbcf91fbbcc2e47e534774781b82ae25cc3d8" + integrity sha512-hEcSmG4XodSLiAp1uxv/OQSGsDY6QN3TcRU32gANp+19wGE1QQZLRS8/GV58VRUoXhnkuJ3ZxNQ3T6Z6zM59DA== dependencies: - "@typescript-eslint/scope-manager" "5.22.0" - "@typescript-eslint/type-utils" "5.22.0" - "@typescript-eslint/utils" "5.22.0" + "@typescript-eslint/scope-manager" "5.23.0" + "@typescript-eslint/type-utils" "5.23.0" + "@typescript-eslint/utils" "5.23.0" debug "^4.3.2" functional-red-black-tree "^1.0.1" ignore "^5.1.8" @@ -2033,7 +2033,7 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/parser@^5.22.0": +"@typescript-eslint/parser@^5.23.0": version "5.23.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.23.0.tgz#443778e1afc9a8ff180f91b5e260ac3bec5e2de1" integrity sha512-V06cYUkqcGqpFjb8ttVgzNF53tgbB/KoQT/iB++DOIExKmzI9vBJKjZKt/6FuV9c+zrDsvJKbJ2DOCYwX91cbw== @@ -2059,12 +2059,12 @@ "@typescript-eslint/types" "5.23.0" "@typescript-eslint/visitor-keys" "5.23.0" -"@typescript-eslint/type-utils@5.22.0": - version "5.22.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.22.0.tgz#0c0e93b34210e334fbe1bcb7250c470f4a537c19" - integrity sha512-iqfLZIsZhK2OEJ4cQ01xOq3NaCuG5FQRKyHicA3xhZxMgaxQazLUHbH/B2k9y5i7l3+o+B5ND9Mf1AWETeMISA== +"@typescript-eslint/type-utils@5.23.0": + version "5.23.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.23.0.tgz#f852252f2fc27620d5bb279d8fed2a13d2e3685e" + integrity sha512-iuI05JsJl/SUnOTXA9f4oI+/4qS/Zcgk+s2ir+lRmXI+80D8GaGwoUqs4p+X+4AxDolPpEpVUdlEH4ADxFy4gw== dependencies: - "@typescript-eslint/utils" "5.22.0" + "@typescript-eslint/utils" "5.23.0" debug "^4.3.2" tsutils "^3.21.0" @@ -2104,7 +2104,19 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/utils@5.22.0", "@typescript-eslint/utils@^5.10.0": +"@typescript-eslint/utils@5.23.0": + version "5.23.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.23.0.tgz#4691c3d1b414da2c53d8943310df36ab1c50648a" + integrity sha512-dbgaKN21drqpkbbedGMNPCtRPZo1IOUr5EI9Jrrh99r5UW5Q0dz46RKXeSBoPV+56R6dFKpbrdhgUNSJsDDRZA== + dependencies: + "@types/json-schema" "^7.0.9" + "@typescript-eslint/scope-manager" "5.23.0" + "@typescript-eslint/types" "5.23.0" + "@typescript-eslint/typescript-estree" "5.23.0" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + +"@typescript-eslint/utils@^5.10.0": version "5.22.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.22.0.tgz#1f2c4897e2cf7e44443c848a13c60407861babd8" integrity sha512-HodsGb037iobrWSUMS7QH6Hl1kppikjA1ELiJlNSTYf/UdMEwzgj0WIp+lBNb6WZ3zTwb0tEz51j0Wee3iJ3wQ==