Results 643 comments of Blake Embrey
trafficstars

Based on the current API, this isn't possible (as far as I'm reading the request). It isn't smart enough to be a complete serializer and parse references, or have access...

It depends on what exactly you're trying to achieve. The easiest way would be to accept a "dependencies" dictionary that is also stringified in scope. It would be less advanced,...

Unfortunately not every environment is V8 so that wouldn't be possible. Would you mind sharing a repro that I can take a look at to understand why custom replacers failed?

It doesn’t right now, but there’s nothing technically stopping it from being implemented.

This is a great idea. Could use a `Symbol` for this. Or even allow specifying any value that should be stringified itself (or already stringified).

That makes sense, ES6 data structures were a more recent addition that I didn't think through entirely. I'll try and fix it over the weekend, thanks for the report!

Sorry for the delay, PRs are always welcome on any repo I maintain 😄 I just always get busier than I expect, so I'm sorry 🙏

I believe there's an issue in the past on async if you can find it, and it's a pretty massive change to the TypeScript codebase so I can understand pushback...

@OliverJAsh @jonaskello If either of you want to maintain that package, let me know! Happy to add you as owners.

@godfrzero It is indeed a missing feature, happy to accept a PR. Since this library accepts any detective-like API, we might want to ensure the most popular detective libraries don't...