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
198
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 0.0.6 to 0.0.7

org.quickcorp.qcobjects.cli.js

26

org.quickcorp.qcobjects.main.file.js

@@ -1,2 +0,26 @@

'use strict';
/**
* QCObjects CLI 0.0.6
* ________________
*
* Author: Jean Machuca <correojean@gmail.com>
*
* Cross Browser Javascript Framework for MVC Patterns
* QuickCorp/QCObjects is licensed under the
* GNU Lesser General Public License v3.0
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
*
* Permissions of this copyleft license are conditioned on making available
* complete source code of licensed works and modifications under the same
* license or the GNU GPLv3. Copyright and license notices must be preserved.
* Contributors provide an express grant of patent rights. However, a larger
* work using the licensed work through interfaces provided by the licensed
* work may be distributed under different terms and without source code for
* the larger work.
*
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
*
* Everyone is permitted to copy and distribute verbatim copies of this
* license document, but changing it is not allowed.
*/
"use strict";
const path = require('path');

@@ -3,0 +27,0 @@ const fs = require('fs');

@@ -0,1 +1,25 @@

/**
* QCObjects CLI 0.0.6
* ________________
*
* Author: Jean Machuca <correojean@gmail.com>
*
* Cross Browser Javascript Framework for MVC Patterns
* QuickCorp/QCObjects is licensed under the
* GNU Lesser General Public License v3.0
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
*
* Permissions of this copyleft license are conditioned on making available
* complete source code of licensed works and modifications under the same
* license or the GNU GPLv3. Copyright and license notices must be preserved.
* Contributors provide an express grant of patent rights. However, a larger
* work using the licensed work through interfaces provided by the licensed
* work may be distributed under different terms and without source code for
* the larger work.
*
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
*
* Everyone is permitted to copy and distribute verbatim copies of this
* license document, but changing it is not allowed.
*/
"use strict";

@@ -10,3 +34,3 @@

const mime = require("mime");
Import(absolutePath+'/org.quickcorp.qcobjects.main.file');
require(absolutePath+'/org.quickcorp.qcobjects.main.file.js');

@@ -13,0 +37,0 @@ Package('org.quickcorp.qcobjects.main.http2.server',[

2

package.json
{
"name": "qcobjects-cli",
"version": "0.0.6",
"version": "0.0.7",
"description": "qcobjects cli command line tool",

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

@@ -7,18 +7,38 @@ #!/usr/bin/env node

const templatePath = path.resolve( __dirname, "./templates/apps/" )+'/';
const package_config = require(absolutePath+'/package.json');
require('qcobjects');
logger.debugEnabled=false;
const welcometo = 'Welcome to \n';
const instructions = '';
const logo = ' .d88888b. .d8888b. .d88888b. 888 d8b 888 \r\nd88P\" \"Y88bd88P Y88bd88P\" \"Y88b888 Y8P 888 \r\n888 888888 888888 888888 888 \r\n888 888888 888 88888888b. 8888 .d88b. .d8888b888888.d8888b \r\n888 888888 888 888888 \"88b \"888d8P Y8bd88P\" 888 88K \r\n888 Y8b 888888 888888 888888 888 88888888888888 888 \"Y8888b. \r\nY88b.Y8b88PY88b d88PY88b. .d88P888 d88P 888Y8b. Y88b. Y88b. X88 \r\n \"Y888888\" \"Y8888P\" \"Y88888P\" 88888P\" 888 \"Y8888 \"Y8888P \"Y888 88888P\' \r\n Y8b 888 \r\n d88P \r\n 888P\" ';
console.log(welcometo);
console.log(logo);
console.log(instructions);
Import(templatePath+'spa-local');
logger.debugEnabled=true;
//Import(templatePath+'spa-local');
require(absolutePath+'/org.quickcorp.qcobjects.cli');
Class('Main',{
let switchCommander;
Class('Main',Object,{
_new_:(o)=>{
let main = this;
switchCommander = New(SwitchCommander);
switchCommander.initCommand();
/*
let template = New(AppTemplate,{
compileAndSave:true
});
*/
logger.debug('initialized');
}
});
let __main__ = New(Main);
let __main__ = New(Main,{});

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

Import(absolutePath+'/org.quickcorp.qcobjects.main.http2.server');
require(absolutePath+'/org.quickcorp.qcobjects.main.http2.server.js');

@@ -22,0 +22,0 @@ Class('Main',{

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