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

pathfinder-ui

Package Overview
Dependencies
Maintainers
5
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pathfinder-ui - npm Package Compare versions

Comparing version 0.1.111131 to 0.1.1111311

lib/pfroute.js

33

index.js

@@ -1,32 +0,1 @@

module.exports = require('./lib/pathfinder-ui.js');
// write all the logic in there ^
//Do not touch this file.
//I mean it.
//Seriously, don't put anything here.
//I'm totally cereal.
//If you are looking for code, you won't find it here.
//But what you will find are a particular set of quotes.
//Quotes acquired over a very long saturday afternoon.
//Quotes that make me a warning for people like you.
//If you leave this page now, that'll be the end of it.
//I will not look for you, I will not pursue you.
//But if you don't, I will look for you.
//I will find you.
//And I will pour glitter all over you.
module.exports = require('./lib/pathfinder-ui.js');
var example = require('./example');
var pfroute = require('./pfroute');
module.exports = startHere;
startHere.pfroute = pfroute;
function startHere (app){
generateRouteTree(app);
pfroute.request.RESTroutes = generateRouteTree(app);
function generateRouteTree(app) {

@@ -39,2 +38,3 @@ var topLevelRouteStack = app._router.stack;

// test/api
// console.log('something wrong here?',e.regexp.toString().slice(0, -1), e);
var parentName = '';

@@ -47,4 +47,6 @@ if (e.regexp.test('/')){

}
//var parentPath = pPath + "/" + e.regexp.toString().slice(0, -1).match(/\w+/ig).join("/");
var parentPath = pPath + parentName;
console.log("pName", parentName);
//console.log("pName", parentName);
var route = {};

@@ -67,6 +69,6 @@ route[parentName] = [];

});
console.log(allRoutes);
//console.log(allRoutes);
return allRoutes
}
}
{
"name": "pathfinder-ui",
"version": "0.1.111131",
"version": "0.1.1111311",
"private": false,
"preferGlobal": false,
"scripts": {
"start": "node ./bin/www",
"startmon": "nodemon ./bin/www"
},
"author": "Cat, Sang, Ming, Tyler",

@@ -18,3 +14,3 @@ "contributors": [

"name": "Sangmin Lee",
"email": "poo@poo.com"
"email": "sangmlee23@gmail.com"
},

@@ -31,3 +27,4 @@ {

"dependencies": {
"angular": "^1.4.1"
"angular": "^1.4.1",
"express": "^4.13.0"
},

@@ -34,0 +31,0 @@ "repository": {

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