git ssb

3+

cel / ssb-npm-registry



Commit 5de540f93f944e46ff47bdb266e7d1432d6f9293

Merge remote-tracking branch 'origin/master'

cel committed on 10/11/2017, 9:16:18 AM
Parent: 0d6131743c7648a7c310cb153e3d3c11febe815f
Parent: 902a7cb045aeedf56a1dab29c2975cd3b475937d

Files changed

index.jschanged
package-lock.jsonchanged
package.jsonchanged
index.jsView
@@ -106,11 +106,12 @@
106106 exports.manifest = {
107107 getAddress: 'async'
108108 }
109109 exports.init = function (sbot, config) {
110- var port = config.npm ? config.npm.port : 8043
111- var host = config.npm && config.npm.host || null
112- var autoAuth = config.npm && config.npm.autoAuth !== false
110+ var conf = config.npm || {}
111+ var port = conf.port || 8043
112+ var host = conf.host || null
113+ var autoAuth = conf.autoAuth !== false
113114
114115 var server = http.createServer(exports.respond(sbot, config))
115116 var getAddress = onceify(function (cb) {
116117 server.on('error', cb)
package-lock.jsonView
@@ -1,7 +1,7 @@
11 {
22 "name": "ssb-npm-registry",
3- "version": "1.2.0",
3+ "version": "1.2.1",
44 "lockfileVersion": 1,
55 "requires": true,
66 "dependencies": {
77 "bl": {
package.jsonView
@@ -1,7 +1,7 @@
11 {
22 "name": "ssb-npm-registry",
3- "version": "1.2.0",
3+ "version": "1.2.1",
44 "description": "npm registry server backed by ssb",
55 "author": "cel",
66 "license": "AGPL-3.0+",
77 "main": "index.js",

Built with git-ssb-web