New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rootr

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rootr - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

8

lib/router.js

@@ -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": {

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