express-request-id
express-request-id copied to clipboard
Middleware for setting unique request id
Only `interface` declarations can be merged and using `type` results in the below error. ``` node_modules/@types/express-serve-static-core/index.d.ts:19:19 - error TS2300: Duplicate identifier 'Request'. 19 interface Request {} ~~~~~~~ node_modules/express-request-id/types.d.ts:7:8 7 type...
We have setup an express app with TypeScript, and target CommonJS modules (which is still the default in TypeScript). Consequenty, we don't have ```"type": "module"``` in package.json. When we install...
Bumps [xo](https://github.com/xojs/xo) from 0.52.4 to 0.54.1. Release notes Sourced from xo's releases. v0.54.1 Fix rule conflict (#714) 658d376 https://github.com/xojs/xo/compare/v0.54.0...v0.54.1 v0.54.0 New rules unicorn/no-typeof-undefined unicorn/no-negated-condition unicorn/prefer-set-size @typescript-eslint/no-duplicate-type-constituents Improvements Support TypeScript 5...
Bumps [ava](https://github.com/avajs/ava) from 4.3.3 to 5.2.0. Release notes Sourced from ava's releases. v5.2.0 What's Changed Infer thrown error from expectations by @tao-cumplido in avajs/ava#3156 New Contributors @tao-cumplido made their first...
[Cuid2](https://github.com/paralleldrive/cuid2) is a secure id generator that may be better than UUID for this use case. **Cuid2 is:** * **Secure:** It's not feasible to guess the next id, existing valid...
Hey hey thanks alot for this library! i'd be interested if you'd be willing to accept a PR which does some kind of validation for values which are passed as...