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

git-rev-sync

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-rev-sync - npm Package Compare versions

Comparing version 1.11.0 to 1.11.1

2

package.json
{
"name": "git-rev-sync",
"version": "1.11.0",
"version": "1.11.1",
"author": "kurttheviking",

@@ -5,0 +5,0 @@ "bugs": {

@@ -36,6 +36,9 @@ git-rev-sync [![Build Status](https://travis-ci.org/kurttheviking/git-rev-sync-js.svg?branch=master)](https://travis-ci.org/kurttheviking/git-rev-sync-js)

#### `git.short([filePath])` → <String>
#### `git.short([filePath], [length])` → <String>
return the result of `git rev-parse --short HEAD`; optional `filePath` parameter can be used to run the command against a repo outside the current working directory
return the result of `git rev-parse --short HEAD`
- optional `filePath` parameter can be used to run the command against a repo outside the current working directory
- optional `length` parameter can be used to set the desired hash length (defaults to `7`)
#### `git.long([filePath])` → <String>

@@ -42,0 +45,0 @@

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