@commitlint/to-lines
Advanced tools
Comparing version 8.0.0 to 8.1.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15) | ||
**Note:** Version bump only for package @commitlint/to-lines | ||
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06) | ||
@@ -8,0 +16,0 @@ |
@@ -1,15 +0,10 @@ | ||
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = toLines; | ||
"use strict"; | ||
exports.__esModule = true; | ||
function toLines(input) { | ||
if (typeof input !== 'string') { | ||
return []; | ||
} | ||
return input.split(/(?:\r?\n)/); | ||
if (typeof input !== 'string') { | ||
return []; | ||
} | ||
return input.split(/(?:\r?\n)/); | ||
} | ||
module.exports = exports['default']; | ||
exports["default"] = toLines; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@commitlint/to-lines", | ||
"version": "8.0.0", | ||
"version": "8.1.0", | ||
"description": "Lint your commit messages", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"files": [ | ||
@@ -10,28 +11,5 @@ "lib/" | ||
"scripts": { | ||
"build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", | ||
"deps": "dep-check", | ||
"pkg": "pkg-check", | ||
"start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", | ||
"test": "ava -c 4 --verbose", | ||
"watch": "babel src --out-dir lib --watch --source-maps" | ||
"pkg": "pkg-check" | ||
}, | ||
"ava": { | ||
"files": [ | ||
"src/**/*.test.js", | ||
"!lib/**/*" | ||
], | ||
"source": [ | ||
"src/**/*.js", | ||
"!lib/**/*" | ||
], | ||
"babel": "inherit", | ||
"require": [ | ||
"babel-register" | ||
] | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"babel-preset-commitlint" | ||
] | ||
}, | ||
"engines": { | ||
@@ -60,13 +38,6 @@ "node": ">=4" | ||
"devDependencies": { | ||
"@commitlint/parse": "^8.0.0", | ||
"@commitlint/test": "^8.0.0", | ||
"@commitlint/utils": "^8.0.0", | ||
"ava": "0.22.0", | ||
"babel-cli": "6.26.0", | ||
"babel-preset-commitlint": "^8.0.0", | ||
"babel-register": "6.26.0", | ||
"concurrently": "3.5.1", | ||
"cross-env": "5.1.1" | ||
"@commitlint/parse": "^8.1.0", | ||
"@commitlint/utils": "^8.1.0" | ||
}, | ||
"gitHead": "29d1cee10ee7734a85d97ef039c4ce2da633628c" | ||
"gitHead": "c17420d67adafdf37f68d6861d29a0e85a4a3bd7" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
5329
10
1