Socket
Socket
Sign inDemoInstall

conventional-commits-filter

Package Overview
Dependencies
Maintainers
8
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-commits-filter - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [2.0.7](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-filter@2.0.6...conventional-commits-filter@2.0.7) (2020-11-05)
**Note:** Version bump only for package conventional-commits-filter
## [2.0.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-filter@2.0.2...conventional-commits-filter@2.0.6) (2020-05-08)

@@ -8,0 +16,0 @@

14

index.js
'use strict'
var isMatch = require('lodash.ismatch')
var modifyValues = require('modify-values')
const isMatch = require('lodash.ismatch')
const modifyValues = require('modify-values')

@@ -19,5 +19,5 @@ function modifyValue (val) {

var ret = []
var ignores = []
var remove = []
let ret = []
const ignores = []
const remove = []
commits.forEach(function (commit) {

@@ -33,3 +33,3 @@ if (commit.revert) {

ret = ret.filter(function (commit) {
var ignoreThis = false
let ignoreThis = false

@@ -39,3 +39,3 @@ commit = commit.raw ? modifyValues(commit.raw, modifyValue) : modifyValues(commit, modifyValue)

ignores.some(function (ignoreCommit) {
var ignore = modifyValues(ignoreCommit.revert, modifyValue)
const ignore = modifyValues(ignoreCommit.revert, modifyValue)

@@ -42,0 +42,0 @@ ignoreThis = isMatch(commit, ignore)

{
"name": "conventional-commits-filter",
"version": "2.0.6",
"version": "2.0.7",
"description": "Filter out reverted commits parsed by conventional-commits-parser",

@@ -38,3 +38,3 @@ "bugs": {

"license": "MIT",
"gitHead": "83643c5a0d2c4d7c9ba14cbf990ffbc577a51e8c"
"gitHead": "cc567b98facf71315f4b1620d81ce01d155efaca"
}
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