File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- const iso31661 = [
1+ [
22 {
33 "name" : " Andorra" ,
44 "alpha2" : " AD" ,
@@ -1494,5 +1494,3 @@ const iso31661 = [
14941494 "numeric" : " 716"
14951495 }
14961496]
1497-
1498- module . exports = iso31661
Original file line number Diff line number Diff line change 1- const noPostalCodeCountries = [
1+ [
22 " Angola" ,
33 " Antigua and Barbuda" ,
44 " Aruba" ,
@@ -67,5 +67,3 @@ const noPostalCodeCountries = [
6767 " Yemen" ,
6868 " Zimbabwe"
6969]
70-
71- module . exports = noPostalCodeCountries
Original file line number Diff line number Diff line change 11'use strict'
22
3- const noPostalCodeCountries = require ( './data/nopostal.js ' )
4- const iso31661 = require ( './data/iso31661.js ' )
3+ const noPostalCodeCountries = require ( './data/nopostal.json ' )
4+ const iso31661 = require ( './data/iso31661.json ' )
55
66
77const getFromCollection = ( collection , value , type ) => {
Original file line number Diff line number Diff line change 11const hasPostalCode = require ( '../src/index.js' )
2- const noPostalCodeCountries = require ( '../src/data/nopostal.js ' )
2+ const noPostalCodeCountries = require ( '../src/data/nopostal.json ' )
33
44describe ( 'hasPostalCode' , ( ) => {
55
You can’t perform that action at this time.
0 commit comments