Packages

simple-git

4.1.0 · 16 Nov 2026MIT15.5M / weekRepositorynpmAtom feed

Your version

2.9.0

20 Jun 2020Where it was published

2.48.0 is the newest release of 2.x.

In short

4 changed

Security

8 advisories affect 2.9.0; 3.36.0 fixes the others

3 more

Release note

The section about simple-git of a note shared by several packages.

2.9.0 - checkIsRepo, rev-parse

  • .checkIsRepo() updated to allow choosing the type of check to run, either by using the exported CheckRepoActions enum
    or the text equivalents ('bare', 'root' or 'tree'):

    • checkIsRepo(CheckRepoActions.BARE): Promise<boolean> determines whether the working directory represents a bare repo.

    • checkIsRepo(CheckRepoActions.IS_REPO_ROOT): Promise<boolean> determines whether the working directory is at the root of a repo.

    • checkIsRepo(CheckRepoActions.IN_TREE): Promise<boolean> determines whether the working directory is a descendent of a git root.

  • .revparse() converted to a new style task

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.