Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commitlint/to-lines

Package Overview
Dependencies
Maintainers
1
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 6.1.3 to 7.0.0

10

lib/index.test.js

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

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