Socket
Socket
Sign inDemoInstall

@commitlint/read

Package Overview
Dependencies
Maintainers
4
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/read - npm Package Compare versions

Comparing version 19.2.0 to 19.2.1

10

lib/read.js

@@ -12,8 +12,12 @@ import minimist from 'minimist';

if (last) {
const executeGitCommand = await execa('git', [
const gitCommandResult = await execa('git', [
'log',
'-1',
'--pretty=format:"%B"',
'--pretty=format:%B',
]);
return [executeGitCommand.stdout];
let output = gitCommandResult.stdout;
// strip output of extra quotation marks ("")
if (output[0] == '"' && output[output.length - 1] == '"')
output = output.slice(1, -1);
return [output];
}

@@ -20,0 +24,0 @@ let gitOptions = { from, to };

{
"name": "@commitlint/read",
"type": "module",
"version": "19.2.0",
"version": "19.2.1",
"description": "Read commit messages from a specified range or last edit",

@@ -51,3 +51,3 @@ "main": "lib/read.js",

},
"gitHead": "a64b417b58b3b1e89f07ff529a29a4af223e9369"
"gitHead": "172cb52844cdb0dd1af5a47f0101c48320d90500"
}

Sorry, the diff of this file is not supported yet

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