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

git-authors-cli

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

git-authors-cli - npm Package Compare versions

Comparing version 1.0.46 to 1.0.47

7

bin/index.js

@@ -5,3 +5,2 @@ #!/usr/bin/env node

const emailRegex = require('email-regex')
const existsFile = require('exists-file')
const jsonFuture = require('json-future')

@@ -12,2 +11,3 @@ const colors = require('picocolors')

const mri = require('mri')
const fs = require('fs')

@@ -86,3 +86,3 @@ const BOT_NAMES = ['ImgBotApp', 'greenkeeper', 'noreply', '\\bbot\\b', 'Travis CI']

const getContributors = async () => {
if (!(await existsFile('.git'))) {
if (!fs.existsSync('.git')) {
return processError({

@@ -95,4 +95,3 @@ message: 'Ops, not git directory detected!'

const pkgPath = path.join(cwd, 'package.json')
const cmd = 'git shortlog -sne HEAD'
const { stdout, stderr } = await execa.command(cmd, {
const { stdout, stderr } = await execa.command('git shortlog -sne HEAD', {
cwd,

@@ -99,0 +98,0 @@ shell: true,

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

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

@@ -55,4 +55,3 @@ "git-authors": "bin/index.js",

"email-regex": "~4.0.0",
"execa": "~5.1.0",
"exists-file": "~3.0.2",
"execa": "~5.1.1",
"json-future": "~2.2.18",

@@ -65,2 +64,3 @@ "mri": "~1.2.0",

"@commitlint/config-conventional": "latest",
"@ksmithut/prettier-standard": "latest",
"c8": "latest",

@@ -72,3 +72,2 @@ "ci-publish": "latest",

"npm-check-updates": "latest",
"prettier-standard": "latest",
"simple-git-hooks": "latest",

@@ -108,4 +107,5 @@ "standard": "latest",

"nano-staged": {
"*.js,!*.min.js,": [
"prettier-standard"
"*.js": [
"prettier-standard",
"standard --fix"
],

@@ -112,0 +112,0 @@ "*.md": [

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