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

boring-router

Package Overview
Dependencies
Maintainers
5
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boring-router - npm Package Versions

1
11

0.3.12

Diff

vilic
published 0.3.11 •

vilic
published 0.3.10 •

vilic
published 0.3.7 •

vilic
published 0.3.6 •

vilic
published 0.3.5 •

vilic
published 0.3.4 •

vilic
published 0.3.3 •

vilic
published 0.3.2 •

vilic
published 0.3.1 •

Changelog

Source

[0.3.13] - 2020-7-6

Changes

  • Added hooks $before/will/afterEnter, $before/will/afterUpdate, $before/will/afterLeave; added $before/will/afterEnterOrUpdate as shortcut for $before/will/afterEnter and $before/will/afterUpdate.
  • Added service $service.
  • Added parallel routes.
  • Added RouteBuilder.
  • Added $metadata support.

Breaking changes

  • Router.create() is removed in favor of new Router().$route().
  • Names related to fragment has been changed to segment.
  • The router will no longer match parent if it has no matching child.
  • By default, the router will no longer match a route if it has children but the path is ended at the route itself. For example, if the path is /account, and route account has $children, account will not be matched by default. An option $exact is added for this scenario, and applies only to route schema with $children.
  • RouteMatch#$action has been removed, see hooks for alternatives.
  • The second argument RouteMatch#$ref(), RouteMatch#$push(), RouteMatch#$replace() methods is now an option object.
  • Route match ref option preserveQuery is now removed, but the behavior has changed to preserve query defined with $query (and its parents).
  • The return value of route hooks (such as RouteMatch#$beforeEnter, RouteMatch#$afterLeave) is now a removal callback.
  • <Redirect> component has been removed.`
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