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

space-cli

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

space-cli - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

14

lib/modules/rocketLaunch.js

@@ -6,8 +6,2 @@ const axios = require('axios');

function getLaunchDetails(launchId, callback) {
axios.get('https://launchlibrary.net/1.2/launch/' + launchId).then((response) => {
callback(response.data.launches[0]);
});
}
exports.nextLaunch = function (argv) {

@@ -32,8 +26,6 @@ axios.get('https://launchlibrary.net/1.2/launch/next/1').then((response) => {

if (argv.details) {
getLaunchDetails(next.id, function (nextDetails) {
let broadcasts = chalk.cyan('Broadcasts:') + ' ' + nextDetails.vidURLs;
let rocket = chalk.cyan('Rocket:') + ' ' + nextDetails.rocket.name;
let broadcasts = chalk.cyan('Broadcasts:') + ' ' + next.vidURLs;
let rocket = chalk.cyan('Rocket:') + ' ' + next.rocket.name;
console.log(title + '\n' + schedule + '\n' + broadcasts + '\n' + rocket);
});
console.log(title + '\n' + schedule + '\n' + broadcasts + '\n' + rocket);
} else {

@@ -40,0 +32,0 @@ console.log(title + '\n' + schedule);

{
"name": "space-cli",
"version": "0.3.0",
"version": "0.3.1",
"description": "CLI for space information",

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