Doesn't work in node < 14 due to use of optional chaining #3

Closed
opened 2020-09-29 14:36:35 -07:00 by whitebark · 1 comment
whitebark commented 2020-09-29 14:36:35 -07:00 (Migrated from github.com)

index.js:55
const country = possible_countries.find( ( country ) => ( country?.iso3166?.alpha3 === country_code ) ) || possible_countries[ 0 ] || null;

index.js:55 const country = possible_countries.find( ( country ) => ( country?.iso3166?.alpha3 === country_code ) ) || possible_countries[ 0 ] || null;
andyburke commented 2020-09-30 16:30:16 -07:00 (Migrated from github.com)

3.0.1 should address this

3.0.1 should address this
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
andyburke/phoneparser#3
No description provided.