Skip to content

Commit

Permalink
12.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chriso committed Jan 25, 2020
1 parent e8107af commit 04b8b0a
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,16 @@
#### 12.2.0

- Support CSS Colors Level 4 spec
([#1233](https://github.com/chriso/validator.js/pull/1233))
- Improve the `toFloat()` sanitizer
([#1227](https://github.com/chriso/validator.js/pull/1227))
- New and improved locales
([#1200](https://github.com/chriso/validator.js/pull/1200),
[#1207](https://github.com/chriso/validator.js/pull/1207),
[#1213](https://github.com/chriso/validator.js/pull/1213),
[#1217](https://github.com/chriso/validator.js/pull/1217),
[#1234](https://github.com/chriso/validator.js/pull/1234))

#### 12.1.0

- ES module for webpack tree shaking
Expand Down
2 changes: 1 addition & 1 deletion es/index.js
Expand Up @@ -74,7 +74,7 @@ import blacklist from './lib/blacklist';
import isWhitelisted from './lib/isWhitelisted';
import normalizeEmail from './lib/normalizeEmail';
import isSlug from './lib/isSlug';
var version = '12.1.0';
var version = '12.2.0';
var validator = {
version: version,
toDate: toDate,
Expand Down
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -165,7 +165,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;

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

var version = '12.1.0';
var version = '12.2.0';
var validator = {
version: version,
toDate: _toDate.default,
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "validator",
"description": "String validation and sanitization",
"version": "12.1.0",
"version": "12.2.0",
"sideEffects": false,
"homepage": "https://github.com/chriso/validator.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -100,7 +100,7 @@ import normalizeEmail from './lib/normalizeEmail';

import isSlug from './lib/isSlug';

const version = '12.1.0';
const version = '12.2.0';

const validator = {
version,
Expand Down
2 changes: 1 addition & 1 deletion validator.js
Expand Up @@ -2116,7 +2116,7 @@ function isSlug(str) {
return charsetRegex.test(str);
}

var version = '12.1.0';
var version = '12.2.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 04b8b0a

Please sign in to comment.