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

ssb-git-repo

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-git-repo - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

16

lib/repo.js

@@ -784,2 +784,9 @@ var pull = require('pull-stream')

Repo.prototype.getPack = function (wants, haves, cb) {
// ensure our id is present
if (!this.sbot.id) return this.sbot.whoami(function (err, feed) {
if (err) return cb(err)
this.sbot.id = feed.id
this.getPack(wants, haves, cb)
}.bind(this))
// construct a packfile containing all objects needed to update from haves to

@@ -817,3 +824,10 @@ // wants. instead of walking the commit graph, walk the ssb msg graph.

msg = repo._msgsByObject[sha1]
if (msg) haveMsgs[msg.key] = true
if (msg) {
// don't let own messages interfere. we may have content that we pushed
// which links to other content that we don't have,
// if we pushed something without fetching first.
if (msg.value.author !== this.sbot.id) {
haveMsgs[msg.key] = true
}
}
}

@@ -820,0 +834,0 @@

13

package.json
{
"name": "ssb-git-repo",
"version": "2.3.0",
"version": "2.3.1",
"description": "git repos in secure-scuttlebutt",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "git://github.com/clehner/ssb-git-repo"
"url": "https://git-ssb.celehner.com/%25xChSOex77EjNh%2BoS8LPLdq%2B4nK1gylButbAgjS1IINs%3D.sha256"
},

@@ -21,5 +21,4 @@ "keywords": [

"license": "Fair",
"bugs": {
"url": "https://github.com/clehner/ssb-git-repo/issues"
},
"homepage": "https://git-ssb.celehner.com/%25xChSOex77EjNh%2BoS8LPLdq%2B4nK1gylButbAgjS1IINs%3D.sha256",
"bugs": "https://git-ssb.celehner.com/%25xChSOex77EjNh%2BoS8LPLdq%2B4nK1gylButbAgjS1IINs%3D.sha256/issues",
"dependencies": {

@@ -34,3 +33,3 @@ "kvgraph": "^0.1.0",

"pull-hash": "^1.0.0",
"pull-stream": "^3.1.0",
"pull-stream": "^3.4.5",
"ssb-mentions": "^0.1.0",

@@ -43,3 +42,3 @@ "ssb-pull-requests": "^0.2.0",

"abstract-pull-git-repo": "^0.4.1",
"scuttlebot": "^8.7.2",
"scuttlebot": "^9.0.2",
"ssb-blobs": "^0.1.6",

@@ -46,0 +45,0 @@ "ssb-keys": "^6.1.1",

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