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

#304 - No way to get data written to response

Issue - State: open - Opened by yepitschunked 4 days ago

#303 - Bump braces from 3.0.2 to 3.0.3

Pull Request - State: open - Opened by dependabot[bot] 12 days ago
Labels: dependencies

#302 - More strict check for undefined

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

#301 - The `sendFile` property is missing

Issue - State: open - Opened by ChrisMBarr 2 months ago - 2 comments
Labels: bug, no-issue-activity

#300 - add to write and end support of TypedArray

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

#299 - Query string parsing is potentially misleading

Issue - State: open - Opened by alxndrsn 3 months ago - 4 comments
Labels: enhancement

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

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

#297 - how to create error response?

Issue - State: open - Opened by vejandla 3 months ago - 4 comments
Labels: question

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

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

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

Issue - State: open - Opened by scottned 4 months ago - 2 comments
Labels: enhancement

#294 - 'links' function not defined

Issue - State: open - Opened by mocotrah 5 months ago - 3 comments
Labels: enhancement

#293 - Update test infra, get rid of gulp

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

#292 - Deprecate `lib/express`

Issue - State: open - Opened by eugef 6 months ago - 2 comments
Labels: enhancement

#291 - Add Fetch API types as accepted mock parameters

Pull Request - State: open - Opened by mhaligowski 6 months ago - 4 comments
Labels: no-pr-activity

#290 - Move express and node types to prod deps

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

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

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

#288 - WIP: enable eslint

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

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

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

#286 - Enable prettier

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

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

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

#284 - Add README paragraph with TypeScript example

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

#283 - subdomains property in the request not supported

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

#282 - Add testing capability in TypeScript

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

#281 - Fix nodejs typing

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

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

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

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

Issue - State: closed - Opened by hbgl 11 months ago - 4 comments
Labels: no-issue-activity

#278 - Request async iterator

Pull Request - State: closed - Opened by hbgl 11 months ago - 3 comments

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

Issue - State: closed - Opened by hbgl 11 months ago - 5 comments

#276 - Provide decorator for stream consumer through pipe

Issue - State: closed - Opened by tzkmx 11 months 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] 12 months ago
Labels: dependencies

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

Pull Request - State: closed - Opened by Gulati21 about 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 about 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 over 1 year ago

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

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

#265 - Bump flat and gulp-mocha

Pull Request - State: closed - Opened by dependabot[bot] over 1 year 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] over 1 year ago - 2 comments
Labels: dependencies, no-pr-activity

#263 - 262 Mocked response throws when sent twice

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

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

Issue - State: closed - Opened by siavol over 1 year ago - 11 comments
Labels: bug, no-issue-activity

#261 - Setup Travis CI

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

#260 - Make a release for last merged PR

Issue - State: closed - Opened by B3none over 1 year ago - 1 comment

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

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

#258 - standardized writing style and general clean up

Pull Request - State: closed - Opened by saschazengler almost 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] about 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 about 2 years ago - 1 comment
Labels: no-pr-activity

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

Issue - State: closed - Opened by benbagley about 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] over 2 years ago - 2 comments
Labels: dependencies, no-pr-activity

#253 - Response "close" event is not emitted

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

#252 - Why is baseUrl non-empty?

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

#251 - version 1.11.0 not available on NPM

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

#250 - Please tag 1.10.1

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

#249 - Update README.md

Pull Request - State: closed - Opened by eugef almost 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 almost 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] almost 3 years ago - 2 comments
Labels: dependencies, no-pr-activity

#246 - Add response.attachment() from express

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

#245 - Parameters mismatch Typescript definitions

Issue - State: closed - Opened by DaveStein about 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 about 3 years ago

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

Pull Request - State: closed - Opened by eugef about 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 about 3 years ago - 9 comments

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

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

#240 - request.getHeader() missing?

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

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

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

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

Issue - State: closed - Opened by quoininc-huudatran about 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] about 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] about 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] about 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 over 3 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 over 3 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 over 3 years ago

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

Issue - State: closed - Opened by jereaameli over 3 years ago - 1 comment

#229 - Allow to chain `writeHead()`

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

#228 - Mock writeHead doesn't return response

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

#227 - Bump ini from 1.3.5 to 1.3.7

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

#226 - @types/express as direct dependency?

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

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

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

#224 - feat: add support for req.hostname

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

#223 - Upgrade

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

#222 - New response methods for headers retrieval

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

#221 - Remove calls to deprecated Buffer constructors

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

#220 - Fix lint to allow modern ES syntax

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

#219 - Fix gulp-eslint errors

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

#218 - Bump node.js versions

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

#217 - Implement response.getHeaders()

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

#216 - Bump lodash from 4.17.15 to 4.17.19

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

#215 - support response.writableEnded

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

#214 - What is an object hash?

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

#213 - Add req.subdomains

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

#212 - Session type

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

#211 - response missing getHeaders api

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

#210 - Dealing with writeHeader

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

#209 - Add socket option to mockRequest

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

#208 - Bump acorn from 6.1.1 to 6.4.1

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

#207 - `res.hasHeader()` not defined

Issue - State: closed - Opened by gabssnake over 4 years ago - 2 comments

#206 - fix index.d.ts #205

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

#205 - Unable to test the structured session data with typescript.

Issue - State: closed - Opened by u4da3 over 4 years ago - 1 comment
Labels: enhancement