braintree / credit-card-type

A library for determining credit card type
MIT License
985 stars 154 forks source link

add support for 'structuredClone' deep cloning #160

Closed RonStrauss closed 11 months ago

RonStrauss commented 11 months ago

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

RonStrauss commented 11 months ago

Sorry, I misread the code, you don't want to deep clone the object at all, haha.