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

qcobjects-cli

Package Overview
Dependencies
Maintainers
1
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qcobjects-cli - npm Package Compare versions

Comparing version 2.3.2 to 2.3.5

3

org.quickcorp.qcobjects.cli.js

@@ -473,3 +473,3 @@ /**

switchCommander.program
.version(package_config.version);
.version(global.__get_version__());
switchCommander.program

@@ -545,2 +545,3 @@ .command("create <appname>")

});
switchCommander.program.on("command:*", function () {

@@ -547,0 +548,0 @@ console.error("Invalid command: %s\nSee --help for a list of available commands.", switchCommander.program.args.join(" "));

@@ -45,2 +45,13 @@ /**

global.__get_version__ = function (){
const path = require("path");
const absolutePath = path.resolve( __dirname, "./" );
const package_config = require(absolutePath+"/package.json");
const qcobjects_pkg_config = require("qcobjects/package.json");
const qcobjects_sdk_pkg_config = require("qcobjects-sdk/package.json");
return "QCObjects: v"+qcobjects_pkg_config.version+", SDK: v"+qcobjects_sdk_pkg_config.version+", CLI: v"+package_config.version;
};
let setDevMode = function (devmode){

@@ -47,0 +58,0 @@ if (typeof devmode !== "undefined"){

{
"name": "qcobjects-cli",
"version": "2.3.2",
"version": "2.3.5",
"description": "qcobjects cli command line tool",

@@ -5,0 +5,0 @@ "main": "qcobjects-cli.js",

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

require("qcobjects");
require(absolutePath+"/org.quickcorp.qcobjects.defaultsettings.js");
logger.debugEnabled = false;

@@ -42,0 +45,0 @@ const welcometo = "Welcome to \n";

@@ -41,6 +41,10 @@ #!/usr/bin/env node

const package_config = require(absolutePath+"/package.json");
const vm = require("vm");
require("qcobjects");
require(absolutePath+"/org.quickcorp.qcobjects.defaultsettings.js");
const package_config = require(absolutePath+"/package.json");
const qcobjects_pkg_config = require("qcobjects/package.json");

@@ -85,6 +89,8 @@ const qcobjects_sdk_pkg_config = require("qcobjects-sdk/package.json");

let qcobjects_version = global.__get_version__();
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
prompt: "QCObjects v"+qcobjects_pkg_config.version+", SDK: v"+qcobjects_sdk_pkg_config.version+", CLI: v"+package_config.version+"> "
prompt: qcobjects_version + " >"
});

@@ -91,0 +97,0 @@

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