New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

git-authors-cli

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-authors-cli - npm Package Compare versions

Comparing version 1.0.51 to 1.0.52

15

bin/index.js

@@ -135,7 +135,2 @@ #!/usr/bin/env node

.filter(({ name }) => !REGEX_BOT_NAMES.test(name))
.filter(({ email }) =>
isString(pkgAuthor)
? !new RegExp(pkgAuthor, 'i').test(email)
: !isSameEmail(pkgAuthor.email, email)
)
.filter(({ email }) => emailRegex().test(email))

@@ -154,3 +149,3 @@ .filter(({ author }) => !(ignorePatternReg && ignorePatternReg.test(author)))

if (print) {
(print === 'verbose' ? renderContributorsVerbose : renderContributors)(
;(print === 'verbose' ? renderContributorsVerbose : renderContributors)(
contributors,

@@ -163,3 +158,9 @@ maxIndent

if (pkg && save) {
const newContributors = contributors.map(({ author }) => author)
const newContributors = contributors
.filter(({ email }) =>
isString(pkgAuthor)
? !new RegExp(pkgAuthor, 'i').test(email)
: !isSameEmail(pkgAuthor.email, email)
)
.map(({ author }) => author)
const newPkg = { ...pkg, contributors: newContributors }

@@ -166,0 +167,0 @@ await jsonFuture.saveAsync(pkgPath, newPkg)

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/Kikobeats/git-authors-cli",
"version": "1.0.51",
"version": "1.0.52",
"bin": {

@@ -8,0 +8,0 @@ "git-authors": "bin/index.js",

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