From c186e47269fe5566a4deb02aec87bfd1ab9503f7 Mon Sep 17 00:00:00 2001 From: Rafael Romero Date: Mon, 9 Dec 2024 12:15:04 +0000 Subject: [PATCH 1/2] feat(node): upgrade to 20.18.1, latest stable in v20 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 664a636cba3..ae6c2503cd7 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/ParabolInc/parabol/issues" }, "engines": { - "node": "^20.11.0", + "node": "^20.18.1", "yarn": "^1.22.5" }, "private": true, From d7a21970b29aeef648ef14f2f5dbf44b2e077c1d Mon Sep 17 00:00:00 2001 From: Rafael Romero Date: Mon, 9 Dec 2024 12:53:38 +0000 Subject: [PATCH 2/2] Upgraded types/node to the latest 20.X.Y version of the package --- packages/chronos/package.json | 2 +- packages/embedder/package.json | 2 +- packages/gql-executor/package.json | 2 +- packages/server/package.json | 2 +- yarn.lock | 44 ++++++++++++++++++++++-------- 5 files changed, 36 insertions(+), 16 deletions(-) diff --git a/packages/chronos/package.json b/packages/chronos/package.json index dbc2001b5b5..f55b0a914b7 100644 --- a/packages/chronos/package.json +++ b/packages/chronos/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@types/cron": "^2.0.1", - "@types/node": "^20.11.17" + "@types/node": "^20.14.8" }, "dependencies": { "cron": "^2.3.1", diff --git a/packages/embedder/package.json b/packages/embedder/package.json index 0e71e4c67ea..34920bdf41c 100644 --- a/packages/embedder/package.json +++ b/packages/embedder/package.json @@ -25,7 +25,7 @@ "@babel/cli": "7.18.6", "@babel/core": "7.18.6", "@types/franc": "^5.0.3", - "@types/node": "^16.11.62", + "@types/node": "^20.14.8", "babel-plugin-inline-import": "^3.0.0", "jest": "^29.5.0", "jest-extended": "^3.2.4", diff --git a/packages/gql-executor/package.json b/packages/gql-executor/package.json index a08484ecb6b..e503bd95fae 100644 --- a/packages/gql-executor/package.json +++ b/packages/gql-executor/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@babel/cli": "7.18.6", "@babel/core": "7.18.6", - "@types/node": "^20.11.17", + "@types/node": "^20.14.8", "babel-plugin-inline-import": "^3.0.0", "chokidar": "^3.3.1", "ts-node-dev": "^1.0.0-pre.44" diff --git a/packages/server/package.json b/packages/server/package.json index 3b0697ac3e0..d7a8ac2eb04 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -41,7 +41,7 @@ "@types/markdown-draft-js": "^2.2.7", "@types/mime-types": "^2.1.0", "@types/ms": "^0.7.30", - "@types/node": "^20.11.17", + "@types/node": "^20.14.8", "@types/nodemailer": "^6.4.14", "@types/relay-runtime": "^18.1.1", "@types/sanitize-html": "^2.11.0", diff --git a/yarn.lock b/yarn.lock index 18703c2a0d8..388f646ae39 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7966,11 +7966,6 @@ dependencies: undici-types "~6.19.8" -"@types/node@^16.11.62": - version "16.18.119" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.119.tgz#88443bb82119b7c0920e86949673876cbe1c3492" - integrity sha512-ia7V9a2FnhUFfetng4/sRPBMTwHZUkPFY736rb1cg9AgG7MZdR97q7/nLR9om+sq5f1la9C857E0l/nrI0RiFQ== - "@types/node@^18.11.18": version "18.19.64" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.64.tgz#122897fb79f2a9ec9c979bded01c11461b2b1478" @@ -7978,10 +7973,10 @@ dependencies: undici-types "~5.26.4" -"@types/node@^20.11.17": - version "20.17.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.6.tgz#6e4073230c180d3579e8c60141f99efdf5df0081" - integrity sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ== +"@types/node@^20.14.8": + version "20.17.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.9.tgz#5f141d4b7ee125cdee5faefe28de095398865bab" + integrity sha512-0JOXkRyLanfGPE2QRCwgxhzlBAvaRdCNMcvbd7jFfpmD4eEXll7LRwy5ymJmyeZqk7Nh7eD2LeUyQ68BbndmXw== dependencies: undici-types "~6.19.2" @@ -21050,7 +21045,7 @@ string-similarity@^3.0.0: resolved "https://registry.yarnpkg.com/string-similarity/-/string-similarity-3.0.0.tgz#07b0bc69fae200ad88ceef4983878d03793847c7" integrity sha512-7kS7LyTp56OqOI2BDWQNVnLX/rCxIQn+/5M0op1WV6P8Xx6TZNdajpuqQdiJ7Xx+p1C5CsWMvdiBp9ApMhxzEQ== -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -21068,6 +21063,15 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.0, string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -21154,7 +21158,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -21168,6 +21172,13 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1: dependencies: ansi-regex "^2.0.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -23128,7 +23139,7 @@ workbox-window@6.6.1: "@types/trusted-types" "^2.0.2" workbox-core "6.6.1" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -23146,6 +23157,15 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"