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

vanilla-ui-router

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilla-ui-router - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "vanilla-ui-router",
"version": "1.1.0",
"version": "1.1.1",
"description": "Simple vanilla JavaScript router",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/micromata/vanilla-ui-router",

@@ -104,2 +104,9 @@ [![npm version](https://badge.fury.io/js/vanilla-ui-router.svg)](http://badge.fury.io/js/vanilla-ui-router)

})
.addRoute('route-with-dispose', {
routeHandler: () => {},
dispose: () => {
// Is called before navigating to another route to do some cleanup if needed.
}
})

@@ -106,0 +113,0 @@ .otherwise(() => {

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