Closed DavidLui closed 3 years ago
Thanks @DavidLui, I will add some sanity check.
@DavidLui, this should have been fixed in v0.2.3.
Hi elgs,
Reopening to follow up for v.0.2.3, my webpack loader no longer works because of the '?' symbol
Can you update ip6 to use the simple check instead?
if (match?.[0] !== n) {
throw new Error('Invalid address: ' + a);
}
to
if (match && match[0] !== n) {
throw new Error('Invalid address: ' + a);
}
Much appreciated.
Fixed in 0.2.6. Can you please try again? Thanks.
Awesome! Appreciate the quick reply. Working now.