Skip to content

Commit

Permalink
Update the changelog and min version
Browse files Browse the repository at this point in the history
  • Loading branch information
chriso committed Jul 31, 2018
1 parent 06d94fd commit f0151fa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
([#801](https://github.com/chriso/validator.js/pull/801),
[#856](https://github.com/chriso/validator.js/pull/856),
[#861](https://github.com/chriso/validator.js/pull/861),
[#862](https://github.com/chriso/validator.js/pull/862),
[#863](https://github.com/chriso/validator.js/pull/863),
[#864](https://github.com/chriso/validator.js/pull/864),
[#870](https://github.com/chriso/validator.js/pull/870),
[#872](https://github.com/chriso/validator.js/pull/872))

Expand Down
2 changes: 1 addition & 1 deletion src/lib/alpha.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ decimal['pt-BR'] = decimal['pt-PT'];
// see #862
alpha['pl-Pl'] = alpha['pl-PL'];
alphanumeric['pl-Pl'] = alphanumeric['pl-PL'];
decimal['pl-Pl'] = decimal['pl-PL'];
decimal['pl-Pl'] = decimal['pl-PL'];
4 changes: 2 additions & 2 deletions validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,12 +597,12 @@ for (var _i3 = 0; _i3 < commaDecimal.length; _i3++) {
alpha['pt-BR'] = alpha['pt-PT'];
alphanumeric['pt-BR'] = alphanumeric['pt-PT'];
decimal['pt-BR'] = decimal['pt-PT'];

// see #862
alpha['pl-Pl'] = alpha['pl-PL'];
alphanumeric['pl-Pl'] = alphanumeric['pl-PL'];
decimal['pl-Pl'] = decimal['pl-PL'];

function isAlpha(str) {
var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en-US';

Expand Down

0 comments on commit f0151fa

Please sign in to comment.