-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore: update to Node 20.x #258
Conversation
@@ -3,10 +3,6 @@ import { tablesData } from 'consts'; | |||
import { getAllDataFromResults, IAllData } from 'utils/getAllDataFromResults'; | |||
import { getTableDataUrl } from 'utils/getTableDataUrl'; | |||
|
|||
// eslint-disable-next-line | |||
// @ts-ignore | |||
const fetch = typeof CLIENT !== 'undefined' && CLIENT ? window.fetch : require('node-fetch'); |
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.
Node 20.x has fetch
by default, just in case if someone wonders.
Pull Request Test Coverage Report for Build 7285070694
💛 - Coveralls |
@@ -7,6 +7,7 @@ | |||
"emitDecoratorMetadata": true, | |||
"experimentalDecorators": true, | |||
"removeComments": false, | |||
"importHelpers": true, |
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.
Some updated libraries bring import * from 'tslib'
, so it's best to use tslib
for ourselves as well not to bloat the bundle any further.
@@ -69,7 +69,7 @@ html, body { | |||
} | |||
|
|||
#app, input, select, button, a, textarea { | |||
font-family: Roboto, sans-serif; | |||
font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Liberation Sans", Arial, sans-serif; |
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.
Added macOS, Windows and Linux fallbacks.
Resolves #218, #223, #224, #225, #226, #227, #231, #233, #234, #235, #236, #237.
Updates required Node runtime to 20.x (latest LTS).
Fixes fallback font query to be more friendly to macOS and Linux.