Socket
Socket
Sign inDemoInstall

@commitlint/to-lines

Package Overview
Dependencies
Maintainers
4
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/to-lines - npm Package Compare versions

Comparing version 8.0.0 to 8.1.0

lib/index.d.ts

8

CHANGELOG.md

@@ -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 @@

19

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc