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

@fulminate/cli

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

@fulminate/cli - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

src/command/command.command.d.ts

5

index.js

@@ -5,2 +5,3 @@ #!/usr/bin/env node

var core_1 = require("@fulminate/core");
var command_command_1 = require("./src/command/command.command");
var eastwood_command_1 = require("./src/command/eastwood.command");

@@ -30,4 +31,4 @@ var help_command_1 = require("./src/command/help.command");

}
else if (this.resolver.hasFulminateCommands()) {
console.log(this.resolver.resolve().commands);
else if (this.resolver.resolve().commands) {
command_command_1.CommandCommand(this.resolver.resolve().commands);
}

@@ -34,0 +35,0 @@ };

2

package.json
{
"name": "@fulminate/cli",
"version": "2.3.1",
"version": "2.3.2",
"description": "CLI for bootstrapping and simplifying control over Fulminate Framework projects.",

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

@@ -6,2 +6,3 @@ "use strict";

var shell = require("shelljs");
var package_list_1 = require("../util/package.list");
function VersionCommand() {

@@ -13,8 +14,3 @@ var cwd = shell.pwd({ silent: true }).stdout;

}
var cliv = pj.dependencies && pj.dependencies['@fulminate/cli']
? pj.dependencies['@fulminate/cli']
: pj.version;
core_1.ShellLogoBuilder.build();
core_1.Shell.w.success("Fulminate CLI v" + cliv);
core_1.Shell.w.blankLine();
if (pj.dependencies) {

@@ -26,25 +22,25 @@ if (!pj.dependencies['@fulminate/cli'] && !pj.dependencies['@fulminate/core'] &&

core_1.Shell.w.info('Checking for updates...');
var newestVersions = {
'@fulminate/cli': shell.exec('npm view @fulminate/cli version', { silent: true }).stdout,
'@fulminate/core': shell.exec('npm view @fulminate/core version', { silent: true }).stdout,
'@fulminate/deploy': shell.exec('npm view @fulminate/deploy version', { silent: true }).stdout,
'@fulminate/framework': shell.exec('npm view @fulminate/framework version', { silent: true }).stdout
};
var currentVersions = {};
if (pj.dependencies.hasOwnProperty('@fulminate/cli')) {
currentVersions['@fulminate/cli'] = pj.dependencies['@fulminate/cli'];
core_1.Shell.w.warn('It is generally not a good idea to install FulminateCLI locally.');
}
if (pj.dependencies['@fulminate/core']) {
currentVersions['@fulminate/core'] = pj.dependencies['@fulminate/core'];
}
if (pj.dependencies['@fulminate/deploy']) {
currentVersions['@fulminate/deploy'] = pj.dependencies['@fulminate/deploy'];
}
if (pj.dependencies['@fulminate/framework']) {
currentVersions['@fulminate/framework'] = pj.dependencies['@fulminate/framework'];
}
for (var key in currentVersions) {
if (currentVersions[key] !== newestVersions[key]) {
core_1.Shell.w.warn(key + " has a new version issued. Consider updating to " + newestVersions[key]);
var newestVersion = void 0;
var currentVersion = void 0;
for (var _i = 0, FULMINATE_PACKAGES_1 = package_list_1.FULMINATE_PACKAGES; _i < FULMINATE_PACKAGES_1.length; _i++) {
var dependency = FULMINATE_PACKAGES_1[_i];
if (pj.dependencies.hasOwnProperty(dependency)) {
newestVersion = shell
.exec("npm view " + dependency + " version", { silent: true })
.stdout;
currentVersion = shell
.exec("npm list", { silent: true })
.grep(dependency)
.stdout
.split(' ')[1]
.split('@')[2];
if (dependency === '@fulminate/cli') {
core_1.Shell.w.warn('It is generally not a good idea to install FulminateCLI locally.');
}
if (currentVersion !== newestVersion) {
core_1.Shell.w.warn(dependency + "@" + currentVersion + " has a new version " + newestVersion + " published.");
}
else {
core_1.Shell.w.success(dependency + " is up-to-date.");
}
}

@@ -51,0 +47,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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