chore: bump dependencies (#4444)

This commit is contained in:
James George
2024-10-23 14:55:55 -07:00
committed by GitHub
parent 7dfb06c137
commit 7aa43232cc
22 changed files with 4984 additions and 6463 deletions

View File

@@ -44,7 +44,6 @@ const setEnv = (
}
} else if (indexInGlobal >= 0) {
if ("value" in global[indexInGlobal]) {
// eslint-disable-next-line @typescript-eslint/no-extra-semi
;(global[indexInGlobal] as { value: string }).value = envValue
}
} else {
@@ -219,14 +218,14 @@ export function preventCyclicObjects(
try {
jsonString = JSON.stringify(obj)
} catch (e) {
} catch (_) {
return E.left("Stringification failed")
}
try {
const parsedJson = JSON.parse(jsonString)
return E.right(parsedJson)
} catch (err) {
} catch (_) {
return E.left("Parsing failed")
}
}