You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

universal-router

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-router - npm Package Versions

234

10.0.0

Diff
f
frenzzy
published 10.0.0 •

Changelog

Source

[10.0.0] - 2025-05-05

  • Updated path-to-regexp from v6.2.0 to v8.2.0. See changelog (BREAKING CHANGE #218)
  • Since Path To RegExp does not provide an ESM version, it is now bundled into the Universal Router package:
    - const pathToRegexp = require('path-to-regexp')
    + import * as pathToRegexp from 'universal-router/path-to-regexp'
    
  • The import path for generating URLs has changed:
    - import generateUrls from 'universal-router/generateUrls'
    + import generateUrls from 'universal-router/generate-urls'
    
f
frenzzy
published 9.2.1 •

Changelog

Source

[9.2.1] - 2024-11-22

  • Enable noPropertyAccessFromIndexSignature and noUncheckedIndexedAccess checks (#216)
k
koistya
published 9.2.0 •

Changelog

Source

[9.2.0] - 2023-06-23

  • Bump TypeScript to 4.9.5 and fix types (#215)
f
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)
f
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)
f
frenzzy
published 9.0.0 •

Changelog

Source

[9.0.0] - 2020-02-27

f
frenzzy
published 8.3.0 •

Changelog

Source

[8.3.0] - 2019-09-17

  • Make generateUrls compatible with UniversalRouterSync (#172)
f
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)
f
frenzzy
published 8.2.0 •

Changelog

Source

[8.2.0] - 2019-05-10

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

Changelog

Source

[8.1.0] - 2019-02-20