typesafe-routes icon indicating copy to clipboard operation
typesafe-routes copied to clipboard

Spices up your favorite routing library by adding type safety to plain string-based route definitions.

Results 12 typesafe-routes issues
Sort by recently updated
recently updated
newest added

Seeing this in the console when starting a local dev server (webpack): ``` WARNING in ./node_modules/typesafe-routes/build/index.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/Users/eric/Code/frontend-react/node_modules/typesafe-routes/src/index.ts' file: Error: ENOENT:...

Hello, this may be out of the scope of this library, but the core type-safe route declarations look great and I'd like to integrate it into my custom frontend framework....

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2. Release notes Sourced from express's releases. 4.19.2 What's Changed Improved fix for open redirect allow list bypass Full Changelog: https://github.com/expressjs/express/compare/4.19.1...4.19.2 4.19.1 What's Changed Fix...

dependencies

Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4. Release notes Sourced from webpack-dev-middleware's releases. v5.3.4 5.3.4 (2024-03-20) Bug Fixes security: do not allow to read files above (#1779) (189c4ac) Changelog Sourced from...

dependencies

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6. Commits 35a517c Release version 1.15.6 of the npm package. c4f847f Drop Proxy-Authorization across hosts. 8526b4a Use GitHub for disclosure. See full diff in compare...

dependencies

Hello, while using the following code: ```typescript export const pageParams = route(':id&:date', {id: stringParser, date: dateParser}, {}); ``` I realize that parsing the route `pageParams.parseParams({id:"", date:"2001-01-01"})` the route will merge...

## Issue When using this library with Angular and making parameters optional e.g. ```ts public static orders = { show: route('orders/:id?', { id: intParser }, {}) }; ``` and registering...

Hi! First of all thank you for helping with keeping my project typesafe. ## Issue However I've run into an issue recently When routing from typescript this works just fine,...

Hello, in our project we do organise feature folders with all its dependencies so that we can share a feature folder between projects. Something like that: ```typescript import { createRoutes,...

Let's consider this code. ```typescript const routes = createRoutes({ groups: { path: ['groups', int('gid')], children: { users: { path: ['users', int('uid').optional], query: [] }, }, }, }); routes.render("groups/users", { path:...