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 1.5.1 to 1.5.2

4

index.js

@@ -21,5 +21,3 @@ var ref = require('ssb-ref')

var repo = new Repo(sbot, msg.key, msg.value, options.upstream)
repo.synced = true
if (options.live)
repo._syncNew()
repo._sync(options.live)
cb(err, msg && repo)

@@ -26,0 +24,0 @@ })

@@ -362,3 +362,3 @@ var pull = require('pull-stream')

for (head in this._refs) break
this._setHead(head)
this._setHead(head || defaultHead)
}

@@ -600,3 +600,4 @@

GitRepo(self).resolveRef(ref, function (err, oldHead) {
if (err) return issuesCb(err)
if (err && err.name == 'NotFoundError') oldHead = null
else if (err) return issuesCb(err)
if (oldHead == newHead)

@@ -603,0 +604,0 @@ return issuesCb(null, [])

{
"name": "ssb-git-repo",
"version": "1.5.1",
"version": "1.5.2",
"description": "git repos in secure-scuttlebutt",

@@ -5,0 +5,0 @@ "main": "index.js",

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