New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nebulous/skynet

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nebulous/skynet - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

8

index.js

@@ -27,3 +27,3 @@ const axios = require('axios')

.then(resp => {
resolve(resp.data.skylink)
resolve(`sia://${resp.data.skylink}`)
}).catch(error => {

@@ -36,3 +36,3 @@ reject(error)

function DownloadFile(path, skylink, opts) {
const url = `${trimTrailingSlash(opts.portalUrl)}/${skylink}`
const url = `${trimTrailingSlash(opts.portalUrl)}/${trimSiaPrefix(skylink)}`

@@ -54,2 +54,6 @@ const writer = fs.createWriteStream(path)

function trimSiaPrefix(str) {
return str.replace("sia://", "")
}
function trimTrailingSlash(str) {

@@ -56,0 +60,0 @@ return str.replace(/\/$/, "");

{
"name": "@nebulous/skynet",
"version": "0.0.6",
"version": "0.0.7",
"description": "Skynet SDK",

@@ -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