Socket
Socket
Sign inDemoInstall

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 0.1.52 to 0.1.53

2

org.quickcorp.qcobjects.main.http.express.server.js

@@ -338,3 +338,3 @@ /**

let routes = CONFIG.get('backend').routes;
let selectedRoute = routes.filter(route=>{return (new RegExp(route.path,'g')).test(request.path)});
let selectedRoute = routes.filter(route=>{let standardRoutePath = route.path.replace(/{(.*?)}/g,'\(\?\<$1\>\.\*\)');return (new RegExp(standardRoutePath,'g')).test(request.path)});
if (selectedRoute.length>0){

@@ -341,0 +341,0 @@ selectedRoute.map(route=>{

@@ -339,3 +339,3 @@ /**

let routes = CONFIG.get('backend').routes;
let selectedRoute = routes.filter(route=>{return (new RegExp(route.path,'g')).test(request.path)});
let selectedRoute = routes.filter(route=>{let standardRoutePath = route.path.replace(/{(.*?)}/g,'\(\?\<$1\>\.\*\)');return (new RegExp(standardRoutePath,'g')).test(request.path)});
if (selectedRoute.length>0){

@@ -342,0 +342,0 @@ selectedRoute.map(route=>{

@@ -290,6 +290,7 @@ /**

let routes = CONFIG.get('backend').routes;
let selectedRoute = routes.filter(route=>{return (new RegExp(route.path,'g')).test(request.path)});
let selectedRoute = routes.filter(route=>{let standardRoutePath = route.path.replace(/{(.*?)}/g,'\(\?\<$1\>\.\*\)');return (new RegExp(standardRoutePath,'g')).test(request.path)});
if (selectedRoute.length>0){
selectedRoute.map(route=>{
let standardRoutePath = route.path.replace(/{(.*?)}/g,'\(\?\<$1\>\.\*\)'); //allowing {param}
console.log(standardRoutePath);
let selectedRouteParams = {...[...request.path.matchAll((new RegExp( standardRoutePath ,'g')))][0]['groups']};

@@ -296,0 +297,0 @@ ImportMicroservice (route.microservice);

{
"name": "qcobjects-cli",
"version": "0.1.52",
"version": "0.1.53",
"description": "qcobjects cli command line tool",

@@ -5,0 +5,0 @@ "main": "qcobjects-cli.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