chore: bump dependencies (#4444)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user