indutny / asn1.js

ASN.1 Decoder/Encoder/DSL
MIT License
181 stars 64 forks source link

Check before overwriting buffer #124

Closed ineiti closed 1 year ago

ineiti commented 3 years ago

This PR adds a verification before overwriting the 'Buffer' global.

ineiti commented 3 years ago

@ynizon - you're also using stackblitz and have projects that use asn1.js fail?

ynizon commented 3 years ago

Yes, i need this fix 👍 thanks

ineiti commented 3 years ago

Let's hope @indutny picks it up ;) I didn't try to fork it and then reference it in stackblitz - I'm not sure how good stackblitz is when replacing packages...