Comparing version 0.1.0 to 0.1.1
@@ -141,2 +141,4 @@ | ||
module.exports = function(source, grammar) { | ||
@@ -171,3 +173,3 @@ return parseRoute(source, grammar); | ||
if(!ignoreParams && segment.param) { | ||
segmentValue = params[segment] || ':' + segment.value; | ||
segmentValue = params[segment.value] || ':' + segment.value; | ||
} else { | ||
@@ -174,0 +176,0 @@ segmentValue = segment.value; |
{ | ||
"name": "crema", | ||
"description": "syntactic sugar for your javascript functions", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"repository": {}, | ||
@@ -12,2 +12,2 @@ "engines": {}, | ||
"main": "./lib/index.js" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26527
0