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

go-ipfs-dep

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

go-ipfs-dep - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

19

package.json
{
"name": "go-ipfs-dep",
"version": "0.4.2",
"version": "0.4.3",
"description": "Install the latest go-ipfs binary",

@@ -10,5 +10,8 @@ "main": "src/index.js",

},
"bin": {
"ipfs": "go-ipfs/ipfs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/npm-go-ipfs.git"
"url": "git+https://github.com/diasdavid/go-ipfs-dep.git"
},

@@ -18,4 +21,4 @@ "dependencies": {

"gunzip-maybe": "^1.3.1",
"request": "^2.70.0",
"tar-fs": "^1.12.0"
"request": "^2.75.0",
"tar-fs": "^1.13.2"
},

@@ -29,9 +32,9 @@ "keywords": [

"bugs": {
"url": "https://github.com/ipfs/npm-go-ipfs/issues"
"url": "https://github.com/diasdavid/go-ipfs-dep/issues"
},
"homepage": "https://github.com/ipfs/npm-go-ipfs",
"homepage": "https://github.com/diasdavid/go-ipfs-dep",
"devDependencies": {
"tap-spec": "^4.1.0",
"tape": "^4.2.0"
"tap-spec": "^4.1.1",
"tape": "^4.6.0"
}
}
#!/usr/bin/env node
require('./')(function () {})
require('./')()

@@ -0,1 +1,3 @@

'use strict'
var path = require('path')

@@ -9,2 +11,3 @@ var goenv = require('go-platform')

module.exports = function (callback) {
callback = callback || noop
checkPlatform(goenv) // make sure we can do this.

@@ -24,6 +27,6 @@

.pipe(
tarFS
.extract(installPath)
.on('finish', callback)
)
tarFS
.extract(installPath)
.on('finish', callback)
)

@@ -51,1 +54,3 @@ function checkPlatform (goenv) {

}
function noop () {}

@@ -0,6 +1,9 @@

'use strict'
var test = require('tape')
var fs = require('fs')
var download = require('../src')
var path = require('path')
var download = require('../src')
test('Ensure ipfs gets downloaded', function (t) {

@@ -7,0 +10,0 @@ t.plan(2)

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