-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Node.js 20 #162696
Merged
Merged
Upgrade to Node.js 20 #162696
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
22269e4
Upgrade to Node.js 20
65a9dcc
Fix invalid JSON error message jest tests
460fba9
Get around mock-fs incompatibility with Node.js 20
08f9411
Increase server close timeout
df06214
Merge remote-tracking branch 'upstream/main' into nodejs20
jbudz c0e5407
update to 20.9.0
jbudz c21a456
ignore dep0170
jbudz f051574
workaround mock-fs
jbudz d9a4618
workaround mock-fs
jbudz bd7ee6e
workaround mock-fs
jbudz 9bd5429
workaround mock-fs
jbudz ad5b821
workaround mock-fs
jbudz 768402f
fix workaround mock-fs
jbudz 9f9635a
rm diagnostic-dir polyfill
jbudz 01ded6d
Merge remote-tracking branch 'upstream/main' into nodejs20
jbudz 93b1096
Merge remote-tracking branch 'upstream/main' into nodejs20
jbudz a4e89c9
increase cloud deployment timeout
jbudz d2ea806
Update x-pack/plugins/screenshotting/server/browsers/download/fetch.t…
jbudz 89d5706
Update packages/kbn-es/src/utils/docker.test.ts
jbudz a9736bf
Update x-pack/plugins/screenshotting/server/browsers/extract/unzip.te…
jbudz 9621ab0
Update packages/kbn-es/src/utils/docker.test.ts
jbudz bb60245
update types
jbudz 80d5fcd
Merge remote-tracking branch 'upstream/main' into nodejs20
jbudz 0ea7991
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 4acbd1c
add message filter
jbudz 4f6bee1
Merge remote-tracking branch 'upstream/main' into nodejs20
jbudz d4295b3
Merge branch 'main' into nodejs20
95f4965
Merge branch 'main' into nodejs20
5404d0f
Merge branch 'main' into nodejs20
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18.18.2 | ||
20.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18.18.2 | ||
20.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,6 @@ require('./exit_on_warning'); | |
require('./harden'); | ||
// The following require statements MUST be executed before any others - END | ||
|
||
// @todo Remove when migrated to Node 20 (#162696) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @dokmic FYI |
||
require('./heap_snapshot'); | ||
require('symbol-observable'); | ||
require('source-map-support').install(); | ||
require('./node_version_validator'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really wish we could take the opportunity to refactor this code when it turns out to be flaky so that it doesn't rely on a timer☹️ But maybe that's not easy in this case