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

mobx-router-3

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx-router-3 - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

2

package.json
{
"name": "mobx-router-3",
"version": "0.0.11",
"version": "0.0.12",
"description": "A simple router for MobX",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -27,8 +27,9 @@ import { observable, computed, action, toJS } from 'mobx';

rootViewChanged && this.currentView && this.currentView.beforeExit
? (await this.currentView.beforeExit(
? await this.currentView.beforeExit(
this.currentView,
currentParams,
store,
currentQueryParams
))
currentQueryParams,
nextPath
)
: true;

@@ -41,8 +42,9 @@ if (beforeExitResult === false) {

rootViewChanged && view.beforeEnter
? (await view.beforeEnter(
? await view.beforeEnter(
view,
currentParams,
store,
currentQueryParams
))
currentQueryParams,
nextPath
)
: true;

@@ -60,3 +62,4 @@ if (beforeEnterResult === false) {

store,
currentQueryParams
currentQueryParams,
nextPath
);

@@ -63,0 +66,0 @@

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