Socket
Socket
Sign inDemoInstall

conventional-commits-parser

Package Overview
Dependencies
79
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.1 to 3.2.2

7

CHANGELOG.md

@@ -40,2 +40,9 @@ # Change Log

### [3.2.2](https://www.github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser-v3.2.1...conventional-commits-parser-v3.2.2) (2021-09-09)
### Bug Fixes
* **conventional-commits-parser:** address CVE-2021-23425 ([#841](https://www.github.com/conventional-changelog/conventional-changelog/issues/841)) ([02b3d53](https://www.github.com/conventional-changelog/conventional-changelog/commit/02b3d53a0c142f0c28ee7d190d210c76a62887c2))
### [3.2.1](https://www.github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.2.0...v3.2.1) (2021-02-15)

@@ -42,0 +49,0 @@

5

lib/parser.js
'use strict'
const trimOffNewlines = require('trim-off-newlines')
const _ = require('lodash')

@@ -8,2 +7,6 @@

function trimOffNewlines (input) {
return input.replace(/^(?:\r|\n)+|(?:\r|\n)+$/g, '')
}
function append (src, line) {

@@ -10,0 +13,0 @@ if (src) {

7

package.json
{
"name": "conventional-commits-parser",
"version": "3.2.1",
"version": "3.2.2",
"description": "Parse raw conventional commits",

@@ -36,9 +36,8 @@ "bugs": {

"dependencies": {
"is-text-path": "^1.0.1",
"JSONStream": "^1.0.4",
"is-text-path": "^1.0.1",
"lodash": "^4.17.15",
"meow": "^8.0.0",
"split2": "^3.0.0",
"through2": "^4.0.0",
"trim-off-newlines": "^1.0.0"
"through2": "^4.0.0"
},

@@ -45,0 +44,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc