diff --git a/typescript/typescript-book/jest-tutorial/.node-version b/typescript/typescript-book/jest-tutorial/.node-version index 2a393af5..7af24b7d 100644 --- a/typescript/typescript-book/jest-tutorial/.node-version +++ b/typescript/typescript-book/jest-tutorial/.node-version @@ -1 +1 @@ -20.18.0 +22.11.0 diff --git a/typescript/typescript-book/random-cat/package.json b/typescript/typescript-book/random-cat/package.json index 63ca1e93..67c66dc9 100644 --- a/typescript/typescript-book/random-cat/package.json +++ b/typescript/typescript-book/random-cat/package.json @@ -12,7 +12,7 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@types/node": "^20.0.0", + "@types/node": "^22.0.0", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "typescript": "^5.0.0" diff --git a/typescript/typescript-book/random-cat/yarn.lock b/typescript/typescript-book/random-cat/yarn.lock index 2a093267..f407d89f 100644 --- a/typescript/typescript-book/random-cat/yarn.lock +++ b/typescript/typescript-book/random-cat/yarn.lock @@ -179,12 +179,12 @@ dependencies: tslib "^2.4.0" -"@types/node@^20.0.0": - version "20.17.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.6.tgz#6e4073230c180d3579e8c60141f99efdf5df0081" - integrity sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ== +"@types/node@^22.0.0": + version "22.9.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.9.0.tgz#b7f16e5c3384788542c72dc3d561a7ceae2c0365" + integrity sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ== dependencies: - undici-types "~6.19.2" + undici-types "~6.19.8" "@types/prop-types@*": version "15.7.13" @@ -410,7 +410,7 @@ typescript@^5.0.0: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b" integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw== -undici-types@~6.19.2: +undici-types@~6.19.8: version "6.19.8" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==