Skip to content

Commit

Permalink
Support Node.js 20
Browse files Browse the repository at this point in the history
Heroku CLI 10.0.0 was released recently, including with it an upgrade to its bundled copy of Node.js to v20.
  • Loading branch information
OldSneerJaw committed Dec 10, 2024
1 parent 46ea203 commit 3f3b6d5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
workflow_dispatch: # Allows the workflow to be triggered manually

env:
JOB_NODE_VERSION: '16.20.2' # Chosen to match what is used internally by the Heroku CLI
JOB_NODE_VERSION: '20.17.0' # Chosen to match what is used internally by the Heroku CLI

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish
on: workflow_dispatch

env:
JOB_NODE_VERSION: '16.20.2' # Chosen to match what is used internally by the Heroku CLI
JOB_NODE_VERSION: '20.17.0' # Chosen to match what is used internally by the Heroku CLI

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.2
20.17.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@types/glob": "^8.1.0",
"@types/luxon": "^3.4.2",
"@types/mocha": "^10.0.10",
"@types/node": "^16.18.57",
"@types/node": "^20.14.8",
"@types/node-notifier": "^8.0.5",
"@types/pg": "^8.11.10",
"@types/ssh2": "^1.15.1",
Expand Down
46 changes: 16 additions & 30 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -909,9 +909,12 @@
version "15.14.9"
resolved "https://registry.npmjs.org/@types/node/-/node-15.14.9.tgz"

"@types/node@^16.18.57":
version "16.18.57"
resolved "https://registry.npmjs.org/@types/node/-/node-16.18.57.tgz"
"@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"

"@types/normalize-package-data@^2.4.0":
version "2.4.1"
Expand Down Expand Up @@ -1460,8 +1463,8 @@ camelcase@^6.0.0:
resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz"

caniuse-lite@^1.0.30001248:
version "1.0.30001610"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001610.tgz"
version "1.0.30001687"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001687.tgz"

cardinal@^2.1.1:
version "2.1.1"
Expand Down Expand Up @@ -4881,15 +4884,7 @@ stdout-stderr@^0.1.9:
debug "^4.1.1"
strip-ansi "^6.0.0"

"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"

"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
dependencies:
Expand Down Expand Up @@ -4917,13 +4912,7 @@ string_decoder@~1.1.1:
dependencies:
safe-buffer "~5.1.0"

"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
version "6.0.1"
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
dependencies:
ansi-regex "^5.0.1"

strip-ansi@^6.0.0, strip-ansi@^6.0.1:
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
dependencies:
Expand Down Expand Up @@ -5169,6 +5158,11 @@ typescript@~4.4.4:
version "4.4.4"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz"

undici-types@~6.19.2:
version "6.19.8"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==

unique-filename@^1.1.1:
version "1.1.1"
resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz"
Expand Down Expand Up @@ -5394,7 +5388,7 @@ workerpool@^6.5.1:
version "6.5.1"
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544"

"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
dependencies:
Expand All @@ -5410,14 +5404,6 @@ 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.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
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.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz"
Expand Down

0 comments on commit 3f3b6d5

Please sign in to comment.