Skip to content

Commit

Permalink
Release v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sarcadass committed Jun 13, 2021
1 parent 8214b30 commit f67cb5a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## v4.0.0

### Features
- Update `KR` zipcode regex [@rpaasche](https://github.com/rpaasche)

### Miscellaneous
- Update dev dependencies


## v3.1.0

### Features
Expand Down
9 changes: 4 additions & 5 deletions dist/i18n-zipcodes.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! i18n-zipcodes v3.1.0 - https://github.com/sarcadass/i18n-zipcodes */
/*! i18n-zipcodes v4.0.0 - https://github.com/sarcadass/i18n-zipcodes */
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
'use strict';

Expand Down Expand Up @@ -68,7 +68,6 @@ module.exports = {
ge: /^((\d{4})|(\d{6}))$/,
ie: /^(?:^[AC-FHKNPRTV-Y][0-9]{2}|D6W)[ -]?[0-9AC-FHKNPRTV-Y]{4}$/,
jp: /^\d{3}(-\d{4})?$/,
kr: /^\d{3}-\d{3}$/,
lv: /^([a-zA-Z]{2}-)?(\d{4})$/,
mv: /^\d{4,5}$/,
mt: /^[a-zA-Z]{3}\s\d{2,4}$/,
Expand All @@ -84,7 +83,7 @@ module.exports = {
countryCode: [
'is|mg'.split('|'),
'at|au|bd|be|bg|ch|cx|cy|dk|gl|gw|hu|li|lu|md|mk|mz|no|nz|ph|sd|si|tn|ve|xk|za'.split('|'),
'as|ba|cu|de|dz|ee|es|fi|fm|gf|gp|gt|gu|hr|ic|id|il|it|ke|kw|lt|ma|me|mh|mm|mp|mq|mx|my|pk|pm|pr|ps|pw|re|sa|sm|th|tr|ua|uy|vi|vn|yu|zm'.split('|'),
'as|ba|cu|de|dz|ee|es|fi|fm|gf|gp|gt|gu|hr|ic|id|il|it|ke|kr|kw|lt|ma|me|mh|mm|mp|mq|mx|my|pk|pm|pr|ps|pw|re|sa|sm|th|tr|ua|uy|vi|vn|yu|zm'.split('|'),
'am|az|bj|by|cn|co|in|kg|kz|mn|ro|rs|ru|sg|tj|tm|uz'.split('|'),
'cz|gr|se|sk'.split('|')
],
Expand All @@ -99,10 +98,10 @@ module.exports = {
};

},{}],3:[function(require,module,exports){
(function (global){
(function (global){(function (){
var i18nZipcodes = require('./lib/i18n-zipcodes.js');

global.window.i18nZipcodes = i18nZipcodes;

}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"./lib/i18n-zipcodes.js":1}]},{},[3]);
4 changes: 2 additions & 2 deletions dist/i18n-zipcodes.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "i18n-zipcodes",
"version": "3.1.0",
"version": "4.0.0",
"description": "International zipcodes validator based on Regex for Node.js and the browser.",
"keywords": [
"i18n",
Expand Down

0 comments on commit f67cb5a

Please sign in to comment.