Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / eugef/node-mocks-http issues and pull requests

#310 - Request is missing rawHeaders

Issue - State: open - Opened by mjackson 5 days ago - 1 comment

#309 - Moving types to `peerDependencies` and allowing express 5

Pull Request - State: closed - Opened by RobinTail about 2 months ago - 1 comment

#308 - Detaching from Express types: changing defaults

Pull Request - State: closed - Opened by RobinTail about 2 months ago - 2 comments

#307 - Express 5 types released - deduplication problem

Issue - State: closed - Opened by RobinTail about 2 months ago - 9 comments

#306 - Add appendHeader to MockResponse

Pull Request - State: closed - Opened by bjarkebm 3 months ago - 2 comments

#305 - Allowing `@types/node` v22 (and upgrading it internally)

Pull Request - State: closed - Opened by RobinTail 4 months ago - 4 comments

#304 - No way to get data written to response

Issue - State: open - Opened by yepitschunked 5 months ago - 2 comments
Labels: no-issue-activity

#303 - Bump braces from 3.0.2 to 3.0.3

Pull Request - State: closed - Opened by dependabot[bot] 5 months ago
Labels: dependencies

#302 - More strict check for undefined

Pull Request - State: closed - Opened by eugef 7 months ago

#301 - The `sendFile` property is missing

Issue - State: closed - Opened by ChrisMBarr 7 months ago - 3 comments
Labels: bug, no-issue-activity

#300 - add to write and end support of TypedArray

Pull Request - State: closed - Opened by sedx 7 months ago - 3 comments
Labels: bug

#299 - Query string parsing is potentially misleading

Issue - State: closed - Opened by alxndrsn 8 months ago - 7 comments
Labels: enhancement, no-issue-activity

#298 - fix: return empty string when send was called with undefined

Pull Request - State: closed - Opened by davidgf 8 months ago - 1 comment

#297 - how to create error response?

Issue - State: closed - Opened by vejandla 8 months ago - 5 comments
Labels: question, no-issue-activity

#296 - Question: How to mock an request error?

Issue - State: closed - Opened by mlshohet 8 months ago - 2 comments

#295 - Not compatible with the Next.js "app" router

Issue - State: closed - Opened by scottned 9 months ago - 4 comments
Labels: enhancement, no-issue-activity

#294 - 'links' function not defined

Issue - State: closed - Opened by mocotrah 10 months ago - 4 comments
Labels: enhancement, no-issue-activity

#293 - Update test infra, get rid of gulp

Pull Request - State: closed - Opened by eugef 10 months ago - 1 comment

#292 - Deprecate `lib/express`

Issue - State: closed - Opened by eugef 10 months ago - 4 comments
Labels: enhancement, no-issue-activity

#291 - Add Fetch API types as accepted mock parameters

Pull Request - State: closed - Opened by mhaligowski 11 months ago - 7 comments

#290 - Move express and node types to prod deps

Pull Request - State: closed - Opened by eugef 11 months ago - 1 comment

#289 - @types/express should be a non-dev dependency

Issue - State: closed - Opened by jfirebaugh 11 months ago - 1 comment

#288 - WIP: enable eslint

Pull Request - State: closed - Opened by eugef 11 months ago
Labels: (status) needs work

#287 - What happens if you have a database call in your handler?

Issue - State: closed - Opened by Meags27 11 months ago - 2 comments

#286 - Enable prettier

Pull Request - State: closed - Opened by eugef 11 months ago

#285 - Unexpected end of JSON input with async express router

Issue - State: closed - Opened by cfalch 11 months ago - 4 comments

#284 - Add README paragraph with TypeScript example

Pull Request - State: closed - Opened by mhaligowski 12 months ago - 1 comment

#283 - subdomains property in the request not supported

Issue - State: closed - Opened by itayzemah 12 months ago - 1 comment

#282 - Add testing capability in TypeScript

Pull Request - State: closed - Opened by mhaligowski about 1 year ago - 4 comments

#281 - Fix nodejs typing

Pull Request - State: closed - Opened by mhaligowski about 1 year ago - 11 comments

#280 - `node-mocks-http` doesn't work with NextJS requests

Issue - State: closed - Opened by mhaligowski about 1 year ago - 2 comments

#279 - Let mock request extend stream.Readable or even http.IncomingMessage

Issue - State: closed - Opened by hbgl over 1 year ago - 4 comments
Labels: no-issue-activity

#278 - Request async iterator

Pull Request - State: closed - Opened by hbgl over 1 year ago - 3 comments

#277 - Any plans to add async iterator support to IncomingMessage?

Issue - State: closed - Opened by hbgl over 1 year ago - 5 comments

#276 - Provide decorator for stream consumer through pipe

Issue - State: closed - Opened by tzkmx over 1 year ago - 2 comments
Labels: no-issue-activity

#275 - Bump word-wrap from 1.2.3 to 1.2.4

Pull Request - State: closed - Opened by dependabot[bot] over 1 year ago
Labels: dependencies

#274 - Fixed index.d.ts import of mocks from express to specific dir

Pull Request - State: closed - Opened by Gulati21 over 1 year ago - 3 comments
Labels: no-pr-activity

#273 - Tests started to fail when using node 16 to run then and works when use node 14

Issue - State: closed - Opened by Kononenkomg over 1 year ago - 1 comment
Labels: no-issue-activity

#272 - Timeouts when using with formidable

Issue - State: closed - Opened by cjduncana over 1 year ago - 1 comment
Labels: no-issue-activity

#271 - Test CI

Pull Request - State: closed - Opened by eugef over 1 year ago

#270 - Test CI

Pull Request - State: closed - Opened by eugef over 1 year ago

#269 - Importing produces ESlint warning `import/named`

Issue - State: closed - Opened by alvarlagerlof over 1 year ago - 7 comments

#268 - setHeader should return `this`

Pull Request - State: closed - Opened by jeysal over 1 year ago - 2 comments

#267 - 📦️ Upgrade @types/express

Pull Request - State: closed - Opened by Hourglasser23 almost 2 years ago

#266 - @types/express 3.17.15 -> Request/Response mismatch

Issue - State: closed - Opened by Hourglasser23 almost 2 years ago - 5 comments
Labels: no-issue-activity

#265 - Bump flat and gulp-mocha

Pull Request - State: closed - Opened by dependabot[bot] almost 2 years ago - 3 comments
Labels: dependencies, no-pr-activity

#264 - Bump decode-uri-component from 0.2.0 to 0.2.2

Pull Request - State: closed - Opened by dependabot[bot] almost 2 years ago - 2 comments
Labels: dependencies, no-pr-activity

#263 - 262 Mocked response throws when sent twice

Pull Request - State: closed - Opened by siavol about 2 years ago - 2 comments
Labels: no-pr-activity

#262 - Response does not throw an error when sending twice

Issue - State: closed - Opened by siavol about 2 years ago - 11 comments
Labels: bug, no-issue-activity

#261 - Setup Travis CI

Issue - State: closed - Opened by eugef about 2 years ago - 2 comments
Labels: no-issue-activity

#260 - Make a release for last merged PR

Issue - State: closed - Opened by B3none about 2 years ago - 1 comment

#259 - Make it easier to create mocks for the node http library

Pull Request - State: closed - Opened by B3none about 2 years ago - 3 comments
Labels: no-pr-activity

#258 - standardized writing style and general clean up

Pull Request - State: closed - Opened by saschazengler over 2 years ago - 4 comments
Labels: no-pr-activity

#257 - Bump copy-props from 2.0.4 to 2.0.5

Pull Request - State: closed - Opened by dependabot[bot] over 2 years ago - 2 comments
Labels: dependencies, no-pr-activity

#256 - Make it easier to create mocks for the node http library

Pull Request - State: closed - Opened by B3none over 2 years ago - 1 comment
Labels: no-pr-activity

#255 - Testing Next.js, can't get _getJSONData()

Issue - State: closed - Opened by benbagley over 2 years ago - 9 comments
Labels: no-issue-activity

#254 - Bump pathval from 1.1.0 to 1.1.1

Pull Request - State: closed - Opened by dependabot[bot] almost 3 years ago - 2 comments
Labels: dependencies, no-pr-activity

#253 - Response "close" event is not emitted

Issue - State: closed - Opened by jakeorr almost 3 years ago - 1 comment
Labels: no-issue-activity

#252 - Why is baseUrl non-empty?

Issue - State: closed - Opened by smalllong about 3 years ago - 5 comments
Labels: no-issue-activity

#251 - version 1.11.0 not available on NPM

Issue - State: closed - Opened by kaplanlior about 3 years ago - 1 comment

#250 - Please tag 1.10.1

Issue - State: closed - Opened by kaplanlior about 3 years ago - 1 comment

#249 - Update README.md

Pull Request - State: closed - Opened by eugef about 3 years ago - 1 comment
Labels: no-pr-activity

#248 - mockResponse.end(): added callback triggering once end() logic has run.

Pull Request - State: closed - Opened by GiordanoArman over 3 years ago - 2 comments

#247 - Bump path-parse from 1.0.6 to 1.0.7

Pull Request - State: closed - Opened by dependabot[bot] over 3 years ago - 2 comments
Labels: dependencies, no-pr-activity

#246 - Add response.attachment() from express

Pull Request - State: closed - Opened by adamrobcarter over 3 years ago - 3 comments

#245 - Parameters mismatch Typescript definitions

Issue - State: closed - Opened by DaveStein over 3 years ago - 15 comments
Labels: bug, no-issue-activity

#244 - Fix request.ip and add request.ips

Pull Request - State: closed - Opened by sergioregueira over 3 years ago

#243 - Fix res._isJSON() to correctly support content type with vendor prefix

Pull Request - State: closed - Opened by eugef over 3 years ago - 1 comment
Labels: no-pr-activity

#242 - How to use custom request in express using node-mocks-http ?

Issue - State: closed - Opened by restuwahyu13 over 3 years ago - 9 comments

#241 - Add request.getHeader() alias for request.header()

Pull Request - State: closed - Opened by eugef over 3 years ago

#240 - request.getHeader() missing?

Issue - State: closed - Opened by rhazegh over 3 years ago - 3 comments

#239 - `res.send()` doesn't convert to string

Issue - State: closed - Opened by quoininc-huudatran over 3 years ago - 7 comments
Labels: bug, no-issue-activity

#238 - `_isJSON()` doesn't recognize `application/*+json`.

Issue - State: closed - Opened by quoininc-huudatran over 3 years ago - 4 comments
Labels: no-issue-activity

#237 - Bump hosted-git-info from 2.8.8 to 2.8.9

Pull Request - State: closed - Opened by dependabot[bot] over 3 years ago - 2 comments
Labels: dependencies, no-pr-activity

#236 - Bump lodash from 4.17.15 to 4.17.21

Pull Request - State: closed - Opened by dependabot[bot] over 3 years ago - 2 comments
Labels: dependencies, no-pr-activity

#235 - Bump handlebars from 4.5.3 to 4.7.7

Pull Request - State: closed - Opened by dependabot[bot] over 3 years ago - 2 comments
Labels: dependencies, no-pr-activity

#234 - Bump y18n from 3.2.1 to 3.2.2

Pull Request - State: closed - Opened by dependabot[bot] over 3 years ago - 2 comments
Labels: dependencies, no-pr-activity

#233 - Typescript: Type 'string' is not assignable to type 'Body | undefined'

Issue - State: closed - Opened by Shestac92 almost 4 years ago - 12 comments
Labels: enhancement, no-issue-activity

#232 - TypeError: Cannot read property 'pipesCount' of undefined and TypeError: req.resume is not a function

Issue - State: closed - Opened by 6XGate almost 4 years ago - 1 comment
Labels: no-issue-activity

#231 - Fix req.hostname to make it compatible with Express.js

Pull Request - State: closed - Opened by eugef almost 4 years ago

#230 - req.hostname doesn't reflect real hostname

Issue - State: closed - Opened by jereaameli almost 4 years ago - 1 comment

#229 - Allow to chain `writeHead()`

Pull Request - State: closed - Opened by eugef almost 4 years ago

#228 - Mock writeHead doesn't return response

Issue - State: closed - Opened by herobank110 almost 4 years ago - 2 comments

#227 - Bump ini from 1.3.5 to 1.3.7

Pull Request - State: closed - Opened by dependabot[bot] almost 4 years ago
Labels: dependencies

#226 - @types/express as direct dependency?

Issue - State: closed - Opened by toomuchdesign about 4 years ago - 2 comments

#225 - Can I test the app directly, instead of an individual route?

Issue - State: closed - Opened by nikoschon about 4 years ago - 5 comments
Labels: no-issue-activity

#224 - feat: add support for req.hostname

Pull Request - State: closed - Opened by mjenny about 4 years ago - 1 comment

#223 - Upgrade

Pull Request - State: closed - Opened by eugef over 4 years ago

#222 - New response methods for headers retrieval

Pull Request - State: closed - Opened by sergioregueira over 4 years ago

#221 - Remove calls to deprecated Buffer constructors

Pull Request - State: closed - Opened by sergioregueira over 4 years ago

#220 - Fix lint to allow modern ES syntax

Issue - State: closed - Opened by eugef over 4 years ago - 1 comment
Labels: no-issue-activity

#219 - Fix gulp-eslint errors

Pull Request - State: closed - Opened by sergioregueira over 4 years ago - 3 comments

#218 - Bump node.js versions

Pull Request - State: closed - Opened by eugef over 4 years ago

#217 - Implement response.getHeaders()

Pull Request - State: closed - Opened by sergioregueira over 4 years ago - 6 comments

#216 - Bump lodash from 4.17.15 to 4.17.19

Pull Request - State: closed - Opened by dependabot[bot] over 4 years ago - 1 comment
Labels: dependencies

#215 - support response.writableEnded

Issue - State: closed - Opened by taozhi8833998 over 4 years ago - 1 comment

#214 - What is an object hash?

Issue - State: closed - Opened by afrancht over 4 years ago - 1 comment
Labels: no-issue-activity

#213 - Add req.subdomains

Pull Request - State: closed - Opened by aniespica over 4 years ago - 2 comments

#212 - Session type

Issue - State: closed - Opened by sixnames over 4 years ago - 1 comment
Labels: no-issue-activity

#211 - response missing getHeaders api

Issue - State: closed - Opened by feifeipan over 4 years ago - 3 comments