Skip to content

Commit 04b8b0a

Browse files
committed
12.2.0
1 parent e8107af commit 04b8b0a

File tree

7 files changed

+19
-6
lines changed

7 files changed

+19
-6
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
#### 12.2.0
2+
3+
- Support CSS Colors Level 4 spec
4+
([#1233](https://github.com/chriso/validator.js/pull/1233))
5+
- Improve the `toFloat()` sanitizer
6+
([#1227](https://github.com/chriso/validator.js/pull/1227))
7+
- New and improved locales
8+
([#1200](https://github.com/chriso/validator.js/pull/1200),
9+
[#1207](https://github.com/chriso/validator.js/pull/1207),
10+
[#1213](https://github.com/chriso/validator.js/pull/1213),
11+
[#1217](https://github.com/chriso/validator.js/pull/1217),
12+
[#1234](https://github.com/chriso/validator.js/pull/1234))
13+
114
#### 12.1.0
215

316
- ES module for webpack tree shaking

es/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ import blacklist from './lib/blacklist';
7474
import isWhitelisted from './lib/isWhitelisted';
7575
import normalizeEmail from './lib/normalizeEmail';
7676
import isSlug from './lib/isSlug';
77-
var version = '12.1.0';
77+
var version = '12.2.0';
7878
var validator = {
7979
version: version,
8080
toDate: toDate,

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
165165

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

168-
var version = '12.1.0';
168+
var version = '12.2.0';
169169
var validator = {
170170
version: version,
171171
toDate: _toDate.default,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "validator",
33
"description": "String validation and sanitization",
4-
"version": "12.1.0",
4+
"version": "12.2.0",
55
"sideEffects": false,
66
"homepage": "https://github.com/chriso/validator.js",
77
"files": [

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ import normalizeEmail from './lib/normalizeEmail';
100100

101101
import isSlug from './lib/isSlug';
102102

103-
const version = '12.1.0';
103+
const version = '12.2.0';
104104

105105
const validator = {
106106
version,

validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2116,7 +2116,7 @@ function isSlug(str) {
21162116
return charsetRegex.test(str);
21172117
}
21182118

2119-
var version = '12.1.0';
2119+
var version = '12.2.0';
21202120
var validator = {
21212121
version: version,
21222122
toDate: toDate,

validator.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)