chore: upgrade nodejs version to 18.x (#8768)

This commit is contained in:
Bruno Quaresma
2023-07-27 17:54:38 -03:00
committed by GitHub
parent 3114a60e5c
commit 471dc6126c
10 changed files with 1260 additions and 1584 deletions
+1
View File
@@ -1 +1,2 @@
save-exact=true
engine-strict=true
+4 -1
View File
@@ -342,7 +342,10 @@ const createTemplateVersionTar = async (
Provision_Response.encode(response as Provision_Response).finish(),
)
})
return Buffer.from((await tar.write()) as ArrayBuffer)
const tarFile = await tar.write()
return Buffer.from(
tarFile instanceof Blob ? await tarFile.arrayBuffer() : tarFile,
)
}
const randomName = () => {
+6 -2
View File
@@ -86,7 +86,7 @@
"react-router-dom": "6.14.1",
"react-syntax-highlighter": "15.5.0",
"react-use": "17.4.0",
"react-virtualized-auto-sizer": "1.0.7",
"react-virtualized-auto-sizer": "1.0.20",
"react-window": "1.8.8",
"remark-gfm": "3.0.1",
"rollup-plugin-visualizer": "5.9.0",
@@ -120,7 +120,7 @@
"@testing-library/user-event": "14.4.3",
"@types/chroma-js": "2.4.0",
"@types/jest": "29.5.2",
"@types/node": "14.18.22",
"@types/node": "18.17.0",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"@types/react-helmet": "6.1.5",
@@ -172,5 +172,9 @@
"resolutions": {
"optionator": "0.9.3",
"semver": "7.5.3"
},
"engines": {
"npm": ">=9.0.0 <10.0.0",
"node": ">=18.0.0 <19.0.0"
}
}
@@ -53,11 +53,11 @@ export const DeploymentBannerView: FC<DeploymentBannerViewProps> = ({
let canceled = false
const loop = () => {
if (canceled) {
return
return undefined
}
setTimeUntilRefresh(timeUntilRefresh--)
if (timeUntilRefresh > 0) {
return setTimeout(loop, 1000)
return window.setTimeout(loop, 1000)
}
fetchStats()
}
+1207 -1546
View File
File diff suppressed because it is too large Load Diff