Socket
Socket
Sign inDemoInstall

node-mocks-http

Package Overview
Dependencies
27
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23456Next

1.14.1

Diff

Changelog

Source

v 1.14.1

  • Move express and node types to prod deps [Issue #290][290].
eugef
published 1.14.0 •

Changelog

Source

v 1.14.0

  • Fix nodejs typing [Issue #281][281].
  • Add testing capability in TypeScript [Issue #282][282].
eugef
published 1.13.0 •

Changelog

Source

v 1.13.0

  • Add Request async iterator [Issue #278][278].
eugef
published 1.12.2 •

Changelog

Source

v 1.12.2

  • 📦️ Upgrade @types/express [Issue #267][267].
  • setHeader should return this [Issue #268][268].
eugef
published 1.12.1 •

Changelog

Source

v 1.12.1

  • Fix lint issue
eugef
published 1.11.0 •

Changelog

Source

v 1.11.0

  • Fix request.ip and add request.ips [Issue #244][244].
  • Add response.attachment() from express [Issue #246][246].
  • Add request.getHeader() alias for request.header() [Issue #241][241].
eugef
published 1.10.1 •

Changelog

Source

v 1.10.1

  • Fix support for req.hostname [Issue #231][231].
eugef
published 1.10.0 •

Changelog

Source

v 1.10.0

  • Add support for req.hostname [Issue #224][224].
  • Allow to chain writeHead() [Issue #229][229].
eugef
published 1.9.0 •

Changelog

Source

v 1.9.0

  • Implement response.getHeaderNames() and response.hasHeader() [Issue #222][222].
  • Remove calls to deprecated Buffer constructors [Issue #221][221].
  • Run tests for Node 10, 12 and 14. Drop support for Node 6 and 8 [Issue #218][218].
  • Implement response.getHeaders() [Issue #217][217].
  • Add req.subdomains [Issue #213][213].
  • Add socket option to mockRequest [Issue #209][209].
  • Fix index.d.ts [Issue #205][205].
  • Added support for response.writableEnded and response.writableFinished [Issue #205][203].
eugef
published 1.8.1 •

Changelog

Source

v 1.8.1

  • Enable res.render() callback argument [Issue #197][197].
23456Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc