Comparing version 0.2.3 to 0.2.4
@@ -39,2 +39,6 @@ 'use strict'; | ||
if (false == (action.type == 'loadRoutes' || action.type == 'loadContent' || action.type == 'openPath' || action.type == 'redirectPath' || action.type == 'windowPopState')) { | ||
return state; | ||
} | ||
// routes depends on location store being updated first! | ||
@@ -59,3 +63,3 @@ waitFor([locationToken]); | ||
console.log('current path', pathname); | ||
// console.log('current path', pathname) | ||
@@ -88,3 +92,3 @@ // Match routes | ||
if (state.route && state.route === route && state.params === params) { | ||
console.log('same route and params'); | ||
// console.log('same route and params') | ||
return state; | ||
@@ -91,0 +95,0 @@ } |
{ | ||
"name": "rootr", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Router for single page app.", | ||
@@ -5,0 +5,0 @@ "repository": { |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
110947
314
1