🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

node-mocks-http

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-mocks-http - npm Package Versions

234567

1.17.2

Diff
eugef
published 1.17.2 •

Changelog

Source

v 1.17.2

  • Fix request.get() when headers are set as an object [Issue #321][321].
eugef
published 1.17.1 •

Changelog

Source

v 1.17.1

  • Fix direct access to the headers [Issue #319][319].
eugef
published 1.17.0 •

Changelog

Source

v 1.17.0

  • Allow access request headers both in Express.js and Web Api (Next.js) manner [Issue #317][317].
eugef
published 1.16.2 •

Changelog

Source

v 1.16.2

  • Fix: writeHead() sets headersSent [Issue #313][313].
eugef
published 1.16.1 •

Changelog

Source

v 1.16.1

  • Allowing @types/express v5 [Issue #309][309].
eugef
published 1.16.0 •

Changelog

Source

v 1.16.0

  • Add appendHeader to MockResponse [Issue #306][306].
  • Add Fetch API types as accepted mock parameters [Issue #291][291].
eugef
published 1.15.1 •

Changelog

Source

v 1.15.1

  • Allowing @types/node v22 [Issue #305][305].
eugef
published 1.15.0 •

Changelog

Source

v 1.15.0

  • Add to write() and end() support of TypedArray [Issue #300][300].
  • Fix: return empty string when send() was called with undefined [Issue #298][298].
eugef
published 1.14.1 •

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].