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

last-commit-log

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

last-commit-log - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

6

index.js

@@ -18,3 +18,3 @@ 'use strict'

]
const splitCharacter = `<#__last-commit-log__#>`
const splitCharacter = '<#__last-commit-log__#>'
const command = 'git log -1 --pretty=format:"' + prettyFormat.join(splitCharacter) + '"'

@@ -93,3 +93,5 @@

const branchRP = revParseBranch.trim()
const branchNR = nameRevBranch.trim().replace('remotes/origin/', '')
const branchNR = nameRevBranch.trim()
.replace('remotes/origin/', '')
.replace(/~\d+$/, '') // in case 'develop~1'
const branchGL = gitLogBranch.split(',')

@@ -96,0 +98,0 @@ .filter(i => i.includes('origin/'))

{
"name": "last-commit-log",
"version": "1.0.9",
"version": "1.0.10",
"description": "read git last commit log",
"main": "index.js",
"scripts": {
"prune": "npm prune",
"lint": "eslint . --fix",

@@ -13,3 +12,3 @@ "test": "npm run lint && nyc --reporter=lcov --reporter=text mocha",

"files": [
"src"
"index.js"
],

@@ -16,0 +15,0 @@ "repository": {

@@ -7,3 +7,3 @@ # last-commit-log

[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Test coverage][codecov-image]][codecov-url]
[![node version][node-image]][node-url]

@@ -16,4 +16,4 @@ [![npm download][download-image]][download-url]

[travis-url]: https://travis-ci.org/macacajs/last-commit-log
[coveralls-image]: https://img.shields.io/coveralls/macacajs/last-commit-log.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/macacajs/last-commit-log?branch=master
[codecov-image]: https://img.shields.io/codecov/c/github/macacajs/last-commit-log.svg?style=flat-square
[codecov-url]: https://codecov.io/gh/macacajs/last-commit-log/branch/master
[node-image]: https://img.shields.io/badge/node.js-%3E=_8-green.svg?style=flat-square

@@ -20,0 +20,0 @@ [node-url]: http://nodejs.org/download/

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