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

rapido-server-generator

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rapido-server-generator - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

33

index.js

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

const Path = require('path');
// const colors = require('colors');
const colors = require('colors');

@@ -110,7 +110,5 @@ const cli = {

.then(function(result){
console.log(result);
next(true);
})
.catch(function(error){
console.log(error);
next(false);

@@ -124,4 +122,8 @@ })

Exec(`git checkout -b ${branchName}`)
.then(function(result){next(true)})
.catch(function(error){next(false)})
.then(function(result){
next(true);
})
.catch(function(error){
next(false);
})
})

@@ -134,6 +136,7 @@ }

.then(function(result){
console.log(result);
next(true)
next(true);
})
.catch(function(error){next(false)})
.catch(function(error){
next(false);
})
})

@@ -146,6 +149,7 @@ }

.then(function(result){
console.log(result)
next(true)
next(true);
})
.catch(function(error){next(false)})
.catch(function(error){
next(false);
})
})

@@ -163,3 +167,3 @@ }

await Git_Client.RemoveBranchLocally(branch);
next(false)
next(false);
})

@@ -225,2 +229,7 @@ })

if(!await Git_Client.CloneRepositoryToDir( 'https://github.com/MortallicaXxX/Rapido-Server-Test.git' , (fullAppPath ? `${process.env.PWD}/${fullAppPath}` : `${process.env.PWD}/${appName}`) ))throw {code : 2 , message : 'Error while cloning repertory.'};
if(!await Git_Client.CloneBranchToDir('Rapido@BodyParser' , 'https://github.com/MortallicaXxX/Rapido-Middleware.git' , `${(fullAppPath ? `${process.env.PWD}/${fullAppPath}` : `${process.env.PWD}/${appName}`)}/middlewares/Rapido@BodyParser/.`))throw {code : 2 , message : 'Error while adding middleware.'};
if(!await Git_Client.CloneBranchToDir('Rapido@DotEnv' , 'https://github.com/MortallicaXxX/Rapido-Middleware.git' , `${(fullAppPath ? `${process.env.PWD}/${fullAppPath}` : `${process.env.PWD}/${appName}`)}/middlewares/Rapido@DotEnv/.`))throw {code : 2 , message : 'Error while adding middleware.'};
if(!await Git_Client.CloneBranchToDir('Rapido@Layout' , 'https://github.com/MortallicaXxX/Rapido-Middleware.git' , `${(fullAppPath ? `${process.env.PWD}/${fullAppPath}` : `${process.env.PWD}/${appName}`)}/middlewares/Rapido@Layout/.`))throw {code : 2 , message : 'Error while adding middleware.'};
if(!await Git_Client.CloneBranchToDir('Rapido@Routes' , 'https://github.com/MortallicaXxX/Rapido-Middleware.git' , `${(fullAppPath ? `${process.env.PWD}/${fullAppPath}` : `${process.env.PWD}/${appName}`)}/middlewares/Rapido@Routes/.`))throw {code : 2 , message : 'Error while adding middleware.'};
if(!await Git_Client.CloneBranchToDir('Rapido@Sessions' , 'https://github.com/MortallicaXxX/Rapido-Middleware.git' , `${(fullAppPath ? `${process.env.PWD}/${fullAppPath}` : `${process.env.PWD}/${appName}`)}/middlewares/Rapido@Sessions/.`))throw {code : 2 , message : 'Error while adding middleware.'};
await Git_Client.Clean((fullAppPath ? `${process.env.PWD}/${fullAppPath}` : `${process.env.PWD}/${appName}`));

@@ -227,0 +236,0 @@

{
"name": "rapido-server-generator",
"version": "1.0.5",
"version": "1.0.6",
"description": "Client NPX Rapido",

@@ -10,3 +10,3 @@ "main": "index.js",

"bin": {
"rapido": "index.js"
"rapido": "./index.js"
},

@@ -22,3 +22,6 @@ "author": "",

},
"homepage": "https://github.com/MortallicaXxX/Rapido-CLI#readme"
"homepage": "https://github.com/MortallicaXxX/Rapido-CLI#readme",
"dependencies": {
"colors": "^1.4.0"
}
}
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