intl-tel-input 25.2.0 → 25.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1727,7 +1727,7 @@ var isRegionlessNanp = (number) => {
1727
1727
  const numeric = getNumeric(number);
1728
1728
  if (numeric.charAt(0) === "1") {
1729
1729
  const areaCode = numeric.substr(1, 3);
1730
- return regionlessNanpNumbers.indexOf(areaCode) !== -1;
1730
+ return regionlessNanpNumbers.includes(areaCode);
1731
1731
  }
1732
1732
  return false;
1733
1733
  };
@@ -1872,14 +1872,14 @@ var Iti = class {
1872
1872
  (country) => country.toLowerCase()
1873
1873
  );
1874
1874
  this.countries = data_default.filter(
1875
- (country) => lowerCaseOnlyCountries.indexOf(country.iso2) > -1
1875
+ (country) => lowerCaseOnlyCountries.includes(country.iso2)
1876
1876
  );
1877
1877
  } else if (excludeCountries.length) {
1878
1878
  const lowerCaseExcludeCountries = excludeCountries.map(
1879
1879
  (country) => country.toLowerCase()
1880
1880
  );
1881
1881
  this.countries = data_default.filter(
1882
- (country) => lowerCaseExcludeCountries.indexOf(country.iso2) === -1
1882
+ (country) => !lowerCaseExcludeCountries.includes(country.iso2)
1883
1883
  );
1884
1884
  } else {
1885
1885
  this.countries = data_default;
@@ -3164,7 +3164,7 @@ var intlTelInput = Object.assign(
3164
3164
  attachUtils,
3165
3165
  startedLoadingUtilsScript: false,
3166
3166
  startedLoadingAutoCountry: false,
3167
- version: "25.2.0"
3167
+ version: "25.3.0"
3168
3168
  }
3169
3169
  );
3170
3170
  var intl_tel_input_default = intlTelInput;
@@ -1691,7 +1691,7 @@ var isRegionlessNanp = (number) => {
1691
1691
  const numeric = getNumeric(number);
1692
1692
  if (numeric.charAt(0) === "1") {
1693
1693
  const areaCode = numeric.substr(1, 3);
1694
- return regionlessNanpNumbers.indexOf(areaCode) !== -1;
1694
+ return regionlessNanpNumbers.includes(areaCode);
1695
1695
  }
1696
1696
  return false;
1697
1697
  };
@@ -1836,14 +1836,14 @@ var Iti = class {
1836
1836
  (country) => country.toLowerCase()
1837
1837
  );
1838
1838
  this.countries = data_default.filter(
1839
- (country) => lowerCaseOnlyCountries.indexOf(country.iso2) > -1
1839
+ (country) => lowerCaseOnlyCountries.includes(country.iso2)
1840
1840
  );
1841
1841
  } else if (excludeCountries.length) {
1842
1842
  const lowerCaseExcludeCountries = excludeCountries.map(
1843
1843
  (country) => country.toLowerCase()
1844
1844
  );
1845
1845
  this.countries = data_default.filter(
1846
- (country) => lowerCaseExcludeCountries.indexOf(country.iso2) === -1
1846
+ (country) => !lowerCaseExcludeCountries.includes(country.iso2)
1847
1847
  );
1848
1848
  } else {
1849
1849
  this.countries = data_default;
@@ -3128,7 +3128,7 @@ var intlTelInput = Object.assign(
3128
3128
  attachUtils,
3129
3129
  startedLoadingUtilsScript: false,
3130
3130
  startedLoadingAutoCountry: false,
3131
- version: "25.2.0"
3131
+ version: "25.3.0"
3132
3132
  }
3133
3133
  );
3134
3134
  var intl_tel_input_default = intlTelInput;