Socket
Socket
Sign inDemoInstall

@blumjs/router

Package Overview
Dependencies
2
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

6

dist/index.js

@@ -764,3 +764,3 @@ import T, { useEffect as Ve } from "react";

Ve(() => {
a || (Et(e.view), Ot(e.panel), e.modal && bt(e.modal), e.popout && Rt(e.popout), gt());
a || (Et(e.view), Ot(e.panel), e.modal && bt(e.modal), e.popout && Rt(e.popout));
}, [a, e.view, e.panel, e.modal, e.popout]);

@@ -775,3 +775,3 @@ const { virtualView: g, virtualPanel: p, virtualModal: h, virtualPopout: c } = yt(gr);

};
a && m && (d.view !== g || d.panel !== p || d.modal !== h || d.popout !== c) && (Ie(g), Pe(p), $e(h), Be(c), _t({
(a && m && (d.view !== g || d.panel !== p || d.modal !== h || d.popout !== c) || !a && g && p) && (Ie(g), Pe(p), $e(h), Be(c), _t({
view: g,

@@ -781,3 +781,3 @@ panel: p,

popout: c
}));
}), a || gt());
}, [

@@ -784,0 +784,0 @@ g,

{
"name": "@blumjs/router",
"version": "2.0.1",
"version": "2.0.2",
"description": "",

@@ -5,0 +5,0 @@ "exports": {

@@ -5,2 +5,4 @@ <div align="center">

# Not stable!
# Description

@@ -26,3 +28,3 @@

});
...

@@ -43,4 +45,4 @@ }

popout: null
},
//first arg is the name of route; second callback, that fired when pushed back in browser
},
//first arg is the name of route; second callback, that fired when pushed back in browser
createDisableBackBrowserRouteMiddleware('Loading', (storeRoutes, prevRoutes) => console.log('loading, please wait...')),

@@ -56,3 +58,3 @@ createRouteMiddleware((storeRoutes, prevRoutes) => {

);
...

@@ -102,3 +104,3 @@ }

If you need turn off modal and popout in new page (for example, offline page, where user shouldn't see modal and popout) you can use _setActiveModal, _setActivePopout. In other case use back.
If you need turn off modal and popout in new page (for example, offline page, where user shouldn't see modal and popout) you can use \_setActiveModal, \_setActivePopout. In other case use back.

@@ -111,2 +113,1 @@ ```

```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc