Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

country-region-data

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-region-data - npm Package Compare versions

Comparing version 1.3.4 to 1.3.6

data.js

16

gruntfile.js
var _ = require('underscore');
var libumd = require('libumd');
var findDuplicates = function (sourceArray, prop) {

@@ -77,5 +77,19 @@ var duplicates = [];

function umdify () {
var content = getJSON(grunt);
var output = libumd("return " + JSON.stringify(content, null, 2) + ";", {
globalAlias: "countryRegionData",
indent: 2
});
grunt.file.write("data.js", output);
console.log('Successfully made a UMD module!');
}
grunt.registerTask("default", ['validate']);
grunt.registerTask("validate", validate);
grunt.registerTask("findIncomplete", findIncomplete);
grunt.registerTask("umdify", umdify);
};

2

LICENSE.txt
The MIT License (MIT)
Copyright (c) 2016 Benjamin Keen
Copyright (c) 2017 Benjamin Keen

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "country-region-data",
"version": "1.3.4",
"version": "1.3.6",
"description": "List of countries, regions, and their shortcodes.",

@@ -26,4 +26,5 @@ "main": "data.json",

"grunt": "^1.0.1",
"libumd": "^0.7.0",
"underscore": "^1.8.3"
}
}

@@ -63,2 +63,4 @@ ## country-region-data

- `1.3.6` - July 5, 2017. JS version added of the json file (thanks [jayeb!](https://github.com/jayeb)!). Minor bug fixes.
- `1.3.5` - Apr 20, 2017. Misc updates. Thanks all!
- `1.3.4` - Dec 31, 2016. Mexico region update - thanks [richi3f](https://github.com/richi3f)!

@@ -65,0 +67,0 @@ - `1.3.3` - Dec 22, 2016. French region fix - thanks [JMartelot](https://github.com/JMartelot)!

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc