indutny / asn1.js

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

relative import affecting browserify #89

Closed guerrerocarlos closed 6 years ago

guerrerocarlos commented 6 years ago

This line: https://github.com/indutny/asn1.js/blob/0abb73e0058907b6c7c2160605cd432de0e530ac/rfc/5280/index.js#L4

Is affecting other projects when using browserify, see: https://github.com/bitpay/copay/issues/7001

indutny commented 6 years ago

Should be fixed now, sorry for inconvenience.

guerrerocarlos commented 6 years ago

Hello @indutny, did you push asn1.js@4.10.0 to npm?

indutny commented 6 years ago

It was pushed out in 4.9.2, prior to 4.10.0 unpublish.

guerrerocarlos commented 6 years ago

This package still presents the bug:

https://www.npmjs.com/package/asn1.js-rfc5280

indutny commented 6 years ago

@guerrerocarlos which version did you try? 2.0.1 should have the fix.