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

@types/git-rev-sync

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/git-rev-sync - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

git-rev-sync/index.d.ts

@@ -1,7 +0,1 @@

// Type definitions for git-rev-sync 2.0
// Project: https://github.com/kurttheviking/git-rev-sync-js
// Definitions by: khoi-fish <https://github.com/khoi-fish>
// pkuczynski <https://github.com/pkuczynski>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function branch(filePath?: string): string;

@@ -8,0 +2,0 @@ export function count(): number;

15

git-rev-sync/package.json
{
"name": "@types/git-rev-sync",
"version": "2.0.0",
"version": "2.0.1",
"description": "TypeScript definitions for git-rev-sync",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-rev-sync",
"license": "MIT",

@@ -9,9 +10,9 @@ "contributors": [

"name": "khoi-fish",
"url": "https://github.com/khoi-fish",
"githubUsername": "khoi-fish"
"githubUsername": "khoi-fish",
"url": "https://github.com/khoi-fish"
},
{
"name": "pkuczynski",
"url": "https://github.com/pkuczynski",
"githubUsername": "pkuczynski"
"githubUsername": "pkuczynski",
"url": "https://github.com/pkuczynski"
}

@@ -28,4 +29,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "085b7b921ac77f70e4b6b2b3d9b9d20ea3edc173d3bd0adf7831c2f0f620ceba",
"typeScriptVersion": "2.9"
"typesPublisherContentHash": "7ba76283b633328a09c795c50476dc13dcbb499dd0a120e0a94482697c659ee1",
"typeScriptVersion": "4.5"
}

@@ -9,9 +9,24 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-rev-sync.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-rev-sync/index.d.ts)
````ts
export function branch(filePath?: string): string;
export function count(): number;
export function date(): Date;
export function hasUnstagedChanges(): boolean;
export function isDirty(): boolean;
export function isTagDirty(): boolean;
export function long(filePath?: string): string;
export function message(): string;
export function remoteUrl(): string;
export function short(filePath?: string, length?: number): string;
export function tag(makeDirty?: boolean): string;
export function tagFirstParent(makeDirty?: boolean): string;
````
### Additional Details
* Last updated: Tue, 12 May 2020 18:45:50 GMT
* Last updated: Wed, 18 Oct 2023 01:17:35 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by [khoi-fish](https://github.com/khoi-fish), and [pkuczynski](https://github.com/pkuczynski).
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