@commitlint/to-lines
Advanced tools
@@ -13,21 +13,21 @@ 'use strict'; | ||
| (0, _ava2.default)('should return an array for empty input', function (t) { | ||
| (0, _ava2.default)('should return an array for empty input', t => { | ||
| t.deepEqual((0, _2.default)(), []); | ||
| }); | ||
| (0, _ava2.default)('should return an array for null input', function (t) { | ||
| (0, _ava2.default)('should return an array for null input', t => { | ||
| t.deepEqual((0, _2.default)(null), []); | ||
| }); | ||
| (0, _ava2.default)('should return an array for empty string input', function (t) { | ||
| (0, _ava2.default)('should return an array for empty string input', t => { | ||
| t.deepEqual((0, _2.default)(''), ['']); | ||
| }); | ||
| (0, _ava2.default)('should split LF newlines', function (t) { | ||
| (0, _ava2.default)('should split LF newlines', t => { | ||
| t.deepEqual((0, _2.default)('some\nweird\ntext'), ['some', 'weird', 'text']); | ||
| }); | ||
| (0, _ava2.default)('should split CR+LF newlines', function (t) { | ||
| (0, _ava2.default)('should split CR+LF newlines', t => { | ||
| t.deepEqual((0, _2.default)('some\r\nweird\r\ntext'), ['some', 'weird', 'text']); | ||
| }); | ||
| //# sourceMappingURL=index.test.js.map |
+5
-5
| { | ||
| "name": "@commitlint/to-lines", | ||
| "version": "6.1.3", | ||
| "version": "7.0.0", | ||
| "description": "Lint your commit messages", | ||
@@ -62,8 +62,8 @@ "main": "lib/index.js", | ||
| "devDependencies": { | ||
| "@commitlint/parse": "^6.1.3", | ||
| "@commitlint/test": "^6.1.3", | ||
| "@commitlint/utils": "^6.1.3", | ||
| "@commitlint/parse": "^7.0.0", | ||
| "@commitlint/test": "^7.0.0", | ||
| "@commitlint/utils": "^7.0.0", | ||
| "ava": "0.22.0", | ||
| "babel-cli": "6.26.0", | ||
| "babel-preset-commitlint": "^6.1.3", | ||
| "babel-preset-commitlint": "^7.0.0", | ||
| "babel-register": "6.26.0", | ||
@@ -70,0 +70,0 @@ "concurrently": "3.5.1", |
Sorry, the diff of this file is not supported yet
5778
-0.6%