Hello :-)
camelcase-keys
currently doesn't support circular objects - is that something that you'd be open to it supporting?
A simple reproduction is:
import camelcaseKeys from 'camelcase-keys'
const x = {}
x.data = x
camelcaseKeys(x, { deep: true }) // fails with RangeError: Maximum call stack size exceeded.
We've poc'd an implementation by allowing map-obj
to take the isSeen argument from external and calling it akin to bglimepoint@1d74d5c (paired with bglimepoint/map-obj@6fb5d38), but weren't sure if you'd be open to doing something akin to that :-) (Or if there might be a better way to achieve it :-) )
Thanks for your time :-)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too