Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-mocks-http

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-mocks-http - npm Package Versions

1
7

1.7.2

Diff

Changelog

Source

v 1.7.2

  • Revert Turn mock request into a stream [#174][174]
  • Fix security issues reported by npm audit
eugef
published 1.7.1 •

Changelog

Source

v 1.7.1

  • Turn mock request into a stream [#169][169]
  • Added missing typings for "locals" & create a helper method to get locals [#170][170]
  • Make header names case-insensitive in response [#172][172]
  • Throw an error object instead of a string [#173][173]
eugef
published 1.7.0 •

Changelog

Source

v 1.7.0

  • Add support for Buffer payload [#154][154]
  • Send request body/payload to trigger relevant events [#164][164]
howardabrams
published 1.5.8 •

howardabrams
published 1.6.7 •

Changelog

Source

v 1.6.7

  • Set an expiration date to a cookie when deleting it [#155][155]
  • No finish event, end event called when it shouldn't be. [#112][112]
  • Add support for [append][] on MockResponse [#143][143]
  • Add [locals][] object to response [#135][135]

Special shoutout to Eugene Fidelin for joining the team and helping out so much.

howardabrams
published 1.6.6 •

Changelog

Source

v 1.6.6

  • Upgrade Fresh dependency to 0.5.2 due to a [Security advisory][166-SA]. PR #147
  • Add the baseUrl property to the request object. PR #150
howardabrams
published 1.6.5 •

Changelog

Source

v 1.6.5

  • Query type definition now more flexible PR #146
howardabrams
published 1.6.4 •

Changelog

Source

v 1.6.4

  • Incorporated a trimmed down published NPM artifact PR #141
howardabrams
published 1.6.3 •

Changelog

Source

v 1.6.3

  • Moved @types/express to dev-dependencies. [PR #136][136]
howardabrams
published 1.6.2 •

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc