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

nodegit

Package Overview
Dependencies
Maintainers
6
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodegit - npm Package Versions

1
16

0.10.0

Diff

Changelog

Source

<a name="v0-10-0" href="#v0-10-0">v0.10.0</a> (2016-02-01)

Full Changelog

  • Clean mutexes are part of GC. No longer leaves processes running after the script ends PR #880
  • Increased the performance of ConvenientPatch by an order of magnitude PR #883

API changes

  • ConvenientPatch
    • ConvenientPatch does not have a patch or a delta property associated with it, if you were using the delta, please just use prototype methods oldFile, newFile, and Status, which are stripped directly from the delta.
    • ConvenientPatch#hunks returns a promise with an array of ConvenientHunks.
  • ConvenientHunk
    • ConvenientHunk does not have an exposed diffHunk associated with it, but does have the same members as diffHunk:
      • size() : number of lines in the hunk
      • oldStart() : old starting position
      • oldLines() : number of lines in old file
      • newStart() : new starting position
      • newLines() : number of lines in new file
      • headerLen() : length of header
      • header() : returns the header of the hunk
      • lines() : returns a promise containing DiffLines, not ConvenientLines.
  • DiffLine
  • DiffLine now contains the members rawContent() and content().
    • rawContent() contains the unformatted content of the line. This is no longer a string from the line to the end of the file.
    • content() contains the utf8 formatted content of the line.
johnhaley81
published 0.9.0 •

Changelog

Source

<a name="v0-9-0" href="#v0-9-0">v0.9.0</a> (2016-01-21)

Full Changelog

  • Thread safe fix to stop crashing on releasing mutexes PR #876
  • Submodule#setIgnore, Submodule#setUpdate, and Submodule#setUrl are now all async. Submodule#status and Submodule#location are now available PR #867 and PR #870
  • Remote#defaultBranch is now available PR #872
  • Repository#mergeBranches now takes in a MergeOptions parameter PR #873
  • Remove a NodeGit specific hack to make Index#addAll faster since that is fixed in libgit2 PR #875)
johnhaley81
published 0.8.0 •

Changelog

Source

<a name="v0-8-0" href="#v0-8-0">v0.8.0</a> (2016-01-15)

Full Changelog

  • Thread safe locking has been added and currently is defaulted to off. Use NodeGit.enableThreadSafety() to turn on
  • NodeGit no longer requires a specific Promise object from the nodegit-promise library to be passed in. You can now use whatever you want!
  • Repository#stageFilemode now can accept an array of strings for files to update
  • Submodule#addToIndex, Submodule#addFinalize, Submodule#init, Submodule#open, Submodule#sync, and Submodule#update are now all async methodss
johnhaley81
published 0.7.0 •

Changelog

Source

<a name="v0-7-0" href="#v0-7-0">v0.7.0</a> (2016-01-08)

Full Changelog

  • Bumped openssl to 1.0.2e to fix issues with prebuilts on linux platforms
  • Fixed a bug with GIT_ITER_OVER breaking rebase and other iterative methods
  • Make GraphDescendentOf asynchronous
  • Fixed line length of utf8 stringss
johnhaley81
published 0.6.3 •

Changelog

Source

<a name="v0-6-3" href="#v0-6-3">v0.6.3</a> (2015-12-16)

Full Changelog

  • Fixed a bug where manually building for vanilla node would fail without explicitly setting the target
maxkorp
published 0.6.2 •

Changelog

Source

<a name="v0-6-2" href="#v0-6-2">v0.6.2</a> (2015-12-16)

Full Changelog

  • Fixed a bug where manually building on windows would fail (if unable to download a prebuilt binary)
maxkorp
published 0.0.103 •

maxkorp
published 0.0.102 •

maxkorp
published 0.0.101 •

maxkorp
published 0.6.1 •

Changelog

Source

<a name="v0-6-1" href="#v0-6-1">v0.6.1</a> (2015-12-14)

Full Changelog

  • Fixed Treebuilder.create to have an optional source
  • Added Repository.getSubmoduleNames
  • Added Submodule.Foreach
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