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

universal-router

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-router - npm Package Versions

234

9.2.0

Diff

Changelog

Source

[9.2.0] - 2023-06-23

  • Bump TypeScript to 4.9.5 and fix types (#215)
frenzzy
published 9.1.0 •

Changelog

Source

[9.1.0] - 2021-06-23

  • Add uniqueRouteNameSep option to generateUrls(router, options) to allow non-unique route names among different branches of nested routes and access them by uniquely generated name (#194)
frenzzy
published 9.0.1 •

Changelog

Source

[9.0.1] - 2020-03-11

  • Fix typings: router.resolve() and context.next() always return a promise now (#187)
frenzzy
published 9.0.0 •

Changelog

Source

[9.0.0] - 2020-02-27

frenzzy
published 8.3.0 •

Changelog

Source

[8.3.0] - 2019-09-17

  • Make generateUrls compatible with UniversalRouterSync (#172)
frenzzy
published 8.2.1 •

Changelog

Source

[8.2.1] - 2019-07-20

  • Fix context.next() to throw Route not found instead of TypeError (#169)
frenzzy
published 8.2.0 •

Changelog

Source

[8.2.0] - 2019-05-10

  • Improve TypeScript typings (#167)
frenzzy
published 8.1.0 •

Changelog

Source

[8.1.0] - 2019-02-20

frenzzy
published 8.0.0 •

Changelog

Source

[8.0.0] - 2019-01-15

frenzzy
published 7.0.0 •

Changelog

Source

[7.0.0] - 2018-10-11

  • The router no longer mutate errors to avoid issues with non-extensible objects. (BREAKING CHANGE #158).

Migration from v6 to v7:

  • If your code relies on error.context or error.code you still can access them using errorHandler option:
    errorHandler(error, context) {
      const code = error.status || 500
      console.log(error, context, code)
    }
    
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