Skip to content

Conversation

bytenik
Copy link
Contributor

@bytenik bytenik commented Jan 21, 2022

We have a need for a custom replacer and reviver, but because tryParse is outside of the class, a reviver cannot be inserted. We'd have to copy/paste duplicate the entire parser to make this small modification on our end instead of just inheriting from it. Hence this PR, to allow for this functionality for everyone.

@cmocanu cmocanu force-pushed the custom-reviver-replacer branch from 822816b to ebf2bc4 Compare February 18, 2022 17:02
@cmocanu
Copy link
Contributor

cmocanu commented Feb 18, 2022

Updated to fix missing line that made prettier unhappy.

I hadn't run the CI locally since I can't npm install because I'm running on an ARM M1 Macbook.

@darrachequesne darrachequesne merged commit b08bc1a into socketio:master Apr 17, 2022
@darrachequesne
Copy link
Member

@bytenik @cmocanu thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants