Comparing version 0.4.1 to 0.5.0
{ | ||
"name": "ssb-git", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "logic for working with git-ssb repos", | ||
@@ -5,0 +5,0 @@ "author": "Charles Lehner (http://celehner.com/)", |
# ssb-git | ||
Utility functions for [git-ssb][]. | ||
Functions for working with [git-ssb][] messages. | ||
## API | ||
``` | ||
var ssbGit = require('ssb-git') | ||
``` | ||
### `mergeUpdates` | ||
``` | ||
var mergeUpdates = require('ssb-git/merge') | ||
var mergeUpdates = ssbGit.merge | ||
var KVGraph = require('kvgraph') | ||
@@ -30,2 +34,11 @@ ``` | ||
### `linearize` | ||
``` | ||
var linearize = ssbGit.linearize | ||
``` | ||
Use this with [kvgraph][]'s reduceLeft function to get an array of the updates | ||
to a repo. | ||
## License | ||
@@ -32,0 +45,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
6
346
55
0
10758