country-region-data
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -55,2 +55,6 @@ var _ = require('underscore'); | ||
} | ||
var duplicateRegionShortCodes = findDuplicates(countryData.regions, 'shortCode'); | ||
if (duplicateRegionShortCodes.length > 0) { | ||
grunt.fail.fatal('The region names for ' + countryData.countryName + ' are not unique - duplicates: ' + duplicateRegionShortCodes); | ||
} | ||
}); | ||
@@ -57,0 +61,0 @@ console.log("PASS!"); |
{ | ||
"name": "country-region-data", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "List of countries, regions, and their shortcodes.", | ||
@@ -29,6 +29,3 @@ "main": "data.json", | ||
"underscore": "^1.8.3" | ||
}, | ||
"dependencies": { | ||
"package-lock.json": "^1.0.0" | ||
} | ||
} |
@@ -71,2 +71,13 @@ # country-region-data | ||
Note that this repo does _not_ use semantic versioning. I realize that's pretty non-standard, but every change | ||
to this repo is a dataset change which is technically backward incompatible. So although we could be bumping | ||
the major version with each release, I think that that would be more problematic: apps can no longer use the `~` and | ||
`^` chars in their package.json files to get the latest content so updates would be manual and frequent. If people | ||
disagree about this let me know. | ||
- `1.7.0` - Nov 20, 2020. Data updates: France, Norway, Mali, Croatia, Paraguau, Taiwan, Kosovo, Morocco. | ||
Thanks [mohouyizme](https://github.com/mohouyizme), [fabrice102](https://github.com/fabrice102), | ||
[nicoepp](https://github.com/nicoepp), [sc0Vu](https://github.com/sc0Vu), [ibravoh149](https://github.com/ibravoh149) and | ||
[EPRenaud](https://github.com/EPRenaud) | ||
- `1.6.0` - Mar 28, 2020. Data updates. Spain data updated. Thanks [gui64](https://github.com/gui64). | ||
- `1.5.1` - Nov 14, 2019. Data updates. Polish and UK data updated. Thanks [nguyennghi3489](https://github.com/nguyennghi3489). | ||
@@ -73,0 +84,0 @@ - `1.5.0` - Sept 22, 2019. Data updates. All versions changes on github will now be listed in milestones. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
825545
0
38222
110
- Removedpackage-lock.json@^1.0.0
- Removedpackage-lock.json@1.0.0(transitive)