Skip to content

Commit

Permalink
11.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chriso committed May 23, 2019
1 parent 7c079b7 commit 90cc022
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 5 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
#### 11.0.0

- Added a `isBase32()` validator
([#1023](https://github.com/chriso/validator.js/pull/1023))
- Updated `isEmail()` to validate display names according to RFC2822
([#1004](https://github.com/chriso/validator.js/pull/1004))
- Updated `isEmail()` to check total email length
([#1007](https://github.com/chriso/validator.js/pull/1007))
- The internal `toString()` util is no longer exported
([0277eb](https://github.com/chriso/validator.js/commit/0277eb00d245a3479af52adf7d927d4036895650))
- New and improved locales
([#999](https://github.com/chriso/validator.js/pull/999),
[#1010](https://github.com/chriso/validator.js/pull/1010),
[#1017](https://github.com/chriso/validator.js/pull/1017),
[#1022](https://github.com/chriso/validator.js/pull/1022),
[#1031](https://github.com/chriso/validator.js/pull/1031),
[#1032](https://github.com/chriso/validator.js/pull/1032))

#### 10.11.0

- Fix imports like `import .. from "validator/lib/.."`
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var version = '10.11.0';
var version = '11.0.0';
var validator = {
version: version,
toDate: _toDate.default,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "validator",
"description": "String validation and sanitization",
"version": "10.11.0",
"version": "11.0.0",
"homepage": "https://github.com/chriso/validator.js",
"files": [
"index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ import isWhitelisted from './lib/isWhitelisted';

import normalizeEmail from './lib/normalizeEmail';

const version = '10.11.0';
const version = '11.0.0';

const validator = {
version,
Expand Down
2 changes: 1 addition & 1 deletion validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -1934,7 +1934,7 @@ function normalizeEmail(email, options) {
return parts.join('@');
}

var version = '10.11.0';
var version = '11.0.0';
var validator = {
version: version,
toDate: toDate,
Expand Down
2 changes: 1 addition & 1 deletion validator.min.js

Large diffs are not rendered by default.

0 comments on commit 90cc022

Please sign in to comment.