express icon indicating copy to clipboard operation
express copied to clipboard

Fast, unopinionated, minimalist web framework for node.

Results 391 express issues
Sort by recently updated
recently updated
newest added

Fixes #6756 Previously, passing a BigInt to res.status() would cause an uncaught TypeError because JSON.stringify() cannot serialize BigInt values. The error occurred when trying to create the error message. Changes:...

Calling res.redirect(undefined) currently sends a 302 response with `Location: undefined`, resulting in an invalid redirect header. This PR throws a TypeError when the URL argument is missing, consistent with the...

Fixes #6941 Previously, res.redirect(undefined) would send an invalid Location: undefined header. This change throws a TypeError when the url argument is undefined or not a string, aligning with the behavior...

https://eslint.org/docs/latest/rules/no-unused-vars#caughterrors The only noticeable change is that the no-unused-vars lint now warns about unused errors in `catch (e)` statements by default.

### Description I want to contribute, I say * To do: update docs.* in Request.accepts. How would you like me to update the docs? ### Expectations Guide on how to...

## Description This pull request updates the JSDoc for `req.accepts()` to correct two inaccuracies in the current documentation. These updates align the JSDoc with the behavior of the underlying npm...

@AtuI-Yadav @Rudra-Sankha-Sinhamahapatra But it also does not work for me. Have Any Solution? Here is my backend api code **deployed on render**: ``` const isProd = process.env.NODE_ENV === "production"; const...

awaiting more info

# PR: Comprehensive Middleware Guide and Deep Dive Examples #Overview This PR introduces a detailed **Middleware Guide** and corresponding **interactive examples** for Express.js. It provides developers with a deeper understanding...

### Description ## Issue Description The current Express.js documentation covers middleware basics, but lacks comprehensive examples demonstrating: 1. **Middleware execution order** with multiple middleware functions 2. **Error-handling middleware** best practices...