route-node
Advanced tools
Comparing version 0.0.8 to 0.1.0
{ | ||
"name": "route-node", | ||
"version": "0.0.8", | ||
"version": "0.1.0", | ||
"description": "A package to create a tree of named routes#", | ||
@@ -35,4 +35,4 @@ "main": "dist/commonjs/route-node.js", | ||
"dependencies": { | ||
"path-parser": "~0.0.7" | ||
"path-parser": "~0.1.0" | ||
} | ||
} |
@@ -29,7 +29,7 @@ [![npm version](https://badge.fury.io/js/route-node.svg)](http://badge.fury.io/js/route-node) | ||
// You can also use plain objects | ||
var ordersNode = new RouteNode('orders', '/orders', [ | ||
new RouteNode('pending', '/pending'), | ||
// You can also use plain objects | ||
{name: 'pending', path: '/pending'}, | ||
{name: 'completed', path: '/completed'}, | ||
new RouteNode('view', '/view/:id') | ||
{name: 'view', path: '/view/:id'} | ||
]); | ||
@@ -36,0 +36,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34158
+ Addedpath-parser@0.1.1(transitive)
- Removedpath-parser@0.0.7(transitive)
Updatedpath-parser@~0.1.0